/* Perfect. Look 1: Slate and Silver. */
@font-face {
  font-family: "PX";
  src: url("../assets/helvetica-neue-medium-extended.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #0b0e13;
  --bg-2: #10141b;
  --bg-3: #080a0e;
  --silver: #c5cad2;
  --bone: #eeeae1;
  --dim: #939ba6;
  --line: rgba(197, 202, 210, 0.15);
  --line-2: rgba(197, 202, 210, 0.34);
  --blue: #2f5fe0;
  --plum: #a24d93;
  --orange: #d66a2b;
  --hue: var(--silver);
  --pad: clamp(22px, 5vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "PX", "Helvetica Neue", "Arial Narrow", Arial, sans-serif;
  --text: "Avenir Next", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --stone: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .78  0 0 0 0 .8  0 0 0 0 .86  0 0 0 .075 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
[data-hue="blue"] { --hue: var(--blue); }
[data-hue="plum"] { --hue: var(--plum); }
[data-hue="orange"] { --hue: var(--orange); }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* the gutter is always reserved, so locking and unlocking scroll never changes the page width */
html { scrollbar-gutter: stable; }
html.locked { overflow: hidden; }
body {
  margin: 0; color: var(--silver); background: var(--bg) var(--stone);
  font-family: var(--text); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, p, ol, ul, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
canvas.plate { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
:focus-visible { outline: 1px solid var(--bone); outline-offset: 5px; }
::selection { background: var(--bone); color: var(--bg); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 300; background: var(--bone); color: var(--bg); padding: 12px 18px; font: 500 12px var(--display); letter-spacing: 0.2em; text-transform: uppercase; }
.skip-link:focus { top: 16px; }

/* ---------- Shared type ---------- */
.display {
  font-family: var(--display); font-weight: 500; text-transform: uppercase;
  font-size: clamp(31px, 5vw, 76px); line-height: 1.05; letter-spacing: 0.015em;
  color: var(--bone); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.07), 0 -1px 1px rgba(0, 0, 0, 0.7);
}
.ln { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.ln > span { display: block; transform: translateY(112%); transition: transform 1.15s var(--ease); transition-delay: calc(var(--i, 0) * 95ms + var(--d, 0ms)); will-change: transform; }
.ln:nth-child(2) { --i: 1; } .ln:nth-child(3) { --i: 2; } .ln:nth-child(4) { --i: 3; }
.in .ln > span { transform: none; }

.lede { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.45; color: var(--silver); font-weight: 500; max-width: 30em; }
.rv { opacity: 0; transform: translateY(18px); transition: opacity 1s ease 0.35s, transform 1.1s var(--ease) 0.35s; }
.in .rv, .rv.in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 16px; height: 54px; padding: 0 26px;
  font: 500 12px/1 var(--display); letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid var(--line-2); color: var(--bone); overflow: hidden; isolation: isolate;
  transition: border-color 0.4s ease, color 0.4s ease;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone); transform: scaleY(0); transform-origin: bottom; transition: transform 0.55s var(--ease); }
.btn i { position: relative; width: 22px; height: 1px; background: currentColor; transition: width 0.45s var(--ease); }
.btn i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn-solid { background: var(--bone); color: var(--bg); border-color: var(--bone); }
.btn-solid::before { background: #fff; }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn-line:hover, .btn-line:focus-visible { color: var(--bg); border-color: var(--bone); }
.btn:hover i, .btn:focus-visible i { width: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.head {
  position: fixed; left: 0; right: 0; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--pad); opacity: 0; transform: translateY(-12px); transition: opacity 0.9s ease 0.5s, transform 1.1s var(--ease) 0.5s;
}
.head::before { content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; background: linear-gradient(rgba(11, 14, 19, 0.92), rgba(11, 14, 19, 0)); opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.head.scrolled::before { opacity: 1; }
.hero-in .head { opacity: 1; transform: none; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); align-items: center; }
.nav a, .nav button, .foot-nav a, .foot-nav button, .foot-base a {
  position: relative; font: 500 12px/1 var(--display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--silver); padding: 8px 0; transition: color 0.3s ease;
}
.nav a::after, .nav button::after, .foot-nav a::after, .foot-nav button::after, .foot-base a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--bone); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav a:hover, .nav button:hover, .foot-nav a:hover, .foot-nav button:hover, .foot-base a:hover { color: var(--bone); }
.nav a:hover::after, .nav button:hover::after, .nav a:focus-visible::after, .nav button:focus-visible::after, .foot-nav a:hover::after, .foot-nav button:hover::after, .foot-base a:hover::after { transform: none; transform-origin: left; }
.nav .replay { color: var(--dim); }
.menu-btn { display: none; font: 500 12px/1 var(--display); letter-spacing: 0.24em; text-transform: uppercase; color: var(--bone); padding: 10px 0 10px 16px; }

.sheet { position: fixed; inset: 0; z-index: 55; background: var(--bg) var(--stone); display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--pad) 40px; opacity: 0; transition: opacity 0.4s ease; }
.sheet[hidden] { display: none; }
.sheet.open { opacity: 1; }
.sheet nav { display: grid; border-top: 1px solid var(--line); }
.sheet nav a, .sheet nav button { display: flex; align-items: baseline; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); text-align: left; font: 500 26px/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--bone); opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.8s var(--ease); }
.sheet nav > :nth-child(2) { transition-delay: 60ms; } .sheet nav > :nth-child(3) { transition-delay: 120ms; } .sheet nav > :nth-child(4) { transition-delay: 180ms; }
.sheet.open nav a, .sheet.open nav button { opacity: 1; transform: none; }
.sheet p { margin-top: 36px; font: 500 11px/1.6 var(--display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }

/* ---------- Sections ---------- */
main { position: relative; }
[data-sec] { position: relative; }
.work, .eagle, .reviews, .closing, .foot { z-index: 2; background: var(--bg) var(--stone); }
.wash { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(ellipse 75% 65% at var(--wx, 78%) var(--wy, 22%), color-mix(in srgb, var(--hue) 46%, transparent), transparent 70%); }
.lit > .wash { animation: wash 3.2s ease forwards; }
@keyframes wash { 0% { opacity: 0; } 28% { opacity: 1; } 100% { opacity: 0.3; } }

/* ---------- I. Hero ---------- */
.hero { position: sticky; top: 0; z-index: 1; height: 100vh; height: 100svh; min-height: 560px; }
.hero-pin { position: absolute; inset: 0; overflow: hidden; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 14, 19, 0.78) 0%, rgba(11, 14, 19, 0) 17%), linear-gradient(0deg, rgba(11, 14, 19, 0.7) 0%, rgba(11, 14, 19, 0) 15%), linear-gradient(90deg, rgba(11, 14, 19, 0.82) 0%, rgba(11, 14, 19, 0.5) 34%, rgba(11, 14, 19, 0) 58%); pointer-events: none; }
.hero-copy { position: absolute; left: var(--pad); top: 50%; transform: translateY(-46%); max-width: min(52vw, 760px); }
.hero .display { font-size: clamp(33px, 5.05vw, 78px); }
.hero .lede { margin-top: clamp(20px, 3vh, 34px); }
.hero .lede .ln > span { --d: 420ms; }
.hero .cta-row { margin-top: clamp(26px, 4.4vh, 46px); opacity: 0; transform: translateY(16px); transition: opacity 1s ease 0.95s, transform 1.1s var(--ease) 0.95s; }
.hero-in .hero .cta-row { opacity: 1; transform: none; }
.hero-in .hero .ln > span { transform: none; }
.hero-base { position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; display: flex; justify-content: flex-start; align-items: center; gap: 20px; font: 500 11px/1 var(--display); letter-spacing: 0.24em; text-transform: uppercase; color: var(--silver); opacity: 0; transition: opacity 1s ease 1.3s; }
.hero-in .hero-base { opacity: 1; }

