/* ==========================================================================
   MoonFruit — one-page site
   Monochrome, editorial, thin/bold type contrast. Poppins throughout.
   ========================================================================== */

:root {
  --bg: #000;
  --ink: #0a0b0a;
  --panel: #0a0b0a;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .2);
  --text: #f4f4f1;
  --muted: rgba(244, 244, 241, .64);
  --dim: rgba(244, 244, 241, .4);
  --faint: rgba(244, 244, 241, .14);
  --cream: #ecebe4;
  --cream-ink: #141513;

  --font: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --pad: clamp(20px, 3vw, 44px);
  --max: 1680px;
  --header-h: 76px;
  --section-y: clamp(96px, 13vw, 200px);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
html:not(.lenis) { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
button { font: inherit; color: inherit; }
::selection { background: #fff; color: #000; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 4px;
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; background: #fff; color: #000;
  font-size: .8rem; font-weight: 500; text-decoration: none;
  transform: translateY(-150%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Type helpers ---------- */
.thin { font-weight: 200; }
.bold { font-weight: 700; }

.label, .eyebrow {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--dim);
}
.eyebrow { color: var(--muted); }

.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

.h2 {
  font-size: clamp(2.6rem, 6.4vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-transform: uppercase;
  font-weight: 200;
}
.h2--sentence { text-transform: none; font-weight: 400; letter-spacing: -.04em; }
.h2--sentence .thin { font-weight: 200; }

.h3 {
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 300;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin-top: 14px;
}

.lead {
  font-size: clamp(1.12rem, 1.5vw, 1.36rem);
  color: var(--text);
  line-height: 1.6;
  font-weight: 300;
}
p strong { color: #fff; font-weight: 600; }

.section-label {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-label i {
  flex: 0 1 220px;
  height: 1px;
  background: var(--line-2);
  transform-origin: left;
  transition: transform 1.4s var(--ease) .25s;
}
.js .section-label:not(.is-in) i { transform: scaleX(0); }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0 22px;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease), background-color .5s var(--ease);
}
.btn > span { position: relative; z-index: 1; }
.btn--solid { background: #fff; color: #000; }
.btn--solid:hover { background: var(--cream); }
.btn--outline { border-color: var(--line-2); color: #fff; background: rgba(0, 0, 0, .2); }
.btn--outline::before {
  content: "";
  position: absolute; inset: 0;
  background: #fff;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .6s var(--ease);
  z-index: 0;
}
.btn--outline:hover { color: #000; border-color: #fff; }
.btn--outline:hover::before { transform: scaleY(1); }
.btn--sm {
  height: 40px;
  padding: 0 16px;
  font-size: .8rem;
  letter-spacing: 0;
  text-transform: none;
  gap: 10px;
}

/* arrow swap micro-interaction */
.arr { position: relative; display: inline-block; flex: none; width: 13px; height: 13px; overflow: hidden; }
.arr svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .55s var(--ease); }
.arr svg:last-child { transform: translate(-130%, 130%); }
a:hover .arr svg:first-child, button:hover .arr svg:first-child { transform: translate(130%, -130%); }
a:hover .arr svg:last-child, button:hover .arr svg:last-child { transform: none; }

.text-link {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 100% 1px;
}
.text-link:hover { animation: line-swap .9s var(--ease) forwards; }
@keyframes line-swap {
  0% { background-size: 100% 1px; background-position: right bottom; }
  45% { background-size: 0 1px; background-position: right bottom; }
  46% { background-size: 0 1px; background-position: left bottom; }
  100% { background-size: 100% 1px; background-position: left bottom; }
}

.pulse {
  position: relative;
  display: inline-block;
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
}
.pulse::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 50%;
  border: 1px solid #fff;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(3.4); opacity: 0; }
}

/* Spotlight that follows the pointer (set by JS) */
.spot { --x: 50%; --y: 50%; }
.spot::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(480px circle at var(--x) var(--y), rgba(255, 255, 255, .075), transparent 60%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
  z-index: 0;
}
.spot:hover::before { opacity: 1; }

/* ---------- Reveal system ---------- */
.js [data-reveal]:not([data-reveal="up"]) {
  transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s);
}
.js [data-reveal]:not([data-reveal="up"]):not(.is-in) { opacity: 0; transform: translate3d(0, 28px, 0); }
.js [data-reveal="up"] {
  display: inline-block;
  transition: transform 1.25s var(--ease) var(--d, 0s);
}
.js [data-reveal="up"]:not(.is-in) { transform: translate3d(0, 110%, 0); }

/* ---------- Loader ---------- */
.loader { display: none; }
.js:not(.no-loader) .loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: #000;
  transition: opacity .9s var(--ease), visibility .9s;
}
.loader__moon { width: 64px; height: 64px; overflow: visible; }
.loader__ring {
  stroke-dasharray: 285;
  stroke-dashoffset: 285;
  transform: rotate(-90deg);
  transform-origin: center;
  transform-box: fill-box;
  animation: ring-draw 1.1s var(--ease-io) forwards;
}
.loader__crescent {
  opacity: 0;
  transform: translateX(-14px);
  transform-box: fill-box;
  animation: crescent .9s var(--ease) .55s forwards;
}
.loader__count {
  position: absolute;
  right: var(--pad);
  bottom: 32px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.is-loaded .loader { opacity: 0; visibility: hidden; }
@keyframes ring-draw { to { stroke-dashoffset: 0; } }
@keyframes crescent { to { opacity: 1; transform: none; } }

/* ---------- Dot-grid background ---------- */
.dots {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
  pointer-events: none;
}
.dots.is-on { opacity: 1; }

.page { position: relative; z-index: 2; }
.section { position: relative; background: var(--bg); padding: var(--section-y) 0; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .5s, border-color .5s, backdrop-filter .5s;
}
.header.is-scrolled {
  background: rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.js .header { transform: translateY(-100%); transition: transform 1.1s var(--ease) .2s, background-color .5s, border-color .5s; }
.js.is-ready .header { transform: none; }
.header__inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 var(--pad);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; justify-self: start; }
.brand__moon { width: 26px; height: 26px; color: #fff; transition: transform 1s var(--ease); }
.brand:hover .brand__moon { transform: rotate(-35deg); }
.brand__word { height: 19px; width: auto; }
.brand--header .brand__word { height: 27px; transition: opacity .3s; }
.brand--header:hover .brand__word { opacity: .75; }

.nav__list { display: flex; gap: clamp(18px, 2.4vw, 40px); list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative;
  display: block;
  padding: 6px 0;
  font-size: .86rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.header__status {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .62rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.header__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; }
.header__progress i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }

.burger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  background: transparent;
  cursor: pointer;
}
.burger span {
  position: absolute; left: 12px; right: 12px;
  height: 1px; background: #fff;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--pad) 36px;
  background: rgba(0, 0, 0, .96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.9rem, 8.4vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.menu__list a span { font-size: .66rem; font-weight: 500; letter-spacing: .2em; color: var(--dim); }
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu.is-open li:nth-child(2) a { transition-delay: .04s; }
.menu.is-open li:nth-child(3) a { transition-delay: .08s; }
.menu.is-open li:nth-child(4) a { transition-delay: .12s; }
.menu.is-open li:nth-child(5) a { transition-delay: .16s; }
.menu.is-open li:nth-child(6) a { transition-delay: .2s; }
.menu.is-open li:nth-child(7) a { transition-delay: .24s; }
.menu__foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 24px 0 0;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim);
}
.menu__foot a { color: #fff; text-decoration: none; letter-spacing: .04em; text-transform: none; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 18% 62%, rgba(0, 0, 0, .45) 0%, transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, transparent 20%);
  pointer-events: none;
}
.hero__moon {
  position: absolute;
  top: 50%;
  right: -8vw;
  width: min(66vw, 940px);
  aspect-ratio: 1;
  color: rgba(255, 255, 255, .16);
  transform: translate3d(var(--mx, 0px), calc(-50% + var(--my, 0px)), 0);
  transition: transform 1.4s var(--ease);
  pointer-events: none;
}
.hero__moon svg { width: 100%; height: 100%; }
.hero__moon circle:nth-of-type(2) {
  transform-origin: center;
  transform-box: fill-box;
  animation: spin 140s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__inner { position: relative; padding-bottom: clamp(40px, 7vh, 88px); }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(20px, 3vh, 32px); }
.hero__title {
  font-size: clamp(2.6rem, min(6.4vw, 10.5vh), 7.4rem);
  line-height: .96;
  letter-spacing: -.05em;
  text-transform: uppercase;
  font-weight: 200;
  margin: 0 0 clamp(24px, 3.6vh, 40px);
  margin-left: -.04em;
}
.hero__title .line { padding: .02em .05em .05em; margin: 0 -.05em -.03em; }
.hero__title .bold, .hero__title strong { font-weight: 700; }
.hero__sub {
  max-width: 37rem;
  margin: 0 0 clamp(26px, 3.6vh, 38px);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}
.hero__ctas { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

.hero__meta {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 28px;
}
.hero__meta::before {
  content: "";
  position: absolute; top: 0;
  left: var(--pad); right: var(--pad);
  height: 1px;
  background: var(--line);
}
.hero__stats { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(28px, 5vw, 88px); margin: 0; }
.hero__stats dt {
  font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
}
.hero__stats dd {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 300;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .6rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
}
.scroll-cue i { position: relative; width: 1px; height: 48px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.scroll-cue i::after {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 1px; height: 40%;
  background: #fff;
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue {
  from { transform: translateY(-100%); }
  to { transform: translateY(260%); }
}

/* Intro sequence */
[data-intro="0"] { --i: 0; }
[data-intro="1"] { --i: 1; }
[data-intro="2"] { --i: 2; }
[data-intro="3"] { --i: 3; }
[data-intro="4"] { --i: 4; }
[data-intro="5"] { --i: 5; }
[data-intro="6"] { --i: 6; }
.js [data-intro] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 1.1s var(--ease) calc(var(--i) * .1s + .1s), transform 1.3s var(--ease) calc(var(--i) * .1s + .1s);
}
.js .hero__title [data-intro] { display: inline-block; opacity: 1; transform: translate3d(0, 112%, 0); }
.js.is-ready [data-intro] { opacity: 1; transform: none; }

/* ---------- Manifesto ---------- */
.manifesto { position: relative; padding: var(--section-y) 0; }
.js .manifesto { height: 260vh; padding: 0; }
.manifesto__sticky { position: relative; }
.js .manifesto__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
}
.manifesto::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 40vh;
  background: linear-gradient(180deg, transparent, #000);
  pointer-events: none;
}
.manifesto__bar { display: flex; align-items: center; gap: 20px; margin-bottom: clamp(28px, 4vw, 52px); }
.manifesto__rule { flex: 0 1 220px; height: 1px; background: var(--line-2); }
.manifesto__tags { display: flex; gap: clamp(16px, 2vw, 32px); margin: 0 0 0 auto; padding: 0; list-style: none; }
.manifesto__tags li {
  display: flex; align-items: center; gap: 12px;
  font-size: .64rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--dim);
  transition: color .5s;
}
.manifesto__tags li::before {
  content: "";
  width: 16px; height: 1px;
  background: currentColor;
  transition: width .6s var(--ease);
}
.manifesto__tags li.is-on { color: #fff; }
.manifesto__tags li.is-on::before { width: 30px; }
.manifesto__text {
  max-width: 15.5em;
  margin: 0;
  font-size: clamp(2rem, 5.6vw, 5.6rem);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.manifesto__text strong { font-weight: 700; }
.manifesto__text .w { transition: color .4s, -webkit-text-stroke-color .4s; }
.js .manifesto__text .w { color: rgba(255, 255, 255, .16); }
.js .manifesto__text .w.is-on { color: rgba(255, 255, 255, .9); }
.js .manifesto__text strong .w { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .38); }
.js .manifesto__text strong .w.is-on { color: #fff; -webkit-text-stroke-color: rgba(255, 255, 255, 0); }

/* ---------- 01 About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}
.portrait {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
}
.portrait__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #0b0b0b; transition: clip-path 1.6s var(--ease); }
.js .portrait:not(.is-in) .portrait__frame { clip-path: inset(0 0 100% 0); }
.portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.12);
  transition: transform 2s var(--ease);
}
.portrait.is-in img { transform: scale(1); }
.portrait:hover img { transform: scale(1.035); }
.portrait__scan {
  position: absolute; left: 0; right: 0; top: -30%;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .05), transparent);
  animation: scan 7s linear infinite;
  pointer-events: none;
}
@keyframes scan { to { transform: translateY(440%); } }
.corner { position: absolute; width: 14px; height: 14px; border: 0 solid #fff; }
.corner--tl { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.corner--tr { top: -1px; right: -1px; border-top-width: 1px; border-right-width: 1px; }
.corner--bl { bottom: -1px; left: -1px; border-bottom-width: 1px; border-left-width: 1px; }
.corner--br { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }
.portrait__cap {
  display: flex; justify-content: space-between; gap: 12px;
  padding-top: 14px;
  font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--dim);
}
.portrait__cap span:first-child { color: #fff; }

.about__copy { margin-top: clamp(32px, 4vw, 56px); max-width: 40rem; color: var(--muted); font-size: 1.02rem; }
.about__copy p { margin-bottom: 1.2em; }
.signature { display: flex; flex-direction: column; gap: 2px; margin-top: 32px; color: #fff; font-weight: 500; font-size: 1.05rem; }
.signature span { font-size: .66rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(40px, 5vw, 64px) 0 0;
  border-top: 1px solid var(--line);
}
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 26px 20px 0 0; }
.stats > div + div { padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.stats dd {
  margin: 0 0 10px;
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.stats dt { font-size: .64rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); line-height: 1.6; }

.section.about { padding-bottom: 0; }
.tools {
  margin-top: clamp(72px, 8vw, 120px);
  padding: 26px 0 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tools .label { margin: 0 0 16px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.brandmark {
  display: flex; align-items: center; gap: .45em;
  margin-right: clamp(48px, 6vw, 104px);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -.03em;
  white-space: nowrap;
  color: #fff;
  opacity: .62;
  transition: opacity .35s;
}
.brandmark svg { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.brandmark--word svg { width: auto; height: 1.2em; aspect-ratio: 186 / 46; }
.brandmark:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 02 Featured product: Siilo ---------- */
.feature {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: clamp(28px, 3.5vw, 56px);
  padding: clamp(96px, 12vw, 160px) 0;
  background: #000;
  overflow: hidden;
}
/* the footage is on pure black, so it can slide right to clear the copy */
.feature__media { position: absolute; inset: 0; transform: translateX(clamp(0%, 30vw - 230px, 20%)); }
.feature__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 64% 50%;
  background: #000;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s var(--ease), transform 2.6s var(--ease);
}
.feature__video.is-live { opacity: 1; transform: none; }
.feature::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .86) 24%, rgba(0, 0, 0, .25) 52%, transparent 68%),
    linear-gradient(180deg, #000 0%, transparent 18%, transparent 82%, #000 100%);
  pointer-events: none;
}
.feature__inner { position: relative; z-index: 2; }
.feature__status {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .4);
  font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.feature__logo { display: block; height: clamp(44px, 4.8vw, 74px); width: auto; margin: clamp(26px, 3vw, 36px) 0 clamp(26px, 3vw, 38px); }
.feature__title {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.feature__title .bold { font-weight: 700; }
.feature__text { max-width: 31rem; margin: 0 0 34px; font-size: clamp(1rem, 1.2vw, 1.1rem); color: var(--muted); }
.feature__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.feature__url { font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }

/* ---------- 03 Products (horizontal pinned) ---------- */
.products { position: relative; background: var(--bg); }
.hscroll__sticky {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(28px, 4vh, 44px);
  padding: var(--section-y) 0;
}
.hscroll.is-pinned .hscroll__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  padding: calc(var(--header-h) + 2vh) 0 3vh;
  gap: clamp(18px, 3.4vh, 40px);
  overflow: hidden;
}
.products__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.products__head > div:first-child { flex: 1 1 auto; }
.products__head .section-label { margin-bottom: clamp(14px, 2.4vh, 24px); white-space: nowrap; }
.products .h2 { font-size: clamp(2.4rem, min(5.6vw, 9.6vh), 5.6rem); }
.products__intro { max-width: 27rem; color: var(--muted); font-size: .95rem; }
.products__intro p { margin: 0 0 12px; }
.products__count { font-size: .64rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin: 0 !important; }
.products__count strong { color: #fff; }

.hscroll__viewport { overflow: hidden; }
.hscroll__track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  width: max-content;
  margin: 0;
  padding: 0 var(--pad);
  list-style: none;
  will-change: transform;
}
.pcard { flex: none; width: min(86vw, 520px); }
.hscroll.is-pinned .pcard { width: clamp(340px, 42vw, 700px); height: clamp(360px, 50vh, 540px); }
.pcard__inner {
  position: relative;
  display: flex; flex-direction: column;
  height: 100%;
  min-height: 420px;
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #0c0d0c, #080908);
  overflow: hidden;
  transition: border-color .6s, transform .8s var(--ease);
}
.hscroll.is-pinned .pcard__inner { min-height: 0; }
.pcard.is-active .pcard__inner, .pcard__inner:hover { border-color: var(--line-2); }
.pcard__inner > * { position: relative; z-index: 1; }
.pcard__top {
  display: flex; justify-content: space-between; gap: 20px;
  font-size: .62rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--dim);
}
.pcard__tags { text-align: right; }
.pcard__body { margin-top: auto; max-width: 31rem; padding-top: 24px; }
.pcard__status {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.pcard--soon .pcard__status .pulse { background: transparent; border: 1px solid #fff; }
.pcard__title {
  margin: 0 0 18px;
  line-height: 0;
  transition: opacity .6s;
}
.pcard__title img {
  height: calc(clamp(38px, 3.8vw, 56px) * var(--k, 1));
  width: auto;
  max-width: 82%;
  object-fit: contain;
  object-position: left center;
  transform-origin: left center;
  transition: transform .8s var(--ease);
}
.hscroll.is-pinned .pcard__title { opacity: .4; }
.hscroll.is-pinned .pcard.is-active .pcard__title, .hscroll.is-pinned .pcard__inner:hover .pcard__title { opacity: 1; }
.pcard__inner:hover .pcard__title img { transform: scale(1.03); }
.pcard__tagline { margin: 0 0 8px; font-size: 1.02rem; font-weight: 500; color: var(--text); }
.pcard__desc { margin: 0; font-size: .9rem; line-height: 1.65; color: var(--muted); }
.pcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(18px, 2.4vh, 28px); }
.pcard__cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .66rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}
.pcard__cta svg { width: 12px; height: 12px; transition: transform .5s var(--ease); }
.pcard__cta:hover svg { transform: translate(3px, -3px); }
.pcard__legal { display: flex; gap: 14px; font-size: .68rem; color: var(--dim); }
.pcard__legal a { text-decoration: none; transition: color .3s; }
.pcard__legal a:hover { color: #fff; }
.pcard__big {
  position: absolute !important;
  right: clamp(14px, 2vw, 30px);
  top: 50%;
  z-index: 0 !important;
  transform: translateY(-62%);
  font-size: clamp(6rem, 13vw, 12.5rem);
  font-weight: 200;
  line-height: .8;
  letter-spacing: -.07em;
  color: rgba(255, 255, 255, .05);
  pointer-events: none;
  transition: color .8s, transform 1.2s var(--ease);
}
.pcard.is-active .pcard__big, .pcard__inner:hover .pcard__big { color: rgba(255, 255, 255, .12); transform: translateY(-66%); }

.hscroll__tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.hscroll__tabs button {
  padding: 4px 0;
  background: none; border: 0;
  text-align: left;
  font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  cursor: pointer;
  transition: color .3s;
}
.hscroll__tabs button span { margin-right: 6px; }
.hscroll__tabs button.is-active, .hscroll__tabs button:hover { color: #fff; }
.hscroll__bar { position: absolute; top: -1px; left: 0; right: 0; height: 1px; }
.hscroll__bar i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--p, .142)); transition: transform .2s linear; }

/* Swipe fallback (mobile / no-JS / reduced motion) */
.hscroll:not(.is-pinned) .hscroll__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--pad);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.hscroll:not(.is-pinned) .hscroll__viewport::-webkit-scrollbar { display: none; }
.hscroll:not(.is-pinned) .pcard { scroll-snap-align: start; }

