/* Nirmal Dalvi portfolio · "Reel Wall"
   One family (Bricolage Grotesque, variable width), near-black ground, one accent (lime).
   Radius scale: tiles 22px, small cards 16px, controls full pill. */

:root {
  --bg: #0a0a0a;
  --s1: #141414;
  --s2: #1c1c1b;
  --ink: #f6f6f2;
  --mute: #a9a9a2;
  --dim: #8b8b85;
  --lime: #d4ff3f;
  --lime-ink: #0a0a0a;
  --line: rgba(246, 246, 242, .12);
  --acc: #d4ff3f;            /* accent for text and outlines; in light theme it is ink, and neon shows as a highlighter instead */
  --ink2: #e2e2dc;           /* secondary text */
  --ink3: #c9c9c3;
  --veil: 10, 10, 10;        /* hero veil over the video wall */
  --glass: rgba(14, 14, 14, .9);
  --hover: rgba(246, 246, 242, .08);
  --line-strong: rgba(246, 246, 242, .35);
  --pad: clamp(16px, 2.6vw, 40px);
  --r: 22px;
  --r-s: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 72px;
  --f: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --sh-1: inset 0 1px 0 rgba(255, 255, 255, .05), 0 18px 40px -18px rgba(0, 0, 0, .8);
  --sh-2: inset 0 1px 0 rgba(255, 255, 255, .07), 0 28px 60px -20px rgba(0, 0, 0, .9);
  --sh-s: 0 6px 18px -8px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f6f6f2; --s1: #ebebe4; --s2: #e1e1d9; --ink: #0d0d0c; --ink2: #2b2b28; --ink3: #44443f;
  --mute: #5a5a54; --dim: #6e6e67; --line: rgba(10, 10, 10, .12); --line-strong: rgba(10, 10, 10, .35);
  --acc: #0d0d0c; --veil: 246, 246, 242; --glass: rgba(255, 255, 255, .94); --hover: rgba(10, 10, 10, .06);
  --s1: #ffffff; --s2: #ececE6;
  /* depth: soft layered shadows tinted to the ink */
  --sh-1: 0 1px 2px rgba(13, 13, 12, .06), 0 6px 16px -4px rgba(13, 13, 12, .10), 0 18px 40px -14px rgba(13, 13, 12, .20);
  --sh-2: 0 2px 4px rgba(13, 13, 12, .06), 0 16px 32px -8px rgba(13, 13, 12, .18), 0 36px 72px -24px rgba(13, 13, 12, .32);
  --sh-s: 0 1px 2px rgba(13, 13, 12, .08), 0 4px 12px -4px rgba(13, 13, 12, .14);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); font-family: var(--f); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; font-size: 17px; line-height: 1.55; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video, svg { display: block; max-width: 100%; }
video { width: 100%; height: 100%; object-fit: cover; background: var(--s1); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--lime-ink); }

.d { font-weight: 800; font-stretch: 78%; letter-spacing: -.008em; line-height: .96; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; background: var(--lime); color: var(--lime-ink); font-weight: 700; padding: 12px 16px; border-radius: 99px; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 99px; font-weight: 700; font-size: 15px; transition: background .25s, color .25s, transform .2s, border-color .25s; }
.btn:active { transform: scale(.97); }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { background: #fff; }
.btn-ghost { border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--hover); border-color: var(--ink); }
.btn-ink { background: var(--lime-ink); color: var(--lime); }
.btn-ink:hover { background: #222; }
.btn svg { width: 18px; height: 18px; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: var(--pad); right: var(--pad); z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 8px 8px 22px; border-radius: 99px; background: var(--glass); border: 1px solid var(--line); }
.brand { font-weight: 800; font-size: 18px; letter-spacing: -.005em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a, .motion-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--ink2); transition: background .2s, color .2s; }
.nav-links a:hover, .motion-toggle:hover { background: var(--hover); color: var(--ink); }
.nav-links a[aria-current] { color: var(--acc); }
.nav-links .btn { min-height: 44px; padding: 0 18px; font-size: 14px; color: var(--lime-ink); }
.nav-links .btn:hover { color: var(--lime-ink); }
.motion-toggle svg { width: 14px; height: 14px; }

