/* =========================================================
   MOUNTAGA DIALLO — The Editorial Night
   ========================================================= */

:root {
  --black: #0A0A0A;
  --ink: #111111;
  --ink-2: #161616;
  --line: rgba(245, 243, 238, 0.12);
  --white: #F5F5F2;
  --muted: rgba(245, 245, 242, 0.58);
  --accent: #2F6BFF;
  --accent-light: #6F98FF;
  --accent-deep: #1D4ED8;
  --paper: #F3F3F0;

  --f-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --fs-mega: clamp(64px, 14vw, 240px);
  --fs-h1: clamp(48px, 9vw, 160px);
  --fs-h2: clamp(42px, 6.4vw, 112px);
  --fs-h3: clamp(22px, 2.2vw, 34px);
  --fs-lead: clamp(18px, 1.6vw, 24px);
  --fs-body: clamp(16px, 1.1vw, 18px);
  --fs-label: 12px;

  --gutter: clamp(16px, 5vw, 80px);
  --section: clamp(96px, 16vh, 200px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -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(--black);
  color: var(--white);
  font-family: var(--f-display);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
mark { background: none; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

.mono { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }
.accent { color: var(--accent); }
.accent-deep { color: var(--accent-deep); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; background: var(--accent); color: #fff; padding: 10px 16px; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.eyebrow { color: var(--muted); margin-bottom: 28px; display: flex; gap: 14px; align-items: center; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .5; }
.h2 { font-size: var(--fs-h2); font-weight: 600; line-height: .95; letter-spacing: -0.045em; }
.h2 em { color: var(--accent); letter-spacing: -0.02em; }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: rgba(245,245,242,.82); max-width: 34ch; letter-spacing: -0.01em; }

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

/* ---------- buttons ---------- */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; gap: 12px;
  height: var(--h); padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease);
  will-change: transform;
}
.btn span { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover span { transform: translateX(5px); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: none; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent::before { background: var(--accent-light); }
.btn--sm { --h: 42px; padding: 0 20px; font-size: 13px; }
.btn--xl { --h: 76px; padding: 0 44px; font-size: 18px; }

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 900; background: var(--black); display: grid; place-items: center; align-content: center; gap: 28px; }
.preloader__mark { font-weight: 700; font-size: clamp(56px, 8vw, 96px); letter-spacing: -0.06em; line-height: 1; }
.preloader__bar { width: min(240px, 50vw); height: 1px; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.preloader__count { color: var(--muted); }

/* ---------- grain ---------- */
.grain { position: fixed; inset: -50%; z-index: 800; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(8) infinite; }
@keyframes grain {
  0%,100% { transform: translate(0,0); } 12% { transform: translate(-5%,-8%); } 25% { transform: translate(-12%,4%); }
  37% { transform: translate(7%,-15%); } 50% { transform: translate(-3%,12%); } 62% { transform: translate(-12%,2%); }
  75% { transform: translate(13%,7%); } 87% { transform: translate(3%,-3%); }
}

/* ---------- cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 850; pointer-events: none; display: none; mix-blend-mode: normal; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; } }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--white); }
.cursor__ring { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1px solid rgba(245,245,242,.45);
  display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .35s, border-color .35s; }
.cursor__label { font-size: 10px; color: #fff; opacity: 0; transition: opacity .3s; letter-spacing: .14em; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--accent); }
.cursor.is-view .cursor__ring, .cursor.is-scroll .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--accent); border-color: var(--accent); }
.cursor.is-view .cursor__label, .cursor.is-scroll .cursor__label { opacity: 1; }
.cursor.is-view .cursor__dot, .cursor.is-scroll .cursor__dot { opacity: 0; }

/* ---------- progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 720; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 700; display: flex; align-items: center; gap: 32px;
  padding: 20px var(--gutter); transition: transform .6s var(--ease), background .4s; }
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-solid { background: rgba(10,10,10,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding-top: 14px; padding-bottom: 14px; }
.nav__brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.nav__mono { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; letter-spacing: -0.03em; }
.nav__name { font-weight: 600; letter-spacing: -0.02em; font-size: 15px; }
.nav__links { display: flex; gap: 32px; font-size: 14px; }
.nav__links a { position: relative; color: rgba(245,245,242,.75); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.lang { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 99px; background: rgba(10,10,10,.4); }
.lang button { min-width: 38px; height: 30px; padding: 0 10px; border-radius: 99px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); transition: color .3s, background .3s; }
.lang button:hover { color: var(--white); }
.lang button[aria-pressed="true"] { background: var(--white); color: var(--black); }
.lang--fixed { position: fixed; top: 22px; right: var(--gutter); z-index: 10; }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--white); transition: transform .5s var(--ease); }
.nav__toggle span:first-child { top: 18px; } .nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 650; background: var(--black); padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__links { display: grid; gap: 8px; }
.menu__links a { font-size: clamp(44px, 13vw, 72px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; display: flex; align-items: baseline; gap: 16px; }
.menu__links .mono { color: var(--accent); }
.menu__cta { justify-content: center; width: 100%; }

/* =========================================================
   HERO — THE BUILD
   ========================================================= */
.hero { position: relative; height: 520vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; perspective: 1600px;
  background: radial-gradient(ellipse 70% 55% at 50% 60%, rgba(47,107,255,.10), transparent 70%), var(--black); }
.hero__hint { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); color: var(--muted); display: flex; gap: 10px; }
.hero__hint span { color: var(--accent); animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* device */
.device { --w: min(68vw, 108vh); position: relative; width: var(--w); transform-style: preserve-3d; will-change: transform; }
.device__lid { position: relative; padding: calc(var(--w) * .018); border-radius: calc(var(--w) * .022) calc(var(--w) * .022) 6px 6px;
  background: linear-gradient(180deg, #1c1c1c, #0d0d0d); box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset, 0 60px 120px -30px rgba(0,0,0,.9), 0 0 120px -40px rgba(47,107,255,.25); }
.device__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: #050505; isolation: isolate; }
.device__base { position: relative; height: calc(var(--w) * .028); margin: 0 calc(var(--w) * -.06); border-radius: 0 0 calc(var(--w) * .04) calc(var(--w) * .04);
  background: linear-gradient(180deg, #2a2a2a, #121212 45%, #070707); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); }
.device__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 40%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #0b0b0b; }

.app-bar { position: absolute; top: 0; left: 0; right: 0; height: 4.2%; z-index: 3; display: flex; align-items: center; gap: 2%; padding: 0 1.6%;
  border-bottom: 1px solid rgba(255,255,255,.06); background: #0c0c0c; font-size: max(6px, .62cqw); container-type: normal; }
.device__screen { container-type: inline-size; }
.app-bar__dots { display: flex; gap: .5cqw; } .app-bar__dots i { width: .7cqw; height: .7cqw; border-radius: 50%; background: #2b2b2b; }
.app-bar__file { color: var(--muted); font-size: .7cqw; letter-spacing: .08em; text-transform: none; }
.app-bar__live { margin-left: auto; color: var(--accent); font-size: .7cqw; display: flex; align-items: center; gap: .4cqw; }
.app-bar__live i { width: .55cqw; height: .55cqw; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

.canvas { position: absolute; inset: 4.2% 0 0 0; --u: 1cqw; }
.canvas__grid { position: absolute; inset: 0; opacity: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: calc(var(--u) * 4) calc(var(--u) * 4); }

.dcursor { position: absolute; left: 110%; top: 60%; z-index: 5; width: 2cqw; pointer-events: none; will-change: left, top; }
.dcursor svg { width: 1.9cqw; height: 1.9cqw; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.dcursor span { position: absolute; left: 1.5cqw; top: 1.6cqw; white-space: nowrap; background: var(--accent); color: #fff; font-size: .62cqw; padding: .25cqw .5cqw; border-radius: 0 .4cqw .4cqw .4cqw; letter-spacing: .06em; font-weight: 500; }

/* -------- shared hero layout (u = 1cqw on screen, 1vw in final) -------- */
.hero-layout .h-el { position: absolute; margin: 0; --sel: 0; }
.hero-layout .h-el::after { content: ""; position: absolute; inset: calc(var(--u) * -.6); border: 1px solid var(--accent); opacity: var(--sel); pointer-events: none;
  background:
    linear-gradient(var(--accent), var(--accent)) top left / calc(var(--u)*.6) calc(var(--u)*.6) no-repeat,
    linear-gradient(var(--accent), var(--accent)) top right / calc(var(--u)*.6) calc(var(--u)*.6) no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom left / calc(var(--u)*.6) calc(var(--u)*.6) no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / calc(var(--u)*.6) calc(var(--u)*.6) no-repeat; }
.h-eyebrow { left: calc(var(--u)*6); top: calc(var(--u)*5.5); font-size: calc(var(--u)*.85); color: var(--accent); letter-spacing: .16em; }
.h-name { left: calc(var(--u)*5.6); top: calc(var(--u)*8.2); font-size: calc(var(--u)*9.6); font-weight: 600; letter-spacing: -0.055em; line-height: .86; text-transform: uppercase; }
.h-name span { display: block; }
.h-name span:last-child { padding-left: calc(var(--u)*6.4); }
.h-line { left: calc(var(--u)*6); top: calc(var(--u)*27.6); width: calc(var(--u)*44); height: max(1px, calc(var(--u)*.14)); background: var(--accent); transform-origin: left; }
.h-tagline { left: calc(var(--u)*6); top: calc(var(--u)*29.6); width: calc(var(--u)*40); font-family: var(--f-serif); font-size: calc(var(--u)*2.1); line-height: 1.12; letter-spacing: -0.01em; color: rgba(245,245,242,.9); }
.h-tagline em { color: var(--accent); }
.h-tags { left: calc(var(--u)*6); top: calc(var(--u)*37.6); display: flex; gap: calc(var(--u)*.8); }
.h-tags li { border: 1px solid rgba(245,245,242,.25); border-radius: 99px; padding: calc(var(--u)*.45) calc(var(--u)*1.1); font-size: calc(var(--u)*.85); letter-spacing: .02em; white-space: nowrap; }
.h-cta { left: calc(var(--u)*6); top: calc(var(--u)*42.4); height: calc(var(--u)*3.8); padding: 0 calc(var(--u)*2); border-radius: 99px; background: var(--accent); color: #fff;
  display: flex !important; align-items: center; gap: calc(var(--u)*.8); font-weight: 600; font-size: calc(var(--u)*1.05); white-space: nowrap; }
.h-swatches { left: calc(var(--u)*63); top: calc(var(--u)*15.4); display: flex; gap: calc(var(--u)*1); }
.sw i { display: block; width: calc(var(--u)*7.6); height: calc(var(--u)*7.6); border-radius: calc(var(--u)*.4); border: 1px solid rgba(255,255,255,.14); }
.sw span { display: block; margin-top: calc(var(--u)*.6); font-size: calc(var(--u)*.68); color: var(--muted); letter-spacing: .08em; }
.sw--black i { background: var(--black); } .sw--white i { background: var(--white); } .sw--accent i { background: linear-gradient(135deg, var(--accent-light), var(--accent) 45%, var(--accent-deep)); }
.h-type { left: calc(var(--u)*63); top: calc(var(--u)*28.6); width: calc(var(--u)*24.8); height: calc(var(--u)*11.6); border: 1px solid rgba(255,255,255,.12); border-radius: calc(var(--u)*.5);
  background: linear-gradient(160deg, #141414, #0b0b0b); display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--u)*1.6); }
.h-type__aa { font-family: var(--f-serif); font-size: calc(var(--u)*8); line-height: 1; letter-spacing: -0.03em; }
.h-type__meta { font-size: calc(var(--u)*.68); color: var(--muted); text-align: right; letter-spacing: .1em; }
.h-type__meta em { color: var(--accent); text-transform: none; font-size: 1.3em; }
.h-stats { left: calc(var(--u)*63); top: calc(var(--u)*34.8); width: calc(var(--u)*30); display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--u)*1); border-top: 1px solid rgba(255,255,255,.14); padding-top: calc(var(--u)*1.2); }
.h-stats b { display: block; font-size: calc(var(--u)*2.7); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.h-stats span { display: block; margin-top: calc(var(--u)*.5); font-size: calc(var(--u)*.75); color: var(--muted); line-height: 1.3; }

/* final hero */
.hero-final { position: absolute; inset: 0; --u: 1vw; opacity: 0; visibility: hidden; pointer-events: none; }
.hero-final.is-live { pointer-events: auto; }
.hero-final .h-el { --sel: 0 !important; }
.hero__meta { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; justify-content: space-between; color: var(--muted); opacity: 0; font-size: 11px; }
.dot-live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; animation: pulse 1.6s infinite; }

/* Portrait / phone layout */
@media (max-aspect-ratio: 1/1), (max-width: 760px) {
  .device { --w: min(58vw, 40vh); }
  .device__lid { border-radius: calc(var(--w) * .14); padding: calc(var(--w) * .035); }
  .device__screen { aspect-ratio: 9 / 19.5; border-radius: calc(var(--w) * .11); }
  .device__base { display: none; }
  .app-bar { height: 5%; padding: 0 6%; }
  .app-bar__dots { display: none; }
  .app-bar__file { font-size: 2.6cqw; } .app-bar__live { font-size: 2.6cqw; }
  .app-bar__live i { width: 1.6cqw; height: 1.6cqw; }
  .canvas { inset: 5% 0 0 0; }
  .dcursor svg { width: 6cqw; height: 6cqw; } .dcursor span { font-size: 2.2cqw; left: 4.6cqw; top: 5cqw; padding: .8cqw 1.6cqw; }

  .h-eyebrow { left: calc(var(--u)*7); top: calc(var(--u)*24); font-size: calc(var(--u)*2.5); width: calc(var(--u)*86); }
  .h-name { left: calc(var(--u)*6.4); top: calc(var(--u)*31); font-size: calc(var(--u)*15.4); }
  .h-name span:last-child { padding-left: 0; }
  .h-line { left: calc(var(--u)*7); top: calc(var(--u)*60); width: calc(var(--u)*40); height: max(1px, calc(var(--u)*.35)); }
  .h-tagline { left: calc(var(--u)*7); top: calc(var(--u)*64); width: calc(var(--u)*86); font-size: calc(var(--u)*5.6); }
  .h-swatches { left: calc(var(--u)*7); top: calc(var(--u)*88); gap: calc(var(--u)*2.4); }
  .sw i { width: calc(var(--u)*12); height: calc(var(--u)*12); border-radius: calc(var(--u)*1); }
  .sw span { font-size: calc(var(--u)*2); }
  .h-type { left: calc(var(--u)*53); top: calc(var(--u)*88); width: calc(var(--u)*40); height: calc(var(--u)*16.6); padding: 0 calc(var(--u)*3); border-radius: calc(var(--u)*1.2); }
  .h-type__aa { font-size: calc(var(--u)*10); }
  .h-type__meta { font-size: calc(var(--u)*1.9); }
  .h-tags { left: calc(var(--u)*7); top: calc(var(--u)*112); gap: calc(var(--u)*1.6); }
  .h-tags li { font-size: calc(var(--u)*2.8); padding: calc(var(--u)*1.2) calc(var(--u)*2.6); }
  .h-stats { left: calc(var(--u)*7); top: calc(var(--u)*124); width: calc(var(--u)*86); gap: calc(var(--u)*2); padding-top: calc(var(--u)*3); }
  .h-stats b { font-size: calc(var(--u)*7.4); }
  .h-stats span { font-size: calc(var(--u)*2.4); margin-top: calc(var(--u)*1.2); }
  .h-cta { left: calc(var(--u)*7); top: calc(var(--u)*128); width: calc(var(--u)*86); height: calc(var(--u)*13); justify-content: center; font-size: calc(var(--u)*4); gap: calc(var(--u)*2); }
  .hero-layout .h-el::after { inset: calc(var(--u) * -1.4); }
  .hero__meta { flex-direction: column; gap: 4px; bottom: 18px; }
  .hero__meta span:first-child { display: none; }
}
/* Static hero on phones / portrait tablets (no scroll-to-build) */
.hero.is-static { height: auto; }
.hero.is-static .hero__stage { position: relative; height: auto; min-height: 100vh; min-height: max(100svh, 152vw); }
.hero.is-static .device, .hero.is-static .hero__hint { display: none; }
.hero.is-static .hero-final { position: absolute; }

/* Portrait but short screens: shift up so CTA stays visible */
@media (max-aspect-ratio: 1/1) and (max-height: 700px) { .hero-final { top: calc(var(--u) * -10); } }

/* =========================================================
   STATEMENT + STATS
   ========================================================= */
.statement { position: relative; padding: var(--section) var(--gutter) 0; border-top: 1px solid var(--line); }
.statement__title { font-size: var(--fs-h1); font-weight: 600; letter-spacing: -0.055em; line-height: .9; max-width: 14ch; }
.statement__title em { color: var(--accent); display: block; letter-spacing: -0.03em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 10vh, 120px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats li { padding: 36px 24px 36px 0; border-right: 1px solid var(--line); padding-left: 24px; }
.stats li:first-child { padding-left: 0; } .stats li:last-child { border-right: 0; }
.stats b { display: block; font-size: clamp(40px, 4.6vw, 80px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.35; max-width: 18ch; }
.marquee { overflow: hidden; padding: 12px 0; margin: 0 calc(var(--gutter) * -1); white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 40px; align-items: center; animation: marquee 48s linear infinite; padding-left: 40px; }
.marquee__track span { font-size: clamp(18px, 2vw, 28px); font-weight: 500; letter-spacing: -0.02em; color: rgba(245,245,242,.55); text-transform: uppercase; }
.marquee__track i { color: var(--accent); font-style: normal; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SERVICE SECTIONS
   ========================================================= */
.service { position: relative; padding: var(--section) var(--gutter); background: var(--black); }
.service__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 8vw, 140px); align-items: start; }
.service__head { position: sticky; top: 120px; }
.service__body { display: grid; gap: 48px; }
.caps { border-top: 1px solid var(--line); }
.caps li { display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.caps .mono { color: var(--muted); padding-top: 6px; transition: color .3s; }
.caps b { font-size: clamp(20px, 1.8vw, 28px); font-weight: 500; letter-spacing: -0.025em; }
.caps em { grid-column: 2; color: var(--muted); font-size: 17px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.caps li:hover { padding-left: 10px; }
.caps li:hover .mono { color: var(--accent); }
.caps li:hover em { max-height: 40px; opacity: 1; }
@media (hover: none) { .caps em { max-height: none; opacity: 1; } }
.service .btn { justify-self: start; }

/* case overlay */
.case { position: fixed; inset: 0; z-index: 760; background: var(--black); clip-path: inset(100% 0 0 0); visibility: hidden; transition: clip-path .9s var(--ease), visibility 0s .9s; }
.case.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s; }
.case__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 120px var(--gutter) 80px; }
.case__close { position: fixed; top: 24px; right: var(--gutter); z-index: 2; padding: 12px 18px; border: 1px solid var(--line); border-radius: 99px; background: rgba(10,10,10,.6); backdrop-filter: blur(10px); }
.case__close:hover { border-color: var(--accent); color: var(--accent); }
.case__index { color: var(--accent); margin-bottom: 18px; }
.case__title { font-size: var(--fs-h1); font-weight: 600; letter-spacing: -0.055em; line-height: .92; }
.case__sector { color: var(--muted); margin-top: 18px; }
.case__body { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.case__body ul { margin-top: 14px; display: grid; gap: 8px; }
.case__text { font-size: var(--fs-lead); line-height: 1.45; letter-spacing: -0.01em; max-width: 40ch; }
.case__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 56px 0; }
.case__gallery img { width: 100%; height: auto; border-radius: 4px; background: var(--ink); }
.case__gallery img:nth-child(3n+1) { grid-column: 1 / -1; }
.case__next { display: block; width: 100%; text-align: left; padding: 40px 0; border-top: 1px solid var(--line); }
.case__next b { display: block; font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.05em; line-height: 1; margin-top: 12px; transition: color .3s; }
.case__next:hover b { color: var(--accent); }

/* =========================================================
   MISSION
   ========================================================= */
.mission { position: relative; height: 200vh; background: var(--black); }
.mission__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); }
.mission__text { font-size: clamp(32px, 5vw, 88px); font-weight: 500; line-height: 1.08; letter-spacing: -0.04em; max-width: 22ch; }
.mission__text .mw { opacity: .14; transition: none; }
.mission__text mark .mw { color: var(--accent); }
.mission__sign { margin-top: 40px; font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); color: var(--muted); }

/* =========================================================
   CLIENTS
   ========================================================= */
.clients { padding: var(--section) var(--gutter); border-top: 1px solid var(--line); }
/* =========================================================
   SERVICES — extras
   ========================================================= */
.service { overflow: hidden; border-top: 1px solid var(--line); }
.service__num { position: absolute; right: calc(var(--gutter) * -.2); top: clamp(40px, 8vh, 100px); font-size: clamp(160px, 28vw, 460px); font-weight: 700; letter-spacing: -0.07em; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(245,245,242,.09); pointer-events: none; user-select: none; }
.service__grid { position: relative; }
.service__ctas { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.link-more { color: var(--muted); font-size: 15px; background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1px no-repeat; transition: color .3s, background-size .5s var(--ease); padding-bottom: 2px; }
.link-more:hover { color: var(--white); background-size: 100% 1px; }
.process { display: flex; flex-wrap: wrap; gap: 12px 0; color: var(--muted); }
.process li { display: flex; align-items: center; }
.process li:not(:last-child)::after { content: "→"; margin: 0 16px; color: var(--accent); }

/* =========================================================
   WORK — logo wall
   ========================================================= */
.work { padding: var(--section) var(--gutter); border-top: 1px solid var(--line); }
.work__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { padding: 10px 18px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; color: var(--muted); transition: color .3s, border-color .3s, background .3s; }
.filters button:hover { color: var(--white); border-color: rgba(245,245,242,.35); }
.filters button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.logo-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 6px; background: var(--paper); display: flex; align-items: center; justify-content: center; padding: 0; overflow: hidden; cursor: pointer; text-align: center;
  transition: transform .6s var(--ease), opacity .4s, background .4s; }
.logo-tile img { max-width: 66%; max-height: 50%; width: auto; height: auto; object-fit: contain; transition: transform .8s var(--ease), filter .5s; }
.logo-tile__word { font-family: var(--f-serif); font-size: clamp(24px, 2.4vw, 38px); color: #141414; line-height: 1; letter-spacing: -0.01em; }
.logo-tile__word small { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; margin-top: 10px; color: #7a7a7a; }
.logo-tile__meta { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: var(--accent); transform: translateY(101%); transition: transform .5s var(--ease); }
.logo-tile:hover img, .logo-tile:focus-visible img { transform: scale(1.06) translateY(-6%); }
.logo-tile:hover .logo-tile__meta, .logo-tile:focus-visible .logo-tile__meta { transform: none; }
.logo-tile.is-hidden { display: none; }
.logo-cta { grid-column: span 2; aspect-ratio: auto; border-radius: 6px; background: var(--accent); color: #fff; padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 100%; transition: background .4s; }
.logo-cta:hover { background: var(--accent-deep); }
.logo-cta b { font-size: clamp(26px, 2.6vw, 44px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.logo-cta b em { display: block; }
.logo-cta span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.work__note { margin-top: 24px; color: var(--muted); }
.work__more { margin-top: clamp(56px, 8vw, 104px); padding: clamp(32px, 4vw, 56px); border: 1px solid var(--line); border-radius: 8px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
  background: radial-gradient(ellipse 60% 120% at 100% 50%, rgba(47,107,255,.14), transparent 70%), var(--ink); }
.work__more-label { color: var(--accent); margin-bottom: 14px; }
.work__more-title { font-size: clamp(28px, 3.4vw, 54px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; max-width: 18ch; }
.work__more-title em { display: block; color: var(--accent); letter-spacing: -0.02em; }
.work__more-text { margin-top: 16px; color: var(--muted); max-width: 46ch; }
.case__logo { margin: 48px 0; border-radius: 6px; background: var(--paper); display: grid; place-items: center; padding: clamp(48px, 9vw, 140px); }
.case__logo img { max-height: 220px; width: auto; max-width: 100%; }

/* =========================================================
   ABOUT — bio
   ========================================================= */
.about { padding: var(--section) var(--gutter); border-top: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.about__head { position: sticky; top: 120px; }
.about__bio { display: grid; gap: 24px; max-width: 62ch; }
.about__bio p { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.65; color: rgba(245,245,242,.78); }
.about__bio .about__lede { font-size: clamp(24px, 2.3vw, 36px); line-height: 1.25; letter-spacing: -0.025em; color: var(--white); font-weight: 500; }
.about__sign { font-family: var(--f-mono); font-size: 12px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--accent) !important; margin-top: 12px; }
.clients { padding: 72px 0 48px; border-top: 1px solid var(--line); overflow: hidden; }
.clients .eyebrow { padding: 0 var(--gutter); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: var(--section) var(--gutter); min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(ellipse 60% 50% at 70% 60%, rgba(47,107,255,.12), transparent 70%), var(--black); border-top: 1px solid var(--line); }
.contact__title { font-size: clamp(52px, 10vw, 190px); font-weight: 600; letter-spacing: -0.06em; line-height: .88; transform-origin: left center; }
.contact__title span { display: block; }
.contact__title em { display: block; color: var(--accent); letter-spacing: -0.03em; }
.contact__lead { margin: 48px 0 44px; max-width: 44ch; }
.contact .btn { align-self: flex-start; }
.contact__direct { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 24px 64px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); }
.contact__direct li { display: grid; gap: 6px; }
.contact__direct .mono { color: var(--muted); }
.contact__direct a { font-size: clamp(17px, 1.4vw, 22px); letter-spacing: -0.02em; background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact__direct a:hover { background-size: 100% 1px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 80px var(--gutter) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer__cols div { display: grid; gap: 10px; align-content: start; }
.footer__cols .mono { color: var(--accent); margin-bottom: 8px; }
.footer__cols a, .footer__cols span { color: rgba(245,245,242,.72); transition: color .3s; font-size: 15px; }
.footer__cols a:hover { color: var(--white); }
.footer__word { font-size: 13.4vw; font-weight: 700; letter-spacing: -0.06em; line-height: .8; white-space: nowrap; margin: 80px 0 36px calc(var(--gutter) * -.1);
  color: transparent; -webkit-text-stroke: 1px rgba(245,245,242,.28);
  background: linear-gradient(90deg, var(--white) 0 50%, transparent 50%) 100% 0 / 200% 100% no-repeat; -webkit-background-clip: text; background-clip: text; transition: background-position 1.4s var(--ease); }
.footer__word:hover, .footer__word.is-filled { background-position: 0 0; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 11px; }
.footer__bottom a:hover { color: var(--accent); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .service__grid, .about__grid { grid-template-columns: 1fr; }
  .service__head { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li { padding: 28px 16px; border-bottom: 1px solid var(--line); }
  .stats li:nth-child(odd) { padding-left: 0; }
  .stats li:nth-child(2n) { border-right: 0; }
  .stats li:nth-last-child(-n+2) { border-bottom: 0; }
  .case__body { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .logos { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .logo-cta { min-height: 160px; }
  .logo-tile__meta { transform: none; position: static; background: none; color: var(--muted); padding: 10px 0 0; display: none; }
  .about__head { position: static; }
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .nav__name { display: none; }
  .mission { height: 200vh; }
  .contact__direct { grid-template-columns: 1fr; }
  .btn--xl { --h: 64px; padding: 0 28px; font-size: 16px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; }
  .case__gallery { grid-template-columns: 1fr; }
  .case__scroll { padding-top: 96px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .grain, .marquee__track, .hero__hint span { animation: none; }
  .hero { height: auto; }
  .hero__stage { position: relative; height: 100vh; }
  .device { display: none; }
  .hero-final { opacity: 1; visibility: visible; pointer-events: auto; }
  .hero__meta, .hero__hint { opacity: 1; }
  .hero__hint { display: none; }
  .mission { height: auto; }
  .mission__sticky { position: relative; height: auto; padding: var(--section) var(--gutter); }
  .mission__text .mw { opacity: 1; }
}

/* =========================================================
   BOOKING PAGE
   ========================================================= */
.book-page { min-height: 100vh; }
.book { display: grid; grid-template-columns: 5fr 7fr; min-height: 100vh; }
.book__side { position: relative; padding: 120px var(--gutter) 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; border-right: 1px solid var(--line);
  background: radial-gradient(ellipse 80% 60% at 20% 100%, rgba(47,107,255,.14), transparent 70%), var(--black); }
.host { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }
.host img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }
.host figcaption { display: grid; gap: 4px; }
.host b { font-size: 17px; letter-spacing: -0.02em; }
.host .mono { color: var(--muted); font-size: 10px; }
.book__side h1 { font-size: clamp(44px, 5.4vw, 96px); font-weight: 600; letter-spacing: -0.055em; line-height: .92; }
.book__side h1 em { color: var(--accent); display: block; }
.book__side .lead { margin-top: 28px; }
.book__facts { display: grid; gap: 14px; color: var(--muted); }
.book__facts li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: baseline; }
.book__facts .mono { color: var(--accent); }
.book__main { padding: 120px var(--gutter) 64px; }
.book__steps { display: flex; gap: 24px; color: var(--muted); margin-bottom: 40px; }
.book__steps li.is-active { color: var(--accent); }
.book__steps li.is-done { color: var(--white); }
.step { display: none; }
.step.is-active { display: block; animation: stepIn .7s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(16px); } }
.step h2 { font-size: clamp(28px, 2.8vw, 44px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 28px; }
.choices { display: grid; gap: 12px; }
.choice { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; text-align: left; padding: 22px 24px; border: 1px solid var(--line); border-radius: 6px; transition: border-color .3s, background .3s; }
.choice b { font-size: 20px; letter-spacing: -0.02em; font-weight: 600; }
.choice span { color: var(--muted); grid-column: 1; }
.choice i { grid-row: 1 / span 2; grid-column: 2; font-style: normal; color: var(--accent); }
.choice:hover, .choice.is-selected { border-color: var(--accent); background: rgba(47,107,255,.06); }
.dates { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; }
.date { flex: 0 0 auto; width: 76px; padding: 14px 0; border: 1px solid var(--line); border-radius: 6px; text-align: center; transition: border-color .3s, background .3s, opacity .3s; }
.date small { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.date b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.2; }
.date:hover { border-color: rgba(47,107,255,.6); }
.date.is-selected { border-color: var(--accent); background: var(--accent); color: var(--black); }
.date.is-selected small { color: rgba(0,0,0,.6); }
.date:disabled { opacity: .3; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-top: 28px; }
.slot { padding: 14px 0; border: 1px solid var(--line); border-radius: 6px; font-family: var(--f-mono); font-size: 14px; transition: border-color .3s, background .3s; }
.slot:hover { border-color: var(--accent); }
.slot.is-selected { background: var(--accent); color: var(--black); border-color: var(--accent); }
.slot:disabled { opacity: .25; text-decoration: line-through; cursor: not-allowed; }
.tz-note { margin-top: 18px; color: var(--muted); font-size: 14px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; background: var(--ink); border: 1px solid var(--line); border-radius: 6px; color: var(--white); font: inherit; font-size: 16px; padding: 14px 16px; transition: border-color .3s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.book__summary { margin: 28px 0; padding: 18px 20px; border: 1px dashed rgba(47,107,255,.5); border-radius: 6px; color: rgba(245,245,242,.85); }
.book__nav { display: flex; gap: 16px; align-items: center; margin-top: 36px; flex-wrap: wrap; }
.link-back { color: var(--muted); font-size: 14px; }
.link-back:hover { color: var(--white); }
.form-error { color: #E58C7A; margin-top: 14px; min-height: 1.4em; font-size: 15px; }
.done h2 em { color: var(--accent); }
.done__card { margin: 28px 0; padding: 24px; border: 1px solid var(--accent); border-radius: 6px; display: grid; gap: 8px; }
.book__home { position: fixed; top: 20px; left: var(--gutter); z-index: 10; display: flex; align-items: center; gap: 12px; }
@media (max-width: 1024px) {
  .book { grid-template-columns: 1fr; }
  .book__side { border-right: 0; border-bottom: 1px solid var(--line); padding-top: 96px; }
  .book__main { padding-top: 56px; }
}
@media (max-width: 600px) {
  .form { grid-template-columns: 1fr; }
  .book__side { gap: 28px; padding-bottom: 32px; }
  .book__side .lead { font-size: 17px; }
  .book__facts li:not(:last-child) { display: none; }
  .book__facts li { grid-template-columns: 1fr; gap: 4px; }
}