/* ---------- 04 Work with me ---------- */
.work__head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: end;
  margin-bottom: clamp(64px, 8vw, 120px);
}
.work__intro { color: var(--muted); }
.work__intro p { margin: 0 0 18px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; padding: 0; list-style: none; }
.badges li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text);
}
.badges li::before { content: ""; width: 5px; height: 5px; background: #fff; }

.stack { position: relative; display: flex; flex-direction: column; gap: clamp(28px, 4vw, 56px); }
.scard {
  position: sticky;
  top: calc(var(--header-h) + 20px + var(--i) * 30px);
  border: 1px solid var(--line);
  background: #0a0b0a;
  transform-origin: 50% 0;
  transform: scale(var(--s, 1));
  overflow: hidden;
  will-change: transform;
}
.scard::after {
  content: "";
  position: absolute; inset: 0;
  background: #000;
  opacity: var(--o, 0);
  pointer-events: none;
  z-index: 2;
}
.scard > * { position: relative; z-index: 1; }
.scard__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  padding: 14px clamp(20px, 2.4vw, 32px);
  border-bottom: 1px solid var(--line);
  font-size: .6rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--dim);
}
.scard__bar span:nth-child(2) { text-align: center; }
.scard__bar span:last-child { text-align: right; }
.scard__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 80px);
  padding: clamp(28px, 3.6vw, 56px) clamp(20px, 2.4vw, 32px);
}
.scard__title {
  margin: 0 0 24px;
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  line-height: .96;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.scard__title span { display: block; }
.scard__left p { max-width: 30rem; margin: 0 0 18px; color: var(--muted); }
.scard__left .scard__tags { font-size: .62rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.scard__visual { margin-top: 30px; height: clamp(120px, 13vw, 180px); border-top: 1px solid var(--line); color: rgba(255, 255, 255, .75); }
.scard__visual svg { width: 100%; height: 100%; }
.scard__q { margin: 0 0 16px; font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.2; color: #fff; }
.scard__lead { margin: 0 0 28px; color: var(--muted); }
.rows { margin: 0 0 34px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.rows li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease), background-color .5s;
}
.rows li:hover { padding-left: 10px; background: rgba(255, 255, 255, .02); }
.rows li span:first-child { font-size: .62rem; font-weight: 500; letter-spacing: .2em; color: var(--dim); }
.rows li span:last-child { font-size: 1rem; color: var(--text); }

/* ---------- 05 Guides ---------- */
.guides__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.guides__intro p { margin: 0 0 22px; color: var(--muted); }
.guides__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: 0; padding: 0;
  list-style: none;
}
.gcard { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.gcard__visual {
  position: relative;
  aspect-ratio: 4 / 3.3;
  border: 1px solid var(--line);
  background: #0b0c0b;
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
  transition: border-color .5s;
}
.gcard__visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gcard__visual--light { background: var(--cream); color: var(--cream-ink); border-color: var(--cream); }
.gcard__visual--light.spot::before { background: radial-gradient(420px circle at var(--x) var(--y), rgba(0, 0, 0, .06), transparent 60%); }
.gcard__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 1;
  display: flex; justify-content: space-between; gap: 12px;
  padding: 14px 18px;
  font-size: .6rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}
.gcard__cap span:last-child { opacity: .6; }
.gcard:hover .gcard__visual { border-color: var(--line-2); }
.gcard:hover .gcard__visual--light { border-color: #fff; }
.gcard__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 22px 0 10px; }
.gcard__meta h3 { font-size: clamp(1.2rem, 1.7vw, 1.55rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.25; }
.gcard__meta svg { flex: none; width: 18px; height: 18px; transition: transform .6s var(--ease); }
.gcard:hover .gcard__meta svg { transform: translate(4px, -4px); }
.gcard > p { margin: 0 0 18px; color: var(--muted); font-size: .92rem; }
.gcard .gcard__price {
  display: flex; gap: 12px;
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim);
}
.gcard__price span:last-child { margin-left: auto; color: #fff; letter-spacing: .08em; font-size: .8rem; }
.note { margin: 30px 0 0; font-size: .72rem; color: var(--dim); }

/* SVG line-art visuals (generated in JS) */
.va-line { fill: none; stroke: currentColor; stroke-width: .8; opacity: .38; vector-effect: non-scaling-stroke; }
.va-strong { fill: none; stroke: currentColor; stroke-width: 1; opacity: .85; vector-effect: non-scaling-stroke; }
.va-pulse {
  fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .95;
  stroke-dasharray: 10 300;
  vector-effect: non-scaling-stroke;
  animation: va-flow 4.2s linear infinite;
  animation-delay: var(--vd, 0s);
}
.va-box { fill: none; stroke: currentColor; stroke-width: .8; opacity: .55; vector-effect: non-scaling-stroke; }
.va-fill { fill: currentColor; opacity: .85; }
.va-blink { fill: currentColor; animation: va-blink 3s steps(1) infinite; animation-delay: var(--vd, 0s); }
.gcard:hover .va-pulse, .scard:hover .va-pulse { animation-duration: 2s; }
@keyframes va-flow { from { stroke-dashoffset: 310; } to { stroke-dashoffset: 0; } }
@keyframes va-blink { 0%, 60% { opacity: .85; } 61%, 100% { opacity: .12; } }

/* ---------- 06 FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}
.faq__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.ask { max-width: 27rem; margin-top: 44px; padding: 26px; border: 1px solid var(--line); background: #0a0b0a; }
.ask p { margin: 0; color: var(--muted); }
.ask .ask__q { margin-bottom: 4px; font-size: 1.2rem; font-weight: 400; color: #fff; }
.ask__mail {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 20px 0;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  transition: border-color .3s;
  word-break: break-all;
}
.ask__mail:hover { border-color: #fff; }
.ask__mail svg { flex: none; width: 18px; height: 18px; }
.ask .ask__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }

.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: grid;
  grid-template-columns: 56px 1fr 30px;
  gap: 16px;
  align-items: center;
  padding: clamp(20px, 2.4vw, 30px) 0;
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__n { font-size: .64rem; font-weight: 500; letter-spacing: .2em; color: var(--dim); }
.qa__q {
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.35;
  color: var(--muted);
  transition: color .3s, transform .6s var(--ease);
}
.qa summary:hover .qa__q, .qa[open] .qa__q { color: #fff; }
.qa summary:hover .qa__q { transform: translateX(6px); }
.qa__icon {
  position: relative;
  width: 30px; height: 30px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: transform .6s var(--ease), background-color .4s, border-color .4s;
}
.qa__icon::before, .qa__icon::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 10px; height: 1px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: background-color .4s;
}
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { transform: rotate(45deg); background: #fff; border-color: #fff; }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: #000; }
.qa.is-closing .qa__icon { transform: none; background: transparent; border-color: var(--line-2); }
.qa.is-closing .qa__icon::before, .qa.is-closing .qa__icon::after { background: #fff; }
.qa__a { overflow: hidden; }
.qa__a p { max-width: 44rem; margin: 0; padding: 0 46px 28px 72px; color: var(--muted); }
.qa__a a { color: #fff; }

/* ---------- 07 Contact CTA ---------- */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  padding: clamp(140px, 16vw, 240px) 0 clamp(80px, 10vw, 140px);
}
.cta::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 36vh;
  background: linear-gradient(180deg, #000, transparent);
  pointer-events: none;
}
.cta__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: end;
}
.cta__title {
  margin: 0;
  font-size: clamp(2.8rem, 6.6vw, 6.8rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.cta__title .thin { font-weight: 300; }
.cta__title .bold { font-weight: 600; }
.cta__side p { margin: 0 0 28px; color: var(--muted); }
.cta__box {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  height: 72px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  text-decoration: none;
  font-size: 1.04rem;
  font-weight: 400;
  transition: border-color .4s;
}
.cta__box > span:first-child { display: flex; align-items: center; padding: 0 24px; }
.cta__box-arrow { display: grid; place-items: center; width: 72px; background: #fff; color: #000; transition: width .6s var(--ease); }
.cta__box-arrow .arr { width: 16px; height: 16px; }
.cta__box:hover { border-color: #fff; }
.cta__box:hover .cta__box-arrow { width: 100px; }
.copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 18px;
  padding: 14px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: .95rem;
  cursor: pointer;
  transition: border-color .3s;
}
.copy:hover { border-bottom-color: var(--line-2); }
.copy__state {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim);
}
.copy__state svg { width: 14px; height: 14px; }
.copy__i2 { display: none !important; }
.copy.is-copied .copy__i1 { display: none !important; }
.copy.is-copied .copy__i2 { display: block !important; }
.copy.is-copied .copy__state { color: #fff; }
.cta__side .cta__meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin: 18px 0 0;
  font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim);
}

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; background: var(--bg); border-top: 1px solid var(--line); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1.7fr 1fr; padding-top: 52px; padding-bottom: 52px; }
.footer__col { padding: 0 28px; border-left: 1px solid var(--line); }
.footer__col:first-child { padding-left: 0; border-left: 0; }
.footer .label { margin: 0 0 22px; }
.footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer ul a, .footer__small li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
}
.footer ul a svg { width: 10px; height: 10px; }
.footer ul a:hover { color: #fff; }
.footer__brand .brand { margin-bottom: 22px; }
.brand--footer .brand__word { height: 34px; transition: opacity .3s; }
.brand--footer:hover .brand__word { opacity: .75; }
.footer__tag { margin: 0 0 12px; font-size: 1.5rem; font-weight: 300; letter-spacing: -.02em; color: #fff; }
.footer__tag strong { font-weight: 600; }
.footer__desc { max-width: 26rem; margin: 0 0 14px; font-size: .9rem; color: var(--muted); }
.footer__mail { color: #fff; text-decoration: none; border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
.footer__mail:hover { border-color: #fff; }
.footer__mark { padding: 0 var(--pad); margin-bottom: -3.5%; }
.footer__mark img { width: 100%; height: auto; opacity: .06; }

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed;
  left: var(--pad);
  bottom: var(--pad);
  z-index: 60;
  width: min(420px, calc(100vw - 2 * var(--pad)));
  padding: 22px 22px 20px;
  border: 1px solid var(--line-2);
  background: rgba(10, 11, 10, .94);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.consent[hidden] { display: none; }
.consent.is-visible { opacity: 1; transform: none; }
.consent__label {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 12px;
  font-size: .62rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted);
}
.consent__title { margin: 0 0 8px; font-size: 1.15rem; font-weight: 500; letter-spacing: -.02em; color: #fff; }
.consent__text { margin: 0; font-size: .86rem; line-height: 1.65; color: var(--muted); }
.consent__text a { color: #fff; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.consent__text a:hover { text-decoration-color: #fff; }
.consent__status { margin: 10px 0 0; font-size: .6rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.consent__status:empty { display: none; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.consent__btn {
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: #fff;
  font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer;
  transition: background-color .4s, color .4s, border-color .4s;
}
.consent__btn:hover { border-color: #fff; }
.consent__btn--solid { background: #fff; border-color: #fff; color: #000; }
.consent__btn--solid:hover { background: var(--cream); border-color: var(--cream); }
.footer__small button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  cursor: pointer;
  transition: color .3s;
}
.footer__small button:hover { color: #fff; }
.prose__btn {
  display: inline-flex; align-items: center;
  height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: #fff;
  font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer;
  transition: background-color .4s, color .4s, border-color .4s;
}
.prose__btn:hover { background: #fff; border-color: #fff; color: #000; }

/* ---------- Legal pages ---------- */
.doc-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.doc-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, #000);
  pointer-events: none;
}
.doc-hero .container { position: relative; z-index: 1; }
.crumbs {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: clamp(28px, 4vw, 44px);
  font-size: .64rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--dim);
}
.crumbs a { color: var(--muted); text-decoration: none; transition: color .3s; }
.crumbs a:hover, .crumbs [aria-current] { color: #fff; }
.doc-hero__eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.doc-hero__title {
  margin: 0 0 clamp(28px, 4vw, 44px);
  font-size: clamp(2.8rem, 8vw, 8rem);
  font-weight: 200;
  line-height: .95;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.doc-hero__title .bold { font-weight: 700; }
.doc-hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.doc-hero__date { margin: 0; font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.doc-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-switch a, .doc-switch span {
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s, border-color .3s;
}
.doc-switch a:hover { color: #fff; border-color: #fff; }
.doc-switch [aria-current] { background: #fff; border-color: #fff; color: #000; }
.doc-hero__intro {
  max-width: 36rem;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  color: var(--muted);
}

.section.doc { padding-top: clamp(40px, 5vw, 80px); }
.doc__grid {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 8fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}
.toc { position: sticky; top: calc(var(--header-h) + 32px); }
.toc .label { margin: 0 0 16px; }
.toc ol { margin: 0 0 28px; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.toc a {
  position: relative;
  display: flex; gap: 12px;
  padding: 7px 0 7px 18px;
  font-size: .88rem;
  line-height: 1.45;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
}
.toc a span { flex: none; padding-top: .25em; font-size: .6rem; font-weight: 500; letter-spacing: .16em; color: var(--dim); }
.toc a::before {
  content: "";
  position: absolute; left: -1px; top: 0; bottom: 0;
  width: 1px;
  background: #fff;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s var(--ease);
}
.toc a:hover, .toc a.is-active { color: #fff; }
.toc a.is-active::before { transform: scaleY(1); }

.prose { max-width: 46rem; font-size: 1rem; line-height: 1.8; color: var(--muted); }
.prose h2 {
  display: flex; align-items: baseline; gap: 16px;
  margin: 64px 0 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: #fff;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose > h2:first-child, .prose .note + h2 { margin-top: 0; }
.prose .num { flex: none; font-size: .64rem; font-weight: 500; letter-spacing: .2em; color: var(--dim); }
.prose h3 { margin: 32px 0 10px; font-size: 1.1rem; font-weight: 500; color: #fff; }
.prose p { margin: 0 0 1.15em; }
.prose .lead { font-size: 1.12rem; color: var(--text); }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.25em; }
.prose li { margin: .45em 0; padding-left: .3em; }
.prose li::marker { color: var(--dim); }
.prose a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
  transition: text-decoration-color .3s;
}
.prose a:hover { text-decoration-color: #fff; }
.prose strong { color: #fff; font-weight: 600; }
.prose .note {
  display: block;
  margin: 0 0 56px;
  padding: 20px 22px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  font-size: .95rem;
}
.prose .note strong { display: block; margin-bottom: 6px; font-size: .64rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }

.dir-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.dir-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr);
  gap: 22px 40px;
  align-items: center;
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .5s, padding .6s var(--ease);
}
.dir-row:hover { padding-left: 14px; padding-right: 14px; background: rgba(255, 255, 255, .02); }
.dir-row__id { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.dir-row__id .label { margin: 0; }
.dir-row__logo { height: 28px; width: auto; max-width: 170px; object-fit: contain; object-position: left center; }
.dir-row__name { font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 400; letter-spacing: -.02em; color: #fff; }
.dir-row__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.dir-row__links a {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: background-color .4s, color .4s, border-color .4s;
}
.dir-row__links a:hover { background: #fff; border-color: #fff; color: #000; }
.doc-contact { margin: 40px 0 0; color: var(--muted); }
.doc-contact a { color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .header__status { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .burger { display: block; }
  .header__inner { grid-template-columns: 1fr auto; }
  .header__right { gap: 12px; }

  .about__grid, .faq__grid, .work__head, .guides__head, .cta__grid { grid-template-columns: 1fr; }
  .portrait { position: relative; top: auto; max-width: 480px; order: 2; }
  .feature { flex-direction: column; align-items: stretch; min-height: 0; padding: clamp(72px, 10vw, 110px) 0 clamp(40px, 6vw, 72px); }
  .feature__media { position: relative; inset: auto; order: 2; width: 100%; aspect-ratio: 4 / 3; margin-top: 24px; transform: none; }
  .feature__video { object-position: 100% 50%; }
  .feature::before { background: linear-gradient(180deg, transparent 70%, #000 100%); }
  .faq__aside { position: relative; top: auto; }
  .guides__grid { grid-template-columns: 1fr 1fr; }
  .guides__grid li:last-child { grid-column: 1 / -1; }
  .guides__grid li:last-child .gcard__visual { aspect-ratio: 16 / 7; }
  .scard__grid { grid-template-columns: 1fr; }
  .scard__visual { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .footer__col:nth-child(3) { padding-left: 0; border-left: 0; }
  .products__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .doc__grid { grid-template-columns: 1fr; }
  .toc { position: relative; top: auto; padding: 22px 22px 6px; border: 1px solid var(--line); background: var(--panel); }
  .dir-row { grid-template-columns: 1fr 1fr; }
  .dir-row__links { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 760px) {
  .header .btn--sm { display: none; }
  .brand--header .brand__word { height: 27px; }
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero__moon { width: 120vw; right: -50vw; top: 34%; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 18px 28px; }
  .scroll-cue { display: none; }
  .hero__title { font-size: clamp(2.3rem, 11.4vw, 3.4rem); }
  .hero__eyebrow { font-size: .62rem; letter-spacing: .16em; }
  .hero__sub { font-size: .98rem; }

  .manifesto__tags { display: none; }
  .manifesto__text { font-size: clamp(1.9rem, 8.6vw, 3rem); }

  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stats > div { padding-right: 8px; }
  .stats dt { font-size: .56rem; letter-spacing: .14em; }


  .scard { position: relative; top: auto; transform: none !important; }
  .scard::after { display: none; }
  .scard__bar { grid-template-columns: 1fr auto; }
  .scard__bar span:nth-child(2) { display: none; }
  .rows li { grid-template-columns: 44px 1fr; }


  .guides__grid { grid-template-columns: 1fr; }
  .guides__grid li:last-child .gcard__visual { aspect-ratio: 4 / 3.3; }

  .qa summary { grid-template-columns: 36px 1fr 30px; gap: 12px; }
  .qa__a p { padding: 0 0 24px 48px; }

  .hscroll__tabs { grid-template-columns: repeat(7, auto); justify-content: space-between; }
  .hscroll__tabs button { font-size: 0; }
  .hscroll__tabs button span { font-size: .62rem; margin: 0; }
  .pcard__big { display: none; }
  .pcard__foot { flex-wrap: wrap; }

  .cta__box-arrow { width: 64px; }
  .dir-row { grid-template-columns: 1fr; }
  .doc-hero__meta { flex-direction: column; align-items: flex-start; }
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; }
  .footer__grid { grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 44px; }
  .footer__col { padding: 0; border-left: 0; }
  .footer__col:nth-child(n + 3) { grid-column: 1 / -1; }
  .footer ul a { letter-spacing: .16em; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js .manifesto { height: auto; padding: var(--section-y) 0; }
  .js .manifesto__sticky { position: relative; height: auto; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}
.reduced-motion .manifesto__text .w { color: rgba(255, 255, 255, .9) !important; }
.reduced-motion .manifesto__text strong .w { color: #fff !important; -webkit-text-stroke-color: transparent !important; }
