/* ============================================================
   B2 CREATE — site styles
   Tokens follow the 2026 profile: near-black field, hairlines,
   tracked small caps, colour only from client work.
   ============================================================ */
:root {
  --bg: #0a0a0d;
  --bg-2: #101016;
  --ink: #ecebe7;
  --ink-2: #b9b8b3;
  --mute: #7d7d84;
  --hair: rgba(255, 255, 255, 0.14);
  --hair-2: rgba(255, 255, 255, 0.06);
  --sand: #d9c7b4;
  --dusk: #c9a391;
  --tint: #1f3666;
  --gutter: clamp(16px, 5vw, 72px);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Light sections (Studio, Process, Services) flip the page to paper */
body[data-theme="light"] {
  --bg: #f3efe7;
  --bg-2: #e9e3d8;
  --ink: #0f0f12;
  --ink-2: #3a3a42;
  --mute: #7b7a80;
  --hair: rgba(15, 15, 18, 0.14);
  --hair-2: rgba(15, 15, 18, 0.07);
  --sand: #b5793f;
  --dusk: #a8744f;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.9s var(--ease), color 0.9s var(--ease);
}
body.instant, body.instant * { transition: none !important; }
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
em { font-style: italic; font-weight: 300; color: var(--sand); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--mute); font-weight: 500; margin: 0 0 20px;
}
.eyebrow.center { text-align: center; }
.label {
  display: block; font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--mute); font-weight: 500; margin-bottom: 10px;
}
.display {
  font-size: clamp(34px, 5.6vw, 76px); line-height: 1.02; font-weight: 300;
  letter-spacing: -0.01em; margin: 0 0 32px; max-width: 14ch;
}
.display-xl {
  font-size: clamp(64px, 16vw, 220px); line-height: 0.9; font-weight: 300;
  letter-spacing: -0.03em; margin: 0;
}
.h2 { font-size: clamp(26px, 3.2vw, 44px); line-height: 1.1; font-weight: 300; margin: 0 0 18px; }
.lead { font-size: clamp(15px, 1.25vw, 18px); color: var(--ink-2); max-width: 56ch; margin: 0 0 20px; }

/* ---------- Brand wordmark ---------- */
.brand { display: inline-flex; align-items: baseline; gap: 2px; font-size: 15px; letter-spacing: 0.04em; }
.brand-b { font-weight: 700; }
.brand-c { font-weight: 300; letter-spacing: 0.1em; }

/* ---------- Canvas & grain ---------- */
#gl {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; display: block;
}
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -4%); } 75% { transform: translate(-1%, 3%); } 100% { transform: translate(0, 0); } }

