/* ============================================================
   TOUKIPAON STUDIO — design system
   Pop & luxurious surrealist cinema — Dali / Schiaparelli
   ============================================================ */

:root {
  /* === POP & LUXURIOUS COLOR PALETTE === */
  --washi:          #FFF8F0;
  --washi-warm:     #FFF0E6;
  --washi-deep:     #FFE8D6;

  --sand:           #FFEBCC;
  --river-stone:    #D4C2B0;

  --ink:            #1C140F;
  --night:          #1A130F;
  --night-deep:     #120C09;

  --cream-text:     #FFF9F0;

  --sakura:         #FF8FAB;
  --sakura-deep:    #FF5E85;

  --vermilion:      #FF4D2E;

  --gold:           #FFD700;
  --citrus:         #FF9F1C;
  --grapefruit:     #FF4F6B;

  /* type scale */
  --display-xl: clamp(4rem, 11vw, 11.5rem);
  --display-lg: clamp(3rem, 7vw, 7rem);
  --display-md: clamp(2rem, 4vw, 3.5rem);
  --body:       clamp(1rem, 1.15vw, 1.185rem);
  --caption:    0.8125rem;
  --kicker:     0.6875rem;

  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-ui: "Space Grotesk", "Segoe UI", sans-serif;

  --border-light: rgba(28, 20, 15, 0.14);
  --border-dark: rgba(255, 249, 240, 0.15);

  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-display);
  font-size: var(--body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--washi);
  overflow-x: hidden;
  min-height: 100vh;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
::selection { background: var(--vermilion); color: var(--washi); }

h1, h2, h3 { font-weight: 500; line-height: 1; letter-spacing: -0.015em; }
h1 em, h2 em, h3 em, .display em { font-style: italic; font-weight: 400; }

/* ============================================================
   VIGNETTE / MAT FRAMES
   ============================================================ */
.vignette-light { position: relative; }
.vignette-light::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: radial-gradient(ellipse at center, transparent 62%, rgba(28,20,15,0.045) 100%);
}

/* woodblock-style mat frame around images */
.mat {
  position: relative;
}
.mat::after {
  content: ""; position: absolute; inset: -10px;
  border: 1px solid var(--border-light);
  pointer-events: none;
}
.on-dark .mat::after, .theme-night .mat::after { border-color: var(--border-dark); }

/* ============================================================
   TYPOGRAPHIC ATOMS
   ============================================================ */
.kicker {
  display: inline-flex; align-items: center; gap: 0.9em;
  font-family: var(--font-ui);
  font-size: var(--kicker);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
}
.kicker::before {
  content: ""; width: 6px; height: 6px; flex-shrink: 0;
  background: var(--vermilion);
}
.on-dark .kicker, .theme-night .kicker { color: var(--cream-text); }

.display-xl { font-family: var(--font-display); font-size: var(--display-xl); line-height: 0.95; letter-spacing: -0.015em; font-weight: 500; }
.display-lg { font-family: var(--font-display); font-size: var(--display-lg); line-height: 1.02; letter-spacing: -0.015em; font-weight: 500; }
.display-md { font-family: var(--font-display); font-size: var(--display-md); line-height: 1.05; letter-spacing: -0.01em; font-weight: 500; }

.body-copy { max-width: 34em; color: rgba(28,20,15,0.78); }
.on-dark .body-copy { color: rgba(255,249,240,0.78); }

.text-link {
  position: relative; display: inline-block;
  font-family: var(--font-ui); font-size: var(--caption);
  letter-spacing: 0.08em; padding-bottom: 3px;
}
.text-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--vermilion);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.text-link:hover::after { transform: scaleX(1); }

/* masked line-reveal wrappers */
.line-mask { display: block; overflow: hidden; }
.line-mask > .line-inner { display: block; transform: translateY(110%) rotate(2deg); transform-origin: left bottom; will-change: transform; }
.no-js .line-mask > .line-inner, .reduced .line-mask > .line-inner { transform: none; }

