/* =============================================================================
   TAZ — CREATIVE ARCHIVE
   Design system + section styles.  Hand-authored, no framework.
   -----------------------------------------------------------------------------
   HOW TO RE-SKIN THE WHOLE SITE:  edit the tokens in :root below.
   The work is meant to dominate — everything here stays quiet so imagery,
   film and typography carry the page.
   ========================================================================== */

/* ----------------------------------------------------------------- TOKENS -- */
:root {
  /* Canvas + ink */
  --ink:        #0a0a0b;   /* near-black canvas                 */
  --ink-2:      #101012;   /* raised panels                     */
  --ink-3:      #17171a;   /* hover / inset                     */
  --paper:      #ece7dd;   /* warm bone — primary text          */
  --paper-dim:  rgba(236,231,221,0.56);
  --paper-faint:rgba(236,231,221,0.32);
  --line:       rgba(236,231,221,0.14);
  --line-soft:  rgba(236,231,221,0.08);

  /* The one accent. Pulled from the work (glossy VICE red). Use sparingly. */
  --vice:       #e4231d;
  --vice-hot:   #ff342b;

  /* Type */
  --grotesk: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif:   "Fraunces", "Times New Roman", Georgia, serif;
  --mono:    "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Rhythm */
  --gutter: clamp(18px, 4.5vw, 84px);
  --stack:  clamp(48px, 7.5vh, 110px);  /* vertical space between movements  */
  --maxw:   1680px;

  /* Motion */
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
  --slow:  1.05s;
}

/* ----------------------------------------------------------------- RESET --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--grotesk);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--vice); color: #fff; }

/* Film grain — sits above the canvas, below content. Cheap, static, cinematic. */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9;
  opacity: 0.05; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Slow vignette to hold the eye toward centre-frame imagery. */
body::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 8;
  background: radial-gradient(120% 90% at 50% 42%, transparent 55%, rgba(0,0,0,0.55) 100%);
}

/* ------------------------------------------------------------- STRUCTURE --- */
.wrap    { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.bleed   { width: 100%; }                 /* full-viewport, edge to edge       */
section  { position: relative; }
.movement{ padding-block: var(--stack); }

/* Kicker / section marker — the quiet metadata voice of the archive. */
.kicker {
  font-family: var(--mono);
  font-size: clamp(10px, 0.78vw, 12px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper-dim);
  display: flex; align-items: center; gap: 0.9em;
}
.kicker .idx { color: var(--vice); }
.kicker::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.kicker.no-rule::after { display: none; }

/* Editorial serif voice — used for statements, not labels. */
.serif { font-family: var(--serif); font-weight: 300; font-optical-sizing: auto; }

/* Display type — the loud voice. */
.display {
  font-family: var(--grotesk);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}

/* =============================================================================
   MOTION — reveal primitives (JS toggles .is-in)
   Respect reduced motion: everything is visible with transitions killed.
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="mask"] { clip-path: inset(0 0 100% 0); transform: none; transition: clip-path var(--slow) var(--ease), opacity var(--slow) var(--ease); }
[data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }
[data-reveal="rise"]  { transform: translateY(60px); }
[data-reveal="scale"] { transform: scale(1.06); }
[data-reveal="scale"].is-in { transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-stagger].is-in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal="mask"], [data-stagger] > * {
    opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important;
  }
}

/* Line-mask — for big type revealed one line at a time. */
.lines span { display: block; overflow: hidden; }
.lines span > i { display: block; font-style: normal; transform: translateY(105%); transition: transform var(--slow) var(--ease); }
.lines.is-in span > i { transform: none; }
.lines span:nth-child(2) > i { transition-delay: 0.08s; }
.lines span:nth-child(3) > i { transition-delay: 0.16s; }
.lines span:nth-child(4) > i { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .lines span > i { transform: none !important; } }

/* =============================================================================
   TOP BAR + INDEX MENU
   No numbered pills, no SaaS nav — a wordmark, a clock-ish index, a toggle.
   ========================================================================== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  mix-blend-mode: difference;             /* stays legible over any frame     */
  color: #fff;
}
.topbar .mark { font-family: var(--grotesk); font-weight: 800; letter-spacing: 0.02em; font-size: 15px; }
.topbar .mark b { color: var(--vice); }   /* difference-blend keeps it lively  */
.topbar .status { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.8; }
.menu-toggle { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; display: flex; align-items: center; gap: 0.7em; }
.menu-toggle .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--vice); display: inline-block; }

/* progress hairline */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--vice); z-index: 45; transition: width 0.1s linear; }

/* full-screen index overlay */
.index {
  position: fixed; inset: 0; z-index: 60;
  background: var(--ink);
  display: grid; grid-template-rows: auto minmax(0,1fr) auto;
  padding: 18px var(--gutter) var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
  pointer-events: none;
}
.index.open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.index .index-head { display: flex; justify-content: space-between; align-items: center; color: #fff; mix-blend-mode: difference; }
.index nav { align-self: stretch; display: flex; flex-direction: column; justify-content: safe center; gap: clamp(2px, 0.9vh, 10px); padding-block: 2vh; min-height: 0; overflow-y: auto; }
.index nav a {
  font-family: var(--grotesk); font-weight: 800; text-transform: uppercase;
  font-size: clamp(22px, min(5.6vw, 6vh), 62px); line-height: 1; letter-spacing: -0.02em;
  color: var(--paper); display: flex; align-items: baseline; gap: 0.4em;
  transition: color 0.3s var(--ease), padding-left 0.4s var(--ease);
}
.index nav a .n { font-family: var(--mono); font-size: clamp(11px,1vw,14px); font-weight: 400; color: var(--paper-faint); letter-spacing: 0.1em; }
.index nav a:hover { color: var(--vice); padding-left: clamp(10px, 2vw, 40px); }
.index .index-foot { display: flex; justify-content: space-between; gap: 2em; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper-dim); }
.index .index-foot a:hover { color: var(--paper); }

/* =============================================================================
   00 — OPENING
   ========================================================================== */
.opening { height: 100svh; min-height: 620px; display: grid; grid-template-rows: 1fr auto; padding: 0 var(--gutter) clamp(24px,5vh,60px); position: relative; overflow: hidden; }
.opening .frame { align-self: center; }
.opening .lede { font-family: var(--mono); font-size: clamp(11px,0.9vw,13px); letter-spacing: 0.3em; text-transform: uppercase; color: var(--paper-dim); margin-bottom: clamp(20px,4vh,40px); }
.opening h1 {
  font-family: var(--grotesk); font-weight: 800; text-transform: uppercase;
  font-size: clamp(74px, 20vw, 340px); line-height: 0.82; letter-spacing: -0.03em; margin: 0;
}
.opening h1 .thin { -webkit-text-stroke: 1.4px var(--paper); color: transparent; }
.rotator { font-size: clamp(20px, 4.4vw, 60px); line-height: 1.1; height: 1.1em; overflow: hidden; margin-top: clamp(14px,3vh,30px); }
.rotator ul { list-style: none; margin: 0; padding: 0; animation: rotate 10s var(--ease) infinite; }
.rotator li { font-family: var(--grotesk); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
  font-size: 1em; line-height: 1.1; height: 1.1em; white-space: nowrap; }