main { position: relative; z-index: 2; }
section { position: relative; padding: clamp(96px, 14vh, 180px) var(--gutter); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: grid; place-items: center; transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.pre-inner { text-align: center; }
.pre-brand { margin-bottom: 40px; opacity: 0.8; }
.pre-line { font-size: clamp(18px, 2.4vw, 28px); font-weight: 300; letter-spacing: 0.02em; min-height: 1.4em; }
.pre-count { margin-top: 24px; font-size: 11px; letter-spacing: 0.3em; color: var(--mute); font-variant-numeric: tabular-nums; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; mix-blend-mode: difference; display: none; }
body.has-cursor .cursor { display: block; }
.cursor-dot { position: absolute; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #fff; }
.cursor-ring {
  position: absolute; width: 36px; height: 36px; margin: -18px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7); transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background 0.35s;
}
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; margin: -32px; background: rgba(255,255,255,0.08); }
.cursor.is-label .cursor-ring { width: 84px; height: 84px; margin: -42px; background: #fff; border-color: #fff; }
.cursor.is-label .cursor-dot { opacity: 0; }
.cursor-label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  font-size: 9px; letter-spacing: 0.26em; font-weight: 600; color: #000; opacity: 0; white-space: nowrap;
}
.cursor.is-label .cursor-label { opacity: 1; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter); transition: padding 0.5s var(--ease), background 0.5s, backdrop-filter 0.5s;
}
.nav.is-scrolled { padding: 14px var(--gutter); background: color-mix(in srgb, var(--bg) 60%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-links { display: flex; gap: 32px; }
.nav-links a, .nav-cta {
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-2); font-weight: 500;
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { border: 1px solid var(--hair); border-radius: 999px; padding: 12px 20px; color: var(--ink); display: inline-block; }
.nav-cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nav-burger { display: none; width: 40px; height: 40px; position: relative; }
.nav-burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); top: 16px; transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.nav-burger span:last-child { top: 24px; }
.nav-burger.is-open span:first-child { top: 20px; transform: rotate(45deg); }
.nav-burger.is-open span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: rgba(10,10,13,0.96); display: none; flex-direction: column;
  justify-content: center; gap: 22px; padding: 0 var(--gutter);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { font-size: clamp(32px, 9vw, 54px); font-weight: 300; letter-spacing: -0.01em; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding-top: 120px; padding-bottom: 36px; }
.hero-eyebrow { margin: 0; }
.hero-stage { display: grid; place-items: center; text-align: center; }
.hero-title { margin: 0; font-weight: 300; position: relative; display: grid; place-items: center; width: 100%; }
.hero-still { display: grid; place-items: center; position: relative; min-height: 1.4em; font-size: clamp(22px, 3.6vw, 48px); letter-spacing: 0.01em; width: 100%; }
.still-line { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); filter: blur(6px); }
.hero-motion {
  display: flex; gap: 0.22em; flex-wrap: wrap; justify-content: center;
  font-size: clamp(56px, 13vw, 190px); line-height: 0.95; letter-spacing: -0.035em; font-weight: 300;
  opacity: 0; position: absolute; left: 0; right: 0;
}
.hero-motion .w { display: inline-block; opacity: 0; transform: translateY(0.4em); }
.hero-motion .w:last-child { color: var(--sand); }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); }
.hero-scroll { display: flex; align-items: center; gap: 14px; }
.hero-scroll i { display: block; width: 72px; height: 1px; background: var(--hair); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateX(-100%); animation: scrollline 2.4s var(--ease) infinite; }
@keyframes scrollline { 0% { transform: translateX(-100%); } 60% { transform: translateX(0); } 100% { transform: translateX(100%); } }
.hero-note { margin: 0; text-align: center; }
.hero-skip:hover { color: var(--ink); }

/* ---------- The Diamond ---------- */
.diamond { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); grid-template-rows: 1fr auto; gap: 24px var(--gutter); align-items: center; }
.diamond-stage { grid-column: 1; grid-row: 1 / span 2; position: relative; min-height: 60svh; display: grid; place-items: center; }
.reticle { width: min(46vw, 420px); aspect-ratio: 1; position: relative; }
.reticle-svg { width: 100%; height: 100%; overflow: visible; animation: spin 48s linear infinite; }
.ret-ring { fill: none; stroke: rgba(255,255,255,0.35); stroke-width: 0.6; }
.ret-dot { fill: #fff; }
.ret-diamond { fill: none; stroke: rgba(255,255,255,0.9); stroke-width: 0.9; transition: transform 0.5s var(--ease), stroke 0.3s; transform-origin: 100px 100px; }
.ret-hair { stroke: rgba(255,255,255,0.18); stroke-width: 0.5; }
.diamond.is-charging .ret-diamond { stroke: var(--sand); }
@keyframes spin { to { transform: rotate(360deg); } }
.charge { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.charge i {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-radius: 50%;
  border: 1px solid rgba(217,199,180,0.7); transform: translate(-50%, -50%); opacity: 0;
}
.diamond-hit {
  position: absolute; left: 50%; top: 50%; width: min(52vw, 480px); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; touch-action: none; -webkit-tap-highlight-color: transparent;
}
.diamond-hit:focus-visible { outline: 1px solid var(--sand); outline-offset: 8px; }
.diamond-prompt {
  position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-2);
  pointer-events: none; transition: opacity 0.4s;
}
.diamond.is-charging .diamond-prompt { opacity: 0.4; }
.form-card { grid-column: 2; grid-row: 1; border-left: 1px solid var(--hair); padding-left: 28px; align-self: center; }
.form-index { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mute); font-variant-numeric: tabular-nums; }
.form-name { font-size: clamp(24px, 2.6vw, 36px); font-weight: 300; margin: 10px 0 18px; line-height: 1.15; min-height: 1.15em; }
.form-chips, .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); position: relative; transition: transform 0.4s var(--ease); }
.chip:hover { transform: translateY(-3px); }
.chips.big .chip { width: 44px; height: 44px; border-radius: 6px; }
.chips.big .chip::after { content: attr(data-hex); position: absolute; left: 0; top: 100%; margin-top: 6px; font-size: 9px; letter-spacing: 0.08em; color: var(--mute); white-space: nowrap; }
.chips.big { gap: 14px; margin-bottom: 36px; }
.form-link { display: inline-block; margin-top: 20px; font-size: 12px; color: var(--ink-2); letter-spacing: 0.02em; }
.form-link b { font-weight: 500; color: var(--ink); }
.form-link:hover { color: var(--ink); }
.diamond-copy { grid-column: 2; grid-row: 2; }
.diamond-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); border-radius: 999px; padding: 12px 22px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; background: var(--ink); color: var(--bg);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--hair); }
.btn:hover { background: var(--sand); border-color: var(--sand); color: var(--bg); }