/* image clip reveal */
.img-reveal { overflow: hidden; }
.img-reveal img, .img-reveal video { will-change: transform; }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--washi);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 28px;
}
.preloader__mark {
  width: 84px; height: 84px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 6px 30px rgba(28, 20, 15, 0.25);
}
.preloader__word {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: var(--ink);
  white-space: nowrap;
}
.preloader__bar {
  width: min(320px, 60vw); height: 1px;
  background: var(--border-light);
  position: relative;
}
.preloader__bar-fill {
  position: absolute; inset: 0;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left center;
}
.preloader__pct {
  font-family: var(--font-ui); font-size: 11px;
  letter-spacing: 0.2em; color: rgba(28,20,15,0.55);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 88px; z-index: 9000;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: 48px;
  transition: height 0.45s var(--ease-reveal), background-color 0.45s ease, backdrop-filter 0.45s ease;
  background: transparent;
}
.nav--solid {
  height: 68px;
  background: rgba(255, 248, 240, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav--night.nav--solid { background: rgba(26, 19, 15, 0.82); }
.nav--night { color: var(--cream-text); }
.nav--night .kicker { color: var(--cream-text); }

.nav__brand { display: inline-flex; align-items: center; gap: 12px; }
.nav__mark {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
}
.nav__wordmark {
  font-family: var(--font-ui); font-weight: 500;
  font-size: 14px; letter-spacing: 0.2em;
}

.nav__links { display: flex; align-items: center; gap: 34px; font-family: var(--font-ui); }
.nav__link {
  position: relative; font-size: 13px; letter-spacing: 0.12em;
  padding: 6px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--vermilion);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__accent {
  font-family: var(--font-display); font-style: italic;
  font-size: 15px; color: var(--vermilion); letter-spacing: 0.05em;
}

.nav__cta {
  font-size: 12px; letter-spacing: 0.1em;
  padding: 10px 22px;
  border: 1px solid currentColor; border-radius: 999px;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.nav__cta:hover { background: var(--ink); color: var(--washi); border-color: var(--ink); }
.nav--night .nav__cta:hover { background: var(--cream-text); color: var(--night); border-color: var(--cream-text); }

/* --- projects dropdown --- */
.nav__drop { position: relative; }
.nav__drop-toggle { display: inline-flex; align-items: center; gap: 7px; }
.nav__drop-toggle svg { width: 9px; height: 9px; transition: transform 0.3s ease; }
.nav__drop:hover .nav__drop-toggle svg, .nav__drop.open .nav__drop-toggle svg { transform: rotate(180deg); }

.nav__drop-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translate(-50%, -8px);
  min-width: 260px;
  background: rgba(255, 248, 240, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  padding: 14px 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-reveal), visibility 0.3s;
}
.nav__drop:hover .nav__drop-menu, .nav__drop.open .nav__drop-menu, .nav__drop:focus-within .nav__drop-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.nav--night .nav__drop-menu { background: rgba(26, 19, 15, 0.96); border-color: var(--border-dark); }

.nav__drop-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 10px 24px;
  font-size: 13px; letter-spacing: 0.06em;
  transition: background-color 0.25s ease, padding-left 0.25s ease;
}
.nav__drop-item span.tag {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.45;
}
.nav__drop-item:hover { background: rgba(255, 77, 46, 0.07); padding-left: 30px; }
.nav__drop-item:hover .t { color: var(--vermilion); }

/* burger — mobile */
.nav__burger { display: none; z-index: 9600; width: 40px; height: 40px; position: relative; }
.nav__burger span {
  position: absolute; left: 8px; right: 8px; height: 1.5px;
  background: currentColor; transition: transform 0.35s var(--ease-reveal), opacity 0.3s;
}
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { top: 20px; }
.nav__burger span:nth-child(3) { top: 26px; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 9500;
  background: var(--night);
  color: var(--cream-text);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 32px 48px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-reveal);
  visibility: hidden;
}
body.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; }
.mobile-menu a.big {
  font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3.2rem);
  line-height: 1.25; display: block;
}
.mobile-menu a.big em { color: var(--gold); }
.mobile-menu .sub { margin-top: 10px; padding-left: 20px; border-left: 1px solid var(--border-dark); }
.mobile-menu .sub a { display: block; font-family: var(--font-ui); font-size: 15px; padding: 8px 0; opacity: 0.85; }
.mobile-menu .mm-footer { margin-top: auto; font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.15em; opacity: 0.5; }