/* ---------- hero: a moving wall of the work ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: grid; place-items: center; text-align: center; isolation: isolate; }
.wall { position: absolute; left: 50%; top: 50%; z-index: -2; width: max(150vw, 1500px); display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: 14px; transform: translate(-50%, -50%) rotate(-7deg); animation: pan 40s ease-in-out infinite alternate; will-change: transform; }
@keyframes pan { from { transform: translate(-46%, -53%) rotate(-7deg); } to { transform: translate(-54%, -46%) rotate(-7deg); } }
.wall .col { display: flex; flex-direction: column; gap: 14px; }
.wall .col:nth-child(even) { margin-top: -160px; }
.wall .cell { border-radius: var(--r-s); overflow: hidden; background: var(--s1); aspect-ratio: 9 / 16; isolation: isolate; transform: translateZ(0); backface-visibility: hidden; }
.wall .cell.w { aspect-ratio: 16 / 10; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 62% 56% at 50% 52%, rgba(var(--veil), .88), rgba(var(--veil), .58) 62%, rgba(var(--veil), .38)); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24vh; z-index: -1; background: linear-gradient(transparent, var(--bg)); }
.hero-copy { padding: calc(var(--nav-h) + 20px) var(--pad) 40px; max-width: 1240px; }
.tag { display: inline-flex; align-items: center; gap: 10px; background: var(--lime); color: var(--lime-ink); font-weight: 700; font-size: 13px; letter-spacing: .01em; padding: 9px 16px; border-radius: 99px; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime-ink); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero h1 { font-size: clamp(64px, 13vw, 240px); margin: 26px 0 26px; }
.hero-line { font-size: clamp(18px, 1.7vw, 25px); line-height: 1.38; color: var(--ink2); max-width: 34ch; margin: 0 auto; text-wrap: balance; }
.hero-line b { color: var(--acc); font-weight: 600; }
.hero .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(var(--lime), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- ticker ---------- */
.tickwrap { overflow: hidden; padding: 26px 0; margin-top: -8px; position: relative; z-index: 2; }
.ticker { background: var(--lime); color: var(--lime-ink); padding: 16px 0; transform: rotate(-1.2deg); margin: 0 -2vw; }
.ticker-track { display: flex; width: max-content; animation: tick 42s linear infinite; }
.ticker-track span { font-weight: 800; font-stretch: 78%; font-size: clamp(22px, 2.3vw, 36px); letter-spacing: 0; padding-right: 44px; white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.ticker-track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime-ink); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: clamp(96px, 11vw, 168px) var(--pad) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 34px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(52px, 7.4vw, 128px); }
.sec-head h2 em { font-style: normal; color: var(--acc); }
.sec-head p { max-width: 36ch; color: var(--mute); font-size: 17px; line-height: 1.5; }

