/* ==========================================================================
   Cinematic layer — the home page's motion-led design.
   Dark stage, giant kinetic type, one orange accent, product colour panels.
   Works without JS / with reduced motion: every section has a static layout.
   ========================================================================== */
:root {
  --bg: #0b0b0a;
  --bg-2: #141412;
  --bg-3: #1d1d1a;
  --fg: #f2efe8;
  --fg-2: #b9b5ab;
  --fg-3: #77736a;
  --hair: rgba(242, 239, 232, 0.12);
  --accent: #ff5a1f;
  --tk: #3730a3;
  --vl: #0d3b2b;
  --pw: #f06a2c;
  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --text: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --pad: clamp(18px, 3.4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Base reset for the cinematic page (site.css isn't loaded here) */
/* :where() keeps this reset at zero specificity, so every component's own spacing wins. */
:where(.wow) *, :where(.wow) *::before, :where(.wow) *::after { box-sizing: border-box; }
:where(.wow) :where(img) { display: block; max-width: 100%; height: auto; }
:where(.wow) :where(h1, h2, h3, p, figure, dl, dd) { margin: 0; }
:where(.wow) :where(ol, ul) { margin: 0; padding: 0; list-style: none; }
:where(.wow) :where(p + p) { margin-top: 1em; }
.wow .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

html.wow { background: var(--bg); color-scheme: dark; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.wow body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--text);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.12rem); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.wow a { color: inherit; }
.wow ::selection { background: var(--accent); color: #000; }
.w-pad { padding-inline: var(--pad); }

/* Film grain over everything — subtle, static under reduced motion */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: no-preference) { .grain { animation: grain 0.9s steps(4) infinite; } }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

/* ---------- Nav ---------- */
.w-nav {
  position: fixed; inset: 0 0 auto; z-index: 60; display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--pad); mix-blend-mode: difference; color: #fff;
}
.w-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.w-logo i { width: 12px; height: 12px; border-radius: 50%; background: #fff; display: block; }
.w-nav ul { display: flex; gap: clamp(14px, 2.4vw, 36px); margin: 0; padding: 0; list-style: none; }
.w-nav ul a { text-decoration: none; font-size: 0.95rem; position: relative; }
.w-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.w-nav ul a:hover::after { transform: scaleX(1); transform-origin: left; }
.w-nav .w-talk { font-weight: 600; }
@media (max-width: 640px) { .w-nav .hide-sm { display: none; } }

/* ---------- Preloader ---------- */
.pl {
  position: fixed; inset: 0; z-index: 100; background: var(--accent); color: #0b0b0a;
  display: flex; flex-direction: column; justify-content: space-between; padding: var(--pad);
}
.pl-top { display: flex; justify-content: space-between; font-weight: 600; font-size: 1rem; }
.pl-count { font-family: var(--display); font-weight: 800; letter-spacing: -0.06em; font-size: clamp(6rem, 28vw, 26rem); line-height: 0.78; font-variant-numeric: tabular-nums; }
.pl-bar { height: 2px; background: rgba(0, 0, 0, 0.2); position: relative; overflow: hidden; }
.pl-bar i { position: absolute; inset: 0; background: #0b0b0a; transform-origin: left; transform: scaleX(0); }
.no-pl .pl { display: none; }

/* ---------- Page transition curtain ---------- */
.pt { position: fixed; inset: 0; z-index: 95; background: var(--accent); transform: translateY(100%); pointer-events: none; }
.pt.cover { transform: translateY(0); }

/* ---------- Cursor ---------- */
.cur, .cur-ring { position: fixed; left: 0; top: 0; z-index: 99; pointer-events: none; border-radius: 50%; opacity: 0; }
.cur { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; mix-blend-mode: difference; }
.cur-ring {
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(255, 255, 255, 0.5); mix-blend-mode: difference;
  display: grid; place-items: center; transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.3s, border-color 0.3s;
}
.cur-ring span { font: 600 0.8rem/1 var(--text); color: #0b0b0a; opacity: 0; transition: opacity 0.2s; white-space: nowrap; }
.has-cursor .cur, .has-cursor .cur-ring { opacity: 1; }
.cur-ring.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--accent); border-color: var(--accent); mix-blend-mode: normal; }
.cur-ring.is-label span { opacity: 1; }
.cur-ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #fff; }
@media (hover: none), (pointer: coarse) { .cur, .cur-ring { display: none; } }

/* ---------- Split text ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; will-change: transform; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 110px var(--pad) clamp(24px, 3vw, 40px); position: relative; overflow: hidden;
}
.h-meta { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: auto; padding-top: clamp(20px, 6vh, 80px); color: var(--fg-2); font-size: 0.95rem; }
.h-meta b { color: var(--fg); font-weight: 500; }
.h-meta .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; }
.h-title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.055em;
  font-size: clamp(3.1rem, 13.4vw, 16rem); line-height: 0.84; margin: clamp(32px, 6vh, 72px) 0 0;
}
.h-title .ln { display: block; white-space: nowrap; will-change: transform; }
.h-title .ln.i1 { padding-left: 9vw; }
.h-title .ln.i3 { padding-left: 4vw; }
.h-title .acc { color: var(--accent); }
.pill {
  display: inline-block; position: relative; width: 1.55em; height: 0.7em; border-radius: 999px; overflow: hidden;
  vertical-align: 0.06em; margin-left: 0.12em; background: var(--bg-3);
}
.pill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity 0.6s; }
.pill img.on { opacity: 1; }
.h-foot { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; margin-top: clamp(28px, 5vh, 56px); }
.h-sub { margin: 0; max-width: 40ch; color: var(--fg-2); font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.25rem); line-height: 1.45; }
.h-sub strong { color: var(--fg); font-weight: 500; }
.h-built { color: var(--fg-3); font-size: 0.9rem; }
.h-built a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--hair); }
.h-built a:hover { border-color: var(--accent); }
.h-scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font: 0.75rem var(--mono); color: var(--fg-3); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.h-scroll i { width: 1px; height: 36px; background: var(--hair); position: relative; overflow: hidden; }
.h-scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: drip 2s var(--ease) infinite; }
@media (max-width: 900px) { .h-foot { grid-template-columns: 1fr; } .h-scroll { display: none; } .h-meta .hide-sm { display: none; } }

/* ---------- Magnetic round button ---------- */
.mag {
  --s: clamp(120px, 11vw, 168px);
  width: var(--s); height: var(--s); border-radius: 50%; background: var(--accent); color: #0b0b0a;
  display: grid; place-items: center; text-align: center; text-decoration: none; font-weight: 600; line-height: 1.15; font-size: 0.98rem;
  position: relative; overflow: hidden; isolation: isolate; flex: none;
}
.mag::before { content: ""; position: absolute; inset: 0; background: var(--fg); border-radius: 50%; transform: translateY(101%); transition: transform 0.55s var(--ease); z-index: -1; }
.mag:hover::before { transform: translateY(0); }
.mag span { display: block; padding: 0 18px; pointer-events: none; }
.mag.dark { background: #0b0b0a; color: var(--fg); }
.mag.dark::before { background: #fff; }
.mag.dark:hover { color: #0b0b0a; }

/* ---------- Marquees ---------- */
.mq-wrap { position: relative; padding-block: clamp(40px, 6vw, 90px); overflow: hidden; }
.mq { display: flex; white-space: nowrap; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em; font-size: clamp(2rem, 5.4vw, 5.6rem); line-height: 1; padding-block: 0.22em; }
.mq .row { display: flex; flex: none; gap: 0.4em; padding-right: 0.4em; will-change: transform; }
.mq .row span { display: inline-flex; align-items: center; gap: 0.4em; }
.mq .row span::after { content: "✺"; font-size: 0.55em; color: currentColor; opacity: 0.85; }
.mq.a { background: var(--accent); color: #0b0b0a; transform: rotate(-2.2deg); width: 106%; margin-left: -3%; position: relative; z-index: 2; }
.mq.b { background: var(--fg); color: #0b0b0a; transform: rotate(1.6deg); width: 106%; margin-left: -3%; margin-top: -0.3em; }

/* ---------- Statement (scrubbed reading) ---------- */
.st { padding: clamp(100px, 16vh, 200px) var(--pad); }
.st-k { font: 0.82rem var(--mono); color: var(--fg-3); margin-bottom: 28px; display: block; }
.st-k b { color: var(--accent); font-weight: 400; }
.st p {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.06;
  font-size: clamp(1.9rem, 1rem + 3.8vw, 5rem); margin: 0; max-width: 20ch;
}
.st p .wd { opacity: 0.16; transition: opacity 0.2s linear; }
.st p .wd.on, .no-motion .st p .wd { opacity: 1; }
.st p em { font-style: normal; color: var(--accent); }

/* ---------- Work: pinned horizontal gallery ---------- */
.wk { position: relative; }
.wk-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 0 var(--pad) clamp(28px, 4vw, 48px); }
.wk-head h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.05em; font-size: clamp(2.6rem, 8vw, 9rem); line-height: 0.85; margin: 0; }
.wk-head h2 sup { font-size: 0.3em; vertical-align: 1.9em; color: var(--accent); letter-spacing: 0; margin-left: 0.2em; }
.wk-head p { color: var(--fg-2); max-width: 32ch; margin: 0; }
.wk-pin { overflow: hidden; }
.wk-track { display: flex; gap: clamp(14px, 1.6vw, 24px); padding-inline: var(--pad); width: max-content; }
.pn {
  width: min(84vw, 1320px); height: min(82vh, 820px); border-radius: clamp(18px, 2vw, 30px); overflow: hidden; position: relative; flex: none;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(20px, 3vw, 48px); padding: clamp(22px, 3vw, 48px);
  text-decoration: none; color: #fff; isolation: isolate;
}
.pn.tk { background: var(--tk); }
.pn.vl { background: var(--vl); }
.pn.pw { background: var(--pw); color: #0b0b0a; }
.pn-copy { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.pn-n { font: 0.85rem var(--mono); opacity: 0.75; display: flex; justify-content: space-between; }
.pn-name { font-family: var(--display); font-weight: 800; letter-spacing: -0.06em; font-size: clamp(3rem, 7.2vw, 8.4rem); line-height: 0.82; margin: 0; }
.pn-lede { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; font-size: clamp(1.2rem, 0.9rem + 1vw, 1.9rem); line-height: 1.12; margin: 18px 0 0; max-width: 18ch; }
.pn-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 0; font-size: 0.9rem; }
.pn-facts dt { opacity: 0.6; font-size: 0.8rem; margin-bottom: 2px; }
.pn-facts dd { margin: 0; font-weight: 500; line-height: 1.3; }
.pn-cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; margin-top: 22px; }
.pn-cta i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); font-style: normal; transition: transform 0.5s var(--ease), background 0.3s; }
.pn.pw .pn-cta i { background: rgba(0, 0, 0, 0.12); }
.pn:hover .pn-cta i { transform: rotate(-45deg); background: #fff; color: #0b0b0a; }
.pn-art { position: relative; min-width: 0; border-radius: clamp(12px, 1.4vw, 20px); overflow: hidden; background: rgba(0, 0, 0, 0.18); }
.pn-art img { position: absolute; top: 0; left: 0; width: 118%; max-width: none; height: 100%; object-fit: cover; object-position: top left; will-change: transform; }
.pn-art .phone {
  position: absolute; right: 6%; bottom: -6%; width: 30%; border-radius: 26px; overflow: hidden; border: 6px solid #0b0b0a; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.pn-art .phone img { position: static; width: 100%; height: auto; }
.pn.pw .pn-art img { width: auto; height: 100%; }
.pn-end {
  width: min(56vw, 760px); height: min(82vh, 820px); flex: none; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: clamp(22px, 3vw, 48px);
  border-radius: clamp(18px, 2vw, 30px); border: 1px solid var(--hair);
}
.pn-end p { font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; font-size: clamp(2rem, 4vw, 4.4rem); line-height: 0.95; margin: 0; }
.pn-end p em { font-style: normal; color: var(--accent); }
.wk-progress { height: 2px; background: var(--hair); margin: clamp(20px, 3vw, 32px) var(--pad) 0; position: relative; }
.wk-progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
/* Without the pin (mobile / reduced motion): a vertical stack */
@media (max-width: 900px) {
  .wk-track { flex-direction: column; width: auto; }
  .pn { width: auto; height: auto; grid-template-columns: 1fr; }
  .pn-art { aspect-ratio: 4 / 3; }
  .pn-end { width: auto; height: auto; }
  .wk-progress { display: none; }
}
.no-motion .wk-track { flex-direction: column; width: auto; }
.no-motion .pn { width: auto; height: auto; min-height: 620px; }
.no-motion .pn-end { width: auto; height: auto; }

/* ---------- Services: big hover rows ---------- */
.sv { padding: clamp(110px, 16vh, 200px) 0 clamp(60px, 8vw, 120px); }
.sec-k { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding: 0 var(--pad); margin-bottom: clamp(36px, 5vw, 64px); }
.sec-k h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.05em; font-size: clamp(2.4rem, 6vw, 6.6rem); line-height: 0.88; margin: 0; max-width: 14ch; }
.sec-k h2 em { font-style: normal; color: var(--accent); }
.sec-k p { color: var(--fg-2); max-width: 34ch; margin: 0; }
.sv-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.sv-row {
  position: relative; display: grid; grid-template-columns: 7ch minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: clamp(22px, 2.6vw, 38px) var(--pad); border-bottom: 1px solid var(--hair); overflow: hidden; isolation: isolate;
  transition: color 0.45s var(--ease);
}
.sv-row::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: var(--o, top); transition: transform 0.55s var(--ease); z-index: -1; }
.sv-row:hover, .sv-row.is-on { color: #0b0b0a; }
.sv-row:hover::before, .sv-row.is-on::before { transform: scaleY(1); }
.sv-row .n { font: 0.85rem var(--mono); color: var(--fg-3); transition: color 0.3s; }
.sv-row:hover .n, .sv-row.is-on .n { color: #0b0b0a; }
.sv-row h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; font-size: clamp(1.7rem, 1rem + 2.6vw, 3.6rem); line-height: 0.95; margin: 0; transition: transform 0.55s var(--ease); }
.sv-row:hover h3, .sv-row.is-on h3 { transform: translateX(14px); }
.sv-row p { margin: 0; color: var(--fg-2); transition: color 0.3s; max-width: 42ch; }
.sv-row:hover p, .sv-row.is-on p { color: #0b0b0a; }
.sv-row .eg { font-size: 0.88rem; color: var(--fg-3); white-space: nowrap; transition: color 0.3s; }
.sv-row .eg a { color: inherit; }
.sv-row:hover .eg, .sv-row.is-on .eg { color: #0b0b0a; }
@media (max-width: 900px) {
  .sv-row { grid-template-columns: 4ch minmax(0, 1fr); row-gap: 10px; }
  .sv-row p, .sv-row .eg { grid-column: 2; }
  .sv-row .eg { white-space: normal; }
}

/* ---------- Process: stacking cards ---------- */
.pr { padding: clamp(60px, 8vw, 120px) var(--pad) clamp(100px, 14vh, 180px); }
.stack { display: grid; gap: 0; margin-top: clamp(28px, 4vw, 56px); }
.sc {
  position: sticky; top: calc(90px + var(--i) * 22px); min-height: min(64vh, 560px); border-radius: clamp(18px, 2vw, 30px);
  padding: clamp(24px, 3.4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end;
  margin-bottom: 4vh; transform-origin: top center; will-change: transform;
}
.sc:nth-child(1) { background: var(--bg-3); }
.sc:nth-child(2) { background: #2a2925; }
.sc:nth-child(3) { background: var(--fg); color: #0b0b0a; }
.sc:nth-child(4) { background: var(--accent); color: #0b0b0a; }
.sc .big { font-family: var(--display); font-weight: 800; letter-spacing: -0.07em; font-size: clamp(6rem, 18vw, 18rem); line-height: 0.75; align-self: start; }
.sc h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; font-size: clamp(2.2rem, 4.4vw, 4.6rem); line-height: 0.9; margin: 0 0 18px; }
.sc p { margin: 0 0 18px; font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem); max-width: 40ch; opacity: 0.85; }
.sc .you { display: inline-block; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid currentColor; font-size: 0.9rem; }
.pr-note { margin: clamp(48px, 6vw, 80px) 0 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; font-size: clamp(1.8rem, 1rem + 3vw, 4rem); line-height: 1; max-width: 20ch; }
.pr-note em { font-style: normal; color: var(--accent); }
@media (max-width: 760px) { .sc { grid-template-columns: 1fr; min-height: 0; } .sc .big { font-size: 7rem; } }

/* ---------- About ---------- */
.ab { padding: clamp(80px, 12vh, 160px) var(--pad); display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.ab-pic { position: sticky; top: 100px; aspect-ratio: 4 / 5; border-radius: clamp(18px, 2vw, 30px); overflow: hidden; background: var(--accent); clip-path: inset(0 0 0 0 round 24px); }
.ab-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-pic .fb { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; color: #0b0b0a; }
.ab-pic .fb b { font-family: var(--display); font-weight: 800; letter-spacing: -0.07em; font-size: clamp(7rem, 16vw, 15rem); line-height: 0.78; }
.ab-pic.has-img .fb { display: none; }
.ab h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.05em; font-size: clamp(2.6rem, 6vw, 6.4rem); line-height: 0.88; margin: 0 0 32px; }
.ab .lead { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.3rem); line-height: 1.15; margin: 0 0 28px; }
.ab .lead em { font-style: normal; color: var(--accent); }
.ab p { color: var(--fg-2); max-width: 58ch; }
.xp2 { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--hair); }
.xp2 li { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--hair); align-items: baseline; }
.xp2 .w { color: var(--accent); font-size: 0.9rem; }
.xp2 b { font-weight: 600; }
.xp2 span:last-child { color: var(--fg-3); font-size: 0.9rem; }
.ab .note { font-size: 0.95rem; color: var(--fg-3); margin-top: 22px; }
@media (max-width: 900px) { .ab { grid-template-columns: 1fr; } .ab-pic { position: relative; top: 0; max-width: 360px; } }
@media (max-width: 560px) { .xp2 li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Under the hood ---------- */
.uh { padding: clamp(60px, 9vw, 130px) var(--pad); background: var(--bg-2); }
.uh .sec-k { padding: 0; }
.uh-g { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.uh-g h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.3rem); line-height: 1.08; margin: 0 0 16px; }
.uh-g p { color: var(--fg-2); }
.chips2 { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.chips2 li { font-size: 0.85rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--hair); color: var(--fg-2); }
.wow .code { background: #0b0b0a; color: #e9e6df; border: 1px solid var(--hair); border-radius: 18px; overflow: hidden; }
.wow .code .browser-bar { display: flex; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--hair); font: 0.75rem var(--mono); color: var(--fg-3); background: #111110; }
.wow .code .browser-bar .url { color: var(--fg-2); }
.wow .code pre { margin: 0; padding: 18px 0; overflow-x: auto; font: 0.8rem/1.75 var(--mono); counter-reset: ln; }
.wow .code .ln { display: block; padding-right: 18px; white-space: pre; }
.wow .code .ln::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 4ch; margin-right: 14px; text-align: right; color: #4d4a44; }
.wow .code .ln.hl { background: rgba(255, 90, 31, 0.12); box-shadow: inset 3px 0 0 var(--accent); }
.wow .code .c { color: #77736a; }
.wow .code .s { color: #ff8a5c; }
.wow .code .fig-cap { display: flex; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--hair); font: 0.75rem var(--mono); color: var(--fg-3); background: #111110; }
.wow .code .fig-cap b { color: var(--fg); font-weight: 500; }
.dec2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: clamp(36px, 5vw, 64px) 0 0; }
.dec2 li { border: 1px solid var(--hair); border-radius: 18px; padding: 24px; }
.dec2 .p { color: var(--accent); font-size: 0.85rem; font-weight: 500; }
.dec2 h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; font-size: 1.3rem; line-height: 1.15; margin: 8px 0 10px; }
.dec2 p { margin: 0; color: var(--fg-2); font-size: 0.95rem; }
@media (max-width: 960px) { .uh-g { grid-template-columns: 1fr; } .dec2 { grid-template-columns: 1fr; } }

/* ---------- Contact / footer ---------- */
.ct2 { background: var(--accent); color: #0b0b0a; padding: clamp(100px, 14vh, 180px) var(--pad) 28px; overflow: hidden; position: relative; }
.ct2-k { font-weight: 600; margin-bottom: 18px; display: block; }
.ct2-q { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; font-size: clamp(1.6rem, 1rem + 2.4vw, 3.4rem); line-height: 1.02; max-width: 24ch; margin: 0; }
.ct2-big {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.065em;
  font-size: clamp(4.4rem, 23vw, 30rem); line-height: 0.78; margin: clamp(32px, 5vw, 64px) 0 0 -0.04em; white-space: nowrap; will-change: transform;
}
.ct2-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-top: clamp(36px, 5vw, 64px); }
.ct2-row .sub { margin: 0; max-width: 46ch; font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.25rem); }
.ways2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: clamp(36px, 5vw, 64px) 0 0; }
.ways2 a {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 170px; padding: 22px; border-radius: 20px;
  background: #0b0b0a; color: var(--fg); text-decoration: none; transition: transform 0.5s var(--ease), background 0.3s, color 0.3s;
}
.ways2 a:hover { transform: translateY(-6px); background: var(--fg); color: #0b0b0a; }
.ways2 .t { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(1.3rem, 1rem + 0.9vw, 1.9rem); line-height: 1.05; }
.ways2 .hero { display: flex; justify-content: space-between; font-size: 0.85rem; opacity: 0.65; }
.ct2-mail { display: inline-block; margin-top: clamp(40px, 6vw, 72px); font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; font-size: clamp(1.8rem, 1rem + 3.4vw, 4.2rem); text-decoration: none; border-bottom: 3px solid #0b0b0a; line-height: 1.05; overflow-wrap: anywhere; }
.ct2-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.ct2-links a { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid rgba(0, 0, 0, 0.35); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: background 0.3s, color 0.3s; }
.ct2-links a:hover { background: #0b0b0a; color: var(--fg); }
.ct2-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: clamp(64px, 9vw, 120px); padding-top: 20px; border-top: 1px solid rgba(0, 0, 0, 0.25); font-size: 0.9rem; }
@media (max-width: 860px) { .ways2 { grid-template-columns: 1fr; } .ways2 a { min-height: 0; } .ct2-row { grid-template-columns: 1fr; } }

/* ---------- Reveal helpers (JS sets initial states; nothing hidden without JS) ---------- */
.no-motion .pl { display: none; }

/* ---------- Case pages: cursor + curtain only ---------- */
.case-wow .grain { opacity: 0.04; }
.h-title .ln { overflow: hidden; padding-top: 0.05em; }
.h-title .ln > .in { display: inline-block; will-change: transform; }

/* Pre-paint state while the intro is about to play (removed by JS, or after 7s regardless) */
.pre .h-title .in { transform: translateY(115%); }
.pre .h-meta, .pre .h-fade, .pre .w-nav { opacity: 0; }

.pn, .pn-end { height: min(76vh, 780px); }
@media (max-width: 900px) { .pn, .pn-end { height: auto; } }
.no-motion .pn, .no-motion .pn-end { height: auto; }

.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

.wow .skip { position: absolute; left: 12px; top: -100px; z-index: 200; background: var(--accent); color: #000; padding: 10px 14px; text-decoration: none; font-weight: 600; border-radius: 8px; }
.wow .skip:focus { top: 12px; }
.wow :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wk-head h2 .cnt { font-size: 0.26em; vertical-align: top; color: var(--accent); letter-spacing: 0; margin-left: 0.25em; line-height: 1; }
/* Hero: three wide lines that fill the stage */
.h-title { font-size: clamp(2.5rem, 12.2vw, 15rem); line-height: 0.86; }
.h-title .ln.i0 { padding-left: 0; }
.h-title .ln.i1 { padding-left: 0; }
.h-title .ln.i2 { padding-left: 21vw; }
@media (max-width: 640px) { .h-title .ln.i2 { padding-left: 10vw; } }
/* Fit the whole hero in one screen */
.hero { padding-top: 92px; }
.h-meta { padding-top: 0; }
.h-title { font-size: clamp(2.5rem, 11.4vw, 14rem); margin-top: 24px; }
.h-foot { margin-top: clamp(22px, 3.4vh, 40px); }
.hero .mag { --s: clamp(116px, 9.5vw, 150px); }
@media (max-width: 760px) {
  .sec-k, .wk-head { flex-direction: column; align-items: flex-start; }
  .pill { width: 1.15em; }
}

/* ---------- Photography ---------- */
.st-g { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 110px); align-items: end; }
.st-img { position: relative; aspect-ratio: 4 / 5; border-radius: clamp(16px, 2vw, 28px); overflow: hidden; background: var(--bg-3); }
.st-img img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.st-img figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; color: #fff; font-size: 0.9rem; font-weight: 500; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
@media (max-width: 900px) { .st-g { grid-template-columns: 1fr; } .st-img { max-width: 420px; } }

.sv-float {
  position: fixed; left: 0; top: 0; z-index: 30; width: clamp(220px, 19vw, 300px); aspect-ratio: 4 / 5; pointer-events: none;
  border-radius: 18px; overflow: hidden; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.6); transition: opacity 0.35s var(--ease);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.sv-float.on { opacity: 1; }
.sv-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity 0.35s var(--ease), transform 0.8s var(--ease); }
.sv-float img.on { opacity: 1; transform: scale(1); }
.sv-thumb { display: none; }
@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .sv-float { display: none; }
  .sv-row { grid-template-columns: 76px minmax(0, 1fr); }
  .sv-row .n { display: none; }
  .sv-thumb { display: block; grid-row: span 3; width: 76px; height: 96px; object-fit: cover; border-radius: 12px; align-self: start; }
  .sv-row h3, .sv-row p, .sv-row .eg { grid-column: 2; }
}
.st-img figcaption { left: 0; right: 0; bottom: 0; padding: 48px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.6)); text-shadow: none; }

/* When JS drives the services list, it decides which row is active (covers scrolling under a still cursor) */
.sv-js .sv-row:hover::before { transform: scaleY(0); }
.sv-js .sv-row.is-on::before { transform: scaleY(1); }
.sv-js .sv-row:hover:not(.is-on) { color: inherit; }
.sv-js .sv-row:hover:not(.is-on) h3 { transform: none; }
.sv-js .sv-row:hover:not(.is-on) p { color: var(--fg-2); }
.sv-js .sv-row:hover:not(.is-on) .n, .sv-js .sv-row:hover:not(.is-on) .eg { color: var(--fg-3); }

/* ---------- Spacing scale: one rhythm for every section ---------- */
:root { --sec: clamp(88px, 9vw, 150px); --sec-s: clamp(56px, 6vw, 96px); }
.mq-wrap { padding-block: var(--sec-s) 0; }
.st { padding: var(--sec) var(--pad); }
.wk { padding-bottom: var(--sec); }
.sv { padding: 0 0 var(--sec); }
.pr { padding: 0 var(--pad) var(--sec); }
.ab { padding: 0 var(--pad) var(--sec); }
.uh { padding: var(--sec) var(--pad); }
.ct2 { padding: var(--sec) var(--pad) 28px; }
.sec-k { margin-bottom: clamp(32px, 4vw, 56px); }
.pr .stack { margin-top: 0; }
.sc { min-height: min(52vh, 460px); margin-bottom: 3vh; }
.sc:last-child { margin-bottom: 0; }
.pr-note { margin-top: var(--sec-s); }
.ct2-big { margin-top: clamp(24px, 3vw, 40px); }
.ct2-row, .ways2 { margin-top: clamp(28px, 3.4vw, 48px); }
.ct2-mail { margin-top: clamp(36px, 4vw, 56px); }
.ct2-foot { margin-top: var(--sec-s); }
.ways2 a { min-height: 150px; }
.mq .row span { white-space: nowrap; flex: none; }
.ways2 li { display: flex; }
.ways2 a { flex: 1; }

/* ---------- Cursor: neutral on every background (no colour-inverting blend) ---------- */
.cur { mix-blend-mode: normal; background: #fff; box-shadow: 0 0 0 1.5px rgba(11, 11, 10, 0.55); }
.cur-ring { mix-blend-mode: normal; border-color: rgba(255, 255, 255, 0.75); box-shadow: 0 0 0 1px rgba(11, 11, 10, 0.22), inset 0 0 0 1px rgba(11, 11, 10, 0.12); }
.cur-ring.is-hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; backdrop-filter: blur(2px); }
.cur-ring.is-label { box-shadow: none; }

/* ---------- Case studies: reading progress + tighter, even rhythm ---------- */
.read-bar { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 70; background: var(--accent); transform-origin: left; transform: scaleX(0); pointer-events: none; }
.case-wow .chapter { padding-block: clamp(48px, 5.5vw, 88px); }
.case-wow .pull { padding-block: clamp(48px, 5.5vw, 88px); }
.case-wow .tech-divide { padding-top: clamp(32px, 3.5vw, 56px); }
.case-wow .cs-strap { padding-bottom: clamp(28px, 3.5vw, 48px); }
.case-wow .inshort { margin-top: clamp(28px, 3.5vw, 48px); }
.case-wow .chapter .big { margin-bottom: 0.8em; }
.case-wow .chapter .body > p + p { margin-top: 0; }
.case-wow .next-sheet { padding-block: clamp(56px, 7vw, 112px); overflow: hidden; }
.case-wow .shot, .case-wow .browser .screen { overflow: hidden; }
.case-wow .scrub .wd, .case-wow .chapter .big .wd, .case-wow .pull .wd { opacity: 0.16; }
.no-motion .case-wow .wd { opacity: 1; }