/* ============================================================
   PROGRESS RAIL (landing)
   ============================================================ */
.rail {
  position: fixed; left: 26px; top: 50%;
  transform: translateY(-50%);
  z-index: 8900;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.rail__track { position: relative; width: 1px; height: 160px; background: var(--border-light); }
.rail--night .rail__track { background: var(--border-dark); }
.rail__fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--vermilion);
  transform: scaleY(0); transform-origin: top center;
}
.rail__dot {
  position: absolute; left: 50%; width: 5px; height: 5px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--river-stone);
}
.rail__index {
  font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  color: rgba(28,20,15,0.6);
  font-variant-numeric: tabular-nums;
}
.rail--night .rail__index { color: rgba(255,249,240,0.6); }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 8px; height: 8px; background: var(--ink); mix-blend-mode: difference; background: #fff; }
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid #fff;
  mix-blend-mode: difference;
  display: flex; align-items: center; justify-content: center;
  transition: width 0.3s ease, height 0.3s ease;
  font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.1em;
  color: #fff;
}
.cursor-ring .cursor-label { opacity: 0; transition: opacity 0.2s; }
.cursor-ring.is-link { width: 56px; height: 56px; }
.cursor-ring.is-drag, .cursor-ring.is-play { width: 64px; height: 64px; }
.cursor-ring.is-drag .cursor-label, .cursor-ring.is-play .cursor-label { opacity: 1; }
@media (hover: none), (max-width: 768px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
main { position: relative; }
.section { position: relative; }
.pad-section { padding: 16vh 6vw; }
.container { max-width: 1440px; margin-inline: auto; }

/* vertical accent strip (replaces kanji strips) */
.v-strip {
  position: absolute; right: 40px; top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-ui); font-size: 10px;
  letter-spacing: 0.5em; text-transform: uppercase;
  color: rgba(28,20,15,0.35);
  pointer-events: none;
}
.on-dark .v-strip { color: rgba(255,249,240,0.35); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  background: var(--night);
  color: var(--cream-text);
}
/* once the reel is playing, the still plate gives way to solid black */
.hero--live { background: #000; }
.hero__bg-img, #hero-canvas { transition: opacity 1.8s ease; }
.hero--live .hero__bg-img, .hero--live #hero-canvas { opacity: 0 !important; }
.hero__media { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero__bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.12);
}
.hero__vimeo {
  position: absolute; top: 50%; left: 50%;
  /* oversized to simulate object-fit: cover on a 16:9 iframe */
  width: max(100vw, 177.78svh); height: max(100svh, 56.25vw);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 2s ease;
  pointer-events: none;
  border: 0;
}
.hero__vimeo.is-live { opacity: 1; }
.hero__darken {
  position: absolute; inset: 0; z-index: 2;
  background: var(--night-deep);
  opacity: 0.18;
  pointer-events: none;
}
.hero__grad {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(18,12,9,0.55) 0%, transparent 35%),
              linear-gradient(to bottom, rgba(18,12,9,0.35) 0%, transparent 25%);
}