.rotator li b { color: var(--vice); }
@keyframes rotate { 0%,16%{transform:translateY(0)} 20%,36%{transform:translateY(-20%)} 40%,56%{transform:translateY(-40%)} 60%,76%{transform:translateY(-60%)} 80%,96%{transform:translateY(-80%)} 100%{transform:translateY(0)} }
/* reduced motion: don't animate, but still show ONE discipline (not all stacked) */
@media (prefers-reduced-motion: reduce){ .rotator ul{ animation: none; transform: none; } .rotator{ height: 1.1em; overflow: hidden; } }
.opening .foot { display: flex; justify-content: space-between; align-items: end; gap: 2em; flex-wrap: wrap; }
.opening .foot p { max-width: 34ch; margin: 0; color: var(--paper-dim); font-size: clamp(13px,1.05vw,16px); line-height: 1.45; }
/* summary now lives inside the name block — one tight editorial intro */
.hero-summary { max-width: 40ch; margin: clamp(18px,3.2vh,34px) 0 0; color: var(--paper-dim); font-size: clamp(14px,1.12vw,17px); line-height: 1.5; }
.opening .foot { justify-content: flex-end; }
@media (max-width: 820px){ .hero-summary { max-width: 100%; } .opening .foot { justify-content: flex-start; } }

/* name + portrait side by side */
.opening .frame { display: grid; grid-template-columns: 1fr auto; gap: clamp(22px,5vw,90px); align-items: center; }
.hero-portrait { margin: 0; width: clamp(190px, 26vw, 400px); position: relative; }
.hero-portrait img { width: 100%; height: auto; display: block; }
.hero-portrait::after { content: attr(data-cap); position: absolute; left: 8%; bottom: 10%; font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(10,10,11,0.7); }
@media (max-width: 820px){
  /* keep portrait BESIDE the text on mobile too (not stacked) */
  .opening .frame { grid-template-columns: 1fr auto; gap: clamp(12px,3.5vw,28px); align-items: center; }
  .hero-portrait { width: clamp(118px, 33vw, 220px); }
  .opening h1 { font-size: clamp(56px, 17vw, 200px); }
  .rotator { font-size: clamp(15px, 4.6vw, 30px); }
}
@media (max-width: 420px){
  .opening .frame { gap: 12px; }
  .hero-portrait { width: 34vw; }
}
.scrollcue { font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--paper-faint); display: flex; align-items: center; gap: 0.8em; }
.scrollcue .bar { width: 46px; height: 1px; background: var(--paper-faint); position: relative; overflow: hidden; }
.scrollcue .bar::after { content:""; position:absolute; inset:0; width: 40%; background: var(--vice); animation: sweep 2.4s var(--ease) infinite; }
@keyframes sweep { 0%{transform:translateX(-120%)} 100%{transform:translateX(320%)} }

/* =============================================================================
   01 — TRAILER (Selected Work)
   A fast vertical cut. Full-bleed film + bleed stills, minimal metadata.
   ========================================================================== */
.trailer-head { display: flex; justify-content: space-between; align-items: end; gap: 2em; flex-wrap: wrap; margin-bottom: clamp(16px,2.6vh,34px); }
.trailer-head h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(26px,3.4vw,52px); line-height: 1.02; margin: 0.4em 0 0; max-width: 18ch; }
.trailer-head h2 em { font-style: italic; color: var(--vice); }

.cut { position: relative; margin-bottom: clamp(10px, 1.6vh, 22px); overflow: hidden; background: var(--ink-2); }
.cut video, .cut img { width: 100%; height: 100%; object-fit: cover; }
.cut .fill { position: absolute; inset: 0; }
.cut .meta {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: end; gap: 1.5em; flex-wrap: wrap;
  padding: clamp(16px,3vw,42px);
  background: linear-gradient(0deg, rgba(0,0,0,0.62), transparent 70%);
}
.cut .meta .t { font-family: var(--grotesk); font-weight: 800; text-transform: uppercase; font-size: clamp(22px,3.6vw,60px); line-height: 0.92; letter-spacing: -0.02em; }
.cut .meta .d { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper-dim); text-align: right; }
.cut .tag { position: absolute; top: clamp(14px,2.4vw,30px); left: clamp(14px,2.4vw,30px); z-index: 3; font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--paper); }
.cut .tag .sound { color: var(--vice); }

/* the tall / wide rhythm of the trailer */
.cut.tall  { aspect-ratio: 16/10; }
.cut.full  { aspect-ratio: 21/9; }
.cut.tv    { aspect-ratio: 4/5; }
@media (max-width: 780px){ .cut.tall,.cut.full{ aspect-ratio: 4/5; } }

/* two-up split inside the trailer */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px,1.6vh,22px); margin-bottom: clamp(10px,1.6vh,22px); }
.split .cut { margin: 0; aspect-ratio: 4/5; }
@media (max-width: 780px){ .split { grid-template-columns: 1fr; } }

/* running ticker of disciplines */
.ticker { border-block: 1px solid var(--line); overflow: hidden; white-space: nowrap; margin-top: clamp(20px,4vh,44px); }
.ticker .run { display: inline-block; padding-block: 18px; animation: marquee 38s linear infinite; }
.ticker .run span { font-family: var(--grotesk); font-weight: 800; text-transform: uppercase; font-size: clamp(18px,2.2vw,34px); letter-spacing: -0.01em; padding-inline: 0.5em; }
.ticker .run span::after { content: "✳"; color: var(--vice); padding-left: 1em; font-size: 0.6em; vertical-align: middle; }
@keyframes marquee { from{ transform: translateX(0);} to{ transform: translateX(-50%);} }
@media (prefers-reduced-motion: reduce){ .ticker .run{ animation: none; } }

/* =============================================================================
   GENERIC MOVEMENT HEADERS
   ========================================================================== */
.mv-head { display: grid; grid-template-columns: 1fr; gap: clamp(10px,1.4vw,16px); margin-bottom: clamp(16px,2.6vh,34px); }
.mv-head .title { font-family: var(--grotesk); font-weight: 800; text-transform: uppercase; font-size: clamp(40px,8.5vw,150px); line-height: 0.86; letter-spacing: -0.03em; margin: 0; }
.mv-head .lead { font-family: var(--serif); font-weight: 300; font-size: clamp(17px,1.7vw,27px); line-height: 1.35; max-width: 42ch; color: var(--paper); }
.mv-head .lead em { font-style: italic; color: var(--vice); }
.mv-head.push { padding-left: clamp(0px, 22vw, 360px); }   /* asymmetry        */

