/* oxama.mp4 / app.css: the contact-sheet layer
   Ink paper, cream type, his marker for one line per section, Archivo for everything quiet.
   Order: fonts, tokens, base, loader, cursor, nav + menu, sheet (stage, tiles, title card, chips, tools,
   mini-map, hints, loupe ring, full screen, list view), section heads, projects, process, clients, reviews,
   toolkit, socials, contact, footer, player, responsive, reduced motion. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 400 800; font-stretch: 100% 125%; font-display: block; }
@font-face { font-family: "Marker"; src: url("../fonts/marker.woff2") format("woff2"); font-display: block; }

:root {
  --ink: #0A0817;
  --ink-2: #120d26;
  --ink-3: #1a1336;
  --cream: #F4ECDD;
  --cream-2: rgba(244, 236, 221, .74);
  --cream-3: rgba(244, 236, 221, .52);
  --line: rgba(244, 236, 221, .14);
  --violet: #8B4EE0;
  --blue: #058ED8;
  --glow-v: rgba(139, 78, 224, .5);
  --tick: #34b7f1;
  --grad: linear-gradient(100deg, #A066F5 0%, #7C6CF0 45%, #1C9BE6 100%);
  --f-marker: "Marker", "Archivo", sans-serif;
  --f-sans: "Archivo", sans-serif;
  --gut: clamp(16px, 3.6vw, 56px);
  --nav-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped, html.is-locked { overflow: hidden; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 400 16px/1.55 var(--f-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, canvas, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; padding: 12px 16px; background: var(--cream); color: var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
/* interface marks (icons.js UI): drawn in the text colour, sized with the text */
.ic { display: inline-block; width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -.14em; }
.ic--out { width: .95em; height: .95em; margin-left: .3em; }
.ic--ticks { width: 1.15em; height: .8em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; vertical-align: -.02em; }
.marker { font-family: var(--f-marker); font-weight: 400; line-height: .95; letter-spacing: .01em; }
.eyebrow { font: 650 13px/1.2 var(--f-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--cream-3); }
.for-touch { display: none; }
@media (max-width: 560px) { .hide-sm { display: none; } }
@media (hover: none) { .for-fine { display: none; } .for-touch { display: inline; } }

/* word reveal (core splits [data-reveal="words"]) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .02em .14em; margin: -.08em -.02em -.14em; }
.w__in { display: inline-block; }
.js .paint-in { clip-path: inset(-10% 100% -20% 0); }

/* ─────────── loader ─────────── */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: grid; place-items: center; cursor: pointer; }
.loader__sig { width: min(420px, 70vw); color: var(--cream); }
.loader__sig svg { width: 100%; height: auto; fill: currentColor; overflow: visible; }
.loader__count { position: absolute; right: var(--gut); bottom: calc(var(--gut) * .8); font: 600 13px/1 var(--f-sans); letter-spacing: .16em; font-variant-numeric: tabular-nums; color: var(--cream-3); }
.loader__skip { position: absolute; left: var(--gut); bottom: calc(var(--gut) * .8); font: 600 13px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }

/* ─────────── cursor (fine pointers; on the sheet the loupe takes over) ─────────── */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; mix-blend-mode: difference; display: none; transition: opacity .2s; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
:root:has(.sheet.is-loupe) .cursor { opacity: 0 !important; }
.cursor__dot { position: fixed; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--cream); }
.cursor__ring { position: fixed; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--cream); display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), left .35s var(--ease), top .35s var(--ease), background-color .2s, opacity .2s; }
.cursor__label { font: 600 12px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .15s; }
.cursor.is-on .cursor__ring { width: 88px; height: 88px; left: -44px; top: -44px; background: var(--cream); }
.cursor.is-small .cursor__ring { width: 56px; height: 56px; left: -28px; top: -28px; border-color: rgba(244,236,221,.9); }
.cursor.is-on .cursor__label { opacity: 1; }
.cursor.is-text .cursor__ring, .cursor.is-text .cursor__dot { opacity: 0; }

