/* ==========================================================================
   Home (index.html). Owner: lead builder.
   ========================================================================== */

/* ---------- 1. Hero ------------------------------------------------------ */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--void); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture { display: block; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, .9) 0%, rgba(5, 8, 12, .7) 26%, rgba(5, 8, 12, .18) 52%, rgba(5, 8, 12, 0) 66%, rgba(5, 8, 12, .38) 100%),
    linear-gradient(180deg, rgba(5, 8, 12, .6) 0%, rgba(5, 8, 12, 0) 20%, rgba(5, 8, 12, 0) 52%, rgba(5, 8, 12, .7) 86%, var(--void) 100%);
}
.hero__inner {
  position: relative;
  min-height: max(100svh, 700px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: var(--space-l);
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(2.25rem, 5.5vh, 4.5rem);
}
.hero__copy { display: grid; gap: clamp(1.1rem, 2.4vh, 1.9rem); }
.hero__title {
  font-size: min(clamp(3.5rem, 9vw, 9rem), 16vh);
  line-height: .88;
  letter-spacing: -.034em;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.25rem; margin-top: .35rem; }
.hero__proof { display: flex; align-items: center; gap: .9rem; }
.hero__avatars { height: 44px; width: auto; }
.hero__proof p { display: grid; font-size: .9375rem; line-height: 1.35; color: var(--text-2); }
.hero__proof strong { color: var(--text); font-weight: 600; font-size: 1rem; }
.hero__phone {
  align-self: start;
  justify-self: end;
  margin: clamp(0px, 1.5vh, 24px) clamp(0px, 4vw, 80px) 0 0;
}
.hero__phone .phone { --phone-w: min(clamp(232px, 19.5vw, 300px), calc((100svh - var(--header-h) - 150px) / 2.087)); }

@media (min-width: 900px) and (max-width: 1199.98px) {
  .hero__media img { object-position: 60% 30%; }
  .hero__phone { margin-right: 0; }
  .hero__phone .phone { --phone-w: min(21vw, calc((100svh - var(--header-h) - 150px) / 2.087)); }
}

@media (max-width: 899.98px) {
  .hero { display: grid; }
  .hero__media { position: relative; inset: auto; grid-area: 1 / 1; z-index: 0; }
  .hero__media img { object-position: 50% 100%; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(5, 8, 12, .8) 0%, rgba(5, 8, 12, .62) 36%, rgba(5, 8, 12, .08) 64%, rgba(5, 8, 12, .1) 84%, var(--void) 100%);
  }
  .hero__inner { display: contents; }
  .hero__copy {
    grid-area: 1 / 1;
    position: relative;
    z-index: 1;
    align-self: start;
    padding: calc(var(--header-h) + 1.75rem) var(--gutter) min(134vw, 720px);  /* keeps his face below the copy */
  }
  .hero__actions .btn-row { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__phone { grid-area: 2 / 1; justify-self: center; margin: 0; padding: .5rem 0 4.5rem; }
  .hero__phone .phone { --phone-w: min(74vw, 300px); }
}

/* ---------- 2. Services band --------------------------------------------- */
.type-band { z-index: 2; }

/* ---------- 3. Signature scene: Iconic to #1 ------------------------------ */
.story { position: relative; background: var(--void); }
.story__pin { position: relative; padding-block: var(--space-2xl) var(--space-xl); }
.story__grid {
  display: grid;
  gap: var(--space-l);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "steps" "maps" "scene" "stats";
}
.story__head { grid-area: head; display: grid; gap: 1rem; }
.story__kicker { font-size: var(--step-1); font-weight: 500; color: var(--cyan); }
.story__head h2 { font-size: clamp(2.5rem, 1.1rem + 4.8vw, 5.75rem); max-width: 17ch; }

.story__scene {
  grid-area: scene;
  position: relative;
  aspect-ratio: 4 / 3;
  margin-inline: calc(-1 * var(--gutter));
  overflow: hidden;
  isolation: isolate;
}
.story__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.story__scene::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--void) 0%, rgba(5, 8, 12, .1) 22%, rgba(5, 8, 12, 0) 70%, var(--void) 100%);
}
.story__pins { position: absolute; inset: 0; }
.map-pin--other { color: rgba(234, 241, 247, .78); }
.story__rings { --signal-size: 300px; --signal-dur: 2.1s; left: 50%; top: 100%; margin: -54px 0 0 -150px; }
.map-pin--client::after {
  content: "";
  position: absolute;
  left: 50%; top: 100%;
  width: 16px; height: 6px;
  margin: -3px 0 0 -8px;
  border-radius: 50%;
  background: var(--cyan);
}
.map-pin--client > svg { position: relative; z-index: 1; }
.map-pin__label {
  position: absolute;
  left: calc(100% + 10px);
  bottom: 55%;
  z-index: 2;
  display: grid;
  gap: 1px;
  padding: .45rem .75rem .5rem;
  border-radius: 10px;
  background: rgba(10, 17, 27, .94);
  box-shadow: inset 0 0 0 1px rgba(0, 198, 242, .45);
  white-space: nowrap;
  font-size: .8125rem;
  line-height: 1.3;
  color: var(--text-2);
}
.map-pin__label strong { color: #fff; font-weight: 600; font-size: .9375rem; }
.map-pin__stars { letter-spacing: .06em; color: var(--text); }

.story__maps { grid-area: maps; width: 100%; max-width: 520px; }
.story__maps .maps { --row-h: 7.9rem; }
.maps__perf { margin-top: auto; padding: 1rem 1.25rem 1.15rem; border-top: 1px solid var(--line); }
.maps__perf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .8125rem; color: var(--muted); }
.maps__perf-delta { font-weight: 600; color: var(--cyan); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.maps__bars { display: flex; align-items: flex-end; gap: 5px; height: 84px; margin-top: .75rem; }
.maps__bars i {
  flex: 1;
  height: 100%;
  border-radius: 3px 3px 1px 1px;
  background: rgba(234, 241, 247, .2);
  transform: scaleY(var(--v));
  transform-origin: 50% 100%;
}
.maps__bars i:nth-child(n + 7) { background: var(--cyan); }


.story__narrative { grid-area: steps; }
.story__steps { display: grid; gap: 1.75rem; }
.story__step {
  display: grid;
  gap: .6rem;
  align-content: start;
  padding-left: 1.25rem;
  border-left: 2px solid var(--line-2);
}
.story__step--result { border-left-color: var(--cyan); }
.story__phase { font-size: var(--step-2); }
.story__step p { color: var(--text-2); font-size: var(--step-0); max-width: 44ch; }
.story__step .story__quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  line-height: 1.12;
  letter-spacing: -.028em;
  color: var(--text);
  max-width: 22ch;
}
.story__step .btn { justify-self: start; margin-top: .5rem; }