/* thin statement rows between movements */
.aside { display: grid; grid-template-columns: minmax(0,1fr); gap: 1em; padding-block: clamp(28px,5vh,66px); }
.aside p { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(22px,4.2vw,68px); line-height: 1.08; letter-spacing: -0.01em; margin: 0; max-width: 24ch; }
.aside.right { justify-items: end; text-align: right; }
.aside .by { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--paper-dim); font-style: normal; }

/* =============================================================================
   CREATIVE DIRECTION — "worlds"
   ========================================================================== */
.world { display: grid; gap: clamp(10px,1.5vw,20px); }
.world .hero-film { position: relative; aspect-ratio: 21/9; overflow: hidden; background: var(--ink-2); }
.world .hero-film video, .world .hero-film img { width:100%; height:100%; object-fit: cover; }
@media (max-width:780px){ .world .hero-film{ aspect-ratio: 4/5; } }
.world .row3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(10px,1.5vw,20px); }
.world .row3 .fig { aspect-ratio: 4/5; }
@media (max-width: 900px){ .world .row3{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .world .row3{ grid-template-columns: 1fr; } }

.world .caption-row { display: flex; justify-content: space-between; gap: 2em; flex-wrap: wrap; padding-top: 6px; }
.world .caption-row .name { font-family: var(--grotesk); font-weight: 800; text-transform: uppercase; font-size: clamp(20px,2.4vw,34px); letter-spacing: -0.01em; }
.world .caption-row p { max-width: 46ch; margin: 0; color: var(--paper-dim); font-size: clamp(13px,1.05vw,16px); line-height: 1.5; }

/* generic figure (image/placeholder) */
.fig { position: relative; overflow: hidden; background: var(--ink-2); }
.fig img, .fig video { width: 100%; height: 100%; object-fit: cover; }
.fig .cap { position: absolute; left: 0; bottom: 0; padding: 12px 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-dim); background: linear-gradient(0deg, rgba(0,0,0,0.5), transparent); width: 100%; }

/* =============================================================================
   FILM / MOTION — cinema stack, large playback
   ========================================================================== */
.cinema { display: grid; gap: clamp(46px,8vh,120px); }
.film { display: grid; gap: clamp(14px,2vw,22px); }
.film .screen { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #000; cursor: pointer; }
.film.portrait .screen { aspect-ratio: 4/5; max-width: 620px; }
.film .screen video, .film .screen img { width:100%; height:100%; object-fit: cover; }
.film .screen .play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 4;
  transition: background 0.4s var(--ease);
}
.film .screen .play span {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5em; padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.38); border-radius: 100px; color: #fff;
  background: rgba(0,0,0,0.28); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0.68;
  transition: opacity 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.film .screen:hover .play span { background: var(--vice); border-color: var(--vice); opacity: 1; transform: scale(1.03); }
.film .info { display: grid; grid-template-columns: 1fr auto; gap: 1.5em 2.5em; align-items: end; }
.film .info h3 { font-family: var(--grotesk); font-weight: 800; text-transform: uppercase; font-size: clamp(28px,4.6vw,74px); line-height: 0.9; letter-spacing: -0.02em; margin: 0; }
.film .info .d { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper-dim); text-align: right; line-height: 1.9; }
.film .info p { grid-column: 1 / -1; margin: 0; color: var(--paper-dim); max-width: 60ch; font-size: clamp(14px,1.1vw,17px); line-height: 1.55; }
.film.portrait .info { grid-template-columns: 1fr; }

/* =============================================================================
   BRAND / VISUAL SYSTEMS
   ========================================================================== */
.systems { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px,1.4vw,18px); }
.systems .fig { grid-column: span 4; aspect-ratio: 4/5; }
.systems .fig.wide { grid-column: span 8; aspect-ratio: 16/10; }
.systems .fig.tall { grid-column: span 4; aspect-ratio: 3/4; }
.systems .fig.half { grid-column: span 6; aspect-ratio: 1/1; }
.systems .fig.full { grid-column: span 12; aspect-ratio: 21/9; }
@media (max-width: 820px){
  .systems .fig, .systems .fig.wide, .systems .fig.tall, .systems .fig.half { grid-column: span 6; }
  .systems .fig.full { grid-column: span 12; }
}
@media (max-width: 520px){ .systems .fig, .systems .fig.wide, .systems .fig.tall, .systems .fig.half, .systems .fig.full { grid-column: span 12; } }

/* Love My Vices — hand mark + story (two-part editorial) */
.lmv-story { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(24px,4vw,64px); align-items: center; border: 1px solid var(--line); padding: clamp(20px,3vw,44px); }
@media (max-width: 820px){ .lmv-story { grid-template-columns: 1fr; } }
.lmv-mark { display: grid; place-items: center; background: var(--ink); border: 1px solid var(--line); aspect-ratio: 1/1; padding: clamp(24px,4vw,54px); }
.lmv-mark img { max-width: 82%; max-height: 82%; width: auto; height: auto; object-fit: contain; }
.lmv-copy .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--vice); }
.lmv-copy .idea { font-family: var(--serif); font-weight: 300; font-size: clamp(24px,3.6vw,48px); line-height: 1.04; letter-spacing: -0.01em; margin: 0.4em 0 0.6em; max-width: 18ch; }
.lmv-copy .idea em { font-style: italic; color: var(--vice); }
.lmv-copy p:last-child { color: var(--paper-dim); max-width: 48ch; font-size: clamp(14px,1.1vw,16.5px); line-height: 1.6; margin: 0; }

/* logo / brand-mark tiles — mark contained on a dark plate */
.systems .fig.logo { aspect-ratio: 4/3; background: var(--ink-2); display: grid; place-items: center; padding: clamp(22px,3vw,46px); }
.systems .fig.logo.half { grid-column: span 6; aspect-ratio: 16/9; }
.systems .fig.logo img { width: auto; height: auto; max-width: 76%; max-height: 60%; object-fit: contain; }
@media (max-width: 820px){ .systems .fig.logo { grid-column: span 6; } .systems .fig.logo.half { grid-column: span 12; } }
@media (max-width: 520px){ .systems .fig.logo, .systems .fig.logo.half { grid-column: span 12; } }

/* type-as-material specimen block */
.specimen { border: 1px solid var(--line); padding: clamp(20px,4vw,54px); display: grid; gap: 0.1em; }
.specimen .big { font-family: var(--grotesk); font-weight: 800; text-transform: uppercase; font-size: clamp(48px,13vw,220px); line-height: 0.82; letter-spacing: -0.03em; }
.specimen .big.stroke { -webkit-text-stroke: 1.4px var(--paper); color: transparent; }
.specimen .big.red { color: var(--vice); }
.specimen .scale { display: flex; flex-wrap: wrap; gap: 0.5em 1.4em; align-items: baseline; font-family: var(--grotesk); font-weight: 700; margin-top: 0.5em; }
.specimen .scale span:nth-child(1){ font-size: 12px;} .specimen .scale span:nth-child(2){ font-size:18px;}
.specimen .scale span:nth-child(3){ font-size: 28px;} .specimen .scale span:nth-child(4){ font-size:42px;}
.specimen .foot { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper-dim); margin-top: 1.5em; }