/* ─────────── nav ─────────── */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--gut); transition: background-color .3s; }
.nav.is-solid { background: rgba(10, 8, 23, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav__brand { margin-right: auto; font: 800 21px/1 var(--f-sans); font-stretch: 125%; letter-spacing: -.01em; display: inline-block; }
.nav__brand span { font-weight: 500; font-size: 12px; letter-spacing: .16em; color: var(--cream-3); margin-left: 2px; vertical-align: 5px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { position: relative; display: inline-block; font: 600 13px/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-2); padding: 10px 0; transition: color .12s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--cream); }
.nav__links a[aria-current="true"]::after, .nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 13px 20px; border-radius: 40px; background: var(--cream); color: var(--ink); font: 700 13px/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; transition: background-color .12s; }
.nav__cta:hover { background: #fff; }
.nav__cta i { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.nav__menu { display: none; min-width: 48px; height: 48px; padding: 0 16px; border-radius: 40px; border: 1px solid var(--line); background: rgba(10,8,23,.6); font: 700 13px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; }
.menu { position: fixed; inset: 0; z-index: 120; background: var(--ink); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 var(--gut); }
.menu a.menu__big { font: 400 clamp(48px, 14vw, 96px)/1.05 var(--f-marker); padding: 6px 0; }
.menu .btn { align-self: flex-start; margin-top: 20px; }
.menu__close { position: absolute; right: var(--gut); top: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); font-size: 22px; display: grid; place-items: center; }
.menu__foot { display: flex; gap: 14px; margin-top: 30px; }
.menu__foot a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.menu__foot svg { width: 18px; height: 18px; fill: currentColor; }
.foot__social span, .menu__foot span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ─────────── buttons, pills, hints ─────────── */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 17px 26px; border-radius: 60px; background: var(--cream); color: var(--ink); font: 700 14px/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; transition: background-color .12s, transform .12s; }
.btn:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--cream); border: 1px solid rgba(244,236,221,.32); }
.btn--ghost:hover { background: rgba(244,236,221,.08); border-color: var(--cream); }
.btn--sm { padding: 12px 18px; font-size: 12px; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn .ic--out { width: 12px; height: 12px; margin-left: -3px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 12px; padding: 15px 22px; border-radius: 60px; border: 1px solid rgba(244,236,221,.3); font: 600 15px/1 var(--f-sans); transition: background-color .12s, border-color .12s; }
.pill:hover { background: rgba(244,236,221,.08); border-color: var(--cream); }
.pill svg { width: 18px; height: 18px; fill: currentColor; }
.hint { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 30px; background: rgba(244,236,221,.08); border: 1px solid var(--line); font: 650 12px/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-2); transition: opacity .5s; }
.hint.is-done { opacity: 0; pointer-events: none; }
.stub-note { margin-bottom: 18px; padding: 10px 14px; border: 1px dashed #ffb4a8; border-radius: 10px; color: #ffb4a8; font: 600 13px/1.3 var(--f-sans); }

/* ═════════════════ the sheet ═════════════════ */
/* The headline + his title card are a fixed panel; the sheet is a window beside it (below it on narrow screens),
   so no frame ever passes under the headline. */
.sheet { --hero-w: clamp(300px, 30vw, 460px); --sheet-left: calc(var(--gut) + var(--hero-w) + 18px); --sheet-top: 0px;
  position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); isolation: isolate; }
.sheet__hero { position: absolute; z-index: 6; left: var(--gut); top: calc(var(--nav-h) + 6px); bottom: 24px; width: var(--hero-w); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.sheet__frame { position: relative; flex: none; aspect-ratio: 4 / 3.3; max-height: 56%; }
.sheet__stage, .sheet__ui { position: absolute; left: var(--sheet-left); right: 0; top: var(--sheet-top); bottom: 0; }
.sheet__stage { overflow: hidden; touch-action: pan-y; outline: none; cursor: grab; -webkit-user-select: none; user-select: none;
  /* frames never pass under the nav or the chips: the window fades out above the first row's label (sheet.js sets --clip-top) */
  -webkit-mask-image: linear-gradient(#0000 var(--clip-top, 0px), #000 calc(var(--clip-top, 0px) + 24px)); mask-image: linear-gradient(#0000 var(--clip-top, 0px), #000 calc(var(--clip-top, 0px) + 24px)); }
.sheet__stage::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; box-shadow: inset 22px 0 22px -18px var(--ink); }
.sheet__stage:focus-visible { box-shadow: inset 0 0 0 2px var(--cream); }
/* the focus ring sits over the WebGL canvas (which is opaque), below the row labels' layer */
.sheet__stage:focus-visible::before { content: ""; position: absolute; inset: var(--ring-top, 0px) 0 0; z-index: 6; pointer-events: none; box-shadow: inset 0 0 0 2px var(--cream); }
.sheet__stage.is-dragging { cursor: grabbing; }
.sheet__plane { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; z-index: 1; pointer-events: none; }
.sheet__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; opacity: 0; transition: opacity .6s; pointer-events: none; }
.sheet.is-gl .sheet__gl { opacity: 1; }
.sheet__labels { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.sheet__ui { z-index: 7; pointer-events: none; }
.sheet__ui > * { pointer-events: auto; }

/* rows of frames (positioned by sheet.js in sheet space) */
.row__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.row__tiles { display: contents; }
.tile { position: absolute; display: block; border-radius: 6px; overflow: hidden; background: var(--ink-2); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8), 0 0 0 1px rgba(244,236,221,.06); transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .5s; pointer-events: auto; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s, filter .5s; filter: saturate(.86) brightness(.94); }
.tile.is-hover, .tile:focus-visible { transform: scale(1.03); box-shadow: 0 30px 60px -24px rgba(0,0,0,.9), 0 0 0 1.5px var(--violet), 0 0 26px var(--glow-v); }
.tile.is-hover img { filter: none; }
.tile:focus-visible { outline: none; }
.tile__meta { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 26px 14px 12px; background: linear-gradient(transparent, rgba(10,8,23,.86)); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .4s var(--ease); }
.tile__meta b { font: 400 22px/1 var(--f-marker); }
.tile__meta small { font: 650 11px/1.2 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-2); }
.tile.is-hover .tile__meta, .tile:focus-visible .tile__meta { opacity: 1; transform: none; }
.tile__slate { position: absolute; inset: 0; display: grid; align-content: center; gap: 10px; padding: 0 8%; background: radial-gradient(120% 120% at 30% 30%, #2a1a5c, #140e2e 55%, var(--ink)); }
.tile__slate b { font: 400 clamp(26px, 2.6vw, 42px)/1 var(--f-marker); text-shadow: 0 0 22px var(--glow-v); }
.tile__slate small { order: -1; font: 650 12px/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--cream-3); }
.row.is-dim .tile, .tile.is-dim { opacity: .3; }
.sheet.is-gl .tile { background: none; box-shadow: none; }
.sheet.is-gl .tile img, .sheet.is-gl .tile__slate, .sheet.is-gl .tile__meta { opacity: 0 !important; }
.sheet.is-gl .tile:focus-visible { box-shadow: 0 0 0 2px var(--cream); }
.sheet.is-intro:not(.is-gl) .tile { opacity: 0; }

/* the title card: his eyes, darkening where the headline sits */
.sheet__card { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 10px; overflow: hidden; background: var(--ink-2); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(244,236,221,.06); }
.sheet__card img { width: 100%; height: 100%; object-fit: cover; }
.sheet__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,23,0) 55%, rgba(10,8,23,.55)); opacity: var(--shade, 1); }
.sheet__copy { position: relative; z-index: 2; display: grid; gap: 14px; padding: 0 2px 4px; transition: opacity .5s; }
.sheet__head { font: 400 clamp(38px, 4.3vw, 74px)/.92 var(--f-marker); letter-spacing: .01em; text-shadow: 0 0 34px rgba(139,78,224,.45); }
.sheet__head .ln { display: block; }
.sheet__head em { font-style: normal; background: linear-gradient(100deg, var(--cream) 0%, var(--cream) 28%, #c9a8ff 48%, #6fc6ff 62%, var(--cream) 78%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: sheen 7s ease-in-out infinite; }
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0% 0; } }
.sheet.is-away .sheet__head em { animation-play-state: paused; }
.sheet__role { font: 500 16px/1.45 var(--f-sans); color: var(--cream-2); max-width: 34ch; }
/* intro: an overlay of his eyes over the whole section, closing down onto the card (clip-path + transforms only) */
.sheet__intro { position: absolute; inset: 0; z-index: 30; overflow: hidden; pointer-events: none; background: var(--ink); }
.sheet__intro img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform-origin: 0 0; will-change: transform, filter; }
.js .sheet:not(.is-laid) .tile { visibility: hidden; }
.sheet.is-intro .sheet__copy, .sheet.is-intro .row-label, .sheet.is-intro .sheet__hint, .sheet.is-intro .minimap { opacity: 0; transition: none; }

