/* V4 — footage sits on black, words sit on white, one signal colour. Type sets and the accent can be tried live. */
:root {
  --acc: #ff4a1c; --on-acc: #0a0a0a;
  --pad: clamp(18px, 4vw, 64px);
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --e: cubic-bezier(.7, 0, .15, 1);
}
/* two materials: .k = black (footage, tools), .w = white (words) */
:root, .k { --bg: #000; --ink: #fff; --mut: #8e8e8e; --card: #0e0e0e; }
.w { --bg: #fff; --ink: #0a0a0a; --mut: #666; --card: #f2f2f2; }
:root, .k, .w { --line: color-mix(in srgb, var(--ink) 15%, transparent); }
main > .k, main > .w, .viewport.k { position: relative; background: var(--bg); color: var(--ink); }

/* type sets: --disp for headlines, --read for long display text. --dk / --rk scale the size, --dl the line height */
:root, [data-font="grotesk"] { --disp: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif; --dw: 600; --dt: -.045em; --dc: none; --dk: .84; --dl: 1.1; --dst: 100%; --ems: normal;
  --read: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif; --rw: 500; --rt: -.035em; --rk: .86; --rst: 100%; }
[data-font="poster"] { --disp: 'Anton', Impact, sans-serif; --dw: 400; --dt: 0em; --dc: uppercase; --dk: .94; --dl: 1.18; }
[data-font="wide"] { --disp: 'Archivo', 'Helvetica Neue', Arial, sans-serif; --dw: 800; --dt: -.045em; --dk: .64; --dl: 1.14; --dst: 125%;
  --read: 'Archivo', 'Helvetica Neue', Arial, sans-serif; --rk: .82; }
[data-font="luxe"] { --disp: 'Playfair Display', Georgia, serif; --dw: 400; --dt: -.03em; --dk: .82; --dl: 1.12; --ems: italic;
  --read: 'Playfair Display', Georgia, serif; --rw: 400; --rt: -.02em; --rk: .88; }
[data-font="editorial"] { --disp: 'Instrument Serif', 'Times New Roman', serif; --dw: 400; --dt: -.022em; --dk: 1; --dl: 1; --ems: italic;
  --read: 'Instrument Serif', 'Times New Roman', serif; --rw: 400; --rt: -.015em; --rk: 1; }
:root { --pl-bg: var(--bg); --pl-ink: var(--ink); --pl-mut: var(--mut); --pl-r: 14px; --pl-font: var(--dw) clamp(1.5rem, 2.4vw, 2.2rem)/1.05 var(--disp); }
.name, .stage h1, .now span, .re-title, .re-card h3, .send-title, .claim, .tool-head h3, .lead b, .col-n, .cols h3, .contact h2, .themes b { font-family: var(--disp); font-weight: var(--dw); letter-spacing: var(--dt); text-transform: var(--dc); font-stretch: var(--dst); }
.big, blockquote, .cut-line { font-family: var(--read); font-weight: var(--rw); letter-spacing: var(--rt); font-stretch: var(--rst); }

*, *::before, *::after { box-sizing: border-box; }
html { background: #000; color: #fff; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
img, video { display: block; }
em { font-style: var(--ems); }
[hidden] { display: none !important; }
::selection { background: var(--acc); color: var(--on-acc); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; border-radius: 6px; }

.label, .mono, .hint { font: 500 .68rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.label { display: flex; align-items: center; gap: .8em; }
.label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.ul { border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color .25s; }
.ul:hover { color: var(--acc); }
.cta { display: inline-flex; align-items: center; padding: 1em 1.6em; border-radius: 999px; background: var(--acc); color: var(--on-acc); font-weight: 600; white-space: nowrap; transition: transform .5s var(--ease); }
.cta:hover { transform: scale(1.06) rotate(-2deg); }
.cta.sm { padding: .65em 1.15em; font-size: .88rem; }
.js .rv { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
main > .fine { padding: 22px max(var(--pad), calc(100% - 52rem)) clamp(50px, 6vw, 90px) var(--pad); font-size: .78rem; color: var(--mut); }

/* ---------- nav + style picker: takes the tone of the section under it ---------- */
.nav { position: fixed; z-index: 30; top: 0; left: 0; right: 0; padding: 14px var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--ink); transition: color .3s; }
.nav::before { content: ''; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: background .3s; }
.name { font-size: calc(1.5rem * var(--dk)); line-height: 1; }
.nav nav { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; }
.nav nav a { padding: .45em 1em; border-radius: 999px; font-size: .88rem; transition: background .25s, color .25s; }
.nav nav a:hover { background: var(--ink); color: var(--bg); }
.nav-r { justify-self: end; display: flex; align-items: center; gap: 10px; }
.themer { position: relative; }
.themer summary { list-style: none; cursor: pointer; padding: .6em 1.05em; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; display: flex; align-items: center; gap: .6em; }
.themer summary::-webkit-details-marker { display: none; }
.themer summary::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--acc); }
.themer-in { position: absolute; right: 0; top: calc(100% + 10px); width: 250px; padding: 16px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; display: grid; gap: 10px; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .6); }
.mini { font: 500 .6rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.themes { display: grid; gap: 4px; }
.themes button { display: flex; align-items: center; gap: .8em; padding: .45em .6em; border-radius: 10px; font-size: .9rem; }
.themes button:hover, .themes button[aria-pressed="true"] { background: var(--line); }
.themes b { width: 2.2em; font-size: 1.25rem; line-height: 1; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button { width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(128, 128, 128, .5); }
.swatches button[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
.pick { display: flex; align-items: center; justify-content: space-between; font-size: .85rem; color: var(--mut); }
.pick input { width: 40px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; }

/* ---------- page timeline ---------- */

/* ---------- the reel: a ring of films in real 3D, on black ---------- */
.stage { height: auto; }
.pin { --w: clamp(140px, 12.6vw, 196px); position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); isolation: isolate; }
.scene { position: absolute; inset: 0; display: grid; place-items: center; padding-top: 12vh; perspective: 1500px; perspective-origin: 50% 46%; cursor: grab; touch-action: pan-y; user-select: none; }
.scene.drag { cursor: grabbing; }
.ring { --r: 900px; width: var(--w); aspect-ratio: 9 / 16; position: relative; transform-style: preserve-3d; will-change: transform;
  transform: rotateX(-12deg) translateZ(calc(var(--r) * -1)); }   /* tilted about the front card, so a big radius does not lift it */
.card { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; background: var(--card); backface-visibility: hidden; --k: 0; transform: rotateY(var(--a)) translateZ(var(--r)); transition: box-shadow .4s; }
/* a 16:9 card: two-thirds the height of a vertical card, centred on the same point */
.card.wide { inset: auto; left: 50%; top: 50%; width: calc(var(--w) * 2.086); aspect-ratio: 16 / 9; margin: calc(var(--w) * -.5867) 0 0 calc(var(--w) * -1.043); }
.card img, .card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.card::after { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--bg); opacity: calc(.8 - .8 * var(--k)); pointer-events: none; }
.card.front { box-shadow: 0 0 0 2px var(--acc), 0 30px 90px -20px color-mix(in srgb, var(--acc) 55%, transparent); }
.card-n { position: absolute; z-index: 2; left: 10px; top: 10px; font: 500 .6rem var(--mono); letter-spacing: .1em; padding: .35em .6em; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; backdrop-filter: blur(8px); }
.stage h1 { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(50% - 6vh + var(--w) * .36); text-align: center; font-size: calc(clamp(3.4rem, 11.4vw, 12rem) * var(--dk)); line-height: calc(.84 * var(--dl)); color: #fff; mix-blend-mode: difference; pointer-events: none; }
.stage h1 em { display: block; }
/* the wide face squeezes while the ring is moving fast, and relaxes when it settles */
[data-font="wide"] .stage h1 { font-stretch: calc(125% - 55% * var(--kin, 0)); }
.hud { position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: 4vh; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; pointer-events: none; }
.now { text-align: center; display: grid; gap: .25rem; justify-items: center; }
.now b { font: 500 .68rem var(--mono); letter-spacing: .14em; color: var(--acc); }
.now span { font-size: calc(clamp(1.5rem, 2.6vw, 2.3rem) * var(--dk)); line-height: 1.05; }
.now small { font-size: .78rem; color: var(--mut); }
.hud .hint { justify-self: end; }

/* ---------- 2. real estate long-form: three finals on the white page ---------- */
.re-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); align-items: end; gap: 22px 48px; }
.re-head .label { grid-column: 1 / -1; }
.re-title { font-size: calc(clamp(2.6rem, 6.4vw, 6.4rem) * var(--dk)); line-height: calc(.93 * var(--dl)); }
.re-title em { display: block; color: var(--acc-t); }
.re-lede { color: var(--mut); font-size: .95rem; line-height: 1.5; }
.re-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: clamp(36px, 5vw, 64px); }
.re-media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #0a0a0a; }
.re-media img, .re-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.re-play { position: absolute; left: 12px; bottom: 12px; padding: .75em 1.05em; border-radius: 999px; background: #0a0a0a; color: var(--acc); font: 500 .6rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; transition: transform .5s var(--ease); }
.re-media:hover .re-play, .re-media:focus-visible .re-play { transform: scale(1.06) rotate(-2deg); }
.re-meta { margin-top: 16px; font-variant-numeric: tabular-nums; }
.re-card h3 { margin-top: 6px; font-size: calc(clamp(1.3rem, 1.9vw, 1.8rem) * var(--dk)); line-height: 1.08; }
.re-line { margin-top: 6px; font-size: .88rem; line-height: 1.45; color: var(--mut); }


/* ---------- send a job ---------- */
.send-title { font-size: calc(clamp(2.4rem, 6vw, 6rem) * var(--dk)); line-height: calc(.95 * var(--dl)); margin-top: 26px; }
.send-title em { display: block; color: var(--acc-t); }
.send-lede { max-width: 40rem; margin-top: 22px; color: var(--mut); line-height: 1.5; }
.send-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; max-width: 60rem; margin-top: clamp(32px, 4vw, 52px); }
.send-form label { display: grid; gap: 8px; }
.send-form .wide { grid-column: 1 / -1; }
.send-form i { font-style: normal; opacity: .7; text-transform: none; letter-spacing: 0; }
.send-form input, .send-form textarea { width: 100%; padding: .9em 1em; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: 1rem; resize: vertical; transition: border-color .25s; }
.send-form input:focus, .send-form textarea:focus { outline: none; border-color: var(--ink); }
.send-form :user-invalid { border-color: #d33; }
.send-go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.send-note { max-width: 34rem; font-size: .82rem; line-height: 1.45; color: var(--mut); }
.send-status { font-size: .88rem; }
.send-status:empty { display: none; }

/* ---------- sections ---------- */
.s { padding: clamp(80px, 11vw, 160px) var(--pad); }
.s.w + .s.w { padding-top: 0; }
.claim { font-size: calc(clamp(2.7rem, 8.4vw, 8.8rem) * var(--dk)); line-height: calc(.93 * var(--dl)); margin-top: 26px; }
.claim em { display: block; color: var(--acc); }
.row-n, .row-go { font: 500 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mut); white-space: nowrap; }
.row-n { color: var(--acc); }
a.row-go:hover { color: var(--acc); }
.note { font-size: .78rem; color: var(--mut); }