.story__stats { grid-area: stats; }
.story__stat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.story__stats .stat__num { --stat-size: clamp(3.75rem, 2rem + 6vw, 7rem); }
.story__stats .stat__label { max-width: 20ch; }
.story__stat-list .stat__num { min-width: var(--final-w, 0); }
.story.is-staged .story__stat-list .stat__label { width: max(var(--final-w, 0px), 8.75rem); max-width: none; }

@media (min-width: 960px) {
  .story__grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
    grid-template-areas: "head head" "steps maps" "scene scene" "stats stats";
    column-gap: var(--space-xl);
    align-items: start;
  }
  .story__scene { aspect-ratio: 21 / 9; margin-inline: 0; border-radius: var(--radius-l); }
  .story__stat-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Staged cinematic frame (JS adds .is-staged at ≥960×700 with motion allowed). Not pinned:
   it scrolls like any section and plays the whole climb once as it comes into view. */
.story.is-staged .story__pin { height: 100vh; padding: 0; overflow: hidden; isolation: isolate; }  /* keeps the z-index:-1 scene above .story's background (the GSAP pin used to provide this) */
.story.is-staged .story__grid {
  height: 100%;
  grid-template-columns: minmax(340px, 29%) minmax(0, 1fr) minmax(320px, 26%);
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "head head head"
    "maps mid steps"
    "maps stats stats";
  column-gap: clamp(1.5rem, 3vw, 3.5rem);
  row-gap: clamp(.9rem, 2.6vh, 2.25rem);
  padding-top: calc(var(--header-h) + 1.2vh);
  padding-bottom: clamp(1.25rem, 3.6vh, 2.75rem);
}
.story.is-staged .story__scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  aspect-ratio: auto;
  margin: 0;
  border-radius: 0;
}
.story.is-staged .story__scene::after {
  background:
    linear-gradient(180deg, rgba(5, 8, 12, .82) 0%, rgba(5, 8, 12, .28) 26%, rgba(5, 8, 12, 0) 44%, rgba(5, 8, 12, .08) 62%, rgba(5, 8, 12, .78) 86%, var(--void) 100%),
    linear-gradient(90deg, rgba(5, 8, 12, .6) 0%, rgba(5, 8, 12, 0) 34%, rgba(5, 8, 12, 0) 58%, rgba(5, 8, 12, .72) 100%);
}
/* Jared: the desktop frame shows the result, not the step-by-step story, so its heading drops "How".
   Same media condition as the staged frame in home.js; phones and short screens keep "How". */