/* ---------- Hero to Work: four seams to choose from (html[data-seam]) ---------- */
.seam { position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: -1px; pointer-events: none; }
.seam i { display: none; }
/* quiet: Work's dark ground rises with a long soft edge, no line */
/* the edge is Work's own stone surface, masked to nothing, so there is no step where it meets Work */
[data-seam="1"] .seam { height: 46vh; background: var(--bg) var(--stone) left bottom; -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 34%, rgba(0, 0, 0, 0.78) 70%, #000 100%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 34%, rgba(0, 0, 0, 0.78) 70%, #000 100%); }
/* dissolve and handoff: a shorter soft edge, the plate itself does the work */
[data-seam="2"] .seam, [data-seam="4"] .seam { height: 26vh; background: var(--bg) var(--stone) left bottom; -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.62) 58%, #000 100%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.62) 58%, #000 100%); }
/* horizon: one fine silver line draws across the seam, with a faint lift of light above it */
[data-seam="3"] .seam { height: 72px; background: linear-gradient(180deg, rgba(197, 202, 210, 0) 0%, rgba(197, 202, 210, 0.07) 100%); opacity: var(--sp, 0); }
[data-seam="3"] .seam i { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(197, 202, 210, 0) 0%, var(--silver) 14%, var(--bone) 50%, var(--silver) 86%, rgba(197, 202, 210, 0) 100%); transform: scaleX(var(--sp, 0)); will-change: transform; }
.hero-pin { will-change: transform, opacity; }
/* Work's colour wash fades in below its top edge, so the edge itself stays soft */
.work > .wash { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 34vh); mask-image: linear-gradient(180deg, transparent 0, #000 34vh); }

/* ---------- II. Work ---------- */
.work { padding-bottom: clamp(70px, 12vh, 150px); }

.tiles { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); margin: clamp(40px, 8vh, 80px) 0 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tile { position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(34px); transition: opacity 0.9s ease, transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.tiles.in .tile { opacity: 1; transform: none; }
.tile:nth-child(2) { --i: 1; } .tile:nth-child(3) { --i: 2; } .tile:nth-child(4) { --i: 3; } .tile:nth-child(5) { --i: 4; } .tile:nth-child(6) { --i: 5; }
.tile > a, .tile > div { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(230px, 31vh, 320px); padding: 28px 28px 30px; overflow: hidden; isolation: isolate; }
.tile > a::before, .tile > div::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s ease;
  background: radial-gradient(circle, color-mix(in srgb, var(--blue) 80%, #fff) 0 1.15px, transparent 1.7px) 0 0 / 8px 8px, radial-gradient(circle, color-mix(in srgb, var(--blue) 80%, #fff) 0 1.15px, transparent 1.7px) 4px 4px / 8px 8px;
  -webkit-mask-image: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 100%);
  mask-image: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 100%);
}
.tile > a::after, .tile > div::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--bone); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.tile-tag { position: absolute; left: 28px; top: 28px; font: 500 11px/1 var(--display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.tile h3 { font: 500 clamp(19px, 1.75vw, 26px)/1.1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--bone); transition: transform 0.6s var(--ease); }
.tile p { margin-top: 12px; font-size: 15.5px; line-height: 1.45; color: var(--silver); max-width: 24em; padding-right: 40px; transition: transform 0.6s var(--ease) 0.04s; }
.tile-go { position: absolute; right: 28px; bottom: 34px; width: 18px; height: 1px; background: var(--line-2); transition: width 0.5s var(--ease), background 0.3s ease; }
.tile-go::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2); transform: rotate(45deg); transition: border-color 0.3s ease; }
.tile > div .tile-go { display: none; }
.tile:hover > ::before, .tile > a:focus-visible::before { opacity: 1; }
.tile:hover > ::after, .tile > a:focus-visible::after { transform: none; }
.tile:hover h3, .tile:hover p { transform: translateX(8px); }
.tile:hover .tile-go { width: 34px; background: var(--bone); }
.tile:hover .tile-go::after { border-color: var(--bone); }
.tile > a:focus-visible { outline-offset: -6px; }

