@import url('home.css');   /* page.css components and the brand film */

/* ============================================================
   Homepage concepts (previews): 3 "Light that spreads" (.v-light)
   and 4 "The dove's flight" (.v-flight). Shared content: shorter,
   visual, selling up front. Brand kept: navy, paper, gilt, the dove.
   ============================================================ */

.v2 { --v2-pad: clamp(4.5rem, 9vw, 8.5rem); }
.v2 .masthead { background: var(--paper); }   /* solid: it was translucent over the navy */

/* ---------- type ---------- */
.v2-kicker { font-size: var(--t--1); font-weight: 600; letter-spacing: .02em; color: var(--gilt-ink); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .65rem; }
.v2-kicker::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.v2-kicker--dark { color: var(--gilt-soft); }
.v2-h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.9rem, 6.6vw, 6.6rem); line-height: 1.0; letter-spacing: -0.036em; color: #fff; max-width: 13ch; padding-bottom: .05em; }
.v2-h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 5.4vw, 4.75rem); line-height: 1.02; letter-spacing: -0.04em; max-width: 16ch; }
.v2-lede { margin-top: 1.5rem; max-width: 34ch; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; color: rgba(255,255,255,.82); }
.v2-sub { color: var(--ink-soft); font-size: var(--t-1); max-width: 34ch; }