@media (min-width: 960px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  html.js .story__how { display: none; }
}
.story.is-staged .story__head { gap: .6rem; }
.story.is-staged .story__kicker { font-size: min(var(--step-1), 2.6vh); }
.story.is-staged .story__head h2 { font-size: min(clamp(2.5rem, 1rem + 3.9vw, 5.25rem), 8.2vh); max-width: 24ch; }
.story.is-staged .story__maps { align-self: stretch; max-width: none; min-height: 0; display: flex; flex-direction: column; }
.story.is-staged .story__maps .maps { flex: 1; min-height: 0; --row-h: clamp(4.25rem, 9.4vh, 6.9rem); }
.story.is-staged .maps__list { flex: 1 1 auto; height: auto; min-height: 0; }
.story.is-staged .maps__row { height: 25%; padding-block: 0; align-content: center; }
.story.is-staged .maps__perf { flex: none; }
.story.is-staged .maps__thumb { width: auto; height: min(4.4rem, 78%); aspect-ratio: 1; }

.story.is-staged .maps__bars { height: clamp(36px, 7.5vh, 88px); }
.story.is-staged .maps__actions { display: none; }
.story.is-staged .story__step--result .story__phase { color: var(--cyan); }
/* Narrow desktops/tablets (960–1279): render the frame at 1.25× and scale it down, so
   the three-column composition keeps its proportions instead of cramming. */
@media (min-width: 960px) and (max-width: 1279.98px) {
  .story.is-staged .story__grid {
    --z: .8;
    width: calc(100% / var(--z));
    max-width: none;
    height: calc(100% / var(--z));
    transform: scale(var(--z));
    transform-origin: 0 0;
    padding-top: calc(var(--header-h) / var(--z) + 1vh);
  }
}
.story.is-staged .story__narrative { display: grid; align-content: center; gap: clamp(1rem, 2.4vh, 1.75rem); min-height: 0; }
.story.is-staged .story__steps { display: grid; }
.story.is-staged .story__step { grid-area: 1 / 1; padding-left: 0; border-left: 0; }
/* Desktop shows the finished result only; the three build-up steps stay for screen readers. */
.story.is-staged .story__step:not(.story__step--result) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.story.is-staged .story__phase { font-size: min(clamp(1.6rem, 1rem + 1.4vw, 2.5rem), 4.6vh); }
.story.is-staged .story__step p { font-size: min(var(--step-1), 2.5vh); }
.story.is-staged .story__step .story__quote { font-size: min(clamp(1.35rem, .9rem + 1vw, 2rem), 3.4vh); }
.story.is-staged .story__step .btn { min-height: 48px; padding: .75rem 1.15rem; font-size: .9375rem; white-space: normal; text-align: left; }
.story.is-staged .story__step .btn .btn__label { white-space: normal; }
.story.is-staged .story__stats { align-self: end; padding-right: 76px; }  /* clear the floating call button */
/* Each stat owns a fixed column sized to the widest value it can show (JS sets
   --final-w from the font's real glyph widths), so counting never reflows or collides. */
.story.is-staged .story__stat-list { grid-template-columns: repeat(4, max-content); justify-content: space-between; column-gap: clamp(1.25rem, 2.4vw, 2.75rem); }
.story.is-staged .stat__num { --stat-size: min(clamp(3.25rem, 1.4rem + 4.2vw, 7rem), 10.2vh); }
.story.is-staged .stat__label { font-size: min(.9375rem, 2vh); max-width: 21ch; }
@media (max-height: 820px) {
  .story.is-staged .maps__detail { display: none; }
  .story.is-staged .maps__search { min-height: 2.6rem; margin: .7rem .7rem .35rem; }
  .story.is-staged .maps__meta { padding-block: .35rem .45rem; }
  .story.is-staged .maps__row { padding-block: .7rem; }
  .story.is-staged .maps__perf { padding-block: .7rem .8rem; }
}