.hero__content {
  position: relative; z-index: 5;
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 0 6vw;
  padding-top: 8vh;
}
.hero__kicker { color: var(--cream-text); margin-bottom: 3.2vh; }
.hero__kicker::before { background: var(--gold); }
.hero__title {
  font-size: var(--display-xl);
  color: var(--cream-text);
  text-shadow: 0 2px 40px rgba(18, 12, 9, 0.45);
}
.hero__sub {
  margin-top: 3.5vh;
  font-family: var(--font-ui);
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,249,240,0.75);
}

.hero__scrollcue {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.32em;
  color: rgba(255,249,240,0.7);
}
.hero__scrollcue .line { position: relative; width: 1px; height: 40px; background: rgba(255,249,240,0.25); overflow: hidden; }
.hero__scrollcue .dot {
  position: absolute; left: -1.5px; top: 0;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold);
  animation: cue-drop 1.8s cubic-bezier(0.445, 0.05, 0.55, 0.95) infinite;
}
@keyframes cue-drop {
  0% { transform: translateY(-6px); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateY(42px); opacity: 0; }
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  background: var(--washi);
  border-radius: 32px 32px 0 0;
  position: relative; z-index: 10;
}
.manifesto__statement {
  margin-top: 7vh;
  font-size: var(--display-lg);
  max-width: 92%;
}
.manifesto__statement .tok {
  display: inline-block; vertical-align: baseline;
  width: 140px; height: 90px;
  border-radius: 60px;
  overflow: hidden;
  margin: 0 0.18em;
  transform: translateY(0.12em);
}
.manifesto__statement .tok img { width: 100%; height: 100%; object-fit: cover; }
.manifesto__row {
  display: flex; justify-content: flex-end;
  margin-top: 8vh;
}
.manifesto__row-inner { max-width: 34em; }
.manifesto__row-inner .text-link { margin-top: 2em; }

.numbers {
  display: flex; gap: clamp(3rem, 8vw, 9rem);
  margin-top: 11vh; flex-wrap: wrap;
}
.numbers .num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; }
.numbers .num sup { font-size: 0.45em; color: var(--vermilion); }
.numbers .label {
  font-family: var(--font-ui); font-size: 11px;
  letter-spacing: 0.28em; text-transform: uppercase;
  margin-top: 12px; color: rgba(28,20,15,0.55);
}

/* ============================================================
   SCROLL FILM (pinned scrub)
   ============================================================ */
.scrollfilm {
  position: relative;
  height: 100svh;
  overflow: hidden;
  background: var(--night);
  color: var(--cream-text);
}
.scrollfilm video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.scrollfilm::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 18vmin rgba(18, 12, 9, 0.66);
}
.scrollfilm__chapters { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.scrollfilm__chapter {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 0 8vw;
  opacity: 0;
}
.scrollfilm__chapter .kicker { color: var(--cream-text); margin-bottom: 2.4vh; }
.scrollfilm__chapter .kicker::before { background: var(--gold); }
.scrollfilm__chapter h3 {
  font-size: var(--display-md);
  color: var(--cream-text);
  text-shadow: 0 2px 30px rgba(18,12,9,0.5);
  max-width: 18em;
}
.scrollfilm__indicator {
  position: absolute; right: 38px; top: 50%; z-index: 3;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
  font-family: var(--font-display); font-size: 15px;
  color: rgba(255,249,240,0.4);
}
.scrollfilm__indicator span.active { color: var(--vermilion); }
.scrollfilm__progress {
  position: absolute; left: 48px; bottom: 40px; z-index: 3;
  display: flex; align-items: center; gap: 16px;
  width: min(320px, 40vw);
}
.scrollfilm__progress .track { position: relative; flex: 1; height: 1px; background: rgba(255,249,240,0.25); }
.scrollfilm__progress .fill {
  position: absolute; inset: 0; background: var(--cream-text);
  transform: scaleX(0); transform-origin: left center;
}
.scrollfilm__progress .timecode {
  font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.15em;
  font-variant-numeric: tabular-nums;
  color: rgba(255,249,240,0.7);
  white-space: nowrap;
}

/* ============================================================
   FEATURE — HOLY CRAPS / OLYGON
   ============================================================ */
.feature { position: relative; overflow: clip; }
.feature--hc { background: var(--night); color: var(--cream-text); }
.feature__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 4vw; flex-wrap: wrap; margin-bottom: 7vh; }
.feature__title { font-size: var(--display-lg); margin-top: 3vh; }
.feature__banner { position: relative; }
.feature__banner img { width: 100%; height: min(74vh, 56vw); object-fit: cover; }
.feature__banner .big-num {
  position: absolute; top: -0.28em; left: -0.06em; z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(5rem, 9vw, 9rem);
  line-height: 1; color: transparent;
  -webkit-text-stroke: 1px var(--cream-text);
  pointer-events: none;
}
.feature--light .feature__banner .big-num { -webkit-text-stroke: 1px var(--ink); }
.feature__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 6vw; margin-top: 9vh; align-items: start;
}
.feature__grid .synopsis p + p { margin-top: 1.4em; }
.feature__meta {
  font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 8px;
}
.feature__meta .row { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--border-dark); }
.feature--light .feature__meta .row { border-color: var(--border-light); }
.feature__meta .row .val { opacity: 0.6; text-align: right; }
.feature__actions { display: flex; gap: 28px; margin-top: 4.5vh; flex-wrap: wrap; align-items: center; }