/* row labels: pinned to the left edge of the window while their row is on screen */
.row-label { position: absolute; left: 0; top: 0; font: 400 26px/1 var(--f-marker); color: var(--cream); text-shadow: 0 2px 14px rgba(10,8,23,.9); opacity: 0; transition: opacity .35s; white-space: nowrap; }
.row-label.is-on { opacity: 1; }
.row-label.is-dim { opacity: .3; }

/* chips, tools, hint, mini-map, ghost, loupe ring (all inside the sheet's window) */
.chips { position: absolute; left: 16px; top: calc(var(--nav-h) + 6px); display: flex; flex-wrap: wrap; gap: 8px; max-width: calc(100% - 32px); }
.chip { padding: 10px 16px; border-radius: 30px; border: 1px solid rgba(244,236,221,.22); background: rgba(10,8,23,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 650 12px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); transition: background-color .12s, color .12s, border-color .12s; }
.chip:hover { border-color: var(--cream); color: var(--cream); }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.sheet__tools { position: absolute; right: calc(var(--gut) + 186px); bottom: 18px; display: flex; gap: 8px; }
.sheet-btn { padding: 10px 16px; border-radius: 30px; border: 1px solid rgba(244,236,221,.22); background: rgba(10,8,23,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 650 12px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); transition: border-color .12s, color .12s; }
.sheet-btn:hover { border-color: var(--cream); color: var(--cream); }
.sheet__hint { position: absolute; left: 16px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 30px; background: rgba(10,8,23,.7); border: 1px solid var(--line); font: 650 12px/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-2); pointer-events: none; }
.sheet__hint i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--cream); box-shadow: 0 0 12px var(--glow-v); animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
.sheet__hint.is-done { opacity: 0; transition: opacity .6s; }
.sheet__hint.is-done i { animation: none; }
.minimap { position: absolute; right: var(--gut); bottom: 18px; width: 170px; max-height: 120px; padding: 6px; border-radius: 10px; background: rgba(10,8,23,.72); border: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; }
.minimap svg { width: 100%; height: 100%; }
.minimap .mm-sheet { fill: rgba(244,236,221,.04); stroke: rgba(244,236,221,.18); stroke-width: 6; }
.minimap .mm-tile { fill: rgba(244,236,221,.28); }
.minimap .mm-view { fill: rgba(5,142,216,.12); stroke: var(--cream); stroke-width: 10; }
.minimap:hover { border-color: var(--cream); }
.sheet__x { position: absolute; right: var(--gut); top: 18px; width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--ink); font: 400 22px/1 var(--f-sans); display: none; }
/* touch screens: the ghost demo is a fingertip, not a mouse arrow */
.is-touch .ghost svg { display: none; }
.is-touch .ghost { width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: rgba(244,236,221,.85); box-shadow: 0 0 0 6px rgba(244,236,221,.18); }
.ghost { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -6px 0 0 -6px; opacity: 0; pointer-events: none; filter: drop-shadow(0 4px 12px rgba(0,0,0,.6)); }
.ghost svg { width: 100%; height: 100%; fill: var(--cream); stroke: var(--ink); stroke-width: 1; }
.ghost.is-on { opacity: 1; }
.loupe-ring { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.loupe-ring.is-on { opacity: 1; }
.loupe-ring svg { position: absolute; left: -150px; top: -150px; width: 300px; height: 300px; overflow: visible; }
.loupe-ring__t { transform-origin: 150px 150px; animation: spin 16s linear infinite; }
.loupe-ring:not(.is-on) .loupe-ring__t { animation-play-state: paused; }
.is-touch .loupe-ring { display: none; }
.loupe-ring text { font: 700 9.5px var(--f-sans); letter-spacing: .3em; fill: var(--cream); }
@keyframes spin { to { transform: rotate(360deg); } }
.sheet.is-loupe .sheet__stage { cursor: none; }

/* narrow or upright screens: the panel is a band across the top, the window below it */
@media (max-width: 899px), (max-aspect-ratio: 19 / 20) {
  .sheet { --hero-h: clamp(176px, 27svh, 280px); --sheet-left: 0px; --sheet-top: calc(var(--nav-h) + var(--hero-h) + 12px); }
  .sheet__hero { right: var(--gut); width: auto; bottom: auto; height: var(--hero-h); top: calc(var(--nav-h) + 2px); }
  .sheet__hero { display: block; }
  .sheet__frame { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; }
  .sheet__card::after { background: linear-gradient(90deg, rgba(10,8,23,.92) 18%, rgba(10,8,23,.55) 55%, rgba(10,8,23,.1)); }
  .sheet__head { font-size: clamp(30px, 6.6vw, 58px); }
  .sheet__role { font-size: 15px; }
  .sheet__copy { position: absolute; left: 6%; right: 6%; bottom: 9%; gap: 8px; }
  .chips { top: 10px; }
  .chips { left: var(--gut); }
  .sheet__stage::after { box-shadow: inset 0 30px 30px -24px var(--ink); }
  .sheet__stage { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 899px) { .nav { gap: 18px; } .nav__links { gap: 20px; } }
/* phones and tablets (incl. the ~800 px pane): the photo sits above the headline, never under it (no type on his eyes or the mask) */
@media (max-width: 899px), (max-aspect-ratio: 19 / 20) {
  .sheet { --hero-h: clamp(240px, 36svh, 320px); }
  .sheet__hero { display: flex; flex-direction: column; gap: 14px; }
  .sheet__frame { position: relative; inset: auto; flex: 1 1 auto; min-height: 120px; }
  .sheet__card::after { background: none; }
  .sheet__copy { position: relative; left: auto; right: auto; bottom: auto; padding: 0 2px; }
}
/* with a mouse the first frame rests 26 px in (room for the hover loop): chips and hint start on the same line */
@media (hover: hover) and (pointer: fine) { .chips, .sheet__hint { left: max(var(--gut, 16px), 26px); } }

/* full screen */
.sheet.is-immersive { position: fixed; inset: 0; z-index: 140; height: 100%; min-height: 0; --sheet-left: 0px; --sheet-top: 0px; }
.sheet.is-immersive .sheet__hero { display: none; }
.sheet.is-immersive .sheet__stage { touch-action: none; }
.sheet.is-immersive .sheet__x { display: grid; place-items: center; }
.sheet.is-immersive .chips { top: 18px; max-width: calc(100% - 2 * var(--gut) - 64px); }
.sheet.is-immersive .sheet__stage { -webkit-mask-image: none; mask-image: none; }
.sheet.is-immersive .sheet__tools [data-full] { display: none; }

/* list view (and the page without JS): the same links as an accessible grid */
.sheet.is-list, html:not(.js) .sheet { height: auto; min-height: 0; overflow: visible; padding: calc(var(--nav-h) + 70px) var(--gut) 60px; }
.sheet.is-list .sheet__hero, html:not(.js) .sheet__hero { position: static; width: auto; height: auto; margin-bottom: 34px; }
.sheet.is-list .sheet__frame, html:not(.js) .sheet__frame { display: none; }
.sheet.is-list .sheet__hero, html:not(.js) .sheet__hero { display: block; }
.sheet.is-list .sheet__copy, html:not(.js) .sheet__copy { position: static; }
.sheet.is-list .sheet__head, html:not(.js) .sheet__head { font-size: clamp(44px, 7vw, 96px); }
.sheet.is-list .sheet__stage, html:not(.js) .sheet__stage { position: static; overflow: visible; touch-action: auto; cursor: auto; }
.sheet.is-list .sheet__stage::after, html:not(.js) .sheet__stage::after { display: none; }
.sheet.is-list .sheet__plane, html:not(.js) .sheet__plane { position: static; transform: none !important; width: auto !important; height: auto !important; pointer-events: auto; display: grid; gap: 34px; }
.sheet.is-list .sheet__gl, .sheet.is-list .sheet__labels, .sheet.is-list .minimap, .sheet.is-list .sheet__hint, .sheet.is-list .loupe-ring, .sheet.is-list [data-full] { display: none; }
html:not(.js) .sheet__gl, html:not(.js) .sheet__ui { display: none; }
/* without JS the frames and Copy have nothing to do: the <noscript> list and the written address stand in */
html:not(.js) .sheet__stage, html:not(.js) .mailbox__do { display: none; }
.sheet.is-list .row__label, html:not(.js) .row__label { position: static; width: auto; height: auto; clip: auto; overflow: visible; font: 400 34px/1 var(--f-marker); margin-bottom: 14px; }
.sheet.is-list .row__tiles, html:not(.js) .row__tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.sheet.is-list .tile, html:not(.js) .tile { position: relative; left: auto !important; top: auto !important; width: auto !important; height: auto !important; aspect-ratio: 4 / 5; opacity: 1; }
.sheet.is-list .row[data-row="films"] .tile { aspect-ratio: 16 / 9; }
.sheet.is-list .tile__meta, html:not(.js) .tile__meta { opacity: 1; transform: none; }
.sheet.is-list .tile img, .sheet.is-list .tile__slate { opacity: 1 !important; }
.sheet.is-list .tile__meta { opacity: 1 !important; transform: none; }
/* a film slate's title scales with its tile, not with the viewport, so it never runs out of the frame */
.sheet.is-list .tile--film, html:not(.js) .tile--film { container-type: inline-size; }
.sheet.is-list .tile--film .tile__slate b, html:not(.js) .tile--film .tile__slate b { font-size: clamp(18px, 11.5cqi, 26px); }
.sheet.is-list .sheet__stage { -webkit-mask-image: none; mask-image: none; }
.sheet.is-list .row.is-dim { display: none; }
.sheet.is-list .sheet__ui { left: 0; top: 0; bottom: auto; height: calc(var(--nav-h) + 60px); }
.sheet.is-list .chips { top: calc(var(--nav-h) + 6px); left: var(--gut); }
.sheet.is-list .sheet__tools { top: calc(var(--nav-h) + 6px); bottom: auto; left: auto; right: var(--gut); }
.nojs { display: grid; gap: 10px; }
.nojs h3 { font: 600 13px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); margin-top: 16px; }
.nojs a { border-bottom: 1px solid var(--line); }
.nojs small { color: var(--cream-3); margin-left: 8px; }

/* ═════════════════ sections ═════════════════ */
main > section:not(.sheet) { position: relative; padding: clamp(90px, 14vh, 150px) var(--gut); }.sec-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 6vh, 64px); max-width: 980px; }
.sec-head h2 { font-size: clamp(42px, 6.4vw, 96px); text-wrap: balance; }