/* ---------- hero (shared) ---------- */
.v2-hero { position: relative; background: var(--navy); color: #fff; isolation: isolate; }
.v2-chip { display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.75rem; padding: .55rem 1.1rem .55rem .55rem; border: 1px solid rgba(216,190,134,.45); border-radius: 999px; color: rgba(255,255,255,.8); font-size: var(--t-0); }
.v2-chip b { background: var(--gilt-soft); color: var(--navy); border-radius: 999px; padding: .3rem .8rem; font-weight: 600; }
.v2-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.v2-actions .btn { min-height: 3.1rem; padding-inline: 1.6rem; transition: translate .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.v2-actions .btn:hover { translate: 0 -2px; }
.v2-kit .btn--primary:hover { background: var(--gilt-soft); color: var(--navy); translate: 0 -2px; }
.v2-paths { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 1.5rem; }
.v2-paths a { color: var(--sky); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: .1rem; transition: background-size .3s var(--ease); }
.v2-paths a::after { content: "\00a0\2192"; display: inline-block; transition: translate .25s var(--ease); }
.v2-paths a:hover::after { translate: 4px 0; }
.v2-paths a { transition: background-size .3s var(--ease), color .25s var(--ease); }
.v2-paths a:hover { color: var(--gilt-soft); background-size: 100% 2px; }

/* ---------- proof marquee ---------- */
.v2-proof { position: relative; z-index: 2; background: var(--paper); padding: clamp(1.75rem, 3.5vw, 2.75rem) 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.v2-proof__lead { text-align: center; color: var(--ink-faint); font-size: var(--t--1); margin-bottom: 1.1rem; }
.v2-marquee { display: flex; width: max-content; }
.v2-marquee__track { display: flex; flex: none; list-style: none; margin: 0; padding: 0; gap: 0; }
.v2-marquee__track li { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; padding-inline: clamp(1.25rem, 3vw, 2.5rem); position: relative; }
.v2-marquee__track li::after { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--gilt); translate: 50% -50%; }
@media (prefers-reduced-motion: no-preference) {
  .v2-marquee { animation: v2-marquee 46s linear infinite; }
  .v2-proof:hover .v2-marquee { animation-play-state: paused; }
}
@keyframes v2-marquee { to { translate: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .v2-marquee { flex-wrap: wrap; width: auto; justify-content: center; } .v2-marquee__track[aria-hidden] { display: none; } .v2-marquee__track { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; justify-content: center; row-gap: .35rem; } .v2-marquee__track li:last-child::after { display: none; } }
/* The names fade into the page at both edges. On wide screens the flight line runs down those
   margins, so there the fade is solid out to just past the line: no name ever slides under it. */
.v2-proof::before, .v2-proof::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; width: 2.5rem; pointer-events: none; background: linear-gradient(90deg, var(--paper), rgb(253 252 250 / 0)); }
.v2-proof::before { left: 0; }
.v2-proof::after { right: 0; scale: -1 1; }
@media (min-width: 62.5rem) {
  .v-flight .v2-proof::before, .v-flight .v2-proof::after { width: calc(max(40px, (100% - 1248px) / 2 - 44px) + 110px); background: linear-gradient(90deg, var(--paper) calc(100% - 64px), rgb(253 252 250 / 0)); }
}
@media (prefers-reduced-motion: reduce) {
  .v2-proof::before, .v2-proof::after { display: none; }
  @media (min-width: 62.5rem) { .v-flight .v2-marquee { padding-inline: calc(max(40px, (100% - 1248px) / 2 - 44px) + 64px); } }
}

/* ---------- sections ---------- */
.v2-sec { position: relative; z-index: 2; padding-block: var(--v2-pad); background: var(--paper); }
.v2-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.v2-head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; }
.v2-head--center { text-align: center; }
.v2-head--center .v2-h2 { margin-inline: auto; }
.v2-head--center .v2-kicker { justify-content: center; }

/* the week */
.v2-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.8vw, 1.5rem); counter-reset: st; }
.v2-step { counter-increment: st; position: relative; display: grid; gap: .6rem; align-content: start; padding: clamp(1.4rem, 2.6vw, 2.2rem); background: #fff; border: 1px solid var(--line); border-radius: 4px; transition: translate .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.v2-step:hover { translate: 0 -6px; box-shadow: 0 1.5rem 3rem -1.25rem rgba(10,27,41,.25); border-color: var(--gilt-soft); }
.v2-step::before { content: counter(st, decimal-leading-zero); position: absolute; top: 1.1rem; right: 1.25rem; font: 300 1.1rem/1 var(--font-display); color: var(--gilt); font-variant-numeric: tabular-nums; }
.v2-step .icon { width: 2.4rem; height: 2.4rem; color: var(--gilt); margin-bottom: .6rem; }
.v2-step b { font: 400 clamp(1.4rem, 2.2vw, 1.8rem)/1.1 var(--font-display); letter-spacing: -0.02em; }
.v2-step span { color: var(--ink-soft); }
.v2-step--you { background: var(--navy); border-color: var(--navy); color: #fff; }
.v2-step--you span { color: rgba(255,255,255,.75); }
.v2-step--you .icon, .v2-step--you::before { color: var(--gilt-soft); }

/* film band */
.v2-film { background: var(--navy); }
.v2-film .film { margin-top: 0; }

/* work */
.v2-work__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.75rem); }
.v2-work__item { grid-column: span 2; display: grid; gap: .45rem; align-content: start; color: inherit; text-decoration: none; }
.v2-work__item--big, .v2-work__item:nth-child(6), .v2-work__item:nth-child(7) { grid-column: span 3; }
.v2-work__shot { position: relative; display: block; overflow: hidden; border-radius: 4px; border: 1px solid var(--line); background: #E9EEF3; padding-top: 1.5rem; margin-bottom: .5rem; transition: box-shadow .4s var(--ease), translate .4s var(--ease); }
.v2-work__shot::before { content: ""; position: absolute; top: .55rem; left: .7rem; width: .45rem; height: .45rem; border-radius: 50%; background: #C9D2DB; box-shadow: .75rem 0 0 #C9D2DB, 1.5rem 0 0 #C9D2DB; }
.v2-work__shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: scale .6s var(--ease); }
.v2-work__item:hover .v2-work__shot { translate: 0 -5px; box-shadow: 0 1.5rem 3rem -1.25rem rgba(10,27,41,.3); }
.v2-work__item:hover .v2-work__shot img { scale: 1.03; }
.v2-work__item b { font: 400 clamp(1.25rem, 1.9vw, 1.6rem)/1.15 var(--font-display); letter-spacing: -0.02em; }
.v2-work__item > span:last-child { color: var(--ink-soft); font-size: var(--t-0); }

/* kit */
.v2-kit { position: relative; z-index: 2; background: var(--paper-sunk); padding-block: clamp(3rem, 6vw, 5rem); }
.v2-kit__in { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.v2-kit img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; box-shadow: 0 1.5rem 3rem -1.5rem rgba(10,27,41,.4); }
.v2-kit__h { font: 300 clamp(1.8rem, 3.4vw, 2.75rem)/1.08 var(--font-display); letter-spacing: -0.03em; max-width: 18ch; }
.v2-kit p { color: var(--ink-soft); margin-top: .75rem; max-width: 46ch; }
.v2-kit .btn { margin-top: 1.25rem; }

/* pricing */
.v2-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); max-width: 62rem; margin-inline: auto; }
.v2-plan { display: grid; align-content: start; gap: .5rem; padding: clamp(1.75rem, 3.5vw, 2.75rem); background: #fff; border: 1px solid var(--line); border-radius: 6px; transition: translate .35s var(--ease), box-shadow .35s var(--ease); }
.v2-plan:hover { translate: 0 -6px; box-shadow: 0 2rem 4rem -2rem rgba(10,27,41,.35); }
.v2-plan h3 { font: 400 var(--t-3)/1 var(--font-display); }
.v2-plan__for { color: var(--ink-soft); }
.v2-plan__price { margin-top: .75rem; color: var(--ink-soft); }
.v2-plan__price b { font: 300 clamp(3rem, 6vw, 4.5rem)/1 var(--font-display); letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.v2-plan ul { list-style: none; margin: 1rem 0 1.5rem; padding: 0; display: grid; }
.v2-plan li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line-soft); color: var(--ink-soft); font-size: var(--t-0); }
.v2-plan li span { color: var(--ink); text-align: right; }
.v2-plan .btn { width: 100%; min-height: 3.1rem; }
.v2-plan--featured { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 2rem 4rem -2rem rgba(10,27,41,.6); }
.v2-plan--featured .v2-plan__for, .v2-plan--featured .v2-plan__price, .v2-plan--featured li { color: rgba(255,255,255,.7); }
.v2-plan--featured .v2-plan__price b, .v2-plan--featured li span { color: #fff; }
.v2-plan--featured li { border-color: rgba(255,255,255,.14); }
.v2-price__note { text-align: center; margin-top: 1.75rem; color: var(--ink-soft); }
.v2-price__note a { color: var(--blue); }

/* who */
.v2-who { background: var(--paper-sunk); }
.v2-who__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.75rem); }
.v2-who__card { display: grid; gap: .5rem; align-content: start; padding: clamp(1.5rem, 3vw, 2.25rem); background: #fff; border: 1px solid var(--line); border-radius: 4px; color: inherit; text-decoration: none; transition: translate .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.v2-who__card:hover { translate: 0 -6px; box-shadow: 0 1.5rem 3rem -1.25rem rgba(10,27,41,.25); border-color: var(--gilt-soft); }
.v2-who__card .icon { width: 2.25rem; height: 2.25rem; color: var(--gilt); margin-bottom: .5rem; }
.v2-who__card b { font: 400 clamp(1.4rem, 2.3vw, 1.85rem)/1.1 var(--font-display); letter-spacing: -0.02em; }
.v2-who__card b::after { content: "\00a0\2192"; color: var(--gilt); display: inline-block; transition: translate .25s var(--ease); }
.v2-who__card:hover b::after { translate: 5px 0; }
.v2-who__card span { color: var(--ink-soft); }

/* faq */
.v2-faq__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.v2-faq__list details { border-bottom: 1px solid var(--line); }
.v2-faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font: 400 clamp(1.15rem, 1.8vw, 1.4rem)/1.3 var(--font-display); transition: color .2s var(--ease); }
.v2-faq__list summary::-webkit-details-marker { display: none; }
.v2-faq__list summary::after { content: "+"; color: var(--gilt); font-size: 1.5rem; line-height: 1; transition: rotate .3s var(--ease); }
.v2-faq__list summary:hover { color: var(--blue-deep); }
.v2-faq__list details[open] summary::after { rotate: 45deg; }
.v2-faq__list p { padding-bottom: 1.25rem; color: var(--ink-soft); max-width: 50ch; }
@media (prefers-reduced-motion: no-preference) {
  .v2 { interpolate-size: allow-keywords; }
  .v2-faq__list details::details-content { block-size: 0; overflow: hidden; transition: block-size .28s var(--ease), content-visibility .28s allow-discrete; }
  .v2-faq__list details[open]::details-content { block-size: auto; }
}

