/* GusPalette — site styles (v2: modern pride, scroll scenes) */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* Layout: Apple-style rhythm of full-width black and white "scenes"; pride spectrum as light, never as wallpaper. */
:root {
  /* neutrals, violet-biased */
  --ink: #0c0b10;
  --ink-2: #16141c;
  --ink-3: #26232f;
  --paper: #ffffff;
  --paper-2: #f4f2f7;
  --line: #e6e3ec;
  --text: #0c0b10;
  --text-2: #3b3843;
  --muted: #5d5a66;
  --on-dark: #f5f3fa;
  --on-dark-2: #c4c0cf;
  --on-dark-3: #8f8b9b;

  /* brand */
  --lime: #b5ec1f;
  --lavender: #d291f1;
  --lavender-soft: #f1e4fb;
  --purple: #6a2bc2;
  --red: #ff1e2d;

  /* pride spectrum (6-stripe) + progress colours */
  --s-red: #ff3b5c;
  --s-orange: #ff8a1f;
  --s-yellow: #ffd21a;
  --s-green: #2fd66b;
  --s-blue: #2f8bff;
  --s-violet: #9b5cff;
  --t-pink: #f7a8c4;
  --t-sky: #6fd3ff;
  --brown: #8a5a2b;

  --rainbow: linear-gradient(90deg, var(--s-red), var(--s-orange), var(--s-yellow), var(--s-green), var(--s-blue), var(--s-violet));
  --rainbow-soft: linear-gradient(90deg, #ff6b84, #ffab5c, #ffe066, #6be59a, #6aaeff, #b88cff, #ff6b84);
  --rainbow-text-light: linear-gradient(90deg, #e0313f 0%, #e56f12 22%, #b88a00 40%, #18935a 58%, #1c78bd 78%, #7446d6 100%);
  --progress: linear-gradient(90deg, #000 0 9%, var(--brown) 9% 18%, var(--t-sky) 18% 27%, var(--t-pink) 27% 36%, #fff 36% 45%, var(--s-red) 45% 54%, var(--s-orange) 54% 63%, var(--s-yellow) 63% 72%, var(--s-green) 72% 81%, var(--s-blue) 81% 90%, var(--s-violet) 90% 100%);

  --font-display: "Bricolage Grotesque", "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 28px;
  --radius-sm: 16px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 11vw, 160px);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(17px, 0.9vw + 12px, 19px);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
::selection { background: var(--lavender); color: var(--ink); }
:focus-visible { outline: 3px solid var(--s-blue); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 640;
  font-stretch: 94%;
  letter-spacing: -0.032em;
  line-height: 0.98;
  margin: 0 0 0.45em;
  text-wrap: balance;
}
h1 { font-size: clamp(48px, 7.4vw, 124px); }
h2 { font-size: clamp(36px, 5vw, 80px); }
h3 { font-size: clamp(24px, 2.2vw, 34px); line-height: 1.06; letter-spacing: -0.025em; font-weight: 620; }
h4 { font-size: 20px; line-height: 1.2; letter-spacing: -0.015em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: 13px; font-weight: 650;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 6px; border-radius: 6px; background: var(--rainbow); flex: none; }
.lede { font-size: clamp(19px, 1.3vw + 11px, 26px); line-height: 1.42; color: var(--text-2); max-width: 42ch; }
.muted { color: var(--muted); }
.grad { background: var(--rainbow-text-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-live { background: var(--rainbow-soft); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--text-2); }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 1.6em; line-height: 1.05; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); margin: 2em 0; }
.prose figure { margin: 0; }
.prose blockquote { margin: 2em 0; padding: 0 0 0 24px; border-left: 6px solid; border-image: var(--rainbow) 1; font-family: var(--font-display); font-weight: 650; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; letter-spacing: -0.02em; color: var(--text); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 900px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--alt { background: var(--paper-2); }
.section--ink, .dark { background: var(--ink); color: var(--on-dark); }
.dark .muted, .section--ink .muted { color: var(--on-dark-3); }
.dark .lede, .section--ink .lede, .dark .prose p, .section--ink .prose p, .dark .prose li { color: var(--on-dark-2); }
.dark .eyebrow, .section--ink .eyebrow { color: var(--on-dark-3); }
.section--lavender { background: var(--lavender); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head h2 { margin: 0; max-width: 14ch; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 88px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.rounded { border-radius: var(--radius); overflow: hidden; }
.media-cover { width: 100%; height: 100%; object-fit: cover; }
.rainbow-rule { height: 6px; border: 0; border-radius: 6px; background: var(--rainbow); margin: 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.tagline-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* Aurora glow (pride light behind dark scenes) */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora span { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { background: radial-gradient(circle, var(--s-violet), transparent 65%); left: -12vmax; top: -14vmax; }
.aurora span:nth-child(2) { background: radial-gradient(circle, var(--s-red), transparent 65%); right: -14vmax; top: -6vmax; animation-delay: -6s; opacity: .42; }
.aurora span:nth-child(3) { background: radial-gradient(circle, var(--s-blue), transparent 65%); left: 18vw; bottom: -26vmax; animation-delay: -11s; opacity: .45; }
.aurora span:nth-child(4) { background: radial-gradient(circle, var(--t-pink), transparent 65%); right: 10vw; bottom: -30vmax; animation-delay: -3s; opacity: .35; }
@keyframes drift { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); } 100% { transform: translate3d(-4vmax, 6vmax, 0) scale(.95); } }
.dark > .wrap, .section--ink > .wrap { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font: 600 15px/1 var(--font-body); letter-spacing: 0.01em; text-decoration: none;
  transition: transform .25s var(--ease), background-color .2s ease, color .2s ease, box-shadow .25s ease;
  cursor: pointer; isolation: isolate;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(12,11,16,.55); text-decoration: none; }
.btn--lime { --bg: var(--lime); --fg: var(--ink); --bd: var(--lime); }
.btn--lime:hover { box-shadow: 0 14px 34px -12px rgba(181,236,31,.6); }
.btn--ghost { --bg: transparent; --fg: var(--text); --bd: currentColor; }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--ghost-light { --bg: rgba(255,255,255,.06); --fg: #fff; --bd: rgba(255,255,255,.4); backdrop-filter: blur(10px); }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--pride { --bg: var(--ink); --fg: #fff; --bd: transparent; }
.btn--pride::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; background: var(--rainbow-soft); background-size: 200% 100%; z-index: -1; animation: shimmer 6s linear infinite; }
.btn--pride::after { content: ""; position: absolute; inset: 1px; border-radius: inherit; background: var(--ink); z-index: -1; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link-arrow { font-weight: 650; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Header (dark glass, site-wide) ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--rainbow); transform-origin: 0 50%; transform: scaleX(var(--page, 0)); pointer-events: none; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,11,16,.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 680; font-stretch: 94%; font-size: 21px; letter-spacing: -0.03em; color: #fff; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a, .nav button.nav-drop {
  font: 500 15px/1 var(--font-body); color: var(--on-dark-2); text-decoration: none;
  padding: 10px 12px; border-radius: 999px; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: color .2s ease, background-color .2s ease;
}
.nav a:hover, .nav button.nav-drop:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"], .nav button[aria-current="true"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.nav .btn { margin-left: 10px; min-height: 40px; padding: 9px 18px; color: var(--ink); background: var(--lime); font-size: 14px; }
.nav .btn:hover { background: var(--lime); color: var(--ink); }
.nav-item { position: relative; }
.nav-drop svg { width: 12px; height: 12px; transition: transform .2s ease; }
.nav-drop[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  min-width: 320px; padding: 8px; background: rgba(22,20,28,.96); border: 1px solid var(--ink-3); border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); display: none;
}
.dropdown.is-open { display: block; }
.dropdown a { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 14px; border-radius: 14px; line-height: 1.2; color: #fff; }
.dropdown a small { font-size: 13px; color: var(--on-dark-3); font-weight: 400; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: #fff; }
.menu-toggle svg { width: 26px; height: 26px; }
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 40px; background: var(--ink); overflow-y: auto; display: none; }
  .nav.is-open { display: flex; }
  .nav a, .nav button.nav-drop { font-size: 26px; font-family: var(--font-display); font-weight: 620; font-stretch: 95%; letter-spacing: -0.02em; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--ink-3); width: 100%; justify-content: space-between; color: #fff; }
  .nav a:hover, .nav button.nav-drop:hover { background: none; }
  .nav-item { position: static; }
  .dropdown { position: static; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; background: none; }
  .dropdown a { font-size: 20px; border-bottom: 0; padding: 12px 4px; }
  .nav .btn { margin: 24px 0 0; font-size: 17px; font-family: var(--font-body); min-height: 54px; justify-content: center; border: 0; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Scroll scenes ---------- */
.scene { position: relative; }
.scene-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* Home hero */
.hero-scene { height: 165vh; background: var(--ink); color: var(--on-dark); }
.hero-scene .scene-sticky { display: flex; align-items: center; }
.hero-inner { position: relative; z-index: 2; width: 100%; transform: translate3d(0, calc(var(--p, 0) * -8vh), 0) scale(calc(1 - var(--p, 0) * .12)); opacity: calc(1 - var(--p, 0) * 1.7); transform-origin: 50% 40%; }
.hero-inner h1 { font-size: clamp(52px, 8.8vw, 144px); margin-bottom: 30px; }
.hero-inner h1 .line { display: block; }
.hero-inner .lede { color: var(--on-dark-2); }
.hero-clapper { position: absolute; z-index: 1; right: max(var(--gutter), 5vw); top: 50%; width: clamp(150px, 25vw, 400px); transform: translate3d(calc(var(--p, 0) * -18vw), calc(-50% + var(--p2, 0) * 108vh), 0) rotate(calc(var(--p, 0) * 320deg)) scale(calc(1 + var(--p, 0) * .3)); filter: drop-shadow(0 40px 90px rgba(155,92,255,.5)); }
.hero-clapper img { width: 100%; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px); } }
.hero-scene .aurora { opacity: calc(1 - var(--p, 0) * .4); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-3); opacity: calc(1 - var(--p, 0) * 5); }
.scroll-cue::after { content: ""; width: 1px; height: 44px; background: linear-gradient(var(--on-dark-3), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@media (max-height: 720px) { .scroll-cue { display: none; } }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 860px) {
  .hero-clapper { top: calc(var(--header-h) + 14px); right: var(--gutter); width: 96px; transform: translate3d(calc(var(--p, 0) * -30vw), calc(var(--p2, 0) * 115vh), 0) rotate(calc(var(--p, 0) * 320deg)); }
  .hero-inner { padding-top: 150px; }
}

/* Zoom-to-fullscreen media (showreel) */
.zoom-scene { height: 240vh; background: var(--ink); }
.zoom-scene .scene-sticky { display: grid; place-items: center; }
.zoom-media { position: absolute; inset: 0; --z: min(1, calc(var(--p, 0) * 1.7)); clip-path: inset(calc((1 - var(--z)) * 18%) calc((1 - var(--z)) * 22%) round calc((1 - var(--z)) * 40px)); }
.zoom-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.25 - var(--z) * .25)); }
.zoom-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,11,16,.15), rgba(12,11,16,.65)); }
.zoom-title { position: absolute; z-index: 2; top: 9vh; left: 0; right: 0; text-align: center; color: #fff; opacity: calc(1 - var(--p, 0) * 4.5); transform: translateY(calc(var(--p, 0) * -40px)); }
.zoom-title h2 { font-size: clamp(36px, 5vw, 76px); margin: 0; }
.zoom-cta { position: relative; z-index: 2; text-align: center; color: #fff; opacity: clamp(0, calc((var(--p, 0) - .55) * 4), 1); transform: translateY(calc((1 - clamp(0, calc((var(--p, 0) - .55) * 4), 1)) * 40px)); }
.zoom-cta .play { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.5); backdrop-filter: blur(14px); color: #fff; text-decoration: none; transition: transform .3s var(--ease), background-color .3s ease; }
.zoom-cta .play:hover { transform: scale(1.06); background: var(--lime); color: var(--ink); border-color: var(--lime); }
.zoom-cta .play svg { width: 38px; height: 38px; margin-left: 6px; }
.zoom-cta p { font-family: var(--font-display); font-weight: 640; font-stretch: 94%; font-size: clamp(26px, 3vw, 44px); letter-spacing: -0.03em; margin: 0; }
.zoom-cta small { display: block; margin-top: 8px; color: var(--on-dark-2); font-size: 15px; }

/* Word-by-word reveal */
.words-scene { height: 220vh; background: var(--paper); }
.words-scene.dark { background: var(--ink); }
.words-scene .scene-sticky { display: flex; align-items: center; }
.reveal-text { font-family: var(--font-display); font-weight: 620; font-stretch: 95%; font-size: clamp(34px, 5.2vw, 84px); line-height: 1.04; letter-spacing: -0.035em; margin: 0; max-width: 20ch; }
.reveal-text .w { opacity: var(--o, .14); transition: opacity .15s linear; }
.reveal-text .w.hl { background: var(--rainbow-text-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dark .reveal-text .w.hl { background: var(--rainbow-soft); -webkit-background-clip: text; background-clip: text; }

/* Pride ribbon */
.ribbon-scene { height: 200vh; background: var(--ink); color: #fff; }
.ribbon-scene .scene-sticky { display: grid; align-content: center; }
.ribbon { display: grid; gap: 0; width: 100%; }
.ribbon span { display: block; height: clamp(26px, 5.4vh, 56px); transform: translate3d(calc(var(--dir) * (1 - clamp(0, calc(var(--p, 0) * 2.2 - var(--i) * .12), 1)) * 105%), 0, 0); }
.ribbon span:nth-child(1) { background: var(--s-red); --i: 0; --dir: -1; }
.ribbon span:nth-child(2) { background: var(--s-orange); --i: 1; --dir: 1; }
.ribbon span:nth-child(3) { background: var(--s-yellow); --i: 2; --dir: -1; }
.ribbon span:nth-child(4) { background: var(--s-green); --i: 3; --dir: 1; }
.ribbon span:nth-child(5) { background: var(--s-blue); --i: 4; --dir: -1; }
.ribbon span:nth-child(6) { background: var(--s-violet); --i: 5; --dir: 1; }
.ribbon-scene .scene-sticky { gap: clamp(28px, 5vh, 56px); }
.ribbon-text { text-align: center; padding-inline: var(--gutter); }
.ribbon-text h2 { font-size: clamp(48px, 9vw, 150px); margin: 0; color: #fff; opacity: clamp(0, calc(var(--p, 0) * 3 - .6), 1); transform: translateY(calc((1 - clamp(0, calc(var(--p, 0) * 3 - .6), 1)) * 40px)); }
.ribbon-sub { text-align: center; color: var(--on-dark-2); opacity: clamp(0, calc(var(--p, 0) * 3 - 1.4), 1); padding-inline: var(--gutter); margin: 0; font-size: clamp(17px, 1.4vw, 22px); }

/* Horizontal pinned gallery */
.hscroll-scene { background: var(--ink); color: var(--on-dark); }
.hscroll-scene .scene-sticky { display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 48px); }
.hscroll-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.hscroll-head h2 { margin: 0; color: #fff; }
.hscroll-track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); will-change: transform; transform: translate3d(calc(var(--x, 0) * -1px), 0, 0); }
.hcard { flex: none; width: clamp(280px, 34vw, 520px); color: #fff; text-decoration: none; display: flex; flex-direction: column; gap: 16px; }
.hcard .thumb { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.hcard .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hcard:hover .thumb img { transform: scale(1.06); }
.hcard h3 { margin: 0; color: #fff; }
.hcard p { margin: 6px 0 0; color: var(--on-dark-3); font-size: 15px; }
.hcard .index { font-family: var(--font-display); font-weight: 700; color: var(--on-dark-3); font-size: 14px; letter-spacing: .04em; }
.hcard--tall { width: clamp(240px, 26vw, 400px); }
.hcard--tall .thumb { aspect-ratio: 3 / 4; }
.hscroll-scene.is-native .hcard--tall { width: 64vw; }
.hcard--end { width: clamp(240px, 24vw, 360px); justify-content: center; }
.hcard--end .thumb { display: grid; place-items: center; background: var(--ink-2); border: 1px solid var(--ink-3); }
.hcard--end .thumb span { font-family: var(--font-display); font-weight: 660; font-stretch: 94%; font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -.03em; text-align: center; padding: 24px; line-height: 1; }
.hscroll-scene.is-native .scene-sticky { position: static; height: auto; padding-block: var(--section); }
.hscroll-scene.is-native .hscroll-track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none; padding-bottom: 12px; scrollbar-width: none; }
.hscroll-scene.is-native .hscroll-track::-webkit-scrollbar { display: none; }
.hscroll-scene.is-native .hcard { scroll-snap-align: start; width: 78vw; }

/* Stacking cards */
.stack-cards { display: grid; gap: 22px; }
.stack-card { position: sticky; top: calc(var(--header-h) + 24px + var(--i, 0) * 18px); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); min-height: clamp(300px, 46vh, 420px); display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: end; color: var(--ink); box-shadow: 0 -20px 40px -30px rgba(12,11,16,.35); overflow: hidden; }
.stack-card h3 { font-size: clamp(40px, 5.4vw, 84px); margin: 0; letter-spacing: -0.035em; font-weight: 660; }
.stack-card p { font-size: clamp(18px, 1.4vw, 22px); max-width: 32ch; margin: 0; color: rgba(12,11,16,.78); }
.stack-card .num { font-family: var(--font-display); font-weight: 700; font-size: 15px; align-self: start; grid-column: 1 / -1; display: flex; justify-content: space-between; color: rgba(12,11,16,.62); }
.stack-card .icon { width: 64px; height: 64px; border-radius: 20px; background: rgba(255,255,255,.55); display: grid; place-items: center; }
.stack-card .icon svg { width: 32px; height: 32px; }
.stack-card:nth-child(1) { --i: 0; background: linear-gradient(135deg, #ffd1dc, #f7a8c4); }
.stack-card:nth-child(2) { --i: 1; background: linear-gradient(135deg, #e6fbb4, #b5ec1f); }
.stack-card:nth-child(3) { --i: 2; background: linear-gradient(135deg, #ffe7a6, #ffb35c); }
.stack-card:nth-child(4) { --i: 3; background: linear-gradient(135deg, #c9ecff, #6fd3ff); }
@media (max-width: 640px) { .stack-card { grid-template-columns: 1fr; align-items: start; } }

/* Parallax + reveals */
[data-parallax] { overflow: hidden; }
[data-parallax] > img { transform: translate3d(0, calc((var(--v, .5) - .5) * -14%), 0) scale(1.18); will-change: transform; }
.js [data-reveal] { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="words"] { opacity: 1; transform: none; transition: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(14% 10% 14% 10% round var(--radius)); transition: clip-path 1.2s var(--ease); }
.js [data-reveal="clip"] img { transform: scale(1.2); transition: transform 1.4s var(--ease); }
.js [data-reveal="clip"].in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-reveal="clip"].in img { transform: scale(1); }

/* Masked word reveal for headlines */
.mw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.mw-i { display: inline-block; transform: translate3d(0, 108%, 0); transition: transform 1s var(--ease); transition-delay: calc(var(--wi, 0) * 45ms); }
.split.in .mw-i { transform: none; }

/* Video previews */
.loop-wrap { position: relative; width: 100%; height: 100%; }
.loop-wrap > img, .loop-wrap > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loop-wrap > video { opacity: 0; transition: opacity .6s ease; }
.loop-wrap.playing > video { opacity: 1; }
.zoom-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.25 - var(--z) * .25)); }

/* Scroll-speed skew (subtle) */
.hscroll-track .hcard, .marquee-track span { transform: skewX(calc(var(--vel, 0) * 1deg)); transition: transform .4s var(--ease); }

/* Cursor glow on dark scenes (fine pointers only) */
@media (hover: hover) and (pointer: fine) {
  .glow::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: var(--gl, 0); transition: opacity .4s ease; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(155, 92, 255, .16), rgba(255, 59, 92, .06) 40%, transparent 65%); }
}

/* Stacking depth */
.stack-card { transform-origin: 50% 0; transform: scale(calc(1 - var(--cover, 0) * .07)); filter: brightness(calc(1 - var(--cover, 0) * .22)); transition: transform .1s linear; }

/* Studies grid */
.study { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.study .thumb { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.study h3 { margin: 0; font-size: 24px; }
.study p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.dark .study p { color: var(--on-dark-3); }
.credit { font-size: 14px; font-weight: 600; color: var(--purple); margin: -4px 0 14px; }
.dark .credit { color: var(--lavender); }


/* ===================== v4 scenes ===================== */

/* Sticky media switcher: pinned frame on one side, chapters scroll on the other */
.switcher { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.switch-media { position: sticky; top: calc(var(--header-h) + 5vh); height: calc(100vh - var(--header-h) - 10vh); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.switch-frame { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); box-shadow: 0 50px 100px -50px rgba(12,11,16,.6); }
.switch-frame--tall { aspect-ratio: 4 / 5; width: min(100%, 58vh); margin-inline: auto; }
.switch-item { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
.switch-item.is-active { opacity: 1; transform: none; }
.switch-item > img, .switch-item .loop-wrap { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.switch-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; color: var(--muted); }
.dark .switch-meta { color: var(--on-dark-3); }
.switch-count { font-family: var(--font-display); font-size: 18px; font-weight: 620; color: var(--text); letter-spacing: -.01em; }
.dark .switch-count { color: #fff; }
.switch-rail { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; max-width: 260px; }
.dark .switch-rail { background: var(--ink-3); }
.switch-rail i { display: block; height: 100%; width: calc(var(--sp, 0) * 100%); background: var(--rainbow); transition: width .4s var(--ease); }
.switch-steps { display: grid; }
.switch-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding-block: 8vh; opacity: .28; transition: opacity .5s ease; }
.switch-step:first-child { min-height: 60vh; padding-top: 2vh; }
.switch-step.is-active { opacity: 1; }
.switch-step h2 { font-size: clamp(34px, 4vw, 64px); margin-bottom: 14px; }
.switch-step .index { font-family: var(--font-display); font-weight: 620; font-size: 15px; color: var(--muted); margin-bottom: 14px; display: block; }
.dark .switch-step .index { color: var(--on-dark-3); }
.switch-inline { display: none; }
@media (max-width: 860px) {
  .switcher { grid-template-columns: 1fr; }
  .switch-media { display: none; }
  .switch-step { min-height: 0; opacity: 1; padding-block: 28px; border-top: 1px solid var(--line); }
  .dark .switch-step { border-color: var(--ink-3); }
  .switch-step:first-child { border-top: 0; }
  .switch-inline { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; background: var(--ink-2); }
  .switch-inline--tall { aspect-ratio: 4 / 5; }
  .switch-inline > img, .switch-inline .loop-wrap { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}

/* Mosaic: a wall of films that zooms into the centre one */
.mosaic-scene { height: 260vh; background: var(--ink); color: #fff; }
.mosaic { position: absolute; inset: -6vh -6vw; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 1.4vw; --z: min(1, calc(var(--p2, 0) * 1.6)); transform: scale(calc(1 + var(--z) * 2.05)); transform-origin: 50% 50%; will-change: transform; }
.tile { position: relative; border-radius: calc(var(--radius) * (1 - var(--z, 0) * .6)); overflow: hidden; background: var(--ink-2); }
.tile img, .tile video, .tile .loop-wrap { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile:not(.tile--center) { filter: brightness(calc(.55 + var(--z, 0) * .1)) saturate(.9); }
.mosaic-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 60%, rgba(12,11,16,.82), rgba(12,11,16,.35) 70%); opacity: calc(1 - var(--p, 0) * 3); pointer-events: none; }
.mosaic-title { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(48px, 9vh, 120px); opacity: calc(1 - var(--p, 0) * 3.2); transform: translateY(calc(var(--p, 0) * -60px)); }
.mosaic-title h1 { color: #fff; max-width: 13ch; margin: 0; }
.mosaic-title .lede { color: var(--on-dark-2); margin-top: 20px; }
.mosaic-end { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; padding-inline: var(--gutter); opacity: clamp(0, calc((var(--p, 0) - .7) * 5), 1); background: linear-gradient(180deg, rgba(12,11,16,0) 40%, rgba(12,11,16,.55)); }
.mosaic-end p { font-family: var(--font-display); font-weight: 640; font-stretch: 94%; font-size: clamp(40px, 6vw, 96px); letter-spacing: -0.035em; line-height: 1; margin: 0; color: #fff; text-shadow: 0 10px 40px rgba(0,0,0,.5); }
.mosaic-end small { display: block; margin-top: 14px; font-size: 16px; color: var(--on-dark-2); font-family: var(--font-body); letter-spacing: 0; font-weight: 500; }

/* Grey world turns to colour (Other Than) */
.colour-scene { height: 220vh; background: #111; color: #fff; }
.colour-bg { position: absolute; inset: 0; }
.colour-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(calc(1 - var(--p, 0) * 1.4)) contrast(calc(1.05 + var(--p, 0) * .1)) brightness(calc(.6 + var(--p, 0) * .15)); transform: scale(calc(1.18 - var(--p, 0) * .18)); }
.colour-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.35), rgba(10,10,10,.1) 40%, rgba(10,10,10,.85)); }
.colour-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(48px, 10vh, 120px); }
.colour-inner h1 { font-size: clamp(64px, 13vw, 220px); margin: 0; color: color-mix(in srgb, #ff1e2d calc(var(--p, 0) * 140%), #bdbdbd); transform-origin: 0 100%; transform: scale(calc(1 + var(--p, 0) * .06)); }
.colour-inner .lede { color: rgba(255,255,255,.88); font-style: italic; }
.colour-meter { position: absolute; z-index: 2; right: var(--gutter); top: calc(var(--header-h) + 32px); display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.colour-meter i { width: 120px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #777, #ff1e2d); position: relative; overflow: hidden; }
.colour-meter i::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.25); transform-origin: 100% 50%; transform: scaleX(calc(1 - var(--p, 0))); }

/* Split screen: grey on one side, colour on the other (Two Threads) */
.split-scene { height: 220vh; background: #0b0b0b; color: #fff; }
.split-layer { position: absolute; inset: 0; }
.split-layer img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.1 - var(--p, 0) * .1)); }
.split-layer--grey { clip-path: inset(0 calc(50% + var(--p, 0) * 50%) 0 0); }
.split-layer--grey img { filter: grayscale(1) contrast(1.1) brightness(.75); }
.split-line { position: absolute; top: 0; bottom: 0; left: calc(50% - var(--p, 0) * 50%); width: 3px; margin-left: -1.5px; background: linear-gradient(#ff3b30, #ffb35c); box-shadow: 0 0 24px rgba(255,80,60,.8); z-index: 1; opacity: calc(1 - var(--p, 0) * 1.2); }
.split-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.05) 35%, rgba(0,0,0,.8)); }
.split-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(48px, 10vh, 120px); }
.split-inner h1 { margin: 0; color: #fff; }
.split-inner .alt { font-family: var(--font-display); font-size: clamp(30px, 4vw, 60px); color: #ff6b5e; margin: 6px 0 0; letter-spacing: -.02em; }
.split-labels { position: absolute; z-index: 2; top: calc(var(--header-h) + 28px); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); opacity: calc(1 - var(--p, 0) * 2.5); }

/* Paper chapters (The Man Who Collected Futures) */
.paper { background: #f3e8d8; color: #3a1d17; }
.paper .eyebrow { color: #8a5246; }
.paper .eyebrow::before { background: linear-gradient(90deg, #b23a2a, #e0866e); }
.paper .prose p, .paper .lede { color: #4d2a22; }
.paper .switch-step .index, .paper .switch-meta { color: #8a5246; }
.paper .switch-count { color: #3a1d17; }
.paper .switch-rail { background: #e2d2bd; }
.paper .switch-rail i { background: linear-gradient(90deg, #b23a2a, #e0866e); }
.paper .switch-frame { background: #e9dcc8; box-shadow: 0 50px 100px -50px rgba(90,40,25,.5); }
.paper h2 { color: #3a1d17; }
.words-scene.paper { background: #f3e8d8; }
.words-scene.paper .reveal-text { color: #3a1d17; }
.words-scene.paper .reveal-text .w.hl { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #b23a2a; }
.words-scene.red .reveal-text .w.hl { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #ff2d3a; }
.words-scene.red .reveal-text { color: #e9e9e9; }

/* Full-screen stacking panels (All projects) */
.panels { position: relative; }
.panel { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: flex-end; color: #fff; isolation: isolate; transform-origin: 50% 0; transform: scale(calc(1 - var(--cover, 0) * .08)); filter: brightness(calc(1 - var(--cover, 0) * .55)); }
.panel > img, .panel > .loop-wrap { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,11,16,.15) 30%, rgba(12,11,16,.9)); }
.panel .wrap { padding-bottom: clamp(48px, 10vh, 120px); }
.panel h2 { font-size: clamp(48px, 8vw, 132px); color: #fff; max-width: 12ch; margin: 14px 0 16px; }
.panel p { color: rgba(255,255,255,.85); max-width: 44ch; font-size: clamp(18px, 1.4vw, 22px); }
.panel .num { position: absolute; top: calc(var(--header-h) + 28px); right: var(--gutter); font-family: var(--font-display); font-weight: 620; font-size: clamp(40px, 6vw, 96px); color: rgba(255,255,255,.18); letter-spacing: -.04em; }

/* Text cards inside sideways galleries */
.hcard--text .thumb { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(22px, 2.4vw, 34px); background: var(--ink-2); border: 1px solid var(--ink-3); aspect-ratio: 4 / 3; }
.hcard--text .big { font-family: var(--font-display); font-weight: 640; font-size: clamp(48px, 5vw, 80px); line-height: .9; letter-spacing: -.04em; color: var(--red); }
.hcard--text h3 { font-size: clamp(22px, 2vw, 30px); margin: 0 0 8px; }
.hcard--text p { color: var(--on-dark-2); font-size: 15px; margin: 0; }

/* Sticky side (script page) */
.sticky-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.sticky-split > .sticky-side { position: sticky; top: calc(var(--header-h) + 8vh); }
.sticky-split .script-page { transform: perspective(1200px) rotateY(calc(-14deg + var(--v, .5) * 20deg)) rotateZ(calc(-3deg + var(--v, .5) * 4deg)); }
@media (max-width: 860px) { .sticky-split { grid-template-columns: 1fr; } .sticky-split > .sticky-side { position: static; } }

/* Blog editorial list */
.post-row { display: grid; grid-template-columns: 80px 1.1fr 0.9fr; gap: clamp(20px, 4vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 88px); border-top: 1px solid var(--line); text-decoration: none; }
.post-row:first-child { border-top: 0; }
.post-row:nth-child(even) .thumb { order: 3; }
.post-row:nth-child(even) .copy { order: 2; }
.post-row .n { font-family: var(--font-display); font-weight: 620; font-size: clamp(40px, 5vw, 72px); line-height: .9; letter-spacing: -.04em; background: var(--rainbow-text-light); -webkit-background-clip: text; background-clip: text; color: transparent; align-self: start; }
.post-row .thumb { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; position: relative; }
.post-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-row h2 { font-size: clamp(30px, 3.6vw, 54px); margin: 14px 0 16px; line-height: 1; }
.post-row p { color: var(--muted); }
.post-row:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
@media (max-width: 860px) { .post-row { grid-template-columns: 1fr; } .post-row .thumb, .post-row:nth-child(even) .thumb { order: -1; } .post-row .n { display: none; } }

/* Reduced motion for v4 scenes */
@media (prefers-reduced-motion: reduce) {
  .mosaic-scene, .colour-scene, .split-scene { height: auto !important; }
  .mosaic-scene .scene-sticky, .colour-scene .scene-sticky, .split-scene .scene-sticky { min-height: 90vh; }
  .mosaic { transform: none !important; }
  .mosaic-end { display: none; }
  .mosaic-title, .colour-inner, .split-inner { opacity: 1 !important; transform: none !important; }
  .colour-bg img { filter: none !important; transform: none !important; }
  .split-layer--grey, .split-line { display: none; }
  .panel { position: relative; transform: none !important; filter: none !important; }
  .switch-step { opacity: 1; }
  .sticky-split .script-page { transform: none !important; }
  .switcher { grid-template-columns: 1fr; }
  .switch-media { display: none; }
  .switch-step { min-height: 0; padding-block: 28px; }
  .switch-inline { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
  .switch-inline--tall { aspect-ratio: 4 / 5; max-width: 480px; }
  .switch-inline > img, .switch-inline .loop-wrap { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}
.no-js .mosaic-scene, .no-js .colour-scene, .no-js .split-scene { height: auto; }
.no-js .mosaic-scene .scene-sticky, .no-js .colour-scene .scene-sticky, .no-js .split-scene .scene-sticky { min-height: 90vh; }
.no-js .switch-step { opacity: 1; }

/* ---------- Generic hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; background: var(--ink); min-height: clamp(460px, 78vh, 820px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.page-hero > img, .page-hero > .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.page-hero > img, .page-hero > .hero-bg img { object-fit: cover; width: 100%; height: 100%; opacity: .7; transform: translate3d(0, calc(var(--v, .5) * 10%), 0) scale(1.12); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,11,16,.25) 0%, rgba(12,11,16,0) 30%, rgba(12,11,16,.9) 100%); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 140px; padding-bottom: clamp(48px, 7vw, 104px); }
.page-hero h1 { margin: 0; max-width: 14ch; }
.page-hero .lede { color: var(--on-dark-2); margin-top: 22px; }
.page-hero .eyebrow { color: var(--on-dark-2); }
.page-hero--short { min-height: clamp(380px, 56vh, 560px); }
.page-hero--plain { min-height: 0; }
.page-hero--plain::after { display: none; }
.page-hero--plain .wrap { padding-top: clamp(80px, 12vw, 180px) !important; }
.page-hero--plain .lede { color: var(--on-dark-2); }
.page-hero--plain .muted { color: var(--on-dark-3); }
.page-hero--plain .btn--ghost { --fg: #fff; }
.page-hero--plain .btn--ghost:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.page-hero--plain .tag { background: rgba(255,255,255,.1); color: #fff; }

/* Hero entrance */
.js .page-hero .wrap > *, .js .post-header .wrap > * { animation: rise 1s var(--ease) both; }
.js .page-hero .wrap > *:nth-child(2), .js .post-header .wrap > *:nth-child(2) { animation-delay: .08s; }
.js .page-hero .wrap > *:nth-child(3), .js .post-header .wrap > *:nth-child(3) { animation-delay: .16s; }
.js .page-hero .wrap > *:nth-child(4) { animation-delay: .24s; }
.js .page-hero .wrap > *:nth-child(5) { animation-delay: .32s; }
.js .hero-inner > * { animation: rise 1.1s var(--ease) both; }
.js .hero-inner > *:nth-child(2) { animation-delay: .1s; }
.js .hero-inner > *:nth-child(3) { animation-delay: .22s; }
.js .hero-inner > *:nth-child(4) { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

/* ---------- Cards & components ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 36px); }
.section--alt .card { border-color: transparent; }
.dark .card, .section--ink .card { background: var(--ink-2); border-color: var(--ink-3); color: var(--on-dark); }
.icon-badge { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 20px; }
.icon-badge svg { width: 28px; height: 28px; }

.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: var(--paper-2); color: var(--text-2); }
.tag--lime { background: var(--lime); color: var(--ink); }
.tag--lavender { background: var(--lavender-soft); color: #4c1d8f; }
.tag--red { background: #d10f1d; color: #fff; }
.tag--dark { background: rgba(12,11,16,.72); color: #fff; backdrop-filter: blur(8px); }
.tag--glass { background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(8px); }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; padding-block: clamp(44px, 6vw, 88px); border-top: 1px solid var(--line); }
.feature:first-child { border-top: 0; padding-top: 0; }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); position: relative; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature h2, .feature h3 { margin-bottom: 16px; }
.feature h2 { font-size: clamp(34px, 4.4vw, 68px); }
.feature .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.dark .feature { border-color: var(--ink-3); }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature:nth-child(even) .feature-media { order: 0; } }

/* Video embed (click to load) */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video > a { position: absolute; inset: 0; display: block; cursor: pointer; background: var(--ink); color: #fff; text-decoration: none; }
.video > a img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: opacity .3s ease, transform .8s var(--ease); }
.video > a:hover img { opacity: .9; transform: scale(1.03); }
.video .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 96px; height: 96px; border-radius: 50%; background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(12px); display: grid; place-items: center; transition: background-color .25s ease; }
.video > a:hover .play { background: var(--lime); border-color: var(--lime); }
.video > a:hover .play svg { color: var(--ink); }
.video .play svg { width: 32px; height: 32px; margin-left: 5px; color: #fff; }
.video .video-label { position: absolute; left: 22px; bottom: 20px; color: #fff; font-weight: 600; font-size: 15px; }

/* Quote */
.quote { text-align: center; max-width: 1000px; margin: 0 auto; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 620; font-stretch: 95%; font-size: clamp(30px, 4.4vw, 68px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.quote figcaption { margin-top: 28px; color: var(--muted); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.dark .quote figcaption { color: var(--on-dark-3); }
.quote-mark { font-family: var(--font-display); font-size: 160px; font-weight: 800; line-height: .6; height: 64px; background: var(--rainbow-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Callout bands */
.band { border-radius: calc(var(--radius) + 8px); padding: clamp(28px, 5vw, 80px); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.band > * { min-width: 0; }
.band--lavender { background: var(--lavender); color: var(--ink); }
.band--red { background: var(--red); color: #fff; }
.band--ink { background: var(--ink-2); color: #fff; border: 1px solid var(--ink-3); }
.band--ink .lede, .band--red .lede { color: rgba(255,255,255,.86); }
.band img { border-radius: var(--radius); width: 100%; box-shadow: 0 40px 80px -36px rgba(0,0,0,.6); }
.band h2 { font-size: clamp(40px, 5.4vw, 88px); }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* Projects (ongoing) */
.project-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(460px, 66vh, 620px); border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; background: var(--ink-2); isolation: isolate; }
.project-card > img, .project-card [data-parallax] { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.project-card > img, .project-card [data-parallax] img { object-fit: cover; width: 100%; height: 100%; }
.project-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,11,16,0) 30%, rgba(12,11,16,.92) 100%); }
.project-card .inner { padding: 30px; }
.project-card h3 { margin: 14px 0 10px; font-size: clamp(28px, 2.6vw, 40px); color: #fff; }
.project-card p { color: rgba(255,255,255,.82); font-size: 16px; margin-bottom: 16px; }
.project-card .link-arrow { color: #fff; }
.project-card:hover [data-parallax] img, .project-card:hover > img { filter: saturate(1.15); }

/* Values list */
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.values li { display: grid; grid-template-columns: 84px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); align-items: baseline; }
.values li:last-child { border-bottom: 1px solid var(--line); }
.dark .values li { border-color: var(--ink-3); }
.values .letter { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: .8; letter-spacing: -0.05em; }
.values h3 { margin: 0 0 6px; font-size: 24px; }
.values p { color: var(--muted); margin: 0; }
.dark .values p { color: var(--on-dark-3); }
.values li:nth-child(1) .letter { color: var(--s-red); }
.values li:nth-child(2) .letter { color: var(--s-orange); }
.values li:nth-child(3) .letter { color: #e0b400; }
.values li:nth-child(4) .letter { color: var(--s-green); }
.values li:nth-child(5) .letter { color: var(--s-blue); }
.values li:nth-child(6) .letter { color: var(--s-violet); }
.values--plain li { grid-template-columns: 1fr; padding: 16px 0; }
.values--plain h3 { font-size: 19px; }

/* Marquee */
.marquee { overflow: hidden; white-space: nowrap; padding-block: 22px; background: var(--ink); color: #fff; border-block: 1px solid var(--ink-3); }
.marquee-track { display: inline-flex; gap: 56px; animation: marquee 30s linear infinite; font-family: var(--font-display); font-weight: 660; font-stretch: 94%; font-size: clamp(32px, 5vw, 72px); letter-spacing: -0.04em; }
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: ""; width: .7em; height: .7em; border-radius: 50%; background: var(--rainbow); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Notice */
.notice { border-radius: var(--radius-sm); padding: 20px 22px; background: var(--lavender-soft); color: #2e1257; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.notice svg { width: 24px; height: 24px; margin-top: 2px; }
.notice strong { display: block; margin-bottom: 4px; }
.notice--warn { background: #fff4d6; color: #4a3500; }

/* Roles (casting) */
.roles { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.role { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; position: relative; overflow: hidden; }
.role::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px; background: var(--rainbow); }
.role h3 { margin: 0 0 6px; font-size: 34px; }
.role .role-meta { font-size: 14px; font-weight: 650; color: var(--purple); margin-bottom: 12px; }
.role p { color: var(--text-2); font-size: 16px; }
@media (max-width: 760px) { .roles { grid-template-columns: 1fr; } }

/* Blog */
.post-card { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(20px, 4vw, 64px); align-items: center; text-decoration: none; padding-block: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.post-card:first-child { border-top: 0; padding-top: 0; }
.post-card .thumb { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card h2 { font-size: clamp(28px, 3.2vw, 48px); margin: 12px 0 14px; line-height: 1; }
.post-card p { color: var(--muted); }
.post-meta { font-size: 14px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
@media (max-width: 760px) { .post-card { grid-template-columns: 1fr; } }
.post-header { padding-block: clamp(80px, 11vw, 160px) 40px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.post-header h1 { font-size: clamp(40px, 5.6vw, 84px); max-width: 18ch; color: #fff; }
.post-header .post-meta { color: var(--on-dark-3); }
.post-header .eyebrow a { color: var(--on-dark-2); }
.post-cover { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; margin-block: clamp(-80px, -6vw, -40px) clamp(40px, 6vw, 72px); position: relative; z-index: 2; box-shadow: 0 40px 80px -40px rgba(12,11,16,.5); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-header + .wrap { position: relative; }
.post-header .wrap { position: relative; z-index: 1; }
.page-hero .aurora { z-index: -1; }
.post-header { padding-bottom: clamp(100px, 10vw, 140px); }
.resources { background: var(--paper-2); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); margin-top: 2.4em; }
.resources h2 { font-size: 30px; margin-top: 0; }
.resources ul { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 0; }
.resources li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.references { font-size: 15px; }

/* Forms */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 14px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea {
  width: 100%; font: 400 17px/1.4 var(--font-body); color: var(--text);
  padding: 15px 16px; border-radius: 16px; border: 1.5px solid #d3cfdb; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(155,92,255,.25); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; }
.check span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #d3cfdb; cursor: pointer; font-size: 15px; font-weight: 500; transition: all .15s ease; }
.check input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.check input:focus-visible + span { outline: 3px solid var(--s-blue); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-note { font-size: 14px; color: var(--muted); }
.hp { position: absolute; left: -10000px; }

/* Screenplay title page (Other Than) */
.script-page { aspect-ratio: 8.5 / 11; width: 100%; max-width: 440px; justify-self: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 40px 80px -36px rgba(12,11,16,.5), 0 2px 0 #ece9f0, 0 4px 0 #f7f5fa; font-family: "Courier Prime", "Courier New", Courier, monospace; font-size: 15px; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 48px 32px; position: relative; }
.script-page p { margin: 0; }
.script-title { font-size: 22px; letter-spacing: .18em; text-decoration: underline; text-underline-offset: 6px; }
.script-foot { position: absolute; bottom: 36px; left: 0; right: 0; font-size: 13px; color: var(--muted); }

/* Big "coming soon" */
.coming { font-family: var(--font-display); font-weight: 700; font-stretch: 92%; font-size: clamp(60px, 11vw, 180px); letter-spacing: -0.045em; line-height: .9; margin: 0; }
.adult-note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.5); }

/* Lightbox (showreel) */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,11,16,.92); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 24px; }
.lightbox-frame { width: min(1200px, 100%); aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.lightbox-frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.1); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
body.menu-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding-block: 0 32px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; display: block; height: 10px; background: var(--progress); }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-big { padding-block: clamp(64px, 9vw, 128px) clamp(40px, 5vw, 64px); }
.footer-big p { font-family: var(--font-display); font-weight: 700; font-stretch: 92%; font-size: clamp(52px, 10vw, 168px); line-height: .9; letter-spacing: -0.045em; color: #fff; margin: 0; }
.footer-big a { color: inherit; text-decoration: none; }
.footer-big a:hover { text-decoration: none; }
.footer-top { display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr; gap: clamp(28px, 4vw, 56px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--ink-3); }
.footer-top h2 { font-size: clamp(28px, 2.6vw, 40px); color: #fff; margin-bottom: 12px; }
.footer-top h3 { font-family: var(--font-body); font-size: 12px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 16px; font-stretch: 100%; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--font-display); font-size: 22px; font-weight: 680; font-stretch: 94%; letter-spacing: -0.03em; color: #fff; }
.footer-brand img { height: 44px; width: auto; }
.newsletter { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.newsletter input { flex: 1 1 220px; min-height: 52px; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--ink-3); background: var(--ink-2); color: #fff; font: 400 16px var(--font-body); }
.newsletter input::placeholder { color: var(--on-dark-3); }
.newsletter input:focus { outline: none; border-color: var(--lime); }
.acknowledgement { margin-top: clamp(40px, 5vw, 64px); padding-block: 24px; border-top: 1px solid var(--ink-3); border-bottom: 1px solid var(--ink-3); font-size: 15px; line-height: 1.55; color: var(--on-dark-2); max-width: 90ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 14px; color: var(--on-dark-3); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

.preview-bar { background: var(--lime); color: var(--ink); font-size: 14px; font-weight: 600; text-align: center; padding: 8px 16px; position: relative; z-index: 55; }
.form-preview-msg { display: none !important; }
.form-preview-msg.is-shown { display: block !important; }

/* ---------- Reduced motion & no-JS: everything visible, no pinning ---------- */
@media (prefers-reduced-motion: reduce) {
  .mw-i { transform: none !important; }
  .loop-wrap > video { display: none; }
  .stack-card { transform: none !important; filter: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-scene, .zoom-scene, .words-scene, .ribbon-scene { height: auto !important; }
  .scene-sticky { position: relative !important; height: auto !important; min-height: 0; padding-block: var(--section); }
  .hero-inner, .hero-clapper, .zoom-title, .zoom-cta, .ribbon span, .ribbon-text h2, .ribbon-sub, .scroll-cue { transform: none !important; opacity: 1 !important; }
  .hero-clapper { position: relative; right: auto; top: auto; margin: 0 0 32px var(--gutter); }
  .zoom-scene .scene-sticky { min-height: 80vh; }
  .zoom-media { clip-path: none !important; }
  .zoom-media img { transform: none !important; }
  .reveal-text .w { opacity: 1 !important; }
  .ribbon-scene .scene-sticky { min-height: 80vh; }
  .hscroll-scene .scene-sticky { position: static !important; height: auto !important; }
  .hscroll-track { overflow-x: auto; transform: none !important; }
  .js [data-reveal], .js [data-reveal="clip"] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  [data-parallax] > img, .page-hero > img { transform: none !important; }
}
.no-js .hero-scene, .no-js .zoom-scene, .no-js .words-scene, .no-js .ribbon-scene { height: auto; }
.no-js .scene-sticky { position: relative; height: auto; padding-block: var(--section); }
.no-js .zoom-scene .scene-sticky, .no-js .ribbon-scene .scene-sticky { min-height: 80vh; }
.no-js .reveal-text .w { opacity: 1; }
.no-js .zoom-media { clip-path: none; }
.no-js .zoom-cta, .no-js .ribbon span, .no-js .ribbon-text h2, .no-js .ribbon-sub { opacity: 1; transform: none; }
.no-js .hscroll-track { overflow-x: auto; }