/* selected projects */
.projects__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); }
/* each card spans six rows of the grid (media, brand, title, role, result, link out), so the lines of a row of cards align */
.proj { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
.proj__link { position: relative; grid-row: span 6; display: grid; grid-template-rows: subgrid; row-gap: 6px; }
.proj__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 10px; overflow: visible; background: var(--ink-2); margin-bottom: 10px; }
.proj__media > img, .proj__media > picture img, .proj__media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.proj__media > video { opacity: 0; transition: opacity .3s; }
.proj__link:hover .proj__media > video { opacity: 1; }
.proj__marks { position: absolute; inset: 0; display: grid; place-content: center; gap: 22px; padding: 12%; border-radius: 10px; background: radial-gradient(110% 110% at 30% 25%, #f7f1e6, #e9dfcc); }
.proj__mark { max-width: 100%; height: auto; justify-self: center; mix-blend-mode: multiply; }
.proj__txt { display: contents; }
.proj__brand { font: 650 12px/1.3 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-3); }
.proj__brand small { font: inherit; color: var(--cream-3); }
.proj__title { font: 400 clamp(26px, 2.3vw, 36px)/1 var(--f-marker); }
.proj__role { font-size: 16px; color: var(--cream-2); }
.proj__result { font-size: 16px; color: var(--cream); }
.proj__out { font: 650 12px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); margin-top: 4px; }
.pencil { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); pointer-events: none; overflow: visible; z-index: 2; }
.pencil path { fill: none; stroke: #b98bff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(139,78,224,.8)); stroke-dasharray: 100 102; stroke-dashoffset: 101; transition: stroke-dashoffset .8s var(--ease); }
.proj__link:hover .pencil path, .proj__link:focus-visible .pencil path { stroke-dashoffset: 0; }
.loupe { position: fixed; left: 0; top: 0; z-index: 90; width: 140px; height: 140px; border-radius: 50%; pointer-events: none; opacity: 0; background-repeat: no-repeat; box-shadow: 0 0 0 2px var(--cream), 0 18px 40px rgba(0,0,0,.6), inset 0 0 20px rgba(0,0,0,.4); transition: opacity .2s; }
.loupe.is-on { opacity: 1; }

/* how I work: a film strip through the gate */
.process { height: 220vh; height: 220svh; padding: 0 !important; }
.process__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 10px) 0 4vh; }
.process .sec-head { padding: 0 var(--gut); margin-bottom: 4vh; }
.strip { display: flex; gap: clamp(16px, 2vw, 28px); padding: 22px var(--gut); width: max-content; will-change: transform;
  background: #050409; border-top: 14px dashed rgba(244,236,221,.12); border-bottom: 14px dashed rgba(244,236,221,.12); }
.frame { --dev: 0; position: relative; width: clamp(260px, 34vw, 520px); aspect-ratio: 4 / 5; max-height: 52vh; border-radius: 6px; overflow: hidden; background: var(--ink-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; filter: brightness(calc(.12 + .88 * var(--dev))) saturate(var(--dev)) contrast(calc(1.3 - .3 * var(--dev))) sepia(calc(.5 - .5 * var(--dev))); transition: filter .2s; }
.frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 30% 30%, rgba(139,78,224,.35), transparent 70%), radial-gradient(50% 60% at 70% 70%, rgba(5,142,216,.25), transparent 70%); opacity: calc(1 - var(--dev)); mix-blend-mode: screen; pointer-events: none; }
.frame__txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 4px; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(10,8,23,.9)); opacity: calc(var(--dev) * 1.2 - .1); }
.frame__n { font: 650 12px/1 var(--f-sans); letter-spacing: .2em; color: var(--cream-2); }
.frame__txt b { font-size: clamp(34px, 3.4vw, 54px); line-height: 1; }
.frame__txt > span:last-child { font-size: 16px; color: var(--cream-2); }