.btn-pill {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 30px;
  border: 1px solid currentColor; border-radius: 999px;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.btn-pill:hover { background: var(--vermilion); border-color: var(--vermilion); color: var(--washi); transform: translateY(-2px); }
.btn-pill--solid { background: var(--vermilion); border-color: var(--vermilion); color: var(--washi); }
.btn-pill--solid:hover { background: var(--ink); border-color: var(--ink); }

/* film strip of stills */
.stillstrip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 9vh;
}
.stillstrip .img-reveal img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* --- Olygon typographic feature --- */
.feature--oly {
  background: var(--night-deep); color: var(--cream-text);
  background-image: radial-gradient(ellipse 90% 60% at 50% 110%, rgba(255, 159, 28, 0.14), transparent 60%),
                    radial-gradient(ellipse 60% 40% at 80% -10%, rgba(255, 143, 171, 0.08), transparent 60%);
}
.oly-suns { display: flex; gap: 10px; margin-bottom: 3vh; }
.oly-suns i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); opacity: 0.9;
  box-shadow: 0 0 18px 2px rgba(255, 215, 0, 0.55);
}
.oly-suns i:nth-child(2) { background: var(--citrus); }
.oly-suns i:nth-child(3) { background: var(--grapefruit); }
.oly-suns i:nth-child(4) { background: var(--sakura); }
.feature--oly .feature__title { font-size: clamp(3.4rem, 9vw, 9.5rem); }
.oly-tagline {
  font-family: var(--font-display); font-style: italic;
  font-size: var(--display-md); line-height: 1.25;
  color: rgba(255,249,240,0.85);
  max-width: 22em;
}

/* trailer embed */
.trailer {
  position: relative; width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--night-deep);
  overflow: hidden;
  cursor: pointer;
}
.trailer img.thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-reveal), opacity 0.5s; }
.trailer:hover img.thumb { transform: scale(1.04); }
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer__play {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to top, rgba(18,12,9,0.5), transparent 45%);
  transition: opacity 0.4s;
}
.trailer__play .disc {
  width: 92px; height: 92px; border-radius: 50%;
  border: 1px solid rgba(255,249,240,0.85);
  background: rgba(18,12,9,0.35);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease-reveal), background-color 0.4s;
}
.trailer:hover .disc { transform: scale(1.1); background: var(--vermilion); border-color: var(--vermilion); }
.trailer__play svg { width: 22px; height: 22px; fill: var(--cream-text); margin-left: 4px; }
.trailer__label {
  position: absolute; left: 24px; bottom: 20px; z-index: 2;
  font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--cream-text);
}
.trailer__fallback {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  background: var(--night-deep);
}