/* ---------- work: justified rows of campaign tiles ---------- */
.rows { display: flex; flex-direction: column; gap: 14px; }
/* work sorted by kind: jump links, then Films & ads, Websites & apps, Branding & design */
.wk-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.wk-jump a { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 10px 20px; border-radius: 99px; border: 1.5px solid var(--line-strong); font-weight: 700; font-size: 15px; letter-spacing: .01em; transition: background .2s, color .2s, border-color .2s; }
.wk-jump a svg { width: 15px; height: 15px; }
.wk-jump a:hover, .wk-jump a:focus-visible { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.wk { padding-top: clamp(64px, 7vw, 112px); }
.wk-head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 8px 22px; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.wk-n { align-self: start; padding-top: .7em; font-weight: 700; font-size: 14px; letter-spacing: .08em; color: var(--acc); }
.wk-head h3 { font-size: clamp(38px, 4.8vw, 76px); }
.wk-head p { text-wrap: balance; justify-self: end; max-width: 34ch; text-align: right; color: var(--mute); font-size: 16px; line-height: 1.5; }
@media (max-width: 760px) {
  .wk-head { grid-template-columns: auto 1fr; }
  .wk-head p { grid-column: 1 / -1; justify-self: start; text-align: left; }
}

.brow { display: flex; gap: 14px; }
.tile { position: relative; flex: var(--ar) 1 0; aspect-ratio: var(--ar); border-radius: var(--r); overflow: hidden; background: var(--s1); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .25s, transform .5s var(--ease); }
.tile:hover { outline-color: var(--acc); transform: translateY(-4px); }
.tile:focus-visible { outline-color: var(--acc); }
.strip { position: absolute; inset: 0; display: flex; gap: 3px; }
.strip > div { flex: var(--a, 1) 1 0; overflow: hidden; position: relative; transform: translateZ(0); backface-visibility: hidden; }
.strip video { transition: transform 1.1s var(--ease); }
.tile:hover .strip video { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 26%, transparent 52%, rgba(0, 0, 0, .82) 100%); pointer-events: none; }
.tile.lm::after { background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 24%, rgba(0, 0, 0, .18) 38%, rgba(0, 0, 0, .62) 58%, rgba(0, 0, 0, .9) 100%); }
@media (max-width: 760px) { .tile::after { background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 22%, rgba(0, 0, 0, .3) 36%, rgba(0, 0, 0, .7) 56%, rgba(0, 0, 0, .9) 100%); } } /* phone tiles are short and titles wrap higher */
.tile .chip, .tile .count { position: absolute; top: 16px; z-index: 2; font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 11px; border-radius: 99px; }
.tile .chip { left: 16px; background: var(--lime); color: var(--lime-ink); }
.tile .count { right: 16px; background: rgba(10, 10, 10, .78); color: var(--ink); }
.tile .o { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tile h4 { font-size: clamp(22px, 2vw, 34px); font-weight: 750; font-stretch: 85%; letter-spacing: -.005em; line-height: 1.06; }
.tile small { display: block; margin-top: 7px; color: #d4d4ce; font-size: 14px; }
.tile .go { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--lime-ink); display: grid; place-items: center; flex: none; transform: scale(.6); opacity: 0; transition: transform .3s var(--ease), opacity .3s; }
.tile .go svg { width: 18px; height: 18px; }
.tile:hover .go, .tile:focus-visible .go { transform: none; opacity: 1; }
.tile { container-type: inline-size; }
@container (max-width: 330px) {
  .tile .chip { display: none; }
  .tile .count { top: 12px; right: 12px; }
  .tile .o { padding: 14px 14px 16px; }
  .tile h4 { font-size: 21px; }
  .tile small { font-size: 13px; margin-top: 5px; }
  .tile .go { display: none; }
}

/* ---------- about ---------- */
.brief { font-size: clamp(30px, 4.3vw, 72px); font-weight: 700; font-stretch: 86%; letter-spacing: -.012em; line-height: 1.12; max-width: 21ch; }
.brief span { display: block; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4.5vw, 80px); align-items: start; }
.about-grid .brief { padding: 4vh 0 22vh; }
/* the brief arrives line by line beside the pinned portrait (JS adds .brief-seq; motion off shows everything) */
.brief-seq:not(.motion-off) .brief span { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.brief-seq:not(.motion-off) .brief span:not(.on) { opacity: .12; transform: translateY(18px); }
.me { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--s1); position: sticky; top: calc(var(--nav-h) + 20px); height: min(calc(100svh - var(--nav-h) - 40px), 900px); }
.me img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transform-origin: 30% 70%; animation: me-drift 2.4s var(--ease) both; }
/* day (doodles) -> evening -> night, crossfading as "What I do" scrolls past; scrolling back reverses it */
.me .s2, .me .s3 { opacity: 0; transition: opacity 1.4s var(--ease); }
.me[data-stage="1"] .s2, .me[data-stage="2"] .s2, .me[data-stage="2"] .s3 { opacity: 1; }
.me::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
@keyframes me-drift { to { transform: scale(1); } }
.brief span + span { margin-top: .9em; }
.brief mark { background: var(--lime); color: var(--lime-ink); padding: 0 .12em; border-radius: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.brief .soft { color: var(--mute); }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(56px, 6vw, 88px); }
.nums div { background: var(--s1); border-radius: var(--r); padding: 30px 28px 32px; }
.nums b { display: block; font-size: clamp(52px, 5.6vw, 96px); color: var(--acc); }
.nums span { display: block; margin-top: 16px; color: var(--mute); font-size: 16px; line-height: 1.45; max-width: 30ch; }