/* clients */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 44vw), 1fr)); grid-auto-flow: row dense; gap: 14px; perspective: 900px; }
.logo__in { height: 132px; display: grid; place-items: center; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(244,236,221,.025); transform-style: preserve-3d; transition: background-color .35s, border-color .35s; }
.logo__img { max-width: 100%; height: auto; transition: filter .35s, opacity .35s; }
.logo--dark .logo__img, .logo--light .logo__img { filter: grayscale(1) brightness(0) invert(.93) sepia(.14); opacity: .9; }
.logo--plate .logo__img { filter: grayscale(1) invert(1) contrast(1.4) brightness(.92) sepia(.14); mix-blend-mode: lighten; opacity: .9; }
/* the tilt isolates the card, so the plate blends with an opaque copy of the card colour (2.5% cream over the ink) */
.logo--plate .logo__in { background: #100e1c; }
/* hover shows the real mark: dark marks on a cream card, light marks and plated logos on the ink */
.logo--dark .logo__in:hover, .logo--dark .logo__in:focus-visible, .logo--type a.logo__in:hover { background: #F4ECDD; border-color: #F4ECDD; }
.logo--light .logo__in:hover, .logo--plate .logo__in:hover, .logo--light .logo__in:focus-visible, .logo--plate .logo__in:focus-visible { background: rgba(244,236,221,.07); border-color: rgba(244,236,221,.5); }
.logo__in:hover .logo__img, .logo__in:focus-visible .logo__img { filter: none; opacity: 1; mix-blend-mode: normal; }
.logo__type { font: 800 clamp(20px, 1.9vw, 26px)/1.05 var(--f-sans); font-stretch: 112%; letter-spacing: -.01em; text-align: center; color: var(--cream); transition: color .35s; }
a.logo__in:hover .logo__type { color: var(--ink); }
/* a wide lockup takes two cells only when the wall has three or more columns (3 x 240 + 2 x 14 = 748 px) */
.clients__wall { container-type: inline-size; }
@container (min-width: 748px) { .logo--wide { grid-column: span 2; } }
/* the end card: the wall keeps going */
.logo--end .logo__in { position: relative; overflow: hidden; border-style: dashed; border-color: rgba(244,236,221,.22); }
.end__more, .end__next { font-size: clamp(28px, 2.6vw, 40px); line-height: 1; transition: opacity .3s, transform .45s var(--ease); }
.end__more { position: relative; padding-bottom: 10px; }
.end__more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--violet), var(--blue), var(--violet)); background-size: 200% 100%; animation: flow 3.2s linear infinite; }
@keyframes flow { to { background-position: 200% 0; } }
.end__more:not(.is-live)::after { animation-play-state: paused; }
.end__next { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(14px); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.logo--end .logo__in:hover, .logo--end .logo__in:focus-visible { background: rgba(244,236,221,.06); border-color: var(--cream); border-style: solid; }
.logo--end .logo__in:hover .end__more, .logo--end .logo__in:focus-visible .end__more { opacity: 0; transform: translateY(-14px); }
.logo--end .logo__in:hover .end__next, .logo--end .logo__in:focus-visible .end__next { opacity: 1; transform: none; }
.leading { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font: 600 16px/1.2 var(--f-sans); }
.leading .eyebrow { margin-right: 6px; }
.leading > i { font-style: normal; color: var(--cream-3); }
.leading__co { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 40px; border: 1px solid var(--line); transition: border-color .15s, background-color .15s; }
.leading__co:not(:has(img)) { padding-left: 14px; }
a.leading__co:hover { border-color: var(--cream); background: rgba(244,236,221,.06); }
.leading__mark { height: 30px; width: auto; border-radius: 6px; }

/* reviews */
.ratings { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.rating { display: inline-flex; align-items: center; gap: 14px; padding: 12px 20px 12px 16px; border-radius: 40px; background: #F4ECDD; color: var(--ink); font: 600 16px/1 var(--f-sans); }
.rating b { font-weight: 800; }
.rating .badge { height: 20px; width: auto; }
.ribbon { overflow: hidden; margin: 0 calc(var(--gut) * -1); padding: 6px var(--gut) 20px; cursor: grab; outline: none; }
.ribbon:focus-visible { box-shadow: inset 0 0 0 2px var(--cream); }
.ribbon__track { display: flex; gap: 22px; width: max-content; }
.review { width: clamp(280px, 30vw, 400px); display: grid; grid-template-rows: auto 1fr auto auto; align-content: stretch; gap: 16px; padding: 26px 26px 22px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line); -webkit-user-select: none; user-select: none; }
.review--featured { width: clamp(300px, 38vw, 520px); background: linear-gradient(160deg, #22164a, var(--ink-2) 60%); border-color: rgba(139,78,224,.45); }
.review--featured .review__q { font-size: clamp(19px, 1.5vw, 23px); }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stars { display: inline-flex; gap: 3px; color: #f6c453; font-size: 16px; }
.stars .ic--off { opacity: .3; }
.review .badge { height: 18px; width: auto; filter: grayscale(1) brightness(0) invert(.93); opacity: .8; }
.review__q { font: 400 clamp(17px, 1.3vw, 20px)/1.5 var(--f-sans); color: var(--cream); }
.review__q::before { content: "\201C"; } .review__q::after { content: "\201D"; }
.review__who { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 15px; color: var(--cream-3); }
.review__who b { color: var(--cream); font-weight: 650; }
.review__src { font: 650 12px/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--cream-2); }
.review__src:hover { color: var(--cream); }

/* toolkit */
.tk { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(16px, 2.4vw, 36px); }
.tk__group h3 { margin-bottom: 16px; }
.tk__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.tool { position: relative; display: grid; justify-items: center; gap: 10px; outline: none; }
.tool__chip { width: 100%; height: 92px; display: grid; place-items: center; padding: 14px; border-radius: 14px; background: rgba(244,236,221,.04); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .2s, box-shadow .35s; }
.tool--dark .tool__chip { background: #F4ECDD; }
.tool__img { max-width: 100%; height: auto; }
.tool__name { font: 600 14px/1.2 var(--f-sans); text-align: center; color: var(--cream-2); opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .35s var(--ease); }
.tool:hover .tool__chip, .tool:focus-visible .tool__chip { transform: translateY(-6px); border-color: rgba(244,236,221,.4); box-shadow: 0 18px 30px -18px rgba(0,0,0,.8), 0 0 20px rgba(139,78,224,.25); }
.tool:hover .tool__name, .tool:focus-visible .tool__name { opacity: 1; transform: none; }
.tool__mono { font: 800 22px/1 var(--f-sans); color: var(--cream-2); }
@media (hover: none) { .tool__name { opacity: 1; transform: none; } }

/* socials */
.socials .sec-head .hint { justify-self: start; margin-top: 6px; }
.phones { position: relative; height: min(78vh, 760px); margin: 0 calc(var(--gut) * -1); touch-action: pan-y; cursor: grab; }
.phones__poster { position: absolute; left: 50%; top: 50%; height: 70%; width: auto; transform: translate(-50%, -50%); border-radius: 28px; opacity: .55; }
.phones.is-3d .phones__poster { display: none; }
.phones3d__gl, .phones3d__css { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.phones3d__screen { pointer-events: auto; background: #000; overflow: hidden; }
.phones3d__screen iframe { width: 100%; height: 100%; border: 0; }
.phones.is-hot { cursor: pointer; }
.phones.is-dragging { cursor: grabbing; }
.phones__out { position: absolute; left: 50%; top: 14px; bottom: auto; width: max-content; transform: translateX(-50%); z-index: 3; }
.phones__x { position: absolute; top: 14px; right: var(--gut); z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: var(--cream); color: var(--ink); display: grid; place-items: center; font-size: 22px; }
/* no WebGL (or reduced motion): the three feeds as plain cards */
.phones.is-flat { height: auto; display: flex; justify-content: center; gap: clamp(10px, 2vw, 24px); padding: 0 var(--gut); cursor: auto; }
.phones__card { flex: 0 1 220px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.phones__card img { width: 100%; height: 100%; object-fit: cover; }
.phones__keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 18px; }
.phones__keys .pill { padding: 12px 18px; font-size: 14px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.contact__img { position: sticky; top: calc(var(--nav-h) + 20px); aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--ink-2); }
.contact__img img { width: 100%; height: 100%; object-fit: cover; }
.contact__burn { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.contact__img.is-burn .contact__burn { opacity: 1; }
.contact__body { display: grid; gap: clamp(30px, 5vh, 50px); padding-top: 2vh; }
.contact__title { font-size: clamp(46px, 6vw, 100px); }
.contact__title span { display: block; width: fit-content; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mailbox { display: grid; gap: 14px; }
.mailbox__addr { font: 750 clamp(22px, 3vw, 44px)/1.1 var(--f-sans); font-stretch: 105%; letter-spacing: -.01em; overflow-wrap: anywhere; border-bottom: 1px solid var(--line); padding-bottom: 12px; transition: border-color .15s; }
.mailbox__addr:hover { border-color: var(--cream); }
.mailbox__do { display: flex; flex-wrap: wrap; gap: 12px; }
.mailbox__ok { display: none; color: var(--tick); font-weight: 800; }
[data-copy-mail].is-copied .mailbox__ok { display: inline; }
.mailbox__status { min-height: 1.4em; color: var(--cream-2); font-size: 15px; }
.brief { display: grid; gap: 20px; }
.brief__ask { width: 100%; min-height: 1.2em; resize: none; overflow: hidden; border: 0; border-bottom: 1px solid rgba(244,236,221,.35); background: transparent; padding: 0 0 14px; font: 400 clamp(32px, 3.8vw, 60px)/1.05 var(--f-marker); color: var(--cream); outline: none; transition: border-color .15s; }
.brief__ask::placeholder { color: rgba(244,236,221,.42); }
.brief__ask:focus { border-color: var(--cream); }
.brief__tr { min-height: 2.4em; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; font: 400 clamp(20px, 2vw, 30px)/1.15 var(--f-marker); color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.brief__tr .lab { font: 600 13px/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; -webkit-text-fill-color: var(--cream-3); }
/* the label shows with its translation, never alone */
.brief__tr:has(.brief__out:empty) .lab { visibility: hidden; }
.brief__more { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.js .brief__more, .js .brief__go { opacity: 0; transform: translateY(24px); pointer-events: none; }
/* until the brief opens, name, email and Send take no room (they stay focusable: focusing one opens the brief) */
.js .brief:not(.is-open) .brief__more, .js .brief:not(.is-open) .brief__go { height: 0; overflow: hidden; }
.js .brief.is-open .brief__more, .js .brief.is-open .brief__go { pointer-events: auto; }
.field { display: grid; gap: 8px; }
.field label { font: 600 13px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }
.field input { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid rgba(244,236,221,.3); background: transparent; font: 400 18px/1.3 var(--f-sans); outline: none; transition: border-color .15s; }
.field input:focus { border-color: var(--cream); }
.field [aria-invalid="true"], .brief__ask[aria-invalid="true"] { border-color: #ff9d8a; }
.err { font: 400 15px/1.3 var(--f-sans); color: #ffb4a8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.brief__go { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.brief__status { font: 400 16px/1.4 var(--f-sans); color: var(--cream-2); min-height: 1.4em; }
.brief__status .ticks { display: inline-block; color: var(--tick); margin-right: 10px; }
.brief__status .seen { font: 400 30px/1 var(--f-marker); color: var(--cream); margin-left: 4px; }

/* footer */
.foot { position: relative; padding: 12vh var(--gut) 40px; overflow: hidden; border-top: 1px solid var(--line); }
.foot__sig { width: min(1100px, 90vw); margin: 0 auto; color: var(--cream); }
.foot__sig svg { width: 100%; height: auto; fill: currentColor; overflow: visible; }
.foot__row { margin-top: 9vh; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot__social { display: flex; gap: 12px; }
.foot__social a { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(244,236,221,.25); transition: border-color .12s; }
.foot__social a:hover { border-color: var(--cream); }
.foot__social svg { width: 19px; height: 19px; fill: currentColor; }
.foot__mail { font: 400 16px/1.4 var(--f-sans); color: var(--cream-2); }
.foot__mail:hover { color: var(--cream); }

/* ─────────── player (every frame that opens) ─────────── */
.player { position: fixed; inset: 0; z-index: 180; }
.player__scrim { position: absolute; inset: 0; background: rgba(6,5,14,.92); opacity: 0; }
.player__box { position: fixed; left: 0; top: 0; overflow: hidden; border-radius: 12px; background: #000; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(244,236,221,.08), 0 0 40px rgba(139,78,224,.18); }
.player__box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__box > img.player__img { object-fit: contain; background: var(--ink); }
.player__box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player__info { position: fixed; z-index: 2; left: calc(46vw + 28vw + 40px); right: var(--gut); top: 50%; transform: translateY(-50%); display: grid; gap: 16px; max-width: 420px; }
.player__title { font-size: clamp(34px, 3.6vw, 60px); text-wrap: balance; }
.player__sub { font-size: 16px; line-height: 1.5; color: var(--cream-2); }
.player__bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.player__nav { position: fixed; z-index: 2; right: var(--gut); bottom: 26px; display: flex; gap: 12px; }
.player__nav button, .player__close { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 400 22px/1 var(--f-sans); }
.player__nav button { border: 1px solid rgba(244,236,221,.3); background: rgba(10,8,23,.6); }
.player__nav button:hover { border-color: var(--cream); }
.player__close { position: fixed; z-index: 2; right: 18px; top: 18px; background: var(--cream); color: var(--ink); }
.player__trap { position: fixed; width: 1px; height: 1px; overflow: hidden; }
/* while the player is open, its close button owns the top right corner (the nav's pill would sit under it) */
html:has(#player:not([hidden])) .nav { visibility: hidden; }

/* ─────────── responsive ─────────── */
@media (max-width: 1100px) {
  .projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 999px) {
  .player__info { left: var(--gut); right: var(--gut); top: auto; bottom: 90px; transform: none; max-width: none; gap: 10px; }
  .player__title { font-size: clamp(28px, 7vw, 44px); }
  .player__sub { font-size: 15px; }
  .contact { grid-template-columns: 1fr; }
  .contact__img { position: relative; top: 0; max-width: 460px; aspect-ratio: 4 / 4.2; }
}
@media (max-width: 760px) {
  :root { --nav-h: 66px; }
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: inline-flex; align-items: center; }
  .chips { max-width: calc(100% - 2 * var(--gut)); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; scroll-padding-inline: 16px;
    /* a row that scrolls fades at the edge it continues past, never cuts a chip mid-word (sheet.js sets is-start / is-end) */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 36px)), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 36px)), transparent); }
  .chips:not(.is-start) { --fl: 28px; }
  .chips.is-end { --fr: 0px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; padding: 10px 14px; }
  .sheet.is-list .chips { max-width: calc(100% - 2 * var(--gut) - 122px); }
  .sheet__tools { bottom: 18px; right: auto; left: var(--gut); }
  .sheet__hint { bottom: 74px; max-width: calc(100% - 2 * var(--gut)); }
  .sheet__stage::after { box-shadow: inset 0 30px 30px -24px var(--ink), inset 0 -96px 56px -44px var(--ink); }
  .minimap { width: 120px; bottom: 18px; }
  .projects__grid { grid-template-columns: 1fr; }
  .brief__more { grid-template-columns: 1fr; }
  .tk { grid-template-columns: 1fr; }
  .tk__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row-label { font-size: 20px; }
  .phones { height: 64vh; }
  .process { height: 260svh; }
  .frame { width: 74vw; max-height: 50vh; }
}
@media (max-width: 560px) {
  /* phones: the two "Watch on" links stay; the YouTube / Instagram source switch goes, so the video can be bigger */
  .player__bar > button { display: none; }
  /* the pills and the gap already separate the names; a slash must never dangle at the end of a line */
  .leading > i { display: none; }
}
@media (max-width: 420px) {
  .sheet__tools .sheet-btn { padding: 9px 12px; font-size: 11px; }
  .sheet__hint { gap: 8px; padding: 8px 12px; letter-spacing: .1em; }   /* one line on the narrowest phones */
  .minimap { width: 96px; }   /* room for both tool buttons beside it at 360 px */
}
/* touch: every target at least 44 px tall (the small links grow their hit area, not their look) */
@media (pointer: coarse) {
  .review__src, .foot__mail, .nav__brand { display: inline-block; padding-block: 12px; margin-block: -12px; }
  .chip, .sheet-btn, .player__bar .btn, .phones__out, .leading__co { min-height: 44px; }
}

/* ─────────── reduced motion ─────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .process { height: auto; }
  .process__pin { position: relative; height: auto; }
  .strip { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; }
  .frame { flex: 0 0 auto; scroll-snap-align: center; }
}