/* ============================================================
   HORIZONTAL GALLERY — SELECTED WORKS
   ============================================================ */
.hwrap { background: var(--washi); position: relative; }
.hgallery { position: relative; height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
.hgallery__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: calc(88px + 4vh) 6vw 4vh;
  gap: 24px;
}
.hgallery__head .hint { font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.2em; color: rgba(28,20,15,0.5); }
.hgallery__track {
  display: flex; gap: 6vw;
  padding: 0 6vw;
  align-items: center;
  flex: 1;
  will-change: transform;
}
.hcard {
  position: relative;
  flex-shrink: 0;
  width: min(58vw, 820px);
}
.hcard__imgbox {
  position: relative;
  height: min(58vh, 46vw);
  overflow: hidden;
}
.hcard__imgbox img, .hcard__imgbox video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.15);
  will-change: transform;
}
.hcard__num {
  position: absolute; top: -0.32em; left: -0.05em; z-index: 3;
  font-family: var(--font-display);
  font-size: 9rem; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  transition: color 0.5s ease;
  pointer-events: none;
}
.hcard.is-center .hcard__num { color: var(--ink); }
.hcard__title { font-size: var(--display-md); margin-top: 26px; }
.hcard__caption {
  font-family: var(--font-ui); font-size: var(--caption);
  color: rgba(28,20,15,0.6);
  margin-top: 8px; display: flex; justify-content: space-between; gap: 20px; align-items: baseline;
}
.hgallery__foot {
  display: flex; align-items: center; gap: 24px;
  padding: 3vh 6vw 5vh;
}
.hgallery__bar { position: relative; flex: 1; height: 1px; background: var(--border-light); }
.hgallery__bar-fill { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.hgallery__count {
  font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.2em;
  font-variant-numeric: tabular-nums; color: rgba(28,20,15,0.6);
}

/* mobile: native swipe */
@media (max-width: 768px) {
  .hgallery { height: auto; }
  .hgallery__track {
    overflow-x: auto; padding-bottom: 4vh;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .hcard { width: 82vw; scroll-snap-align: center; }
  .hcard__imgbox { height: 60vw; }
  .hcard__num { font-size: 5rem; }
}

/* quote moment */
.nightquote {
  background: var(--night);
  color: var(--cream-text);
  text-align: center;
  padding: 24vh 8vw;
}
.nightquote blockquote { font-family: var(--font-display); font-style: italic; font-size: var(--display-md); line-height: 1.3; }
.nightquote figcaption {
  margin-top: 3.5vh; font-family: var(--font-ui);
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,249,240,0.55);
}

/* ============================================================
   ABOUT TEASER
   ============================================================ */
.aboutteaser { background: var(--night); color: var(--cream-text); }
.aboutteaser .grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 7vw; align-items: center;
}
.aboutteaser .portrait img { width: 100%; height: auto; }
.aboutteaser h2 { font-size: var(--display-lg); margin: 3.5vh 0; }
.aboutteaser .roles {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-family: var(--font-ui); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,249,240,0.6);
  margin-bottom: 3vh;
}
.aboutteaser .roles span::after { content: "·"; margin-left: 18px; color: var(--gold); }
.aboutteaser .roles span:last-child::after { content: ""; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: var(--washi);
  overflow: hidden;
  padding-top: 14vh;
}
.footer__cta {
  padding: 0 6vw;
  display: flex; align-items: center; justify-content: space-between;
  gap: 5vw; flex-wrap: wrap;
}
.footer__cta h2 { font-size: var(--display-lg); max-width: 9em; margin-top: 3vh; }
.footer__magnet {
  position: relative;
  width: 150px; height: 150px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--vermilion);
  color: var(--washi);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-size: 13px; letter-spacing: 0.12em;
  transition: background-color 0.35s ease;
}
.footer__magnet:hover { background: var(--ink); }