/* ---------- process + toolkit ---------- */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.why li { background: var(--s1); border-radius: var(--r); padding: clamp(26px, 3vw, 44px); min-height: clamp(240px, 22vw, 330px); display: flex; flex-direction: column; }
.why .n { font-weight: 800; font-stretch: 78%; font-size: 15px; color: var(--acc); letter-spacing: .02em; }
.why h3 { font-size: clamp(32px, 3.2vw, 56px); margin: auto 0 14px; max-width: 14ch; }
.why p { color: var(--ink3); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; max-width: 44ch; }
.why li:last-child { background: var(--lime); color: var(--lime-ink); }
.why li:last-child .n, .why li:last-child p { color: rgba(10, 10, 10, .78); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps li { background: var(--s1); border-radius: var(--r); padding: 26px 24px 30px; min-height: 230px; display: flex; flex-direction: column; }
.steps .n { font-weight: 800; font-stretch: 78%; font-size: 15px; color: var(--acc); letter-spacing: .02em; }
.steps h3 { font-size: clamp(28px, 2.4vw, 40px); margin: auto 0 12px; }
.steps p { color: var(--mute); font-size: 16px; line-height: 1.5; }
.kit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.kit div { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 24px; }
.kit h3 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.kit ul { display: flex; flex-wrap: wrap; gap: 8px; }
.kit li { font-size: 15px; font-weight: 600; padding: 7px 13px; border-radius: 99px; background: var(--s2); }

/* ---------- contact ---------- */
.contact { margin: clamp(110px, 12vw, 180px) var(--pad) 18px; background: var(--lime); color: var(--lime-ink); border-radius: calc(var(--r) * 1.5); padding: clamp(32px, 5vw, 80px); }
.contact .eyebrow { color: rgba(10, 10, 10, .66); }
.contact h2 { font-size: clamp(64px, 13.5vw, 250px); margin: 18px 0 0; }
.contact .row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-top: 44px; }
.contact .mail { font-size: clamp(22px, 2.6vw, 40px); font-weight: 750; letter-spacing: -.005em; border-bottom: 3px solid var(--lime-ink); padding-bottom: 2px; overflow-wrap: anywhere; }
.contact .mail:hover { border-bottom-style: dashed; }
.contact p.small { font-size: 16px; color: rgba(10, 10, 10, .72); margin-top: 10px; }
.contact .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-line { border: 2px solid var(--lime-ink); color: var(--lime-ink); }
.btn-line:hover { background: var(--lime-ink); color: var(--lime); }
.foot-links { display: inline-flex; gap: 22px; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px var(--pad) 30px; color: var(--dim); font-size: 14px; }
.foot a:hover { color: var(--ink); }