/* ---------- III. Eagle ---------- */
.eagle { height: 300vh; }
.eagle-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.eagle-type { position: absolute; left: 7vw; right: 0; top: 13vh; }
.eagle-row { white-space: nowrap; font: 500 var(--ef, 6.6vw)/1.02 var(--display); text-transform: uppercase; letter-spacing: 0.01em; will-change: transform; }
.eagle-row span { display: inline-block; }
.eagle-row.r1 { color: transparent; -webkit-text-stroke: 1px rgba(197, 202, 210, 0.56); }
.eagle-row.r2 { color: #2b3340; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.09), 0 -1px 1px rgba(0, 0, 0, 0.9); }
.eagle-bird { position: absolute; left: 0; bottom: 58px; height: min(66vh, 60vw); aspect-ratio: 3 / 2; will-change: transform; transform: translate3d(-100%, 0, 0); }
.eagle-ledge { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(#1a2029, #0c0f14 70%); border-top: 1px solid rgba(197, 202, 210, 0.5); display: grid; align-content: start; gap: 7px; padding-top: 7px; }
.eagle-ledge i { height: 1px; background: var(--line); }

/* ---------- IV. Reviews ---------- */
.reviews { --wx: 82%; --wy: 30%; }
.reviews-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 44%); padding: 0 var(--pad); }
.liberty { position: sticky; top: 0; height: 100vh; height: 100svh; order: 2; margin-right: calc(var(--pad) * -1); }
.liberty-scrim { display: none; }
.reviews-copy { padding: 22vh 6vw 26vh 0; }
.quotes { margin-top: 6vh; }
.quote { position: relative; margin-top: 12vh; padding-top: 34px; opacity: 0.6; transform: translateY(14px); transition: opacity 0.9s ease, transform 1.1s var(--ease); }
.quote::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.quote::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: linear-gradient(90deg, var(--bone), color-mix(in srgb, var(--plum) 80%, #fff) 60%, transparent); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease); }
.quote.on { opacity: 1; transform: none; }
.quote.on::after { transform: none; }
.quote blockquote { font-size: clamp(21px, 2.25vw, 33px); line-height: 1.32; font-weight: 500; color: var(--bone); letter-spacing: -0.008em; max-width: 21em; }
.quote .who { margin-top: 26px; font: 500 11px/1 var(--display); letter-spacing: 0.24em; text-transform: uppercase; color: var(--silver); }

/* ---------- V. Closing ---------- */
.closing { min-height: 100vh; min-height: 100svh; overflow: hidden; display: grid; align-items: center; --wx: 22%; --wy: 88%; }
.horizon { position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 1; }
.horizon i { display: block; height: 1px; background: linear-gradient(90deg, transparent, var(--orange) 25%, var(--bone) 50%, var(--orange) 75%, transparent); transform: scaleX(var(--p, 0)); will-change: transform; }
.dome { position: absolute; inset: 0; transform: translate3d(0, var(--rise, 12%), 0); will-change: transform; }
.closing-copy { position: relative; margin-left: 52%; padding: 16vh var(--pad) 16vh 0; }
.closing .display { font-size: clamp(36px, 5.6vw, 88px); }
.closing .cta-row { margin-top: clamp(30px, 5vh, 52px); }

/* ---------- Footer ---------- */
.foot { position: relative; background: var(--bg-3) var(--stone); padding: 0 var(--pad) 30px; overflow: hidden; }
.foot > canvas.plate { left: auto; right: 0; width: min(40%, 600px); height: 62%; opacity: 0.5; -webkit-mask-image: linear-gradient(#000 35%, transparent 96%); mask-image: linear-gradient(#000 35%, transparent 96%); }
.thirteen { position: relative; display: flex; justify-content: space-between; align-items: center; height: 1px; background: var(--line); margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
.thirteen i { width: 5px; height: 5px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line-2); transition: background 0.5s ease, border-color 0.5s ease, transform 0.8s var(--ease); transition-delay: calc(var(--i) * 70ms); transform: scale(0.4); }
.foot.in .thirteen i { background: var(--bone); border-color: var(--bone); transform: none; }
.foot-top { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(56px, 11vh, 120px) 0 clamp(60px, 13vh, 150px); }
.foot-made { font: 500 clamp(12px, 1.25vw, 17px)/1.5 var(--display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone); }
.foot-nav a, .foot-nav button { color: var(--bone); }
.foot-nav { display: flex; gap: clamp(18px, 2.4vw, 36px); flex-wrap: wrap; }
.foot-base { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(26px, 4vh, 44px); padding-top: 20px; border-top: 1px solid var(--line); font: 500 11px/1 var(--display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }
.foot-base a { font-size: 11px; color: var(--dim); }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 200; overflow: hidden; }
.intro[hidden] { display: none; }
/* The intro's last beat is the hero. The hero plate and the header logo are made ready under the
   intro (hero-warm), then the whole intro layer fades away over them and the hero's own headline
   comes in once. Nothing is swapped, so nothing can pop. */
.hero-warm .head { opacity: 1; transform: none; transition: none; }
.hero-warm .nav { opacity: 0; }
.intro { background: var(--bg) var(--stone); }
/* While the intro runs, one timeline in js/site.js sets every style. No CSS transition may join in. */
.intro-live .hero *, .intro-live .head, .intro-live .head *, .intro-live .pill, .intro-live .intro * { transition: none !important; animation: none !important; }
/* the intro logo sits exactly where the header logo is, so it does not shift in the fade */
.intro .intro-top { align-items: flex-start; }
.intro-top .logo { margin-top: 4px; }
.intro-stage { position: absolute; inset: 0; }
.intro-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 14, 19, 0.86) 0%, rgba(11, 14, 19, 0.42) 42%, rgba(11, 14, 19, 0.05) 72%), linear-gradient(0deg, rgba(11, 14, 19, 0.85), rgba(11, 14, 19, 0) 34%), linear-gradient(180deg, rgba(11, 14, 19, 0.7), rgba(11, 14, 19, 0) 20%); transition: opacity 0.8s ease; }
.intro-top { position: absolute; left: var(--pad); right: var(--pad); top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: opacity 0.4s ease; }
.intro-skip { font: 500 12px/1 var(--display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--silver); padding: 10px 0; display: inline-flex; align-items: center; gap: 12px; transition: color 0.3s ease; }
.intro-skip:hover { color: var(--bone); }
.intro-skip .key { border: 1px solid var(--line-2); padding: 6px 8px 5px; font-size: 11px; letter-spacing: 0.16em; }
.intro-run { position: absolute; left: var(--pad); bottom: clamp(96px, 17vh, 170px); }
.intro-year { display: flex; margin: 16px 0 14px -0.04em; font: 500 clamp(84px, 17vw, 270px)/1 var(--display); color: var(--bone); letter-spacing: -0.01em; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 -2px 2px rgba(0, 0, 0, 0.6); }
.od { display: block; height: 1em; overflow: hidden; }
.od-col { display: block; will-change: transform; }
.od-col b { display: block; height: 1em; line-height: 1; font-weight: 500; text-align: center; }
.intro-cap { overflow: hidden; height: 20px; font: 500 13px/20px var(--display); letter-spacing: 0.3em; text-transform: uppercase; color: var(--silver); }
.intro-cap span { display: block; }
.intro-rail { position: absolute; left: var(--pad); right: var(--pad); bottom: 38px; }
.intro-rail-line { height: 1px; background: var(--line); }
.intro-rail-line i { display: block; height: 1px; background: var(--bone); transform: scaleX(0); transform-origin: left; }
.intro-rail ol { display: flex; justify-content: space-between; margin-top: 12px; font: 500 11px/1 var(--display); letter-spacing: 0.2em; color: var(--dim); }
.intro-rail li { transition: color 0.4s ease; }
.intro-rail li.on { color: var(--bone); }

/* ---------- Round 2: logo, work grid, footer mark ---------- */
.brand { display: block; padding: 4px 0; }
.logo { display: block; height: 24px; width: auto; }
.work-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 36%); padding-left: var(--pad); }
.work-spire { position: sticky; top: 0; height: 100vh; height: 100svh; order: 2; }
.work-copy { padding: clamp(110px, 20vh, 200px) clamp(20px, 4vw, 64px) 6vh 0; }
.work-copy .lede { margin-top: 24px; }
.foot-mark { position: relative; width: min(100%, 1040px); }
.foot-mark img { display: block; width: 100%; height: auto; clip-path: inset(0 0 100% 0); transform: translateY(18%); transition: clip-path 1.3s var(--ease) 0.15s, transform 1.4s var(--ease) 0.15s; }
.foot.in .foot-mark img { clip-path: inset(-4% 0 -4% 0); transform: none; }