/* ---------- tools: three columns held on screen; the scroll cuts the Lumear take ---------- */
.toolstage { height: 230vh; margin-top: clamp(40px, 5vw, 70px); }
.toolpin { position: sticky; top: 78px; height: calc(100svh - 78px - 58px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto minmax(0, 1fr); gap: 18px; }
.tool { display: grid; grid-row: span 2; grid-template-rows: subgrid; min-height: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.tool-head { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: baseline; }
.tool-head .row-go { grid-area: 1 / 2; }
.tool-head h3 { grid-column: 1 / -1; font-size: calc(clamp(2.2rem, 4vw, 4rem) * var(--dk)); line-height: calc(.95 * var(--dl)); }
.tool-head p { grid-column: 1 / -1; color: var(--mut); font-size: .92rem; }
.tool-vis { position: relative; min-height: 0; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.cutcard { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 20px; }
.cut-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cut-bar .mono { color: var(--ink); font-variant-numeric: tabular-nums; }
.cut-steps { display: flex; gap: 5px; }
.cut-steps i { width: 22px; height: 3px; border-radius: 2px; background: var(--line); transition: background .3s; }
[data-step="1"] .cut-steps i:nth-child(-n+1), [data-step="2"] .cut-steps i:nth-child(-n+2), [data-step="3"] .cut-steps i { background: var(--acc); }
.cut-line { align-self: center; font-size: calc(clamp(1.3rem, 2.15vw, 2.15rem) * var(--rk)); line-height: 1.8; will-change: transform; }
.t { display: inline-block; position: relative; will-change: transform; }
.flag { transition: color .35s; }
.flag::before { content: attr(data-tag); position: absolute; left: 0; bottom: 80%; font: 500 .56rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--acc); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.flag::after { content: ''; position: absolute; left: 0; right: 0; bottom: .26em; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--e); }
.flag.mark { color: var(--acc); }
.flag.mark::before { opacity: 1; transform: none; }
.flag.mark::after { transform: scaleX(1); }
.measure .flag { display: none; }
.join::before { content: ''; position: absolute; left: -.15em; top: .4em; bottom: .32em; width: 2px; background: var(--acc); opacity: 0; transition: opacity .35s; }
.cutdone .join::before { opacity: 1; }

/* motion sketches */
.mg-tag { position: absolute; right: 16px; bottom: 12px; font: 500 .56rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.mg:not(.run) * { animation-play-state: paused !important; }
.mg.reset *, .mg.reset *::before, .mg.reset *::after { animation: none !important; }
.mg-lum { display: grid; grid-template-rows: auto 1fr; gap: 18px; padding: 20px; }
.lum-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.lum-prompt { padding: .75em 1.1em; border: 1px solid var(--line); border-radius: 12px; font: 400 .8rem var(--mono); background: var(--bg); }
.lum-prompt::before { content: '› '; color: var(--acc); }
.lum-prompt span { display: inline-block; width: 20ch; overflow: hidden; white-space: nowrap; vertical-align: bottom; border-right: 2px solid var(--acc); animation: lumType 10s steps(20) infinite; }
.lum-steps { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; }
.lum-steps li { padding: .5em .95em; border: 1px solid var(--acc); border-radius: 999px; font: 500 .62rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); animation: 10s linear infinite; }
.lum-steps li::before { content: '✓ '; color: var(--acc); }
.lum-steps li:nth-child(1) { animation-name: lumS1; } .lum-steps li:nth-child(2) { animation-name: lumS2; } .lum-steps li:nth-child(3) { animation-name: lumS3; } .lum-steps li:nth-child(4) { animation-name: lumS4; }
.lum-tl { position: relative; align-self: center; display: grid; gap: 8px; }
.trk { display: grid; grid-template-columns: 2.2rem 1fr; align-items: center; gap: 8px; }
.trk b { font: 500 .6rem var(--mono); letter-spacing: .1em; color: var(--mut); }
.lane { position: relative; display: flex; gap: 3px; height: clamp(22px, 2.6vw, 34px); border-radius: 6px; background: color-mix(in srgb, var(--ink) 7%, transparent); overflow: hidden; }
.aroll i { border-radius: 5px; background: color-mix(in srgb, var(--ink) 34%, transparent); }
.aroll u { flex: none; width: 0; background: repeating-linear-gradient(135deg, var(--line) 0 3px, transparent 3px 6px); animation: lumGap 10s var(--e) infinite; }
.br { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: var(--acc); transform-origin: left; animation: 10s var(--ease) infinite; }
.br:nth-child(1) { animation-name: lumB1; } .br:nth-child(2) { animation-name: lumB2; } .br:nth-child(3) { animation-name: lumB3; }
.caps, .music { position: absolute; inset: 0; animation: 10s linear infinite; }
.caps { inset: 22% 0; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--ink) 60%, transparent) 0 3.4%, transparent 3.4% 4.6%); animation-name: lumCaps; }
.music { background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--acc) 70%, transparent) 0 2px, transparent 2px 5px); -webkit-mask: radial-gradient(60% 120% at 30% 50%, #000 40%, transparent), radial-gradient(40% 120% at 78% 50%, #000 40%, transparent); mask: radial-gradient(60% 120% at 30% 50%, #000 40%, transparent), radial-gradient(40% 120% at 78% 50%, #000 40%, transparent); animation-name: lumMusic; }
.lum-ph { position: absolute; top: -6px; bottom: -6px; left: 100%; width: 2px; background: var(--ink); opacity: 0; animation: lumPh 10s linear infinite; }
@keyframes lumType { 0% { width: 0; } 12%, 100% { width: 20ch; } }
@keyframes lumGap { 0%, 16% { width: 5%; } 28%, 100% { width: 0; } }
@keyframes lumS1 { 0%, 26% { opacity: .25; border-color: var(--line); } 29%, 100% { opacity: 1; border-color: var(--acc); } }
@keyframes lumS2 { 0%, 44% { opacity: .25; border-color: var(--line); } 47%, 100% { opacity: 1; border-color: var(--acc); } }
@keyframes lumS3 { 0%, 60% { opacity: .25; border-color: var(--line); } 63%, 100% { opacity: 1; border-color: var(--acc); } }
@keyframes lumS4 { 0%, 74% { opacity: .25; border-color: var(--line); } 77%, 100% { opacity: 1; border-color: var(--acc); } }
@keyframes lumB1 { 0%, 32% { transform: scaleX(0); } 37%, 100% { transform: scaleX(1); } }
@keyframes lumB2 { 0%, 36% { transform: scaleX(0); } 41%, 100% { transform: scaleX(1); } }
@keyframes lumB3 { 0%, 40% { transform: scaleX(0); } 45%, 100% { transform: scaleX(1); } }
@keyframes lumCaps { 0%, 49% { clip-path: inset(0 100% 0 0); } 61%, 100% { clip-path: inset(0); } }
@keyframes lumMusic { 0%, 64% { clip-path: inset(0 100% 0 0); } 75%, 100% { clip-path: inset(0); } }
@keyframes lumPh { 0%, 78% { left: calc(2.2rem + 8px); opacity: 0; } 79% { opacity: 1; } 96% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }

.mg-chief svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mg-chief path { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mg-chief .pulse path { stroke: var(--acc); stroke-width: .5; vector-effect: none; stroke-dasharray: 10 100; stroke-dashoffset: 10; animation: chiefPulse 8s linear infinite; animation-delay: var(--d, 0s); }
.mg-chief path:nth-child(2), .wk:nth-of-type(3) { --d: .35s; }
.mg-chief path:nth-child(3), .wk:nth-of-type(4) { --d: .7s; }
.mg-chief path:nth-child(4), .wk:nth-of-type(5) { --d: 1.05s; }
.lead, .wk { position: absolute; transform: translateY(-50%); background: var(--bg); border-radius: 14px; }
.lead { left: 5%; top: 50%; width: 37%; padding: .85em .9em; border: 1px solid var(--acc); display: grid; gap: .35em; }
.lead b { font-size: calc(1.5rem * var(--dk)); line-height: 1; }
.lead small, .wk b { font: 500 .56rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.wk { left: 55%; right: 5%; padding: .65em 2em .65em .8em; border: 1px solid var(--line); display: grid; gap: .5em; }
.wk b { color: var(--ink); }
.wk.alt { border-style: dashed; }
.wk i { height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.wk i::after { content: ''; display: block; height: 100%; background: var(--acc); transform-origin: left; animation: chiefWork 8s linear infinite; animation-delay: var(--d, 0s); }
.wk::after { content: '✓'; position: absolute; right: .8em; top: 50%; transform: translateY(-50%); color: var(--acc); font-weight: 600; animation: chiefDone 8s linear infinite; animation-delay: var(--d, 0s); }
@keyframes chiefPulse { 0%, 4% { stroke-dashoffset: 10; } 22%, 58% { stroke-dashoffset: -100; } 76%, 100% { stroke-dashoffset: 10; } }
@keyframes chiefWork { 0%, 22% { transform: scaleX(0); } 56%, 100% { transform: scaleX(1); } }
@keyframes chiefDone { 0%, 55% { opacity: 0; } 58%, 100% { opacity: 1; } }

/* ---------- words, on white ---------- */
.about-in { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(30px, 6vw, 110px); margin-top: 34px; align-items: end; }
.big { font-size: calc(clamp(2rem, 4.7vw, 4.7rem) * var(--rk)); line-height: calc(1.06 * var(--dl)); }
.aw { opacity: .16; transition: opacity .5s; }
.aw.on { opacity: 1; }
.about-side p { color: var(--mut); }
/* portrait: scroll drags a playhead across it, raw (grey) on the right, graded (colour) on the left */
.about-photo { --p: 100%; position: relative; width: 100%; max-width: 320px; margin: 0 0 26px; overflow: hidden; }
.about-photo img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.05); }
.about-photo .graded { position: absolute; inset: 0; filter: none; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.about-ph { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: var(--acc); }
.about-photo figcaption { position: absolute; left: 10px; right: 10px; bottom: 9px; display: flex; justify-content: space-between; font: 500 .56rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; mix-blend-mode: difference; }
.facts { margin: 28px 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.facts dd { color: var(--mut); }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.cols article { padding: clamp(1.4rem, 2.4vw, 2.2rem); background: var(--card); border-radius: 26px; }
.col-n { display: block; font-size: calc(clamp(3.4rem, 7vw, 7rem) * var(--dk)); line-height: 1; font-style: var(--ems); color: var(--acc); }
.cols h3 { font-size: calc(clamp(1.5rem, 2.3vw, 2.1rem) * var(--dk)); line-height: 1.1; margin: 1.1rem 0 .7rem; }
.cols p { color: var(--mut); font-size: .95rem; }

.proof-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.take-nav { display: flex; align-items: center; gap: 10px; }
.take-nav b { font-weight: 500; color: var(--ink); }
.take-nav button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; text-align: center; transition: background .3s, color .3s; }
.take-nav button:hover { background: var(--acc); color: var(--on-acc); }
.takes { margin: 34px 0 40px; display: grid; }
.takes figure { grid-area: 1 / 1; }
.js .takes figure { opacity: 0; transform: translateY(18px); visibility: hidden; transition: opacity .6s, transform .8s var(--e), visibility 0s .6s; }
.js .takes figure.on { opacity: 1; transform: none; visibility: visible; transition-delay: .15s, .15s, 0s; }
html:not(.js) .takes figure { grid-area: auto; margin-bottom: 40px; }
blockquote { font-size: calc(clamp(1.9rem, 4.6vw, 4.6rem) * var(--rk)); line-height: calc(1.06 * var(--dl)); max-width: 24ch; text-indent: -.42em; }
blockquote::before { content: '“'; color: var(--acc); }
blockquote::after { content: '”'; color: var(--acc); }
.takes figcaption { margin-top: 26px; font-size: .9rem; color: var(--mut); }
.takes figcaption b { display: block; font-weight: 500; color: var(--ink); }

.contact { padding-bottom: 70px; }
.contact h2 { font-size: calc(clamp(3.6rem, 15.5vw, 17rem) * var(--dk)); line-height: calc(.86 * var(--dl)); margin: 26px 0 clamp(34px, 5vw, 70px); }
.contact h2 em { display: block; color: var(--acc); }
.contact-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.contact-row p { max-width: 24rem; font-size: 1.1rem; }
.contact-cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.contact .cta { font-size: 1.05rem; }
footer { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: clamp(60px, 9vw, 130px); padding-top: 20px; border-top: 1px solid var(--line); font: 400 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
footer nav { display: flex; gap: 22px; }

/* the pointer: a dot that grows into a label */
.cur { position: fixed; z-index: 100; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--acc); color: var(--on-acc); pointer-events: none; display: grid; place-items: center; font: 600 .62rem var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), opacity .3s; will-change: transform; }
.cur.on { opacity: 1; }
.cur.big { width: 86px; height: 86px; margin: -43px 0 0 -43px; }

/* below this width the three tools stack and the take is cut as it crosses the screen */
@media (max-width: 1079px) {
  .toolstage { height: auto; }
  .toolpin { position: static; height: auto; grid-template-columns: 1fr; grid-template-rows: none; gap: 54px; }
  .tool { grid-row: auto; grid-template-rows: auto auto; gap: 18px; }
  .tool-head p { max-width: 34rem; }
  .tool-vis { min-height: 380px; }
  /* the Lumear card sticks under the nav for 70vh of scroll while the take is cut */
  .tool:first-child { display: block; }
  .tool:first-child .tool-head { margin-bottom: 18px; }
  .tool:first-child .cutcard { position: sticky; top: 90px; }
  .tool:first-child::after { content: ''; display: block; height: 70vh; }
  .cut-line { font-size: calc(clamp(1.5rem, 5.6vw, 2.6rem) * var(--rk)); }
}
@media (max-width: 820px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav nav { display: none; }
  .nav .cta { display: none; }
  .pin { --w: clamp(112px, 30vw, 168px); }
  .scene { padding-top: 8vh; perspective: 900px; }
  .stage h1 { bottom: calc(50% - 4vh + var(--w) * .36); font-size: calc(14vw * var(--dk)); }
  .hud { grid-template-columns: 1fr; justify-items: center; gap: .6rem; bottom: 4vh; }
  .hud .label { display: none; }
  .hud .hint { justify-self: center; font-size: .58rem; }
  .re-head, .re-grid, .send-form { grid-template-columns: 1fr; }
  .about-in, .cols { grid-template-columns: 1fr; }
  .cur { display: none; }
}
@media (hover: none) { .cur { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .mg *, .mg *::before, .mg *::after { animation: none !important; }
}

/* ---------- final: lime accent ----------
   On white lime cannot carry text or thin marks, so there the ink does that job; lime stays for fills and for everything on black. */
:root { --acc: #d4ff3d; --on-acc: #0a0a0a; }
:root, .k { --acc-t: var(--acc); }
.w { --acc-t: var(--ink); }
.label::before { background: var(--acc-t); }
.ul:hover, .col-n, blockquote::before, blockquote::after { color: var(--acc-t); }
:focus-visible { outline-color: var(--acc-t); }
.w .cta { background: var(--ink); color: var(--acc); }
.w .take-nav button:hover { background: var(--ink); color: var(--bg); }
.cur { box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
.tool-acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 8px; font-size: .88rem; }   /* the one real download on the page */
.tool-note { grid-column: 1 / -1; margin: 4px 0 0; font-size: .8rem; line-height: 1.45; opacity: .7; max-width: 60ch; }

/* the titles on white are masks over white cards with lime edges (assets/title-strip.webp), inverted like the hero title over
   card 02: the cards read black, their lime edges and glow read violet. On black the same strip is not inverted, so the letters
   stay white (readable) and only the edges and glow show, in violet (title-strip-k.webp).
   --tw (one strip length at this title's height) is set in site.js so the loop is seamless. */
.re-title, .send-title, .contact h2 {
  color: transparent; background: url(assets/title-strip.webp) 0 0 / auto 100% repeat-x, var(--bg); -webkit-background-clip: text; background-clip: text;
  filter: invert(1); animation: tmask 80s linear infinite; }
.re-title em, .send-title em, .contact h2 em { color: transparent; }
.k .claim { color: transparent; background: url(assets/title-strip-k.webp) 0 0 / auto 100% repeat-x, var(--ink); -webkit-background-clip: text; background-clip: text;
  animation: tmask 80s linear infinite; }
.k .claim em { color: transparent; }
@keyframes tmask { to { background-position: calc(var(--tw, 4000px) * -1) 0; } }
@media (prefers-reduced-motion: reduce) { .re-title, .send-title, .contact h2, .claim { animation: none; } }