/* ---------- 4. Homeowners move fast -------------------------------------- */
.fast { background: var(--void); }
.fast__media img { object-position: 60% 50%; }
.fast__body { display: grid; gap: var(--space-m); align-content: center; padding-block: var(--space-m); }
.fast__body h2 { max-width: 12ch; }
.fast__intro { font-size: var(--step-2); font-weight: 500; color: var(--text-2); letter-spacing: -.01em; }
.fast__route { position: relative; margin-top: .25rem; }
.fast__route .route__svg { left: 0; width: 20px; top: var(--route-top, 1.4rem); height: var(--route-h, calc(100% - 3rem)); }
.fast__list { display: grid; gap: clamp(1.6rem, 3.6vh, 2.75rem); }
.fast__item { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.fast__item .route__node { justify-self: center; margin-top: .55em; z-index: 1; }
.fast__item p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.05rem + 1.9vw, 2.75rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  word-spacing: .04em;
  text-wrap: balance;
  max-width: 17ch;
}

/* ---------- 5. Proof (daylight) ------------------------------------------ */
.proof__head { display: grid; gap: var(--space-l); align-items: end; }
.proof__head h2 { max-width: 12ch; }
.proof__rating .stat__num { --stat-size: clamp(5.5rem, 3rem + 8vw, 12rem); }
.proof__rating .stat__label { font-size: 1rem; max-width: 16ch; }
.proof__intro { display: grid; gap: var(--space-m); margin-top: var(--space-l); align-items: end; }
.proof__pull {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-3);
  line-height: 1.02;
  letter-spacing: -.038em;
  word-spacing: .04em;
  max-width: 17ch;
  text-wrap: balance;
}
.proof__work {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 76%);
  gap: 1rem;
  margin: var(--space-xl) calc(-1 * var(--gutter)) 0;
  padding: 0 var(--gutter) 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.stage { scroll-snap-align: start; }
.stage__frame {
  border-radius: var(--radius-l);
  background: #E4EBF1;
  overflow: hidden;
  aspect-ratio: 1020 / 1400;
  box-shadow: inset 0 0 0 1px var(--ink-line);
}
.stage__frame img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.stage__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; margin-top: .9rem; font-size: .9375rem; }
.stage__cap strong { font-weight: 600; }
.stage__cap span { color: var(--ink-muted); }
.proof__reviews { margin-top: var(--space-xl); }
.proof__ctas { margin-top: var(--space-l); justify-content: center; }
@media (min-width: 960px) {
  .proof__head { grid-template-columns: minmax(0, 1fr) auto; }
  .proof__intro { grid-template-columns: 1.05fr .95fr; column-gap: var(--space-xl); }
  .proof__work {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    gap: clamp(1.25rem, 2.2vw, 2.25rem);
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }
  .stage:nth-child(2) { margin-top: clamp(3rem, 6vw, 6rem); }
  .stage:nth-child(3) { margin-top: clamp(1.5rem, 3vw, 3rem); }
}

/* ---------- 6. Local growth partner -------------------------------------- */
.partner__body { display: grid; gap: var(--space-m); align-content: center; padding-block: var(--space-m); }
.partner__body h2 { max-width: 14ch; }
.partner__pull {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-2);
  line-height: 1.12;
  letter-spacing: -.028em;
  color: var(--text);
  max-width: 24ch;
}
.partner__list { margin-top: var(--space-s); border-top: 1px solid var(--line-2); }
.partner__item { border-bottom: 1px solid var(--line-2); padding-block: clamp(.85rem, 2vh, 1.35rem); }
.partner__item h3 {
  font-size: clamp(2.25rem, 1.1rem + 3.4vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .95;
  transition: opacity .7s var(--ease-out), color .7s var(--ease-out);
}
.partner.is-scrubbed .partner__item h3 { opacity: .24; }
.partner.is-scrubbed .partner__item.is-on h3 { opacity: 1; }
.partner__media img { object-position: 45% 50%; }

/* ---------- 7. Clients in common + different ----------------------------- */
.common__grid { display: grid; gap: var(--space-xl); align-items: center; }
.common__copy { display: grid; gap: var(--space-m); }
.common__copy h2 { max-width: 12ch; }
.common__list { border-top: 1px solid var(--line-2); }
.common__list li {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  padding-block: .95rem;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-2);
  line-height: 1.12;
  letter-spacing: -.028em;
  word-spacing: .03em;
}
.common__list li::before {
  content: "";
  flex: none;
  width: .38em; height: .38em;
  border-radius: 50%;
  background: var(--cyan);
  transform: translateY(-.1em);
}
.common__fit { font-size: var(--step-1); color: var(--text); }
.mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(.6rem, 1.1vw, 1rem);
  height: clamp(440px, 64vw, 720px);
}
.mosaic__tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--night); }
.mosaic__tile--a { grid-row: 1 / span 2; }
.mosaic__tile img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__tile--a img { object-position: 62% 50%; }
.mosaic__tile::after { content: ""; position: absolute; inset: 55% 0 0 0; background: linear-gradient(180deg, transparent, rgba(5, 8, 12, .7)); }
.mosaic figcaption { position: absolute; left: 1rem; bottom: .85rem; z-index: 1; font-weight: 600; font-size: .9375rem; color: #fff; }
@media (min-width: 960px) {
  .common__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); }
  .mosaic { height: clamp(520px, 50vw, 760px); }
}

