*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #0a0b0d; --bg-2: #111317; --fg: #eceef1; --dim: #8a8f98; --faint: #4a4f58;
  --line: rgba(236,238,241,0.12); --accent: #13aff0;
  --pad: clamp(16px, 4vw, 56px); --max: 1320px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
/* no scroll-behavior: smooth. site.js owns every in-page jump so the browser
   animation and the mandatory snap can't fight over a long one */
html { background: var(--bg); scroll-snap-type: y mandatory; -webkit-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: #2a2e35 var(--bg); }
.snap {
  scroll-snap-align: start; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(84px, 11vh, 110px) 0 clamp(32px, 6vh, 64px);
}
.snap > .wrap { width: 100%; }
.has-bg { isolation: isolate; overflow: hidden; }
.has-bg p, .has-bg h2, .has-bg h3, .has-bg .mono { text-shadow: 0 1px 14px rgba(0,0,0,0.85), 0 0 2px rgba(0,0,0,0.6); }
.has-bg .side p, .has-bg .era p { color: #dfe2e7; }
#path.has-bg .sec-bg { filter: blur(2px) brightness(0.55) saturate(0.8); transform: scale(1.02); }
#path.has-bg::before { background: linear-gradient(180deg, var(--bg) 0%, rgba(10,11,13,0.55) 18%, rgba(10,11,13,0.55) 80%, var(--bg) 100%), rgba(10,11,13,0.45); }
.has-bg .pillar p, .has-bg .era .tags { color: #b9bec6; }
.has-bg .sec-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; }
.has-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(10,11,13,0) 16%, rgba(10,11,13,0) 74%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,11,13,0.55) 0%, rgba(10,11,13,0.2) 50%, rgba(10,11,13,0.4) 100%),
    rgba(10,11,13,0.5);
}
@media (max-width: 860px) { .has-bg::before { background: linear-gradient(180deg, var(--bg) 0%, rgba(10,11,13,0.7) 25%, rgba(10,11,13,0.82) 100%); } }
/* phones and short screens: slides may grow past one screen, so snapping relaxes to proximity */
@media (max-width: 900px), (max-height: 640px) {
  html { scroll-snap-type: y proximity; }
}
.nav-fade { position: fixed; inset: 0; z-index: 150; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity 180ms ease-out; }
.nav-fade.on { opacity: 1; }
body {
  background: var(--bg); color: var(--fg); overflow-x: hidden;
  font-family: 'Inter Tight', system-ui, sans-serif; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: #000; }

/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--pad);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(10,11,13,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.mark {
  font-weight: 800; font-size: 14px; letter-spacing: 0.08em; text-decoration: none;
  width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(236,238,241,0.3); border-radius: 4px;
  transition: background 0.25s, color 0.25s;
}
.mark:hover { background: var(--fg); color: var(--bg); }
.nav ul { list-style: none; display: flex; gap: clamp(16px, 3vw, 36px); }
.nav ul a { text-decoration: none; color: var(--fg); opacity: 0.75; transition: opacity 0.2s; }
.nav ul a:hover, .nav ul a[aria-current] { opacity: 1; }
@media (max-width: 640px) { .nav ul .opt { display: none; } }

/* ---------- hero ---------- */
.hero { scroll-snap-align: start; position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 2.2s ease, transform 9s linear; }
.hero-media img.on { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,11,13,0.55) 0%, rgba(10,11,13,0) 25%, rgba(10,11,13,0.2) 55%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,11,13,0.75) 0%, rgba(10,11,13,0) 65%);
}
.hero .wrap { padding-bottom: clamp(48px, 11vh, 120px); padding-top: 120px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(16px, 3vh, 26px); color: var(--fg); opacity: 0.8; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.display {
  font-weight: 800; text-transform: uppercase; line-height: 0.86; letter-spacing: -0.025em;
  font-size: clamp(3.6rem, 16vw, 12.5rem);
}
.display span { display: block; }
.display { text-shadow: 0 4px 40px rgba(0,0,0,0.35); }
.display .ghost { color: rgba(236,238,241,0.5); }
.lede { max-width: 34ch; margin-top: clamp(20px, 4vh, 36px); font-weight: 300; font-size: clamp(1.15rem, 2.4vw, 1.6rem); line-height: 1.35; }
.hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(32px, 6vh, 64px); flex-wrap: wrap; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(var(--fg), transparent); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: scaleY(0.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(80px, 14vh, 160px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: clamp(28px, 5vh, 56px); }
.sec-head.row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.sec-head.row > :first-child { display: grid; gap: 14px; }
@media (max-width: 700px) { .sec-head.row { grid-template-columns: minmax(0, 1fr); } }
.work.three .card { grid-column: span 4; }
.work { align-items: start; }
.feature { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 28px); align-items: start; }
#featured .sec-head { margin-bottom: clamp(18px, 3vh, 32px); }
button.btn { background: transparent; color: var(--fg); cursor: pointer; }
button.btn.primary { background: var(--fg); color: var(--bg); }
a.btn.mono { color: var(--fg); }
#story .sec-head { margin-bottom: clamp(16px, 3vh, 32px); }
#story .era { padding: clamp(12px, 2vh, 22px) 0; }
.feat-main { display: flex; flex-wrap: wrap; gap: 16px 10px; min-width: 0; }
.feat-main > .card { flex: 1 1 100%; min-width: 0; }
.inline-link { color: var(--fg); text-decoration: none; border-bottom: 1px solid rgba(236,238,241,0.35); white-space: nowrap; }
.inline-link:hover { border-color: var(--accent); color: var(--accent); }
.about .card .frame, .about > .rv > .card { width: 100%; }
button.btn:hover, button.btn:focus-visible { background: var(--fg); color: var(--bg); }
.venture::after { background: linear-gradient(180deg, rgba(10,11,13,0) 20%, rgba(10,11,13,0.6) 55%, rgba(10,11,13,0.95) 100%), linear-gradient(90deg, rgba(10,11,13,0.55) 0%, rgba(10,11,13,0) 60%); }
.venture h3, .venture p, .venture .go { text-shadow: 0 1px 12px rgba(0,0,0,0.7); }
.feat-side { display: grid; gap: clamp(14px, 2vh, 22px); }
.feat-side .card .meta { margin-top: 10px; }
.feat-side .card .role { display: none; }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr); } .feat-side .card .role { display: block; } }
@media (max-width: 1000px) { .work.three .card { grid-column: span 6; } }
@media (max-width: 600px) { .work.three .card { grid-column: span 12; } }
.snap .pillars { margin-top: clamp(36px, 6vh, 72px); }
.sec-head h2 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.95; font-size: clamp(2.2rem, 6vw, 4.6rem); }
.sec-head p { color: var(--dim); max-width: 52ch; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.rule { height: 1px; background: var(--line); }

/* manifesto */
.manifesto p.big { font-weight: 300; font-size: clamp(1.5rem, 3.6vw, 2.9rem); line-height: 1.22; letter-spacing: -0.01em; max-width: 24ch; }
.manifesto p.big em { font-style: normal; color: var(--dim); }
.manifesto .grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.manifesto .side p + p { margin-top: 1em; }
.manifesto .side p { color: #c4c8cf; }
@media (max-width: 860px) { .manifesto .grid { grid-template-columns: minmax(0, 1fr); } }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(56px, 9vh, 96px); }
.pillar { padding: 28px 28px 8px 0; }
.pillar + .pillar { border-left: 1px solid var(--line); padding-left: 28px; }
.pillar h3 { font-size: 1.25rem; font-weight: 600; margin: 14px 0 8px; }
.pillar p { color: var(--dim); font-size: 0.98rem; }
@media (max-width: 760px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar, .pillar + .pillar { border-left: 0; padding: 24px 0; border-bottom: 1px solid var(--line); }
}

/* ventures */
.ventures { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 24px); }
.venture {
  position: relative; min-height: clamp(380px, 54vh, 580px); border-radius: 6px; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 3vw, 40px);
  text-decoration: none; border: 1px solid var(--line); background: var(--bg-2);
}
.venture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.venture::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,11,13,0) 30%, rgba(10,11,13,0.92) 100%); }
.venture:hover img { filter: brightness(1.08); }
.venture h3 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.9; font-size: clamp(2.4rem, 6vw, 4.8rem); margin: 12px 0 14px; }
.venture p { max-width: 44ch; color: #c9cdd3; }
.venture .go { margin-top: 22px; display: inline-flex; gap: 10px; align-items: center; color: var(--fg); }
.venture .go::after { content: "→"; font-family: 'Inter Tight', sans-serif; font-size: 16px; transition: transform 0.3s var(--ease); }
.venture:hover .go::after { transform: translateX(6px); }
.venture.soon { background: radial-gradient(80% 70% at 30% 20%, rgba(19,175,240,0.10), transparent 70%), var(--bg-2); }
.venture.soon::after { display: none; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(10,11,13,0.5); color: var(--fg); width: fit-content; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
@media (max-width: 860px) { .ventures { grid-template-columns: minmax(0, 1fr); } .venture { min-height: 420px; } .venture.soon { min-height: 300px; } }

/* work grid */
.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.card { grid-column: span 4; position: relative; cursor: pointer; text-align: left; background: none; border: 0; color: inherit; font: inherit; }
.card.lg { grid-column: span 6; }
.card .frame { position: relative; overflow: hidden; border-radius: 4px; background: var(--bg-2); }
.card img { width: 100%; height: auto; transition: filter 0.6s; filter: saturate(0.9) brightness(0.9); }
.card:hover img, .card:focus-visible img { filter: none; }
.card .play {
  position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(10,11,13,0.6); border: 1px solid rgba(236,238,241,0.35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background 0.3s, transform 0.3s var(--ease);
}
.card .play::before { content: ""; margin-left: 3px; border-left: 11px solid var(--fg); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.card:hover .play { background: var(--accent); transform: scale(1.08); border-color: var(--accent); }
.card .meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.card h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.25; margin-top: 4px; }
.card .role { color: var(--dim); font-size: 0.95rem; margin-top: 4px; }
.card:focus-visible { outline: 1px solid var(--accent); outline-offset: 6px; border-radius: 4px; }
@media (max-width: 1000px) { .card, .card.lg { grid-column: span 6; } }
@media (max-width: 600px) { .card, .card.lg { grid-column: span 12; } }

/* path / timeline */
.path { display: grid; grid-template-columns: minmax(0, 1fr); }
.era { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(16px, 4vw, 56px); padding: clamp(16px, 2.6vh, 30px) 0; border-top: 1px solid var(--line); }
.era:last-child { border-bottom: 1px solid var(--line); }
.era h3 { font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.015em; line-height: 1; }
.era p { color: #c4c8cf; }
.era .tags { color: var(--dim); font-size: 0.95rem; }
@media (max-width: 860px) { .era { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about figure { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; }
.about figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* headshot on top, Nobu + virtual camera side by side below; sized so the stack fits one screen */
.about .duo {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); gap: clamp(8px, 1vw, 14px); align-items: end;
  width: 100%; max-width: min(100%, calc((100svh - 200px) / 1.2)); justify-self: center;
}
.about .duo figure { aspect-ratio: 4 / 5; }
.about .duo figure + figure { aspect-ratio: auto; }
.about .duo figure + figure img { height: auto; }
.about .duo figure.head { grid-column: 1 / -1; order: -1; aspect-ratio: 1 / 1; width: 46%; justify-self: start; }
.about .duo figure.head img { height: 100%; }
@media (max-width: 860px) { .about .duo { max-width: 100%; } }
@media (max-width: 860px) { .about .duo figure { max-height: none; } }
.about figure figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 9px; border-radius: 3px; background: rgba(10,11,13,0.72); color: var(--fg); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.about .text p { color: #c4c8cf; font-size: clamp(1rem, 1.5vw, 1.12rem); }
.about .text p + p { margin-top: 1.1em; }
.about .text p.lead { color: var(--fg); font-weight: 300; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.3; }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } }

/* quote */
.quote { padding: clamp(80px, 14vh, 150px) 0; text-align: left; }
.quote blockquote { font-weight: 300; font-size: clamp(1.4rem, 3.2vw, 2.5rem); line-height: 1.28; letter-spacing: -0.01em; max-width: 30ch; }
.quote blockquote::before { content: "\201C"; display: block; font-weight: 800; font-size: 4em; line-height: 0.6; color: var(--accent); margin-bottom: 0.15em; }
.quote cite { display: block; margin-top: 28px; font-style: normal; }

/* contact */
.contact { padding: clamp(90px, 16vh, 180px) 0 clamp(40px, 8vh, 80px); }
.contact h2 { font-weight: 800; text-transform: uppercase; line-height: 0.88; letter-spacing: -0.025em; font-size: clamp(3rem, 11vw, 9rem); }
.contact h2 span { display: block; color: rgba(236,238,241,0.38); }
.links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 5vh, 48px); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 4px; text-decoration: none;
  border: 1px solid rgba(236,238,241,0.28); font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover, .btn:focus-visible { background: var(--fg); color: var(--bg); border-color: var(--fg); outline: none; }
.btn.primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); color: #000; }

.snap.end { padding-bottom: 0; justify-content: space-between; }
.snap.end > .wrap { flex: 1; display: flex; flex-direction: column; justify-content: center; }
footer.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px var(--pad) max(28px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }

/* gallery (brushify page) */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px); }
.gallery button { grid-column: span 2; border: 0; padding: 0; background: var(--bg-2); border-radius: 4px; overflow: hidden; cursor: zoom-in; align-self: start; }
.gallery button.wide { grid-column: span 3; }
.gallery img { width: 100%; height: auto; transition: filter 0.6s; }
.gallery button:hover img { filter: brightness(1.08); }
@media (max-width: 760px) { .gallery button, .gallery button.wide { grid-column: span 3; } }
@media (max-width: 480px) { .gallery button, .gallery button.wide { grid-column: span 6; } }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fact { padding: 26px 24px 26px 0; }
.fact + .fact { border-left: 1px solid var(--line); padding-left: 24px; }
.fact b { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1; margin: 10px 0 8px; }
.fact span { color: var(--dim); font-size: 0.95rem; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(3) { border-left: 0; padding-left: 0; } .fact { border-bottom: 1px solid var(--line); } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: clamp(12px, 4vw, 48px); background: rgba(5,6,8,0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lb.open { display: grid; animation: fade 0.35s ease both; }
@keyframes fade { from { opacity: 0; } }
.lb-inner { width: min(100%, 1280px, calc((100vh - 240px) * 16 / 9)); min-width: min(100%, 640px); max-height: 100%; overflow-y: auto; }
.lb-media { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
.lb-media iframe, .lb-media img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }
.lb-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px 40px; padding: 22px 2px 8px; }
.lb-text h3 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.15; margin-top: 6px; }
.lb-text p { color: #c4c8cf; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(236,238,241,0.3); background: rgba(10,11,13,0.6); color: var(--fg); font-size: 26px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lb-nav:hover { background: var(--fg); color: var(--bg); }
.lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
.lb-count { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 4px 10px; border-radius: 999px; background: rgba(10,11,13,0.65); color: var(--fg); }
.card .play.stack::before { content: none; }
.card .play.stack { font-family: 'JetBrains Mono', monospace; font-size: 11px; width: auto; padding: 0 12px; border-radius: 999px; height: 32px; }
.lb-close { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(236,238,241,0.3); background: rgba(10,11,13,0.7); color: var(--fg); font-size: 20px; cursor: pointer; z-index: 2; }
.lb-close:hover { background: var(--fg); color: var(--bg); }
@media (max-width: 760px) { .lb-text { grid-template-columns: minmax(0, 1fr); } }

/* reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.hero .rv { transition-duration: 1.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== One screen per slide (desktop) =====
   Every snap slide must fit a single viewport so one scroll = one slide.
   Grids are capped by the viewport HEIGHT (never cropped: images keep their natural
   aspect), and spacing/type tighten on short screens. Phones use proximity snap. */
@media (min-width: 901px) and (min-height: 641px) {
  .snap { padding: clamp(72px, 9.5vh, 110px) 0 clamp(20px, 4vh, 60px); }
  .sec-head { gap: 10px; margin-bottom: clamp(16px, 3.5vh, 48px); }
  .sec-head h2 { font-size: min(clamp(2.2rem, 6vw, 4.6rem), 8vh); }
  .sec-head p { font-size: min(clamp(1rem, 1.6vw, 1.15rem), 2.3vh); }
  .display { font-size: min(clamp(3.6rem, 16vw, 12.5rem), 19vh); }
  .lede { margin-top: clamp(14px, 3vh, 36px); }
  .hero .wrap { padding-bottom: clamp(32px, 9vh, 120px); padding-top: 90px; }
  .hero-foot { margin-top: clamp(20px, 5vh, 64px); }

  /* work + featured grids: width limited so their height fits */
  #work .work { max-width: calc((100svh - 440px) / 0.29); }
  .work.three { max-width: calc((100svh - 330px) / 0.43); }
  #featured .feature { max-width: calc((100svh - 400px) / 0.385); }

  /* galleries */
  .gallery.fit-2x2 { max-width: calc((100svh - 400px) * 1.74); }
  .gallery.fit-3x2 { max-width: calc((100svh - 200px) / 0.39); }
  .gallery.fit-3x2.head { max-width: calc((100svh - 400px) / 0.39); }
  .gallery.fit-scope { max-width: calc((100svh - 400px) / 0.3); }
  .gallery.fit-scope.two { max-width: calc((100svh - 400px) / 0.44); }

  /* timelines: tags sit under the text, so each era is two short lines */
  .era { grid-template-columns: minmax(0, 210px) minmax(0, 1fr); row-gap: 4px; padding: clamp(10px, 1.9vh, 22px) 0; }
  .era .tags { grid-column: 2; font-size: 0.85rem; }
  .era h3 { font-size: min(clamp(1.3rem, 2.6vw, 2rem), 4vh); }
  .era p { font-size: min(1rem, 2.15vh); line-height: 1.5; }

  /* text-led slides */
  .manifesto p.big { font-size: min(clamp(1.5rem, 3.6vw, 2.9rem), 5.2vh); }
  .manifesto .side p, .about .text p { font-size: min(1.0625rem, 2.15vh); }
  .about .text p.lead { font-size: min(clamp(1.3rem, 2.4vw, 1.75rem), 3.4vh); }
  .pillars, .snap .pillars { margin-top: clamp(20px, 5vh, 72px); }
  .pillar { padding-top: clamp(14px, 2.6vh, 28px); }
  .pillar p, .fact span { font-size: min(0.98rem, 2vh); }
  .fact { padding-top: clamp(14px, 2.4vh, 26px); padding-bottom: clamp(14px, 2.4vh, 26px); }
  .quote blockquote { font-size: min(clamp(1.4rem, 3.2vw, 2.5rem), 4.2vh); }
  .quote blockquote::before { font-size: 3em; }
  .about figure, .about .duo { max-height: calc(100svh - 190px); }
  .contact h2 { font-size: min(clamp(3rem, 11vw, 9rem), 15vh); }
  .venture { min-height: min(clamp(380px, 54vh, 580px), calc(100svh - 360px)); }
}

/* all card thumbnails share one 16:9 frame (centre-filled); the full image shows in the viewer */
.card .frame { aspect-ratio: 16 / 9; }
.card .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