/* =============================================================================
   DIGITAL — websites in a quiet browser frame
   ========================================================================== */
.digital { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,3vw,52px) clamp(16px,2vw,30px); }
@media (max-width: 900px){ .digital{ grid-template-columns: 1fr; } }
.browser { border: 1px solid var(--line); background: var(--ink-2); }
.browser .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: inline-block; }
.browser .bar .url { margin-left: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--paper-faint); }
.browser .shot { max-height: 62vh; overflow: hidden; }
.browser .shot img { width: 100%; object-position: top; }
.digital .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; margin-top: 14px; }
.digital .meta h3 { font-family: var(--grotesk); font-weight: 800; text-transform: uppercase; font-size: clamp(20px,2.2vw,30px); margin: 0; letter-spacing: -0.01em; }
.digital .meta .d { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-dim); text-align: right; }
.digital .full { grid-column: 1 / -1; }
/* app (mobile) screenshots — centered device presentation, not browser chrome */
.appframe { border: 1px solid var(--line); background: var(--ink-2); display: grid; place-items: center; padding: clamp(22px,3vw,46px); min-height: 360px; }
.appframe img { max-height: 60vh; width: auto; max-width: 78%; border-radius: 26px; box-shadow: 0 18px 54px rgba(0,0,0,0.55); }
/* countdown tile shows the full artwork, uncropped */
.oct-grid .fig.contain-fig { background: var(--ink); }
.oct-grid .fig.contain-fig img { object-fit: contain; }

/* =============================================================================
   CULTURE / MUSIC — dense contact-sheet energy
   ========================================================================== */
.culture { display: grid; grid-template-columns: repeat(12,1fr); gap: clamp(8px,1.2vw,16px); }
.culture .fig { grid-column: span 3; aspect-ratio: 1/1; }
.culture .fig.big { grid-column: span 6; aspect-ratio: 1/1; }
.culture .fig.tallx { grid-column: span 3; aspect-ratio: 3/4; }
.culture .fig.widex { grid-column: span 6; aspect-ratio: 16/10; }
@media (max-width: 820px){ .culture .fig,.culture .fig.tallx{ grid-column: span 6; } .culture .fig.big,.culture .fig.widex{ grid-column: span 12; } }
@media (max-width: 480px){ .culture .fig,.culture .fig.big,.culture .fig.tallx,.culture .fig.widex{ grid-column: span 12; } }

/* =============================================================================
   CAMPAIGN THINKING — one idea → many outputs (system diagram)
   ========================================================================== */
.system-idea { border: 1px solid var(--line); padding: clamp(22px,4vw,60px); }
.system-idea .core { display: grid; gap: 0.5em; margin-bottom: clamp(30px,5vh,60px); }
.system-idea .core .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--vice); }
.system-idea .core .idea { font-family: var(--serif); font-weight: 300; font-size: clamp(26px,4.6vw,64px); line-height: 1.02; letter-spacing: -0.01em; max-width: 20ch; }
.system-idea .core .idea em { font-style: italic; }
.outputs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.outputs .out { background: var(--ink); padding: clamp(16px,2vw,26px); min-height: clamp(120px,18vh,190px); display: grid; align-content: space-between; gap: 1em; transition: background 0.35s var(--ease); }
.outputs .out:hover { background: var(--ink-3); }
.outputs .out .n { font-family: var(--mono); font-size: 11px; color: var(--paper-faint); letter-spacing: 0.1em; }
.outputs .out .k { font-family: var(--grotesk); font-weight: 800; text-transform: uppercase; font-size: clamp(15px,1.5vw,22px); line-height: 0.95; letter-spacing: -0.01em; }
.outputs .out p { margin: 0; font-size: 12.5px; color: var(--paper-dim); line-height: 1.45; }
.outputs .out.live { outline: 1px solid var(--vice); outline-offset: -1px; }
.outputs .out.live .k { color: var(--vice); }
@media (max-width: 820px){ .outputs{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 460px){ .outputs{ grid-template-columns: 1fr;} }

/* =============================================================================
   EXPERIMENTS / IDEAS — the lab
   ========================================================================== */
.lab { columns: 3; column-gap: clamp(10px,1.5vw,18px); }
@media (max-width: 900px){ .lab{ columns: 2; } }
@media (max-width: 540px){ .lab{ columns: 1; } }
.lab .item { break-inside: avoid; margin-bottom: clamp(10px,1.5vw,18px); position: relative; overflow: hidden; background: var(--ink-2); }
.lab .item img, .lab .item video { width: 100%; display: block; }
/* Lab video tiles: each clip framed to its OWN 3D viewport (drops mac dock +
   menubar), UI spills in for character. Per-clip crops = individuality. */
.lab .labvid { aspect-ratio: 1 / 1; overflow: hidden; position: relative; background: #000; }
.lab .labvid video { position: absolute; height: auto; }
.lab .v-blend video { width: 259.5%; left: 0%;      top: -24.3%; }
.lab .v-skull video { width: 173.1%; left: -37.5%;  top: -12.5%; }
.lab .v-rig   video { width: 194.4%; left: 0%;      top: -26.3%; }
.lab .v-world video { width: 173.1%; left: -68.75%; top: -12.5%; }
.lab .item .l { padding: 14px; }
.lab .item .l .k { font-family: var(--grotesk); font-weight: 800; text-transform: uppercase; font-size: clamp(15px,1.5vw,20px); letter-spacing: -0.01em; }
.lab .item .l p { margin: 0.4em 0 0; font-size: 12.5px; color: var(--paper-dim); line-height: 1.45; }
.lab .item .l .tagx { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--vice); }

/* =============================================================================
   PLACEHOLDER PLATE — intentional, designed, part of the system.
   Use: <div class="fig plate" data-label="[PLACEHOLDER — X]" data-need="film"></div>
   ========================================================================== */
.plate {
  position: relative;
  background:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(236,231,221,0.018) 22px 44px),
    var(--ink-2);
  border: 1px solid var(--line);
  display: grid; align-content: space-between; gap: 1em;
  padding: clamp(16px,2.2vw,28px); min-height: 100%;
  overflow: hidden;
}
.plate::before {
  content: attr(data-need);
  position: absolute; right: -1px; top: -1px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); background: var(--paper-faint); padding: 5px 9px;
}
.plate .lab-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--paper-faint); }
.plate .lab-lbl { font-family: var(--grotesk); font-weight: 800; text-transform: uppercase; font-size: clamp(17px,1.8vw,26px); line-height: 0.98; letter-spacing: -0.01em; color: var(--paper); }
.plate .lab-lbl b { color: var(--vice); }
.plate .lab-note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--paper-dim); line-height: 1.5; }
.plate .crop { position: absolute; inset: 0; pointer-events: none; }
.plate .crop::before, .plate .crop::after { content: ""; position: absolute; width: 16px; height: 16px; border: 1px solid var(--line); }
.plate .crop::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.plate .crop::after  { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* =============================================================================
   CREATIVE STRATEGY — "what I can lead" (the quiet sports-relevant proof)
   Named/framed as leadership, never as a pitch to any one organisation.
   ========================================================================== */
.leads { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.leads .lead-figure { grid-column: 1 / -1; margin: 0; position: relative; overflow: hidden; background: var(--ink); cursor: pointer; }
.leads .lead-figure img { width: 100%; height: auto; display: block; }
.leads .lead-figure figcaption { position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,0.4); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); padding: 6px 11px; }
.leads .lead-cell { background: var(--ink); padding: clamp(22px,3vw,42px); display: grid; gap: 0.7em; align-content: start; min-height: clamp(180px,26vh,260px); transition: background 0.4s var(--ease); }
.leads .lead-cell:hover { background: var(--ink-2); }
.leads .lead-cell .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--vice); }
.leads .lead-cell h4 { font-family: var(--grotesk); font-weight: 800; text-transform: uppercase; font-size: clamp(18px,1.9vw,28px); line-height: 0.98; letter-spacing: -0.01em; margin: 0; }
.leads .lead-cell p { margin: 0; color: var(--paper-dim); font-size: 13.5px; line-height: 1.5; max-width: 32ch; }
@media (max-width: 820px){ .leads{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 480px){ .leads{ grid-template-columns: 1fr;} }

/* =============================================================================
   ABOUT / EXPERIENCE — restrained
   ========================================================================== */
.about { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px,5vw,90px); align-items: start; }
@media (max-width: 900px){ .about{ grid-template-columns: 1fr; } }