.footer__film {
  position: relative;
  margin: 10vh 6vw 0;
  height: min(52vh, 46vw);
  overflow: hidden;
}
.footer__film video { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.footer__film .cap {
  position: absolute; left: 24px; bottom: 18px;
  font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--cream-text);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 5vw;
  padding: 10vh 6vw 6vh;
  font-family: var(--font-ui); font-size: 13px;
}
.footer__links h4 {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(28,20,15,0.45); margin-bottom: 18px; font-weight: 500;
}
.footer__links a { display: block; padding: 5px 0; position: relative; width: fit-content; }
.footer__links a::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 1px; background: var(--vermilion);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.footer__links a:hover::after { transform: scaleX(1); }
.footer__strip {
  writing-mode: vertical-rl;
  font-family: var(--font-display); font-style: italic;
  font-size: 14px; letter-spacing: 0.35em;
  color: rgba(28,20,15,0.4);
  justify-self: end;
}
.footer__wordmark-box { overflow: hidden; padding: 0 2vw; }
.footer__wordmark {
  display: block;
  font-family: var(--font-display); font-weight: 500;
  font-size: 16vw; /* fitted by JS */
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  transform: translateY(15%);
}
.footer__legal {
  display: flex; justify-content: space-between; gap: 20px;
  border-top: 1px solid var(--border-light);
  margin: 0 2vw;
  padding: 18px 0 22px;
  font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.15em;
  color: rgba(28,20,15,0.55);
}

/* ============================================================
   SUBPAGES (projects / about / contact)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 86svh;
  display: flex; align-items: flex-end;
  color: var(--cream-text);
  overflow: hidden;
  background: var(--night);
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,12,9,0.72) 0%, rgba(18,12,9,0.12) 45%, rgba(18,12,9,0.25) 100%);
}
.page-hero__content { position: relative; z-index: 2; width: 100%; padding: 0 6vw 8vh; }
.page-hero__content .kicker { color: var(--cream-text); }
.page-hero__content .kicker::before { background: var(--gold); }
.page-hero__title { font-size: clamp(3.2rem, 9vw, 9rem); margin-top: 2.5vh; }
.page-hero__sub { font-family: var(--font-ui); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 2.5vh; color: rgba(255,249,240,0.7); display: flex; gap: 28px; flex-wrap: wrap; }

.prose { max-width: 62ch; color: rgba(28,20,15,0.8); }
.prose p + p { margin-top: 1.5em; }
.on-dark .prose { color: rgba(255,249,240,0.8); }
.prose .lead { font-size: 1.35em; line-height: 1.55; color: var(--ink); }
.on-dark .prose .lead { color: var(--cream-text); }

/* masonry-ish gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.gallery-grid .gitem { grid-column: span 6; }
.gallery-grid .gitem.w4 { grid-column: span 4; }
.gallery-grid .gitem.w8 { grid-column: span 8; }
.gallery-grid .gitem.w12 { grid-column: span 12; }
.gallery-grid img, .gallery-grid video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.gallery-grid .tall img, .gallery-grid .tall video { aspect-ratio: 4 / 5; }
.gallery-grid .wide img, .gallery-grid .wide video { aspect-ratio: 21 / 9; }
.gallery-grid figcaption {
  font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; margin-top: 12px; color: rgba(28,20,15,0.5);
}
.on-dark .gallery-grid figcaption { color: rgba(255,249,240,0.5); }

/* next project footer bridge */
.nextproject {
  display: block;
  position: relative;
  background: var(--night); color: var(--cream-text);
  text-align: center;
  padding: 18vh 6vw;
  overflow: hidden;
}
.nextproject .kicker { color: var(--cream-text); justify-content: center; display: inline-flex; }
.nextproject .kicker::before { background: var(--gold); }
.nextproject .np-title {
  font-size: var(--display-lg);
  margin-top: 3vh;
  transition: color 0.4s ease, letter-spacing 0.6s var(--ease-reveal);
}
.nextproject:hover .np-title { color: var(--gold); letter-spacing: 0.01em; }