/* closing */
.v2-cta { position: relative; z-index: 2; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; padding-block: clamp(5rem, 11vw, 10rem); }
.v2-cta__in { position: relative; z-index: 2; }
.v2-cta__h { font: 300 clamp(2.75rem, 6.6vw, 6rem)/1 var(--font-display); letter-spacing: -0.045em; max-width: 14ch; color: #fff; }
.v2-cta p { margin-top: 1.25rem; max-width: 40ch; color: rgba(255,255,255,.78); font-size: var(--t-1); }

/* ============================================================
   3. Light that spreads
   ============================================================ */
.v-light .v2-hero { height: 150vh; }   /* shorter: no long empty sky after the light spreads */
.v-light .v2-hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.v2-light { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.v-light .v2-hero__in { position: relative; z-index: 1; opacity: calc(1 - var(--p, 0) * 2.2); translate: 0 calc(var(--p, 0) * -3rem); }
.v2-cue { position: absolute; z-index: 1; bottom: 1.5rem; left: 50%; translate: -50% 0; display: grid; justify-items: center; gap: .5rem; color: rgba(255,255,255,.55); font-size: var(--t--1); opacity: calc(1 - var(--p, 0) * 4); }
.v2-cue span { width: 1px; height: 2.5rem; background: linear-gradient(transparent, var(--gilt-soft)); }
@media (prefers-reduced-motion: no-preference) { .v2-cue span { animation: v2-cue 2.2s var(--ease) infinite; transform-origin: top; } }
@keyframes v2-cue { 0% { scale: 1 0; } 50% { scale: 1 1; } 100% { scale: 1 1; opacity: 0; } }
.v-light .v2-cta { min-height: 80vh; display: flex; align-items: center; }
@media (prefers-reduced-motion: reduce) { .v-light .v2-hero { height: auto; } .v-light .v2-hero__stage { position: relative; height: auto; min-height: 100svh; } }

/* ============================================================
   4. The dove's flight
   ============================================================ */
.v-flight main, .v-flight #main { position: relative; }
.v2-hero--flight { padding-block: clamp(4rem, 9vw, 8rem); overflow: hidden; }
.v2-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.v2-perch { position: relative; justify-self: center; width: min(26rem, 100%); aspect-ratio: 1; }
.v2-perch::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(157,190,227,.28), rgba(23,105,168,.08) 60%, transparent); }
.v2-perch img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 1.5rem 3rem rgba(0,0,0,.45)); }
@media (prefers-reduced-motion: no-preference) { .v2-perch img { animation: v2-bob 6s ease-in-out infinite alternate; } }
@keyframes v2-bob { from { translate: 0 -6px; } to { translate: 0 6px; } }
.flight { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; overflow: visible; }
.flight__trail { fill: none; stroke: var(--gilt); stroke-width: 1; stroke-opacity: .18; stroke-dasharray: 2 7; }
.flight__line { fill: none; stroke: url(#flight-gold); stroke: var(--gilt); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(216,190,134,.55)); }
.flight__dove { position: absolute; z-index: 5; top: 0; left: 0; width: 2.75rem; height: 2.75rem; pointer-events: none; will-change: translate, rotate; opacity: 0; transition: opacity .4s var(--ease); }
.flight__dove.is-on { opacity: 1; }
.flight__dove img { width: 100%; height: 100%; filter: drop-shadow(0 .4rem .6rem rgba(10,27,41,.35)); }
.v2-cta--flight .btn[data-flight-end] { position: relative; }

/* ---------- phone ---------- */
@media (max-width: 54rem) {
  .v2-h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .v2-steps { grid-template-columns: 1fr 1fr; }
  .v2-work__grid { grid-template-columns: 1fr 1fr; }
  .v2-work__item, .v2-work__item--big, .v2-work__item:nth-child(6), .v2-work__item:nth-child(7) { grid-column: span 1; }
  .v2-work__item--big:first-child { grid-column: 1 / -1; }
  .v2-plans, .v2-who__grid, .v2-faq__in { grid-template-columns: 1fr; }
  .v2-kit__in { grid-template-columns: 7rem minmax(0, 1fr); align-items: start; }
  .v2-hero__grid { grid-template-columns: 1fr; }
  .v2-perch { width: 9rem; justify-self: start; order: -1; }
  .v-light .v2-hero__stage { align-items: flex-end; padding-bottom: 4.5rem; }
  .v2-cue { display: none; }
  .flight__dove { width: 2rem; height: 2rem; }
  .flight__line { stroke-width: 1.5; }
}
@media (max-width: 30rem) {
  .v2-steps { grid-template-columns: 1fr; }
  .v2-work__grid { grid-template-columns: 1fr; }
  .v2-work__item--big:first-child { grid-column: auto; }
}

/* ============================================================
   Combined (light + flight): the flight takes off from where the dove of light sits when the
   hero's sticky stage scrolls away (74% across, 52% down the last screen of the hero).
   ============================================================ */
.v2-takeoff { position: absolute; right: 26%; bottom: 48vh; width: 1px; height: 1px; pointer-events: none; }
.v-light.v-flight .v2-cta .btn[data-flight-end] { position: relative; }
@media (max-width: 54rem) { .v2-takeoff { right: 40%; bottom: 81vh; } }
/* Section hooks (each is a .v2-sec; named so the flight and future tweaks can target them). */
.v2-week, .v2-work, .v2-price, .v2-faq { position: relative; }

/* The line the sky says while the light spreads; never needed at rest. */
.v2-sky { position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%; width: min(36rem, 90%); text-align: center;
  font: 300 clamp(1.6rem, 3.4vw, 2.8rem)/1.15 var(--font-display); letter-spacing: -0.03em; color: #fff;
  opacity: clamp(0, calc((var(--p, 0) - .42) * 4), 1); pointer-events: none; text-shadow: 0 0 2rem rgba(10,27,41,.9); }
/* Reduced motion: no sky to light up, so the line is a still closing line under the hero copy. */
@media (prefers-reduced-motion: reduce) {
  .v-light .v2-hero__stage { flex-wrap: wrap; align-content: center; }
  .v2-sky { position: relative; left: auto; top: auto; translate: none; opacity: 1; flex: 0 0 auto; text-align: left; text-shadow: none;
    width: min(var(--page), 100% - var(--gutter) * 2); margin: clamp(2rem, 6vh, 3.5rem) auto 0; padding-top: 1.25rem; border-top: 1px solid rgba(216,190,134,.35);
    font-size: clamp(1.3rem, 2.3vw, 1.8rem); color: rgba(255,255,255,.86); }
  .v2-cue { display: none; }
}
/* Phones: a slim lane stays clear beside the closing words, for the dove's landing line. */
@media (max-width: 40rem) { .v-flight .v2-cta p { max-width: min(40ch, 100% - 2.25rem); } }
@media (max-width: 54rem) and (prefers-reduced-motion: no-preference) { .v-light .v2-hero { height: 125vh; } }
/* Phones, reduced motion: a band above the headline for the still dove (home-light.js centres it there). */
@media (max-width: 54rem) and (prefers-reduced-motion: reduce) { .v-light .v2-hero__stage { padding-top: 10.5rem; padding-bottom: 3rem; } }
/* The small dove keeps a gentle wingbeat when you stop scrolling. */
@media (prefers-reduced-motion: no-preference) {
  .flight__dove.is-on img { animation: v2-wing 2.2s ease-in-out infinite alternate; }
}
@keyframes v2-wing { from { translate: 0 -2px; scale: 1 .96; } to { translate: 0 2px; scale: 1 1; } }