/* ---------- Round 3: quiet footer, fireworks ---------- */
.foot { padding-bottom: 26px; }
.foot > canvas.plate { height: 100%; }
.foot-main { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; padding: clamp(52px, 9vh, 92px) 0 clamp(30px, 5vh, 48px); }
.foot-logo { display: block; width: 140px; height: auto; margin-bottom: 26px; }
.foot-line { display: flex; align-items: center; gap: 14px; }
.foot-made { font-size: 12px; }
.foot-base { margin-top: 0; }
.fw-btn { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--silver); transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.fw-btn svg { width: 22px; height: 22px; overflow: visible; transition: transform 0.7s var(--ease); }
.fw-btn line { stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; }
.fw-btn circle { fill: currentColor; }
.fw-btn:hover, .fw-btn:focus-visible, .fw-btn.live { color: var(--bone); border-color: var(--bone); }
.fw-btn:hover svg, .fw-btn:focus-visible svg { transform: scale(1.22) rotate(30deg); }
.fw-btn:active svg { transform: scale(0.9); }
.fireworks-sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 150; pointer-events: none; display: none; }
.fireworks-sky.on, .fireworks-sky.still { display: block; }
.fireworks-sky.still { opacity: 0; transition: opacity 1.2s ease !important; }
.fireworks-sky.still.on { opacity: 1; }

