/* First-screen composition only. Later sections keep their existing layout. */
.hero { padding-top: 76px; padding-bottom: 56px; }
.hero-grid { display: block; }
.hero-content { max-width: 1000px; margin-inline: auto; text-align: center; }
.hero h1 {
  max-width: 1000px;
  margin: 16px auto 26px;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 1.05;
}
.hero .lead { max-width: 760px; margin: 0 auto 28px; text-wrap: pretty; }
.hero .actions { justify-content: center; align-items: center; }
.hero .actions .button { max-width: 100%; text-align: center; }
.hero .benefits {
  max-width: 900px;
  margin: 40px auto 0;
  gap: 24px;
}
.hero .benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px 0;
  font-size: 13px;
  text-align: center;
  text-wrap: pretty;
  border-top: 0;
}
.hero .bicon { flex: none; margin-inline: auto; }

/* The photographs get the full content width; figures follow as a quiet row. */
.hero .subsections { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 56px; }
.hero #industry > h3 { margin-bottom: 20px; font-size: 18px; text-align: center; }
.hero .industry {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 220px;
  aspect-ratio: 3 / 2;
  padding: 0;
  overflow: hidden;
  background: var(--surface-panel);
  box-shadow: none;
}
.industry-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .industry::after {
  position: absolute;
  inset: auto 0 0;
  height: 60%;
  background: linear-gradient(0deg, rgba(2,15,22,.94), rgba(2,15,22,.53) 44%, rgba(2,15,22,0));
  content: "";
  pointer-events: none;
}
.industry-caption {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  color: #ffffff;
}
.industry-caption h4 { margin: 0; font-size: 23px; font-weight: 500; line-height: 1.25; }
.industry-caption svg { display: block; flex: none; width: 24px; height: 24px; }
.hero .facts { width: min(100%, 720px); margin: 0 auto; text-align: center; }
.hero .fact { max-width: none; padding: 4px 20px; }
.hero .fact:first-child { border-left: 0; }
.hero .fact span { max-width: 190px; margin: 6px auto 0; font-size: 11px; }

@media (max-width: 840px) {
  .hero { padding-top: 58px; }
  .hero .benefits { gap: 16px; }
  .industry-caption { padding: 20px 18px; }
  .industry-caption h4 { font-size: 20px; }
}
@media (max-width: 700px) {
  .hero .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
}
@media (max-width: 575px) {
  .hero { padding-top: 48px; padding-bottom: 44px; }
  .hero h1 { font-size: clamp(36px, 10.8vw, 54px); }
  .hero .lead { font-size: 16px; line-height: 1.55; }
  .hero .benefits { margin-top: 30px; }
  .hero .benefit { padding-inline: 6px; font-size: 12px; }
  .hero .subsections { margin-top: 40px; gap: 24px; }
  .hero #industry > h3 { margin-bottom: 18px; font-size: 17px; }
  .hero .industry { min-height: 200px; aspect-ratio: 16 / 10; }
  .industry-caption { padding: 20px 22px; }
  .industry-caption h4 { font-size: 22px; }
  .hero .facts { gap: 0; }
  .hero .fact { padding-inline: 10px; }
  .hero .fact strong { font-size: 23px; }
  .hero .fact span { font-size: 10px; }
}


/* Two transparent portraits frame the message: AI at left, business owner at right. */
.hero-grid {
  --hero-stage-width: min(1680px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 0;
  align-items: end;
  width: var(--hero-stage-width);
  max-width: none;
  margin-inline: calc((100% - var(--hero-stage-width)) / 2);
}
.hero-content {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
}
.hero-subject {
  grid-row: 1;
  align-self: end;
  width: calc(100% + 16px);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(#000 95%, transparent);
  mask-image: linear-gradient(#000 95%, transparent);
}
.hero-subject img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.hero-subject--ai {
  grid-column: 1;
  justify-self: end;
  aspect-ratio: 1122 / 1402;
  filter: saturate(.82) brightness(.96);
}
.hero-subject--owner {
  grid-column: 3;
  justify-self: start;
  aspect-ratio: 1;
}
.hero .benefits {
  grid-column: 1 / -1;
  grid-row: 2;
  width: min(100%, 900px);
}
@media (min-width: 1101px) {
  .hero h1 { font-size: clamp(55px, 6vw, 92px); }
}
@media (max-width: 1100px) {
  .hero-grid {
    width: 100%;
    margin-inline: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-content { grid-column: 1 / -1; grid-row: 1; max-width: 1000px; }
  .hero-subject {
    grid-row: 2;
    width: min(100%, 340px);
    height: clamp(240px, 32vw, 340px);
    aspect-ratio: auto;
    margin-top: 28px;
  }
  .hero-subject--ai { grid-column: 1; }
  .hero-subject--owner { grid-column: 2; }
  .hero-subject--ai img { object-position: right bottom; }
  .hero-subject--owner img { object-position: left bottom; }
  .hero .benefits { grid-row: 3; margin-top: 30px; }
}
@media (max-width: 700px) {
  .hero-grid { column-gap: 16px; }
  .hero-subject { height: clamp(180px, 52vw, 260px); margin-top: 26px; }
  .hero .benefits { margin-top: 24px; }
}

/* Flat layout on desktop: only the mobile stylesheet gives the scene a box. */
.hero-illustration,
.hero-subject picture { display: contents; }