/* ---------- Chapter bands (imagery from the 2026 profile) ---------- */
.chapter { padding: 0; height: 58vh; min-height: 320px; position: relative; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); background: #0a0a0d; }
.chapter-img { position: absolute; left: 0; right: 0; top: -14%; bottom: -14%; background-size: cover; background-position: center 40%; will-change: transform; }
.chapter::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,13,0.35), rgba(10,10,13,0) 30%, rgba(10,10,13,0) 60%, rgba(10,10,13,0.55)); pointer-events: none; }
.chapter-label { position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%); z-index: 2; display: flex; gap: 14px; align-items: baseline; color: #fff; font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase; white-space: nowrap; }
.chapter-label .chapter-n { font-variant-numeric: tabular-nums; } .chapter-label .chapter-sep { opacity: 0.5; }

/* ---------- Matter strip (ink / sand / water) ---------- */
.matter-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px var(--gutter); align-items: end; margin: 24px 0 20px; }
.matter-head .h2 { margin-bottom: 10px; } .matter-head .lead { margin: 0; }
.env { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.env .label { margin: 0 0 4px; }
.env-btn { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mute); padding: 6px 0; transition: color 0.3s; }
.env-btn i { width: 36px; height: 1px; background: var(--hair); display: block; transition: background 0.3s, width 0.4s var(--ease); }
.env-btn.is-active, .env-btn:hover { color: var(--ink); } .env-btn.is-active i { background: var(--ink); width: 56px; }
.matter-strip { position: relative; height: 62vh; min-height: 340px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); margin-bottom: 64px; overflow: hidden; }
.matter { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.matter-hint { position: absolute; left: 0; bottom: 14px; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--mute); pointer-events: none; }

/* ---------- Manifesto ---------- */
.manifesto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px var(--gutter); margin-bottom: 56px; }
.studio-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 28px 0; margin-bottom: 72px; }
.studio-facts strong { font-weight: 400; font-size: 15px; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--hair-2); border: 1px solid var(--hair-2); }
.values li { background: var(--bg); padding: 28px 24px 32px; position: relative; overflow: hidden; transition: background 0.5s; }
.values li:hover { background: var(--bg-2); }
.values .n { font-size: 10px; letter-spacing: 0.28em; color: var(--mute); display: block; margin-bottom: 18px; }
.values h3 { margin: 0 0 12px; font-size: 18px; font-weight: 500; }
.values p { margin: 0; color: var(--ink-2); font-size: 14px; }
.values li::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.values li:hover::before { transform: scaleX(1); }

/* ---------- Work ---------- */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.work-head .display { margin-bottom: 8px; }
.work-count { text-align: right; }
.work-count span { font-size: clamp(48px, 7vw, 96px); font-weight: 300; line-height: 1; letter-spacing: -0.03em; display: block; }
.work-count small { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.work-ask { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); margin: 48px 0 16px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 48px; }
.filter {
  border: 1px solid var(--hair); border-radius: 999px; padding: 10px 18px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2);
  transition: all 0.3s; display: inline-flex; gap: 10px; align-items: center;
}
.filter small { color: var(--mute); letter-spacing: 0; font-size: 10px; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter.is-active small { color: var(--bg); opacity: 0.6; }

.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.work-card { position: relative; display: block; text-align: left; width: 100%; min-width: 0; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.work-card[hidden] { display: none; }
.work-card .frame {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); border-radius: 2px;
  transform: translateZ(0);
}
.work-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(0.9);
  transform: scale(1.04); transition: filter 0.8s var(--ease), transform 1.2s var(--ease);
}
.work-card .ghost { position: absolute; inset: 0; background: var(--tint); mix-blend-mode: multiply; opacity: 0.86; transition: opacity 0.8s var(--ease); }
.work-card .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,13,0) 40%, rgba(10,10,13,0.55)); transition: opacity 0.6s; }
.work-card .mark { position: absolute; left: 20px; right: 20px; top: 18px; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.work-card .words { position: absolute; left: 20px; bottom: 18px; font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.9); transition: opacity 0.5s, transform 0.6s var(--ease); }
.work-card .words span + span::before { content: " · "; }
.work-card:hover img, .work-card:focus-visible img { filter: grayscale(0) contrast(1) brightness(1); transform: scale(1); }
.work-card:hover .ghost, .work-card:focus-visible .ghost { opacity: 0; }
.work-card:hover .words { transform: translateY(-4px); }
.work-card .meta { display: flex; justify-content: space-between; gap: 16px; padding: 14px 2px 0; }
.work-card h3 { margin: 0; font-size: 17px; font-weight: 500; }
.work-card .client { font-size: 12px; color: var(--mute); margin-top: 4px; }
.work-card .year { font-size: 11px; letter-spacing: 0.2em; color: var(--mute); white-space: nowrap; }
.work-card .pal { display: flex; gap: 4px; margin-top: 10px; }
.work-card .pal i { width: 14px; height: 4px; border-radius: 2px; display: block; }
.work-hint { margin: 40px 0 0; text-align: center; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); }