/* ---------- Header never collides with content: solid bar once scrolled, tucks away on the way down ---------- */
.head.scrolled::before { inset: 0; opacity: 1; background: rgba(11, 14, 19, 0.94); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-in .head.scrolled { transition: transform 0.45s var(--ease), opacity 0.3s ease; padding-top: 16px; padding-bottom: 16px; }
.hero-in .head.tuck:not(:focus-within) { transform: translateY(-105%); }

/* ---------- Phone ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .head { padding-top: 18px; padding-bottom: 18px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(11, 14, 19, 0.7) 0%, rgba(11, 14, 19, 0) 14%), linear-gradient(0deg, rgba(11, 14, 19, 0.96) 0%, rgba(11, 14, 19, 0.9) 52%, rgba(11, 14, 19, 0) 72%); }
  .hero-copy { top: auto; bottom: 56px; transform: none; max-width: none; right: var(--pad); }
  .hero-base { display: none; }
  .btn { height: 50px; padding: 0 20px; letter-spacing: 0.18em; font-size: 12px; }
  .tiles { grid-template-columns: 1fr; margin-top: 36px; }
  .tile-tag { left: 20px; top: 22px; } .tile-go { right: 20px; bottom: 28px; }
  .logo { height: 21px; }
  .work-grid { display: block; padding: 0 var(--pad); }
  .work-spire { position: relative; height: 64svh; margin: 0 calc(var(--pad) * -1) -7svh; }
  .work-spire::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 2%, rgba(11, 14, 19, 0) 40%); }
  .work-copy { position: relative; padding: 0 0 4vh; }
  .tile > a, .tile > div { min-height: 172px; padding: 22px 20px 24px; }
  .eagle { height: 240vh; }
  .eagle-bird { height: min(48vh, 78vw); bottom: 44px; }
  .eagle-ledge { height: 46px; }
  .reviews-grid { display: block; }
  .liberty { position: relative; height: 62svh; margin: 0 calc(var(--pad) * -1) -9svh; }
  .liberty-scrim { display: block; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 14, 19, 0.5) 14%, rgba(11, 14, 19, 0) 34%); }
  .reviews-copy { position: relative; padding: 0 0 16vh; }
  .quote { margin-top: 9vh; }
  .closing { align-items: start; }
  .closing-copy { margin-left: 0; padding: 15vh var(--pad) 58vh; }
  .foot > canvas.plate { width: 100%; height: 40%; opacity: 0.28; }
  .foot-main { flex-direction: column; align-items: flex-start; gap: 22px; padding: 46px 0 30px; }
  .foot-logo { width: 110px; margin-bottom: 20px; }
  .foot-made { font-size: 11px; letter-spacing: 0.14em; }
  .foot-base { flex-wrap: wrap; }
  .intro-top { top: 18px; }
  .intro-run { bottom: 92px; }
  .intro-rail ol { display: none; }
  .intro-rail { bottom: 34px; }
  .intro-scrim { background: linear-gradient(0deg, rgba(11, 14, 19, 0.95) 0%, rgba(11, 14, 19, 0.7) 34%, rgba(11, 14, 19, 0.05) 62%), linear-gradient(180deg, rgba(11, 14, 19, 0.75), rgba(11, 14, 19, 0) 18%); }
}

/* ---------- Review panel, only with ?lab=1 ---------- */
.lab { position: fixed; left: 16px; bottom: 16px; z-index: 210; width: 176px; background: rgba(16, 20, 27, 0.94); border: 1px solid var(--line-2); color: var(--silver); font: 500 12px/1 var(--text); }
.lab-head { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 40px; padding: 0 14px; font: 500 12px/1 var(--display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone); }
.lab-head::after { content: ""; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.3s ease; }
.lab.shut .lab-head::after { transform: translateY(2px) rotate(-135deg); }
.lab.shut .lab-body { display: none; }
.lab-body { padding: 2px 14px 12px; border-top: 1px solid var(--line); }
.lab label { display: flex; justify-content: space-between; align-items: center; height: 34px; font-size: 13px; cursor: pointer; }
.lab input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lab label i { position: relative; width: 34px; height: 18px; border-radius: 9px; border: 1px solid var(--line-2); transition: background 0.2s ease, border-color 0.2s ease; }
.lab label i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--dim); transition: transform 0.2s ease, background 0.2s ease; }
.lab input:checked + i { background: var(--bone); border-color: var(--bone); }
.lab input:checked + i::after { transform: translateX(16px); background: var(--bg); }
.lab input:focus-visible + i { outline: 1px solid var(--bone); outline-offset: 3px; }
.lab-all { display: flex; gap: 8px; margin-top: 8px; }
.lab-sub { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font: 500 12px/1 var(--display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone); }
.lab-seam { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.lab-seam button { height: 32px; border: 1px solid var(--line-2); font: 500 12px/1 var(--text); color: var(--bone); }
.lab-seam button[aria-pressed="true"] { background: var(--bone); color: var(--bg); border-color: var(--bone); }
.lab-all button { flex: 1; height: 32px; border: 1px solid var(--line-2); font: 500 12px/1 var(--text); color: var(--bone); }
.lab-all button:hover { border-color: var(--bone); }
@media (max-width: 860px) { .lab { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); } .lab-head { height: 48px; } .lab label { height: 44px; } .lab-all button { height: 44px; } .lab-seam button { height: 44px; } }