/* portrait lead-in above the About columns */
.about-lead { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(28px,5vw,80px); align-items: end; margin-bottom: clamp(40px,7vh,90px); }
@media (max-width: 820px){ .about-lead{ grid-template-columns: 1fr; align-items: start; } }
.about-portrait { position: relative; margin: 0; background: var(--ink-2); border: 1px solid var(--line); aspect-ratio: 4/5; overflow: hidden; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; position: relative; z-index: 2; }
.about-portrait .plate { position: absolute; inset: 0; z-index: 1; border: 0; }
.about-portrait figcaption { position: absolute; z-index: 3; left: 0; bottom: 0; padding: 12px 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-dim); background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent); width: 100%; }
.about-lead .bio p:first-child { margin-top: 0; }
.about .bio p { font-family: var(--serif); font-weight: 300; font-size: clamp(18px,1.7vw,26px); line-height: 1.4; margin: 0 0 1em; max-width: 42ch; }
.about .bio p.first::first-letter { font-weight: 400; }
.coldata { display: grid; gap: clamp(26px,4vh,46px); }
.about .coldata { grid-template-columns: repeat(4, 1fr); gap: clamp(24px,3vw,56px) clamp(20px,3vw,48px); border-top: 1px solid var(--line); padding-top: clamp(28px,4vh,50px); }
.about .coldata .colblock:nth-child(2) { grid-column: span 2; }
@media (max-width: 900px){ .about .coldata { grid-template-columns: 1fr 1fr; } .about .coldata .colblock:nth-child(2){ grid-column: span 2; } }
@media (max-width: 560px){ .about .coldata { grid-template-columns: 1fr; } .about .coldata .colblock:nth-child(2){ grid-column: auto; } }
.colblock h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--paper-dim); margin: 0 0 1em; }
.colblock ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55em; }
.exp li { display: grid; gap: 0.1em; padding-bottom: 0.7em; border-bottom: 1px solid var(--line-soft); }
.exp li .org { font-family: var(--grotesk); font-weight: 800; text-transform: uppercase; font-size: clamp(16px,1.4vw,20px); letter-spacing: -0.01em; }
.exp li .rl { color: var(--paper-dim); font-size: 13px; }
.caps { display: flex; flex-wrap: wrap; gap: 0.4em 0.7em; }
.caps li { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--paper); }
.caps li::after { content: "·"; color: var(--vice); padding-left: 0.7em; }
.caps li:last-child::after { display: none; }
.tools { display: flex; flex-wrap: wrap; gap: 0.4em 0.7em; }
.tools li { font-family: var(--mono); font-size: 11.5px; color: var(--paper-dim); }
.tools li::after { content: "/"; color: var(--paper-faint); padding-left: 0.7em; }
.tools li:last-child::after { display: none; }

.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 0.5em; }
.btn { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; padding: 13px 22px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 0.7em; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease); }
.btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.red { background: var(--vice); border-color: var(--vice); color: #fff; }
.btn.red:hover { background: var(--vice-hot); border-color: var(--vice-hot); }

/* =============================================================================
   CONTACT / COLOPHON
   ========================================================================== */
.contact { padding-block: clamp(80px,16vh,220px) clamp(40px,8vh,80px); }
.contact .big { font-family: var(--grotesk); font-weight: 800; text-transform: uppercase; font-size: clamp(48px,13vw,230px); line-height: 0.82; letter-spacing: -0.03em; margin: 0; }
.contact .big a:hover { color: var(--vice); }
.contact .row { display: flex; justify-content: space-between; gap: 2em; flex-wrap: wrap; margin-top: clamp(30px,6vh,70px); }
.contact .row .set { display: grid; gap: 0.5em; }
.contact .row h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--paper-dim); margin: 0 0 0.4em; }
.contact .row a, .contact .row span { font-family: var(--grotesk); font-weight: 600; font-size: clamp(15px,1.3vw,19px); }
.contact .row a:hover { color: var(--vice); }
.colophon { display: flex; justify-content: space-between; gap: 2em; flex-wrap: wrap; margin-top: clamp(50px,10vh,120px); padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-faint); }

/* =============================================================================
   FILM OVERLAY PLAYER (large playback with sound)
   ========================================================================== */