.different { margin-top: var(--space-2xl); }
.different h2 { max-width: 12ch; }
.compare { width: 100%; border-collapse: collapse; margin-top: var(--space-xl); }
.compare thead th { text-align: left; font-size: .9375rem; font-weight: 600; padding: 0 1.5rem 1rem 0; color: var(--muted); }
.compare thead th.compare__us { color: var(--cyan); }
.compare tbody tr { border-top: 1px solid var(--line-2); }
.compare tbody tr:last-child { border-bottom: 1px solid var(--line-2); }
.compare tbody th { text-align: left; vertical-align: top; padding: 1.9rem 2rem 1.9rem 0; width: 36%; font-weight: inherit; }
.compare__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-3);
  line-height: 1;
  letter-spacing: -.04em;
  word-spacing: .05em;
  text-wrap: balance;
}
.compare td { vertical-align: top; padding: 2.15rem 1.5rem 1.9rem 0; font-size: var(--step-1); line-height: 1.45; }
.compare td.compare__them { width: 24%; color: var(--muted); }
.compare td.compare__us { color: var(--text); }
@media (max-width: 759.98px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto !important; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody th { padding: 1.5rem 0 .75rem; }
  .compare td { padding: .35rem 0 .75rem; font-size: var(--step-0); }
  .compare td::before { content: attr(data-label); display: block; font-size: .8125rem; font-weight: 600; margin-bottom: .15rem; color: var(--muted); }
  .compare td.compare__us::before { color: var(--cyan); }
  .compare td.compare__us { padding-bottom: 1.5rem; }
}

/* ---------- 8. How we help you grow -------------------------------------- */
.grow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  min-height: min(112vh, 1040px);
  padding-block: var(--space-2xl) var(--space-xl);
}
.grow__bg { position: absolute; inset: 0; z-index: -2; }
.grow__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; transform: scaleX(-1); }
.grow::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--void) 0%, rgba(5, 8, 12, .3) 16%, rgba(5, 8, 12, .12) 40%, rgba(5, 8, 12, .7) 66%, rgba(5, 8, 12, .92) 84%, var(--void) 100%),
    linear-gradient(90deg, rgba(5, 8, 12, .6) 0%, rgba(5, 8, 12, 0) 55%);
}
.grow__inner { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-xl); }
.grow__inner h2 { max-width: 10ch; }
.grow__route { position: relative; margin-top: auto; }
.grow__svg { top: 0; height: 240px; }
.grow__phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.phase { display: grid; gap: .7rem; align-content: start; padding-top: calc(var(--rise) - 9px); }
.phase:nth-child(1) { --rise: 204px; }
.phase:nth-child(2) { --rise: 120px; }
.phase:nth-child(3) { --rise: 54px; }
.phase .route__node { margin: 0 0 .9rem -9px; }
.phase h3 {
  font-size: clamp(2rem, 1.1rem + 2.4vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -.042em;
  line-height: .95;
}
.phase__when { color: var(--cyan); font-weight: 600; font-size: 1rem; margin-top: -.2rem; }
.phase p:not(.phase__when) { color: var(--text-2); max-width: 32ch; }
@media (max-width: 899.98px) {
  .grow { min-height: 0; }
  .grow__svg { display: none; }
  .grow__phases { grid-template-columns: 1fr; gap: 2.25rem; margin-left: 9px; padding-left: 1.75rem; border-left: 2px solid rgba(0, 198, 242, .55); }
  .phase { position: relative; padding-top: 0; }
  .phase .route__node { position: absolute; left: calc(-1.75rem - 10px); top: .5rem; margin: 0; }
  .grow__bg img { object-position: 30% 30%; }
}

/* ---------- 9. Finale ---------------------------------------------------- */
.finale__bg img { object-position: 70% 40%; }

/* Load check: the inline stylesheet guard re-fetches this file if this rule is missing. Keep it last. */
:root { --css-home: 1; }