/* ---------- Phone, made for a thumb and a tall screen ---------- */
.pill, .deck-bar { display: none; }
@media (max-width: 860px) {
  :root { --pad: 22px; --svh: 100vh; --chin: 0px; --safe: env(safe-area-inset-bottom, 0px); --row: calc(39px + var(--safe)); --zone: calc(64px + var(--safe)); }
  @supports (height: 100lvh) { :root { --svh: 100svh; --chin: calc(100lvh - 100svh); } }
  :root { --scene: max(var(--svh), 540px); }
  /* every swipe lands on a composed frame, without fighting momentum */
  html { scroll-snap-type: y mandatory; }
  main > section { scroll-snap-align: start; }
  /* the hero is pinned behind the page, so it cannot be a snap point itself: a zero-height marker holds the top */
  .hero { scroll-snap-align: none; }
  main::before { content: ""; display: block; height: 0; scroll-snap-align: start; }
  .foot { scroll-snap-align: end; }

  /* thumb menu */
  .menu-btn { display: none; }
  .pill { display: inline-flex; align-items: center; justify-content: center; position: fixed; right: 16px; bottom: calc(16px + var(--safe)); z-index: 70; height: 48px; min-width: 96px; padding: 0 22px; border-radius: 24px; border: 1px solid var(--line-2); background: rgba(16, 20, 27, 0.92); color: var(--bone); font: 500 12px/1 var(--display); letter-spacing: 0.22em; text-transform: uppercase; opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease 0.9s, transform 0.8s var(--ease) 0.9s, background 0.2s ease, color 0.2s ease; -webkit-tap-highlight-color: transparent; }
  .hero-in .pill { opacity: 1; transform: none; }
  .pill:active, .pill[aria-expanded="true"] { background: var(--bone); color: var(--bg); }
  .sheet { padding-bottom: calc(100px + var(--safe)); }
  .sheet nav a, .sheet nav button { -webkit-tap-highlight-color: transparent; }
  .sheet nav a:active, .sheet nav button:active { color: var(--silver); }

  /* hero: the seal runs off the right edge, type sits bottom left */
  .hero { height: calc(var(--scene) + var(--chin)); min-height: 0; }
  .hero-copy { bottom: calc(var(--chin) + var(--zone) + 22px); }
  .hero .display { font-size: clamp(30px, 9.9vw, 46px); }
  .hero .lede { font-size: 17px; margin-top: 16px; }
  .hero .cta-row { margin-top: 24px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(11, 14, 19, 0.6) 0%, rgba(11, 14, 19, 0) 12%), linear-gradient(0deg, rgba(11, 14, 19, 0.97) 0%, rgba(11, 14, 19, 0.9) 34%, rgba(11, 14, 19, 0.45) 52%, rgba(11, 14, 19, 0) 68%); }

  /* work: a swipe deck, the spire building behind it */
  .work { padding-bottom: 0; }
  .work-grid { display: block; position: relative; padding: 0; height: calc(var(--scene) + var(--chin)); overflow: hidden; }
  .work-spire { position: absolute; inset: 0; height: auto; margin: 0; }
  .work-spire::after { background: linear-gradient(180deg, rgba(11, 14, 19, 0.7) 0%, rgba(11, 14, 19, 0) 26%), linear-gradient(0deg, var(--bg) 0%, rgba(11, 14, 19, 0) 22%); }
  .work-copy { position: absolute; left: 0; right: 0; top: 0; height: var(--scene); padding: 0 0 var(--row); display: flex; flex-direction: column; }
  .work-copy h2 { padding: clamp(78px, 12.5vh, 118px) var(--pad) 0; font-size: clamp(30px, 9.4vw, 44px); }
  .work-copy .lede { padding: 0 var(--pad); margin-top: 14px; font-size: 16px; max-width: 20em; }
  .tiles { display: flex; grid-template-columns: none; gap: 12px; margin: auto 0 0; padding: 0 var(--pad); border: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .tiles::after { content: ""; flex: 0 0 10px; }
  .tile { flex: 0 0 min(76vw, 340px); height: clamp(210px, 38vh, 350px); scroll-snap-align: start; border: 1px solid var(--line-2); background: rgba(11, 14, 19, 0.84); transform: none; -webkit-tap-highlight-color: transparent; }
  .tile > a, .tile > div { height: 100%; min-height: 0; padding: 22px 20px 24px; }
  .tile h3 { font-size: 22px; }
  .tile p { font-size: 16px; padding-right: 28px; }
  .tile-tag { font-size: 12px; }
  .tile.tap > ::before { opacity: 1; }
  .tile.tap > ::after { transform: none; }
  .tile.tap h3, .tile.tap p { transform: translateX(6px); }
  .deck-bar { display: block; flex: none; width: 112px; height: 2px; margin: 22px var(--pad) 0; background: var(--line-2); }
  .deck-bar i { display: block; height: 100%; background: var(--bone); transform-origin: left; transform: scaleX(var(--p, 0.17)); transition: transform 0.25s ease; }

  /* eagle: one full-screen moment */
  .eagle { height: calc(var(--svh) * 2.5); --bh: min(calc(var(--svh) * 0.56), 124vw); }
  .eagle-pin { height: calc(var(--svh) + var(--chin)); }
  .eagle-bird { bottom: auto; top: calc(var(--svh) - 46px - var(--bh)); height: var(--bh); }
  .eagle-ledge { top: calc(var(--svh) - 46px); bottom: 0; height: auto; }
  .eagle-type { left: 6vw; right: 6vw; top: calc(var(--svh) * 0.15); }
  .eagle-row { line-height: 1.02; }
  .eagle-row.r1 { white-space: normal; }

  /* reviews: Liberty above, one review at a time under the thumb */
  .reviews-grid { display: block; position: relative; padding: 0; height: calc(var(--scene) + var(--chin)); overflow: hidden; }
  .liberty { position: absolute; inset: 0; height: auto; margin: 0; }
  .liberty-scrim { background: linear-gradient(180deg, rgba(11, 14, 19, 0.6) 0%, rgba(11, 14, 19, 0) 12%), linear-gradient(0deg, var(--bg) 0%, var(--bg) 22%, rgba(11, 14, 19, 0.86) 36%, rgba(11, 14, 19, 0) 58%); }
  .reviews-copy { position: absolute; left: 0; right: 0; top: 0; height: var(--scene); padding: 0 0 var(--row); display: flex; flex-direction: column; justify-content: flex-end; }
  .reviews-copy h2 { padding: 0 var(--pad); font-size: clamp(24px, 7.4vw, 34px); }
  .quotes { display: flex; margin: 18px 0 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .quotes::-webkit-scrollbar { display: none; }
  .quote { flex: 0 0 100%; margin: 0; padding: 22px var(--pad) 0; opacity: 1; transform: none; scroll-snap-align: start; }
  .quote::before { left: var(--pad); right: var(--pad); }
  .quote::after { left: var(--pad); width: calc(100% - var(--pad) * 2); transform: none; }
  .quote blockquote { font-size: clamp(18px, 5.2vw, 22px); min-height: 4em; }
  .quote .who { margin-top: 16px; font-size: 12px; }

  /* closing: the dome fills the width */
  .closing { display: block; min-height: 0; height: calc(var(--scene) + var(--chin)); }
  .closing-copy { margin: 0; padding: clamp(104px, 19vh, 190px) var(--pad) 0; }
  .closing .display { font-size: clamp(32px, 10.4vw, 48px); }
  .closing .cta-row { margin-top: 26px; }

  /* footer */
  .foot { padding-bottom: calc(var(--zone) + 20px); }
  .foot-main { padding: 44px 0 22px; gap: 14px; }
  .foot-line { width: 100%; justify-content: space-between; gap: 16px; }
  .foot-made { font-size: 12px; letter-spacing: 0.14em; }
  .fw-btn { width: 56px; height: 56px; -webkit-tap-highlight-color: transparent; }
  .fw-btn svg { width: 26px; height: 26px; }
  .fw-btn:active { background: var(--bone); color: var(--bg); }
  .foot-nav { gap: 26px; }
  .foot-nav a, .foot-nav button, .foot-base a { padding: 17px 0; }
  .brand { padding: 12px 0; margin: -8px 0; }
  .skip-link { padding: 16px 18px; }

  /* intro in portrait */
  .intro-top { top: 12px; }
  .intro-skip { padding: 16px 0 16px 24px; font-size: 12px; }
  .intro-skip .key { display: none; }
  .intro-top .logo { margin-top: 10px; }
  .intro-run { bottom: calc(74px + var(--safe)); }
  .intro-year { font-size: 29.5vw; margin: 0 0 10px -0.03em; }
  .intro-cap { font-size: 13px; letter-spacing: 0.16em; }
  .intro-rail { bottom: calc(40px + var(--safe)); }
  .intro-scrim { background: linear-gradient(0deg, rgba(11, 14, 19, 0.96) 0%, rgba(11, 14, 19, 0.74) 30%, rgba(11, 14, 19, 0.08) 56%), linear-gradient(180deg, rgba(11, 14, 19, 0.7), rgba(11, 14, 19, 0) 16%); }
}
/* phone on its side, or a very short screen: scenes stop pinning to the glass */
@media (max-width: 860px) and (max-height: 539px) {
  .hero { position: relative; }
  .closing-copy { margin-left: 34%; }
  .reviews-copy { right: 44%; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
  .eagle { height: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .eagle { height: auto; }
  .eagle-bird { left: 50%; transform: translate3d(-50%, 0, 0) !important; }
  .eagle-row { transform: none !important; white-space: normal; text-align: center; }
  .dome { transform: none; }
  .horizon i { transform: none; }
  .lit > .wash { animation: none; opacity: 0.3; }
}