/* ---------- campaign page ---------- */
.c-head { padding: calc(var(--nav-h) + clamp(56px, 7vw, 110px)) var(--pad) 0; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--mute); font-size: 15px; font-weight: 500; min-height: 44px; }
.back:hover { color: var(--acc); }
.back svg { width: 16px; height: 16px; }
.c-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 22px; }
.c-chips span { font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; background: var(--s2); }
.c-chips span:first-child { background: var(--lime); color: var(--lime-ink); }
.c-head h1 { font-size: clamp(56px, 10vw, 180px); max-width: 14ch; }
.c-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
.c-sum { font-size: clamp(21px, 1.9vw, 30px); line-height: 1.34; letter-spacing: -.005em; font-weight: 500; }
.c-meta { display: grid; gap: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.c-meta dt { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.c-meta dd { font-size: 17px; color: var(--ink2); }
.c-meta .btn { margin-top: 6px; }
.c-sec { padding: clamp(64px, 7vw, 110px) var(--pad) 0; }
.c-sec h2 { font-size: clamp(34px, 4vw, 64px); margin-bottom: 26px; }
/* project pages: justified rows (order kept, each row edge to edge at one height) */
.jrows { --gap: clamp(12px, 1.4vw, 20px); --rowh: min(560px, 62svh); display: flex; flex-direction: column; gap: clamp(36px, 3.6vw, 56px); }
.jrow { display: flex; gap: var(--gap); align-items: flex-start; max-width: calc(var(--sum) * var(--rowh) + (var(--n) - 1) * var(--gap)); }
.jrow .piece { flex: var(--r) 1 0; min-width: 0; }
.jrow.lead { max-width: calc(var(--sum) * min(760px, 80svh)); }
.jrow.solo .piece { flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, calc(var(--sum) * min(640px, 76svh))) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); align-items: end; }
.jrow.solo { max-width: none; }
.jrow.solo .cap h3 { margin-top: 0; font-size: clamp(24px, 2.2vw, 34px); }
.piece { display: flex; flex-direction: column; }
.play { position: relative; display: block; width: 100%; border-radius: var(--r-s); overflow: hidden; isolation: isolate; transform: translateZ(0); backface-visibility: hidden; background: var(--s1); aspect-ratio: var(--ratio); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .25s; }
.play:hover, .play:focus-visible { outline-color: var(--acc); }
.play .btnp { position: absolute; left: 50%; top: 50%; z-index: 2; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; transform: scale(.86); opacity: .94; transition: transform .3s var(--ease), opacity .3s; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.play .btnp svg { width: 26px; height: 26px; margin-left: 3px; }
.play:hover .btnp, .play:focus-visible .btnp { transform: scale(1); opacity: 1; }
.play .dur { position: absolute; right: 12px; bottom: 12px; z-index: 2; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: rgba(10, 10, 10, .7); }
.ptag { display: inline-flex; width: fit-content; margin-top: 16px; padding: 6px 12px; border-radius: 99px; background: var(--lime); color: var(--lime-ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ptag + h3 { margin-top: 10px !important; }
.piece h3 { font-size: 20px; font-weight: 700; letter-spacing: 0; line-height: 1.2; margin-top: 16px; }
.piece p { color: var(--mute); font-size: 15px; line-height: 1.5; margin-top: 6px; }
.piece .links { display: flex; gap: 16px; margin-top: 10px; font-size: 14px; font-weight: 600; }
.piece .links a { color: var(--acc); display: inline-flex; align-items: center; gap: 4px; }
.piece .links a svg { width: 14px; height: 14px; }
.piece .links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.piece .links span { color: var(--dim); font-weight: 500; }
.next { display: block; margin: clamp(100px, 11vw, 160px) var(--pad) 0; border-top: 1px solid var(--line); padding-top: 28px; }
.next .eyebrow { display: block; margin-bottom: 14px; }
.next b { display: flex; align-items: center; gap: .25em; font-size: clamp(48px, 8vw, 140px); transition: color .25s; }
.next b svg { width: .55em; height: .55em; flex: none; transition: transform .35s var(--ease); }
.next:hover b { color: var(--acc); }
.next:hover b svg { transform: translate(8px, -8px); }

/* ---------- player ---------- */
.player { width: min(96vw, 1200px); max-width: none; max-height: 96vh; padding: 0; border: 0; border-radius: var(--r); background: #000; color: var(--ink); overflow: hidden; }
.player::backdrop { background: rgba(5, 5, 5, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.player[data-v="1"] { width: fit-content; }
.player[data-v="1"] .bar { max-width: min(96vw, calc((96vh - 92px) * 9 / 16)); min-width: 100%; }
.player .stage { position: relative; background: #000; display: grid; place-items: center; }
.player video { width: 100%; height: auto; max-height: calc(96vh - 92px); object-fit: contain; background: #000; }
.player[data-v="1"] video { width: auto; height: calc(96vh - 92px); max-width: 96vw; aspect-ratio: 9 / 16; }
.player .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 22px; background: var(--s1); min-height: 76px; }
.player .bar b { font-size: 17px; letter-spacing: 0; display: block; }
.player .bar small { color: var(--mute); font-size: 14px; }
.play .dur .mute { font-style: normal; opacity: .8; margin-right: 8px; padding-right: 8px; border-right: 1px solid rgba(246, 246, 242, .35); }
.player .ctrl { display: flex; gap: 6px; flex: none; }
.player .ctrl a, .player .ctrl button { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--s2); transition: background .2s, color .2s; }
.player .ctrl a:hover, .player .ctrl button:hover { background: var(--lime); color: var(--lime-ink); }
.player .ctrl svg { width: 18px; height: 18px; }
.player .ctrl [hidden] { display: none; }

/* ---------- reveal (JS only; never hides content without JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }
}

/* ---------- motion off (reduced motion or the toggle) ---------- */
.motion-off .me img { transition: none !important; }
.motion-off .wall, .motion-off .me img, .motion-off .ticker-track, .motion-off .tag::before, .motion-off .scroll-cue i { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .wall, .me img, .ticker-track, .tag::before, .scroll-cue i { animation: none !important; }
  .tile, .tile .go, .strip video, .play .btnp, .next b svg { transition: none !important; }
  .fab-motion { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .steps, .kit { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --nav-h: 66px; }
  .nav { padding-left: 18px; }
  .nav-links .hide-m { display: none; }
  .wall { width: 230vw; grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .wall .col { gap: 10px; }
  .wall .col:nth-child(6) { display: none; }
  .wall .col:nth-child(even) { margin-top: -90px; }
  .brow { flex-direction: column; }
  .tile { flex: none; aspect-ratio: var(--arm, var(--ar)); }
  .strip > .dm { display: none; }
  .nums, .c-grid, .about-grid, .why { grid-template-columns: 1fr; }
  .jrow { flex-wrap: wrap; max-width: none; row-gap: clamp(28px, 4vw, 40px); }
  .jrow .piece { flex: 1 1 100%; }
  .jrow .piece.v { flex: 1 1 calc(50% - var(--gap)); max-width: calc(50% - var(--gap) / 2); }
}
@media (max-width: 600px) {
  .jrow .piece.v { flex: 1 1 100%; max-width: 100%; }
  .jrow.solo .play { max-width: 100%; }
  .jrow.solo .piece { grid-template-columns: 1fr; }
  .jrow.solo .play { max-width: min(100%, 420px); }
  .me { position: relative; top: auto; height: auto; max-width: 520px; aspect-ratio: 4 / 5; }
  .about-grid .brief { padding: 0 0 6vh; }
  .me img { object-position: 20% 80%; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .steps, .kit { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  .steps h3 { margin-top: 26px; }
  .hero .btns .btn { flex: 1 1 100%; justify-content: center; }
  .tile .o { padding: 16px; }
}

/* ---------- floating controls (bottom right): back to top + pause motion ---------- */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fab-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); color: var(--ink); border: 1px solid var(--line); cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .3s, transform .3s, visibility .3s; }
.fab-btn:hover { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.fab-btn svg { width: 18px; height: 18px; }
.fab i { display: contents; }
.fab-top svg { transform: rotate(180deg); }
.fab-top { opacity: 0; visibility: hidden; transform: translateY(8px); }
.fab.scrolled .fab-top { opacity: 1; visibility: visible; transform: none; }
.fab-motion .i-play { display: none; }
.motion-off .fab-motion .i-pause { display: none; }
.motion-off .fab-motion .i-play { display: contents; }
.why li:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 0; }


/* ---------- text that sits on video keeps light ink in both themes ---------- */
.tile .o, .tile h4, .tile .count, .play .dur, .wall { color: #f6f6f2; }
.tile small { color: #d4d4ce; }
/* ---------- theme switch ---------- */
.fab-theme .i-sun { display: none; }
:root[data-theme="light"] .fab-theme .i-moon { display: none; }
:root[data-theme="light"] .fab-theme .i-sun { display: contents; }

.nav-icon { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--ink2); transition: background .2s, color .2s; }
.nav-icon:hover { background: var(--hover); color: var(--ink); }
.nav-icon svg { width: 18px; height: 18px; }
.nav-icon i { display: contents; }
@media (max-width: 560px) {
  .fab { gap: 8px; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .fab-btn { width: 42px; height: 42px; }
  .fab-btn svg { width: 16px; height: 16px; }
}

/* ---------- depth: shadows on cards, tiles and controls (both themes; strongest in light) ---------- */
.tile, .play, .nums div, .why li, .steps li, .me, .contact { box-shadow: var(--sh-1); }
.tile { transition: outline-color .25s, transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover { box-shadow: var(--sh-2); }
.nav, .fab-btn, .btn-lime, .btn-ink, .wk-jump a, .c-chips span, .tile .chip, .tile .count { box-shadow: var(--sh-s); }
.player { box-shadow: var(--sh-2); }

/* ---------- light theme: the accent is neon green, used as a highlighter so text stays readable ---------- */
:root[data-theme="light"] :is(.sec-head h2 em, .nums b) {
  color: var(--ink); background: linear-gradient(transparent 56%, var(--lime) 56%, var(--lime) 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .06em;
}
:root[data-theme="light"] .nums b { width: fit-content; }
:root[data-theme="light"] .hero-line b { color: var(--lime-ink); background: var(--lime); padding: 0 .16em; border-radius: .18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
:root[data-theme="light"] :is(.wk-n, .why .n, .steps .n) { color: var(--lime-ink); background: var(--lime); padding: 4px 9px; border-radius: 99px; width: fit-content; line-height: 1.2; }
:root[data-theme="light"] .why li:last-child .n { background: var(--lime-ink); color: var(--lime); }
:root[data-theme="light"] .nav-links a[aria-current] { color: var(--lime-ink); background: var(--lime); border-radius: 99px; }
:root[data-theme="light"] .piece .links a { color: var(--ink); background: linear-gradient(transparent 58%, var(--lime) 58%); }
:root[data-theme="light"] :is(.back:hover, .next:hover b) { color: var(--ink); background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); }
:root[data-theme="light"] :is(.tile:hover, .play:hover) { outline-color: var(--lime); }
:root[data-theme="light"] .wk-jump a { background: #fff; border-color: var(--line); }
:root[data-theme="light"] .btn-ghost { background: #fff; box-shadow: var(--sh-s); }

/* text for screen readers only */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* privacy & terms */
.legal { padding: clamp(40px, 6vw, 80px) var(--pad) clamp(64px, 8vw, 120px); }
.legal h2 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: var(--ink); margin: 52px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p { max-width: 62ch; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.6; color: var(--mute); margin: 0 0 16px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- hero: the showreel, uncut, on a loop (16:9 on wide screens, 9:16 on phones) ---------- */
.hero-reel { display: block; height: auto; min-height: 0; width: 100%; aspect-ratio: 16 / 9; max-height: 100svh; background: #000; }
.hero-reel::before, .hero-reel::after { display: none; }
.reel, .reel-v { position: absolute; inset: 0; }
.reel-v { width: 100%; height: 100%; object-fit: cover; background: #000; }
.reel-t { display: none; }
@media (max-aspect-ratio: 2/3) { .hero-reel { aspect-ratio: 9 / 16; } .reel-w { display: none; } .reel-t { display: block; } }
.sound { position: absolute; left: var(--pad); bottom: clamp(16px, 2.4vw, 28px); z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 0; border-radius: 99px; background: var(--lime); color: var(--lime-ink); font: 700 15px/1 var(--f); letter-spacing: .01em; cursor: pointer; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .7); }
.sound i { display: inline-flex; align-items: flex-end; gap: 2px; width: 14px; height: 12px; }
.sound i::before, .sound i::after { content: ""; flex: 1; height: 40%; background: currentColor; border-radius: 1px; }
.sound.on i::before { animation: eq .9s ease-in-out infinite alternate; }
.sound.on i::after { animation: eq .9s ease-in-out -.45s infinite alternate; }
@keyframes eq { from { height: 30%; } to { height: 100%; } }
.sound:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.motion-off .sound.on i::before, .motion-off .sound.on i::after { animation: none; height: 80%; }