.player { position: fixed; inset: 0; z-index: 80; background: #050506; display: none; place-items: center; padding: clamp(16px,4vw,64px); }
.player.open { display: grid; }
.player video { width: 100%; max-width: 1400px; max-height: 86vh; background: #000; }
.player .pimg { display: none; max-width: 92vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; }
.player.show-img video { display: none; }
.player.show-img .pimg { display: block; }

/* clickable still images → open in the viewer. "View" hover cue. */
.viewable { cursor: pointer; }
.viewable::after {
  content: "⤢ View"; position: absolute; z-index: 4; top: 12px; right: 12px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff;
  padding: 6px 11px; border: 1px solid rgba(255,255,255,0.4); border-radius: 100px;
  background: rgba(0,0,0,0.32); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.viewable:hover::after { opacity: 0.92; transform: none; }
@media (hover: none) { .viewable::after { opacity: 0.6; transform: none; } }
.player .close { position: absolute; top: clamp(16px,3vw,32px); right: clamp(16px,3vw,32px); font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; border: 1px solid var(--line); padding: 11px 18px; }
.player .close:hover { background: var(--vice); border-color: var(--vice); color: #fff; }
.player .ptitle { position: absolute; bottom: clamp(16px,3vw,32px); left: clamp(16px,4vw,64px); font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper-dim); }

/* ---- campaign mode: multi-film switcher inside the player ---- */
.player .pdesc, .player .pswitch { display: none; }
.player.has-switch video { max-height: 72vh; }
.player.has-switch .ptitle { bottom: auto; top: clamp(16px,3vw,32px); max-width: calc(100% - 160px); }
.player.has-switch .pdesc {
  display: block; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: calc(clamp(16px,3vw,32px) + 58px); width: calc(100% - clamp(32px,10vw,160px)); max-width: 700px;
  text-align: center; font-family: var(--grotesk); font-size: clamp(12px,1.15vw,14px); line-height: 1.5; color: var(--paper-dim);
}
.player.has-switch .pswitch {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: center;
  position: absolute; left: clamp(16px,4vw,64px); right: clamp(16px,4vw,64px); bottom: clamp(16px,3vw,32px);
}
.player .pchip {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper);
  border: 1px solid var(--line); background: rgba(0,0,0,0.35); padding: 9px 15px; border-radius: 999px;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s, opacity .2s;
}
.player .pchip:hover:not(.soon) { border-color: var(--paper-dim); }
.player .pchip.active { background: var(--vice); border-color: var(--vice); color: #fff; }
.player .pchip.soon { opacity: 0.4; cursor: default; }
.player .pchip .n { color: var(--vice); margin-right: 0.5em; font-weight: 700; }
.player .pchip.active .n { color: #fff; }

/* ---- campaign GALLERY: every element shown together in one scroll window ---- */
.player .pgrid { display: none; }
.player.has-grid { display: block; overflow-y: auto; overflow-x: hidden; padding: 0; }
.player.has-grid > video, .player.has-grid > .pimg { display: none !important; }
/* Close stays pinned; the title + description are a header that scrolls with the gallery */
.player.has-grid .close { position: fixed; background: rgba(5,5,6,0.85); z-index: 4; }
.player.has-grid .ptitle {
  position: static; display: block; max-width: 900px; margin: 0 auto; text-align: center;
  padding: clamp(60px,10vh,104px) clamp(20px,4vw,40px) 0; bottom: auto; left: auto; right: auto; top: auto;
  font-family: var(--grotesk); font-weight: 800; text-transform: uppercase; letter-spacing: -0.015em;
  font-size: clamp(24px,3.4vw,44px); line-height: 1.04; color: var(--paper); text-shadow: none;
}
.player.has-grid .pdesc {
  display: block; position: static; max-width: 46ch; margin: 0 auto; text-align: center;
  padding: clamp(14px,2vh,22px) clamp(20px,4vw,40px) 0; bottom: auto; left: auto; right: auto; top: auto;
  transform: none; width: auto; text-shadow: none;
  font-family: var(--serif); font-weight: 300; font-optical-sizing: auto;
  font-size: clamp(17px,1.7vw,27px); line-height: 1.35; letter-spacing: -0.005em; color: var(--paper);
}
.player.has-grid .pdesc em { font-style: italic; color: var(--vice); }
.player.has-grid .pgrid {
  display: block; column-count: 3; column-gap: 14px; max-width: 1180px;
  margin: 0 auto; padding: clamp(22px,4vh,40px) clamp(20px,4vw,40px) 64px;
}
.player.has-grid .pitem { break-inside: avoid; margin: 0 0 14px; }
.player.has-grid .pitem video,
.player.has-grid .pitem img {
  width: 100%; height: auto; display: block; background: #000;
  border: 1px solid var(--line-soft); border-radius: 2px;
}
.player.has-grid .pitem .cap {
  display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--paper-dim); margin-top: 6px;
}
@media (max-width: 900px) { .player.has-grid .pgrid { column-count: 2; } }
@media (max-width: 560px) { .player.has-grid .pgrid { column-count: 1; } }
.player.has-grid .pitem.clickable { cursor: pointer; position: relative; }
.player.has-grid .pitem.clickable:hover video,
.player.has-grid .pitem.clickable:hover img { outline: 1px solid var(--vice); outline-offset: -1px; }
.player.has-grid .pitem.vid::after {
  content: "\25B6"; position: absolute; top: 8px; right: 8px; font-size: 11px; color: #fff;
  background: rgba(0,0,0,0.55); width: 26px; height: 26px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%; pointer-events: none;
}
/* single-clip / lightbox description (non-gallery) */
.player.has-desc:not(.has-grid) .pdesc {
  display: block; position: absolute; left: clamp(16px,4vw,64px);
  bottom: calc(clamp(16px,3vw,32px) + 32px); width: min(46ch, calc(100% - clamp(32px,8vw,128px)));
  font-family: var(--serif); font-weight: 300; font-optical-sizing: auto;
  font-size: clamp(15px,1.4vw,20px); line-height: 1.4; color: var(--paper);
  text-shadow: 0 1px 12px #000, 0 0 3px #000;
}
.player.has-desc:not(.has-grid) .pdesc em { font-style: italic; color: var(--vice); }

/* ========================================================================= */
/* CAMPAIGN VIEW (case study)  ·  MEDIA VIEWER (stripped)                     */
/* HOMEPAGE ASSET → CAMPAIGN VIEW → MEDIA VIEWER                              */
/* ========================================================================= */
.asset-click { cursor: pointer; }

/* ---- Campaign View : a mini case-study page over the portfolio ---- */
.cview {
  position: fixed; inset: 0; z-index: 90; background: #08080a;
  opacity: 0; visibility: hidden; transition: opacity .34s var(--ease), visibility 0s linear .34s;
}
.cview.is-open { opacity: 1; visibility: visible; transition: opacity .34s var(--ease); }
.cview__scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }

.cview__close, .mview__close {
  position: fixed; top: clamp(14px,2.6vw,28px); right: clamp(14px,3.4vw,40px); z-index: 6;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--paper);
  border: 1px solid var(--line); background: rgba(8,8,10,0.72); padding: 11px 16px; cursor: pointer;
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  transition: background .2s, border-color .2s, color .2s;
}
.cview__close:hover, .mview__close:hover { background: var(--vice); border-color: var(--vice); color: #fff; }

.cview__head {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(66px,13vh,140px) clamp(20px,5vw,52px) 0;
  opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease) .06s, transform .5s var(--ease) .06s;
}
.cview.is-open .cview__head { opacity: 1; transform: none; }
.cview__eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--vice); }
.cview__eyebrow::before { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--vice); vertical-align: middle; margin-right: 0.85em; transform: translateY(-3px); }
.cview__title {
  font-family: var(--grotesk); font-weight: 900; text-transform: uppercase; letter-spacing: -0.022em;
  font-size: clamp(34px,7vw,88px); line-height: 0.9; color: var(--paper); margin: clamp(16px,2.4vh,26px) 0 0;
}
.cview__rule { height: 3px; width: clamp(64px,9vw,116px); background: var(--vice); margin: clamp(22px,3.4vh,40px) 0 clamp(18px,2.6vh,26px); }
.cview__desc {
  font-family: var(--mono); font-weight: 400;
  font-size: clamp(13px,1.05vw,16px); line-height: 1.72; letter-spacing: 0.01em;
  color: var(--paper); max-width: 68ch; margin: 0;
}
.cview__desc em { font-style: normal; color: var(--vice); }
.cview--nodesc .cview__desc { display: none; }
.cview--nodesc .cview__rule { width: clamp(44px,6vw,84px); margin-bottom: 0; }