/* ---------- Process ---------- */
.process { padding: 0 var(--gutter); }
.process-pin { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto auto; gap: 40px; padding: 120px 0 64px; }
.process-head .display { margin-bottom: 0; max-width: 20ch; }
.stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-self: center; }
.stages li { border-top: 1px solid var(--hair); padding-top: 20px; transition: opacity 0.4s; opacity: 0.35; }
.stages li.is-active { opacity: 1; }
.stages li.is-active .stage-dot { transform: scale(1); background: var(--sand); }
.stages .stage-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--ink); transform: scale(0.6); transition: transform 0.4s var(--ease), background 0.4s; margin-bottom: 18px; }
.stages .n { font-size: 10px; letter-spacing: 0.28em; color: var(--mute); }
.stages h3 { margin: 6px 0 6px; font-size: 18px; font-weight: 500; }
.stages .line { color: var(--ink-2); font-size: 13px; margin: 0 0 12px; font-style: italic; }
.stages ul li { border: 0; padding: 0; font-size: 12px; color: var(--mute); opacity: 1; }
.process-progress { height: 1px; background: var(--hair); position: relative; }
.process-progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--sand); }
.process-note { max-width: 70ch; color: var(--ink-2); font-size: 14px; margin: 0; }

/* ---------- Services ---------- */
.services-list { border-top: 1px solid var(--hair); }
.services-list li { display: grid; grid-template-columns: 60px 1.2fr 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--hair); align-items: baseline; transition: padding 0.5s var(--ease); position: relative; }
.services-list li:hover { padding-left: 12px; }
.services-list .n { font-size: 11px; letter-spacing: 0.28em; color: var(--mute); }
.services-list h3 { margin: 0 0 6px; font-size: clamp(18px, 2vw, 26px); font-weight: 400; }
.services-list .line { margin: 0; color: var(--ink-2); font-size: 14px; font-style: italic; }
.services-list .items { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.services-list .items span::before { content: "● "; font-size: 7px; vertical-align: 2px; color: var(--sand); }

/* ---------- Clients marquee ---------- */
.clients { padding-top: 40px; padding-bottom: 40px; overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 48s linear infinite; padding: 10px 0; }
.marquee-track span { font-size: clamp(18px, 2.4vw, 30px); font-weight: 300; white-space: nowrap; color: var(--ink-2); letter-spacing: 0.02em; }
.marquee-track span::after { content: "·"; margin-left: 64px; color: var(--mute); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Contact ---------- */
.contact { min-height: 100svh; display: grid; grid-template-rows: 1fr auto auto; gap: 56px; overflow: hidden; }
.contact-bg { position: absolute; left: 0; right: 0; top: -12%; height: 86%; background-size: cover; background-position: center 35%; opacity: 0.6; will-change: transform; z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); }
.contact > *:not(.contact-bg) { position: relative; z-index: 1; }
.display-xl span { display: block; opacity: 0; transform: translateY(0.3em); }
.display-xl span:last-child { color: var(--sand); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; border-top: 1px solid var(--hair); padding-top: 32px; }
.contact-link { font-size: clamp(16px, 1.6vw, 22px); font-weight: 400; display: inline-block; border-bottom: 1px solid var(--hair); padding-bottom: 4px; transition: border-color 0.3s; }
.contact-link:hover { border-color: var(--ink); }
.contact-grid strong { font-weight: 400; font-size: 16px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); border-top: 1px solid var(--hair); padding-top: 28px; }
.footer p { margin: 0; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--ink); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; visibility: hidden; opacity: 0; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6,6,8,0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal-panel {
  position: absolute; inset: 24px; margin: auto; max-width: 1240px; background: var(--bg); border: 1px solid var(--hair);
  overflow: hidden; transform: translateY(24px) scale(0.985); transition: transform 0.6s var(--ease); border-radius: 4px;
}
.modal.is-open .modal-panel { transform: none; }
.modal-close { position: absolute; right: 16px; top: 12px; z-index: 3; width: 48px; height: 48px; font-size: 30px; font-weight: 300; color: #fff; mix-blend-mode: difference; }
.modal-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.modal-hero { position: relative; aspect-ratio: 16 / 8; min-height: 340px; overflow: hidden; background: var(--tint); }
.modal-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transform: scale(1.05); transition: filter 1.6s var(--ease) 0.5s, transform 2.4s var(--ease) 0.5s; }
.modal-ghost { position: absolute; inset: 0; background: var(--tint); mix-blend-mode: multiply; opacity: 0.86; transition: opacity 1.6s var(--ease) 0.5s; }
.modal.is-open .modal-cover { filter: grayscale(0); transform: none; }
.modal.is-open .modal-ghost { opacity: 0; }
.modal-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,13,0.1), rgba(10,10,13,0.75)); }
.modal-hero-text { position: absolute; left: clamp(20px, 4vw, 48px); right: clamp(20px, 4vw, 48px); bottom: clamp(20px, 4vw, 40px); z-index: 2; }
.modal-hero-text .eyebrow { color: rgba(255,255,255,0.75); margin-bottom: 12px; }
.modal-title { margin: 0 0 8px; font-size: clamp(32px, 5vw, 64px); font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
.modal-tagline { margin: 0 0 14px; font-style: italic; color: var(--ink-2); font-size: 16px; }
.modal-words { display: flex; gap: 18px; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.modal-words li + li::before { content: "·"; margin-right: 18px; color: var(--mute); }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 48px); }
.modal-col.wide { grid-column: 1 / -1; }
.modal-type { margin: 0; font-size: 15px; color: var(--ink-2); }
.modal-type b { font-weight: 500; color: var(--ink); }
.modal-list li { padding: 10px 0; border-bottom: 1px solid var(--hair-2); font-size: 14px; color: var(--ink-2); }
.modal-rationale { margin: 0; font-size: clamp(16px, 1.5vw, 20px); font-weight: 300; max-width: 70ch; color: var(--ink); }
.modal-sheet { width: calc(100% - 2 * clamp(24px, 4vw, 48px)); margin: 0 auto; border: 1px solid var(--hair); border-radius: 2px; }
.modal-nav { display: flex; justify-content: space-between; padding: clamp(24px, 4vw, 48px); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .services-list li { grid-template-columns: 48px 1fr; }
  .services-list .items { grid-column: 2; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .diamond { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .diamond-stage { grid-column: 1; grid-row: 1; min-height: 62svh; }
  .form-card { grid-column: 1; grid-row: 2; border-left: 0; border-top: 1px solid var(--hair); padding: 24px 0 0; }
  .diamond-copy { grid-column: 1; grid-row: 3; }
  .diamond-hit { width: min(80vw, 420px); }
  .reticle { width: min(70vw, 340px); }
  .modal-panel { inset: 0; border: 0; border-radius: 0; }
  .modal-body { grid-template-columns: 1fr; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero-note { text-align: left; }
}
@media (max-width: 820px) {
  .chapter { height: 42vh; min-height: 240px; }
  .chapter-img { background-size: cover; background-position: center 45%; }
  .chapter-label { font-size: 10px; letter-spacing: 0.26em; }
  .matter-head { grid-template-columns: 1fr; align-items: start; }
  .env { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 6px 22px; } .env .label { width: 100%; }
  .matter-strip { height: 48vh; min-height: 280px; }
  .contact-bg { height: 60%; }
}
@media (max-width: 600px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .stages { grid-template-columns: minmax(0, 1fr); }
  .work-card .mark { font-size: 9px; letter-spacing: 0.18em; }
  .hero-motion { font-size: clamp(48px, 16vw, 90px); }
  .process-pin { padding-top: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .reticle-svg, .marquee-track, .hero-scroll i::after { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
