/* Landing v2: built on the champagne fluid-chrome art (10 Oct 2026). One job per screen. */
.wordmark .mark { width: 36px; }
.wordmark span:last-child { font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: .3em; color: var(--text-2); }
.landing .nav { position: absolute; inset: 0 0 auto 0; }
[data-variant-only][hidden] { display: none; }

/* Hero: the art fills the screen, copy sits in the art's black pocket, the Eye sits in its big ring.
   Art geometry (master 3240 x 1440): ring 1 centre 49.10% / 40.76%, inner diameter 22.1% of width. */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: center; }
.hero-visual { position: absolute; inset: 0; overflow: hidden; }
.hero-art { position: absolute; left: 0; top: 0; width: max(100vw, 225svh); aspect-ratio: 3240 / 1440; }
.hero-art > img:first-child { width: 100%; height: 100%; display: block; }
.hero-eye { position: absolute; left: 49.1%; top: 40.76%; width: 20.5%; transform: translate(-50%, -50%); }
.hero-copy { position: relative; z-index: 2; padding: 0 var(--side) 0 var(--inset); width: min(100%, calc(600px + var(--inset) + var(--side))); margin-top: 4svh; }
.hero h1 { font-size: clamp(40px, 4.3vw, 68px); line-height: 1.03; max-width: 13ch; color: #F1EDE6; }
.hero-line { margin: var(--s5) 0 var(--s6); font-size: 18px; line-height: 1.5; color: var(--text-2); }
.hero-line b { color: var(--text); font-weight: 500; }
.welcome { margin: 0 0 var(--s5); min-height: 1.2em; font: 500 clamp(26px, 2.6vw, 38px)/1.2 var(--display); letter-spacing: -0.01em; color: var(--champagne); }
.welcome .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.welcome .caret { display: inline-block; width: 0.08em; height: 0.95em; margin-left: 0.06em; vertical-align: -0.1em; background: currentColor; animation: caret-blink 1s steps(1) infinite; }
.welcome .caret.caret-done { animation: none; opacity: 0; transition: opacity 400ms; }
@keyframes caret-blink { 50% { opacity: 0; } }
.resume { margin: var(--s4) 0 0; font-size: 15px; }
.resume a { color: var(--champagne); }

@media (max-width: 700px), (max-width: 1023px) and (orientation: portrait) {
  .hero { display: block; min-height: 0; }
  .hero-visual { position: relative; height: 96vw; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
  .hero-art { width: 270vw; left: calc(50vw - 0.491 * 270vw); top: -3vw; }
  .hero-eye { width: 20.5%; }
  .hero-copy { margin-top: -10vw; padding-bottom: var(--s4); }
  .landing .nav { background: linear-gradient(#000 0, rgba(0,0,0,.9) 45%, rgba(0,0,0,0)); }
  .hero-roots { display: none; }
}
@media (max-width: 700px) { .hero h1 { font-size: 38px; max-width: 16ch; } }
@media (min-width: 701px) and (max-width: 1023px) and (orientation: portrait) {
  .hero-visual { height: 78vw; }
  .hero-art { width: 220vw; left: calc(50vw - 0.491 * 220vw); }
  .hero-copy { margin-top: -6vw; padding-bottom: var(--s7); }
  .hero h1 { font-size: 56px; max-width: 15ch; }
}

/* Watch first */
.watch { padding-top: var(--s6); padding-bottom: var(--s9); }
.watch-h { display: flex; align-items: flex-end; gap: var(--s4); font-size: clamp(30px, 3vw, 44px); max-width: none; }
.watch-h .arrow { width: 26px; height: 40px; color: var(--champagne); flex: none; margin-bottom: 2px; }
@media (max-width: 700px) {
  .watch { padding-top: var(--s5); }
  .watch-h { display: block; }
  .watch-h .arrow { display: inline-block; vertical-align: -6px; margin-left: 6px; width: 20px; height: 30px; }
}
.watch-sub { margin: var(--s3) 0 var(--s6); color: var(--text-2); }
.videos { display: grid; gap: var(--s5); grid-template-columns: minmax(0, 1fr); align-items: start; align-content: start; }
@media (min-width: 900px) {
  .videos { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-auto-rows: auto; }
  .video-main { grid-row: span 3; }
}
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--g2) center / cover no-repeat; border-radius: var(--r); overflow: hidden; outline: 1px solid #2a2a2e; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; width: 100%; border: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.55)); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.video-btn { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--champagne); color: var(--on-champagne); transition: transform var(--dur-fast); }
.video-side .video-play { align-items: flex-end; justify-content: flex-start; padding: 6px; background: none; }
.video-side .video-btn { width: 30px; height: 30px; }
.video-side .video-btn svg { width: 14px; height: 14px; }
.video-play:hover .video-btn { transform: scale(1.06); }
.video-title { font: 500 20px/1.25 var(--display); margin-top: var(--s3); }
.video-side .video-title { font-size: 16px; }
.video-meta { margin: var(--s1) 0 0; font-size: 14px; color: var(--text-3); }
.video-side { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--s3); align-items: start; }
.video-side .video-title { margin-top: 0; }
@media (min-width: 900px) { .video-side { grid-template-columns: 160px minmax(0, 1fr); } }

/* Inside */
.inside { padding-top: var(--s8); padding-bottom: var(--s9); }
.strip { width: 100%; height: auto; display: block; margin-bottom: var(--s6); pointer-events: none; }
.inside h2 { font-size: clamp(30px, 3vw, 44px); max-width: none; }
.inside-grid { display: grid; gap: var(--s6) var(--s5); margin-top: var(--s7); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .inside-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .inside-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.item { border-top: 1px solid #3a3833; padding-top: var(--s4); }
.item h3 { font-size: 26px; line-height: 1.1; color: #F1EDE6; }
@media (min-width: 1100px) { .item h3 { min-height: 2.2em; } }
.item p { margin: var(--s3) 0 0; color: var(--text-2); font-size: 16px; }

/* Proof */
.proof { padding-top: var(--s9); padding-bottom: var(--s9); }
.proof h2 { font-size: clamp(30px, 3vw, 44px); max-width: none; }
.proof-sub { margin: var(--s3) 0 var(--s6); color: var(--text-2); max-width: 60ch; }
.plate { margin: 0; }
.plate figcaption { margin-top: var(--s2); font-size: 14px; color: var(--text-3); }
.plate figcaption b { color: var(--text); font-weight: 600; }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: #0d0d0f; cursor: zoom-in; border-radius: var(--r); overflow: hidden; outline: 1px solid #2a2a2e; }
.zoom img { width: 100%; height: auto; }
.zoom:hover { outline-color: var(--champagne); }
.proof-note { margin: var(--s5) 0 0; font-size: 14px; color: var(--text-3); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 94vh; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox img { max-width: 100%; max-height: 88vh; display: block; margin: 0 auto; }
.lightbox-close { display: block; margin: 0 0 var(--s2) auto; background: none; border: 1px solid var(--line-strong); color: var(--text); font: 500 14px var(--sans); padding: 8px 14px; border-radius: var(--r); cursor: pointer; }

/* People: the hero's own lattice and roots (mirrored), with David and Ben in its two rings.
   Art crop 3240 x 2400 of the master; ovals under the rings at 16.7% / 46% and 49.6% / 45.8%.
   From 1100px the copy sits in the art's black pocket on the right, mirroring the hero's copy on the left. */
.people { position: relative; padding-top: var(--s9); }
.people-art { position: relative; }
.people-pic { position: relative; container-type: inline-size; }
.people-pic img { display: block; width: 100%; height: auto; }
.oval { position: absolute; margin: 0; transform: translate(-50%, -50%); text-align: center; pointer-events: none; font: 500 max(11px, 1.05cqw)/1.3 var(--sans); letter-spacing: .08em; color: var(--text-2); }
.oval span { display: block; margin-bottom: .45cqw; font: 500 max(20px, 2.7cqw)/1 var(--display); letter-spacing: .02em; color: #F1EDE6; }
.oval-d { left: 16.7%; top: 46%; }
.oval-b { left: 49.6%; top: 45.8%; }
.people h2 { font-size: clamp(30px, 3vw, 44px); max-width: none; position: relative; z-index: 1; }
.person h3 { font-size: 22px; color: #F1EDE6; }
.person .role { margin: var(--s1) 0 var(--s2); font-size: 14px; color: var(--champagne); }
.person p { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.5; }
/* Phone and tablet: heading above the art, bios under it. */
.people h2 { padding: 0 var(--side) var(--s5); }
.people-copy { display: grid; gap: var(--s5); padding: var(--s5) var(--side) 0; }
@media (min-width: 701px) { .people-copy { grid-template-columns: 1fr 1fr; column-gap: var(--s6); } }
/* From 1100px: the heading sits in the art's black pocket on the right (clear rows 19.5% to 38.4%,
   from 70% across), like the hero's copy sits in its pocket on the left; each bio sits under its ring,
   over the faded root tips (same move as the Watch section over the hero roots). */
@media (min-width: 1100px) {
  .people { padding-top: var(--s7); }
  .people h2 { position: absolute; left: 70.5%; top: 21%; width: 24%; padding: 0; font-size: clamp(40px, 3.3vw, 64px); line-height: 1.05; text-wrap: balance; }
  .people-copy { --edge: max(var(--side), calc((100% - 1200px) / 2)); position: relative; z-index: 1; grid-template-columns: calc(39.75% - var(--edge)) minmax(0, 30%); column-gap: 0; padding: 0 0 0 var(--edge); margin-top: -4.5vw; }
  .people-copy .person { max-width: 30ch; }
  .people-copy p { text-shadow: 0 0 14px #000, 0 0 28px #000, 0 0 3px #000; }
}
@media (max-width: 700px) {
  .people { padding-top: var(--s7); }
  .oval { font-size: max(10px, 2.6cqw); }
  .oval span { font-size: max(18px, 6cqw); margin-bottom: 1cqw; }
  .oval-d { left: 21.4%; top: 53%; }
  .oval-b { left: 75.4%; top: 52.7%; }
}

/* Close */
.close { position: relative; padding: var(--s9) 0 calc(var(--s8) + 30.5vw); background: #000; overflow: hidden; }
.close::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 2400 / 733; background: url(/assets/img/chrome-roots-rise.webp) center bottom / 100% auto no-repeat; }
.close .wrap { position: relative; z-index: 1; }
.close h2 { font-size: clamp(30px, 3vw, 44px); max-width: 20ch; }
.close p { margin: var(--s4) 0 var(--s6); color: var(--text-2); max-width: 52ch; }
@media (max-width: 700px) { .close { padding: var(--s8) 0 calc(var(--s7) + 50vw); } .close::after { aspect-ratio: 1200 / 733; background-size: 200% auto; } }
.landing .foot { border-top: 0; }

/* Sticky Apply bar on phones */
.sticky-apply { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: var(--s3) var(--side) max(var(--s3), env(safe-area-inset-bottom)); background: rgba(0,0,0,.92); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 240ms var(--ease-out); }
.sticky-apply .btn { width: 100%; }
.sticky-apply.show { transform: none; }
@media (min-width: 720px) { .sticky-apply { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .sticky-apply, .video-btn, .pupil { transition: none; }
}
.videos:has(> .video:only-child) { grid-template-columns: minmax(0, 1fr); max-width: 960px; }

/* Hero: the art thins out into the black instead of stopping at the section edge */


/* Testimonial carousel: arrows centred above, next card 30% visible and nudging */
.carousel { position: relative; margin-right: calc(-1 * var(--side)); --n: 3; --per: 3.3; }
@media (max-width: 1099px) { .carousel { --n: 2; --per: 2.3; } }
@media (max-width: 700px) { .carousel { --n: 1; --per: 1.3; } }
.car-track {
  display: flex; gap: var(--s5); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; padding: var(--s2) var(--side) var(--s4) 0;
  scrollbar-width: none; cursor: grab;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.car-track.is-drag img { pointer-events: none; }
.car-track:focus-visible { outline: 2px solid var(--champagne); outline-offset: 4px; }
.slide { --w: calc((100% + var(--side) - var(--n) * var(--s5)) / var(--per)); flex: 0 0 var(--w); scroll-snap-align: start; scroll-snap-stop: always; margin: 0;
  opacity: .55; transform: scale(.96); transform-origin: left center;
  transition: opacity 520ms var(--ease-out), transform 620ms var(--ease-out); }
.slide.is-in { opacity: 1; transform: none; }
.slide.is-peek { opacity: .8; transform: none; animation: peek-nudge 3.4s var(--ease-out) 1.2s 2; }
@keyframes peek-nudge { 0%, 62%, 100% { transform: translateX(0); } 72% { transform: translateX(-22px); } 82% { transform: translateX(0); } 88% { transform: translateX(-8px); } }
.slide .zoom { position: relative; height: 460px; background: transparent; outline: 0; }
.slide .zoom img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left top; }
.slide .zoom:focus-visible { outline: 2px solid var(--champagne); }
@media (max-width: 700px) { .slide .zoom { height: 420px; } }
.car-ctrl { display: flex; justify-content: flex-start; gap: var(--s3); margin: 0 var(--side) var(--s5) 0; }
.car-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; transition: border-color var(--dur-fast), color var(--dur-fast); }
.car-btn:hover { border-color: var(--champagne); color: var(--champagne); }
.car-btn:disabled { opacity: .35; cursor: default; }
@media (prefers-reduced-motion: reduce) { .slide, .slide.is-peek { transition: none; animation: none; opacity: 1; transform: none; } }

/* Roots: the brand art itself continues below the hero (extended with the same image tool that
   made it) and grows into chrome tree roots behind the Watch section. */
.hero-art > .hero-roots { position: absolute; top: 100%; left: 0; width: 100%; height: auto; display: block; pointer-events: none; }
@media (min-width: 701px) and (orientation: landscape), (min-width: 1024px) {
  .hero, .hero-visual { overflow-x: clip; overflow-y: visible; }
  .watch { position: relative; z-index: 1; padding-top: calc(max(100vw, 225svh) * 0.30); }
  .watch-h, .watch-sub { text-shadow: 0 0 16px #000, 0 0 32px #000, 0 0 3px #000; }
}