.cview__grid {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(30px,5vh,60px) clamp(20px,5vw,52px) clamp(64px,11vh,120px);
  column-count: 3; column-gap: clamp(12px,1.4vw,18px);
  opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease) .12s, transform .55s var(--ease) .12s;
}
.cview.is-open .cview__grid { opacity: 1; transform: none; }
.cview--single .cview__grid { column-count: 1; max-width: 940px; }

.citem { break-inside: avoid; margin: 0 0 clamp(12px,1.4vw,18px); position: relative; cursor: pointer; }
.citem > video, .citem > img {
  width: 100%; height: auto; display: block; background: #000;
  border: 1px solid rgba(236,231,221,0.12); transition: border-color .25s var(--ease), transform .3s var(--ease);
}
.citem:hover > video, .citem:hover > img { border-color: var(--vice); }
.citem--logo > img { background: var(--ink-2); padding: 11%; object-fit: contain; }
.cview--single .citem--logo > img { padding: clamp(28px,6vw,80px); }
.citem--vid::after {
  content: "\25B6"; position: absolute; top: 10px; left: 10px; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center; font-size: 10px; color: #fff;
  background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.35); border-radius: 50%; pointer-events: none;
  transition: background .2s, border-color .2s;
}
.citem:hover.citem--vid::after { background: var(--vice); border-color: var(--vice); }
.citem__cap { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-dim); margin-top: 9px; }
.cview--single .citem__cap { display: none; }   /* title already names it — no redundant caption */
.cview--single .citem { margin-bottom: 0; }
@media (max-width: 900px) { .cview__grid { column-count: 2; } }
@media (max-width: 560px) { .cview__grid { column-count: 1; } .cview__title { font-size: clamp(30px,10vw,52px); } }

/* ---- Media Viewer : nothing but the media + close ---- */
.mview {
  position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center;
  padding: clamp(10px,3vw,48px); opacity: 0; visibility: hidden;
  transition: opacity .26s var(--ease), visibility 0s linear .26s;
}
.mview.is-open { opacity: 1; visibility: visible; transition: opacity .26s var(--ease); }
.mview__stage { width: 100%; height: 100%; display: grid; place-items: center; }
.mview__v, .mview__i { display: none; }
.mview.mview--video .mview__v { display: block; max-width: min(1500px,100%); max-height: 90vh; width: 100%; background: #000; }
.mview.mview--image .mview__i { display: block; max-width: 100%; max-height: 92vh; width: auto; height: auto; object-fit: contain; }
@media (prefers-reduced-motion: reduce) {
  .cview, .cview__head, .cview__grid, .mview { transition: none !important; transform: none !important; }
}

/* =============================================================================
   MISC
   ========================================================================== */
/* =============================================================================
   CAMPAIGN PROCESS — Outbox October (a real worked example)
   ========================================================================== */
.oct-lead { display: grid; grid-template-columns: 0.6fr 1fr; gap: clamp(24px,4vw,64px); align-items: end; margin-bottom: clamp(12px,1.8vw,20px); }
@media (max-width: 820px){ .oct-lead { grid-template-columns: 1fr; align-items: start; } }
.oct-poster { margin: 0; position: relative; overflow: hidden; background: var(--ink-2); aspect-ratio: 2/3; }
.oct-poster img { width: 100%; height: 100%; object-fit: cover; }
.oct-poster figcaption { position: absolute; left: 0; bottom: 0; width: 100%; padding: 12px 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-dim); background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent); }
.oct-idea .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--vice); }
.oct-idea .idea { font-family: var(--serif); font-weight: 300; font-size: clamp(28px,5vw,72px); line-height: 0.98; letter-spacing: -0.01em; margin: 0.35em 0 0.5em; max-width: 14ch; }
.oct-idea .idea em { font-style: italic; }
.oct-idea .sub { color: var(--paper-dim); max-width: 52ch; font-size: clamp(13px,1.05vw,16px); line-height: 1.55; margin: 0 0 1.3em; }
.oct-credits { display: flex; flex-wrap: wrap; gap: 0.4em 0.8em; padding: 0; margin: 0; }
.oct-credits li { list-style: none; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--paper); }
.oct-credits li::after { content: "·"; color: var(--vice); padding-left: 0.8em; }
.oct-credits li:last-child::after { display: none; }

.oct-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: clamp(8px,1.2vw,16px); }
.oct-grid .fig { position: relative; overflow: hidden; background: var(--ink-2); }
.oct-grid .fig .step { position: absolute; top: 10px; left: 10px; z-index: 3; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,0.42); padding: 5px 8px; }
.oct-grid .film { grid-column: span 3; aspect-ratio: 2/3; }
.oct-grid .wide { grid-column: span 6; aspect-ratio: 16/9; }
.oct-grid .sq   { grid-column: span 3; aspect-ratio: 1/1; }
.oct-grid .bar  { grid-column: span 6; aspect-ratio: 16/9; display: grid; place-items: center; }
.oct-grid .bar img { width: 66%; height: auto; object-fit: contain; }
@media (max-width: 820px){
  .oct-grid .film, .oct-grid .sq { grid-column: span 6; }
  .oct-grid .wide, .oct-grid .bar { grid-column: span 12; }
}
@media (max-width: 480px){ .oct-grid .film, .oct-grid .sq, .oct-grid .wide, .oct-grid .bar { grid-column: span 12; } }

.oct-payoff { margin-top: clamp(8px,1.2vw,16px); position: relative; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.oct-payoff video { width: 100%; height: 100%; object-fit: cover; }
.oct-payoff .lbl { position: absolute; bottom: 0; left: 0; width: 100%; z-index: 3; padding: clamp(14px,2vw,28px); font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper-dim); background: linear-gradient(0deg, rgba(0,0,0,0.62), transparent); }
@media (max-width: 780px){ .oct-payoff { aspect-ratio: 4/5; } }