/* contact */
.contact-form { display: grid; gap: 0; margin-top: 6vh; max-width: 720px; }
.contact-form .field { position: relative; border-bottom: 1px solid var(--border-light); padding: 26px 0 14px; }
.on-dark .contact-form .field { border-color: var(--border-dark); }
.contact-form label {
  display: block;
  font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(28,20,15,0.5);
  margin-bottom: 10px;
}
.on-dark .contact-form label { color: rgba(255,249,240,0.5); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  font-family: var(--font-display); font-size: 1.4rem;
  background: transparent; border: 0; outline: none;
  color: inherit;
  resize: vertical;
}
.contact-form .field:focus-within { border-color: var(--vermilion); }
.contact-form button { margin-top: 5vh; justify-self: start; }

/* simple footer for subpages */
.minifooter {
  background: var(--night); color: var(--cream-text);
  padding: 8vh 6vw 4vh;
}
.minifooter .top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap;
  padding-bottom: 6vh;
  font-family: var(--font-ui); font-size: 13px;
}
.minifooter .brandline { display: flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: 0.2em; }
.minifooter .cols { display: flex; gap: 6vw; flex-wrap: wrap; }
.minifooter a { display: block; padding: 4px 0; opacity: 0.8; }
.minifooter a:hover { opacity: 1; color: var(--gold); }
.minifooter .legal {
  border-top: 1px solid var(--border-dark);
  padding-top: 20px;
  display: flex; justify-content: space-between; gap: 20px;
  font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.15em;
  color: rgba(255,249,240,0.45);
}

/* back to top */
.totop {
  position: fixed; right: 28px; bottom: 28px; z-index: 8800;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 249, 240, 0.4);
  background: rgba(28, 20, 15, 0.55);
  color: var(--cream-text);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-reveal), visibility 0.4s, background-color 0.3s;
}
.totop.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--vermilion); border-color: var(--vermilion); }
.totop svg { width: 16px; height: 16px; stroke: currentColor; }
@media (max-width: 768px) { .totop { right: 16px; bottom: 16px; width: 42px; height: 42px; } }

/* utility themes */
.on-dark { background: var(--night); color: var(--cream-text); }
.on-deep { background: var(--night-deep); color: var(--cream-text); }

/* data-speed parallax elements default */
[data-speed] { will-change: transform; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav { padding-inline: 28px; }
  .feature__grid { grid-template-columns: 1fr; gap: 6vh; }
  .aboutteaser .grid { grid-template-columns: 1fr; gap: 7vh; }
  .stillstrip { grid-template-columns: repeat(2, 1fr); }
  .footer__links { grid-template-columns: 1fr 1fr; }
  .footer__strip { display: none; }
}

@media (max-width: 768px) {
  .nav { padding-inline: 20px; height: 72px; }
  .nav--solid { height: 60px; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .rail { display: none; }
  .v-strip { display: none; }
  .pad-section { padding: 12vh 7vw; }
  .manifesto__statement .tok { display: none; }
  .gallery-grid { gap: 14px; }
  .gallery-grid .gitem, .gallery-grid .gitem.w4, .gallery-grid .gitem.w8 { grid-column: span 12; }
  .scrollfilm__indicator { right: 16px; }
  .scrollfilm__progress { left: 7vw; width: 60vw; }
  .footer__cta h2 { font-size: clamp(2.4rem, 10vw, 4rem); }
  .footer__magnet { width: 110px; height: 110px; font-size: 11px; }
  .numbers { gap: 2.2rem; }
  .mat::after { inset: -6px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
.reduced .hero__bg-img { transform: none; }
.reduced .hcard__imgbox img { transform: none; }