/* =============================================================================
   CREATIVE DIRECTION — "the house" (Outbox Productions brand world)
   ========================================================================== */
.house { display: grid; gap: clamp(12px,1.8vw,22px); }
.house-feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px,4vw,60px); align-items: center; }
@media (max-width: 820px){ .house-feature { grid-template-columns: 1fr; } }
.hf-photo { margin: 0; overflow: hidden; background: var(--ink-2); aspect-ratio: 3/2; }
.hf-photo img { width: 100%; height: 100%; object-fit: cover; }
.hf-copy .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--vice); }
.hf-copy .idea { font-family: var(--serif); font-weight: 300; font-size: clamp(24px,3.8vw,50px); line-height: 1.02; letter-spacing: -0.01em; margin: 0.35em 0 0.5em; max-width: 18ch; }
.hf-copy .idea em { font-style: italic; }
.hf-copy .sub { color: var(--paper-dim); max-width: 54ch; font-size: clamp(13px,1.05vw,16px); line-height: 1.55; margin: 0 0 1.5em; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(4,auto); gap: clamp(16px,2.4vw,44px); padding: 0; margin: 0; }
@media (max-width: 560px){ .stats { grid-template-columns: repeat(2,1fr); gap: 20px 24px; } }
.stats li { display: grid; gap: 0.25em; align-content: start; }
.stats li b { font-family: var(--grotesk); font-weight: 800; font-size: clamp(28px,3.6vw,48px); line-height: 0.9; letter-spacing: -0.02em; color: var(--paper); }
.stats li span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-dim); max-width: 15ch; line-height: 1.4; }

.house-tiles { display: grid; grid-template-columns: repeat(12,1fr); gap: clamp(8px,1.2vw,16px); }
.house-tiles .ht { position: relative; margin: 0; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-soft); }
.house-tiles .ht img { width: 100%; height: 100%; object-fit: cover; }
.house-tiles .s3 { grid-column: span 3; aspect-ratio: 1/1; }
.house-tiles .s6 { grid-column: span 6; aspect-ratio: 16/10; }
.house-tiles .contain { display: grid; place-items: center; padding: clamp(16px,2.4vw,40px); }
.house-tiles .contain img { width: 100%; height: 100%; object-fit: contain; }
.house-tiles .ht .cap { position: absolute; left: 0; bottom: 0; width: 100%; padding: 10px 12px; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-dim); background: linear-gradient(0deg, rgba(0,0,0,0.5), transparent); }
@media (max-width: 700px){ .house-tiles .s3 { grid-column: span 6; } .house-tiles .s6 { grid-column: span 12; } }

/* tap-to-play hint — only shown (via JS .needs-tap) when autoplay is blocked
   (iOS Low Power Mode / data-saver). Keeps videos from ever looking dead. */
.needs-tap { cursor: pointer; }
.needs-tap::after {
  content: "▶ Tap to play";
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 5;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #fff;
  padding: 11px 18px; border: 1px solid rgba(255,255,255,0.55); border-radius: 100px;
  background: rgba(0,0,0,0.4); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  pointer-events: none; white-space: nowrap;
}

/* =============================================================================
   DIGITAL — coverflow product gallery (big centered phone, neighbours peek)
   ========================================================================== */
.dgal { display: grid; gap: clamp(22px,3vh,44px); }
.dgal-stage { position: relative; height: clamp(400px,62vh,700px); overflow: hidden; }
.dgal-track { display: flex; align-items: center; height: 100%; width: max-content; gap: clamp(26px,3.2vw,70px); transition: transform 0.55s var(--ease); will-change: transform; }
.dgal-slide { flex: 0 0 auto; display: grid; place-items: center; opacity: 0.28; transform: scale(0.66); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); cursor: pointer; }
.dgal-slide img { height: clamp(400px,62vh,700px); width: auto; max-width: none; display: block; pointer-events: none; filter: drop-shadow(0 34px 72px rgba(0,0,0,0.62)); }
.dgal-slide.active { opacity: 1; transform: scale(1); cursor: default; }
.dgal-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(10,10,11,0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--paper); font-size: 26px; line-height: 1; display: grid; place-items: center; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease); }
.dgal-arrow.prev { left: clamp(4px,1.5vw,22px); } .dgal-arrow.next { right: clamp(4px,1.5vw,22px); }
.dgal-arrow:hover { background: var(--vice); border-color: var(--vice); color: #fff; }

.dgal-info { display: grid; gap: clamp(8px,1vw,14px); max-width: 60ch; }
.dgal-top { display: flex; gap: 1.2em; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.dgal-count { color: var(--vice); } .dgal-tag { color: var(--paper-dim); }
.dgal-title { font-family: var(--grotesk); font-weight: 800; text-transform: uppercase; font-size: clamp(26px,4vw,56px); line-height: 0.94; letter-spacing: -0.02em; margin: 0; }
.dgal-desc { color: var(--paper-dim); font-size: clamp(14px,1.15vw,17px); line-height: 1.55; margin: 0; min-height: 3em; }
.dgal-url { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-faint); }
.dgal-dots { display: flex; gap: 8px; margin-top: 0.5em; flex-wrap: wrap; }
.dgal-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); cursor: pointer; padding: 0; transition: background 0.3s var(--ease), width 0.3s var(--ease); }
.dgal-dot.active { background: var(--vice); width: 26px; border-radius: 5px; }

.dgal-foot { display: grid; gap: 0.6em; margin-top: clamp(28px,4vh,54px); padding-top: clamp(16px,2vh,24px); border-top: 1px solid var(--line); }
.dgal-foot .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--vice); }
.dgal-foot p { margin: 0; color: var(--paper-dim); max-width: 62ch; font-size: clamp(14px,1.1vw,16px); line-height: 1.55; }
.dgal-foot p em { color: var(--paper); font-style: italic; }

@media (max-width: 820px) {
  .dgal-stage { height: 52vh; }
  .dgal-slide img { height: 52vh; }
  .dgal-slide { transform: scale(0.7); }
  .dgal-arrow { width: 44px; height: 44px; font-size: 22px; }
}

/* every ambient loop is clickable → opens the player to watch. subtle hover cue. */
.watchable { cursor: pointer; }
.watchable::after {
  content: "▶ Watch"; position: absolute; z-index: 4; top: 12px; right: 12px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff;
  padding: 6px 11px; border: 1px solid rgba(255,255,255,0.4); border-radius: 100px;
  background: rgba(0,0,0,0.32); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.watchable:hover::after { opacity: 0.92; transform: none; }
@media (hover: none) { .watchable::after { opacity: 0.6; transform: none; } }

.noscroll { overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
