/* ─────────────────────────────────────────────────────────────
   Захар Гринов — design tokens (oklch, warm paper baseline)
───────────────────────────────────────────────────────────── */

:root {
  /* Palette: tonal warm paper */
  --paper: oklch(96.5% 0.012 75);          /* off-white, warm */
  --paper-2: oklch(94% 0.014 70);          /* slightly tinted band */
  --surface: oklch(99% 0.006 80);          /* card */
  --ink: oklch(20% 0.008 60);              /* main text */
  --ink-2: oklch(40% 0.01 55);             /* secondary */
  --ink-3: oklch(58% 0.012 50);            /* muted */
  --rule: oklch(20% 0.008 60 / 0.12);
  --accent: oklch(56% 0.092 35);           /* muted terracotta */
  --accent-soft: oklch(56% 0.092 35 / 0.12);

  /* Typography */
  --f-display: "Cormorant Garamond", "Times New Roman", Times, serif;
  --f-body: "Geologica", "Inter Tight", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* 8-pt spacing */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 96px;
  --s-8: 144px;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 64px);

  /* Display scale (overridable via tweak) */
  --fs-display: clamp(56px, 11vw, 144px);
  --fs-h2: clamp(36px, 5.6vw, 76px);
  --fs-h3: 22px;
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-mono: 12px;

  /* Section rhythm — alternating dense/airy */
  --pad-airy: clamp(80px, 12vw, 144px);
  --pad-dense: clamp(48px, 7vw, 88px);
}

[data-theme="dark"] {
  --paper: oklch(16% 0.01 50);
  --paper-2: oklch(20% 0.012 50);
  --surface: oklch(22% 0.012 55);
  --ink: oklch(94% 0.012 75);
  --ink-2: oklch(78% 0.012 65);
  --ink-3: oklch(60% 0.012 55);
  --rule: oklch(94% 0.012 75 / 0.16);
  --accent: oklch(70% 0.10 35);
  --accent-soft: oklch(70% 0.10 35 / 0.16);
}

[data-typeset="serif"] { /* default — display serif */
  --f-display: "Cormorant Garamond", "Times New Roman", Times, serif;
  --f-body: "Geologica", "Inter Tight", system-ui, sans-serif;
}
[data-typeset="lora"] {
  --f-display: "Lora", Georgia, serif;
  --f-body: "Manrope", system-ui, sans-serif;
}
[data-typeset="pt"] {
  --f-display: "PT Serif", Georgia, serif;
  --f-body: "PT Sans", system-ui, sans-serif;
}
[data-typeset="sans"] {
  --f-display: "Geologica", system-ui, sans-serif;
  --f-body: "Geologica", system-ui, sans-serif;
}

[data-palette="paper"] {} /* default — warm paper */
[data-palette="cool"] {
  --paper: oklch(96% 0.004 250);
  --paper-2: oklch(93% 0.005 250);
  --surface: oklch(99% 0.003 250);
  --ink: oklch(20% 0.008 250);
  --ink-2: oklch(42% 0.01 250);
  --ink-3: oklch(60% 0.012 250);
  --accent: oklch(45% 0.04 250);
  --accent-soft: oklch(45% 0.04 250 / 0.12);
}
[data-palette="latte"] {
  --paper: oklch(92% 0.022 75);
  --paper-2: oklch(88% 0.026 70);
  --surface: oklch(96% 0.02 78);
  --ink: oklch(28% 0.04 50);
  --ink-2: oklch(45% 0.04 50);
  --ink-3: oklch(60% 0.03 55);
  --accent: oklch(58% 0.08 60);
  --accent-soft: oklch(58% 0.08 60 / 0.14);
}

/* ─── Reset-ish ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .4s ease, color .4s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--accent-soft); color: var(--ink); }

/* ─── Type roles ─── */
.display {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: var(--fs-display);
  line-height: 0.96;
  letter-spacing: -0.018em;
  text-wrap: balance;
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-2);
}
.h2 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
  margin: 0;
}
.h3 {
  font-family: var(--f-body);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0;
}
.label {
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-2);
}
.body { font-size: var(--fs-body); line-height: 1.7; color: var(--ink-2); }
.body p { margin: 0 0 var(--s-3); text-wrap: pretty; }
.body p:last-child { margin-bottom: 0; }
.caption { font-size: var(--fs-small); color: var(--ink-3); }

/* ─── Layout primitives ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--pad-airy); }
.section--dense { padding-block: var(--pad-dense); }
.section--bleed { padding-block: 0; }

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-3);
}
.wordmark {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 36px);
  letter-spacing: -0.005em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  justify-self: center;
  transition: color .25s ease;
}
.wordmark em { font-style: italic; color: var(--ink); font-weight: 300; opacity: 0.78; }
.wordmark:hover { color: var(--accent); }
.wordmark:hover em { color: var(--accent); opacity: 1; }
.site-nav { display: flex; gap: var(--s-4); }
.site-nav__link {
  font-family: var(--f-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-2);
  padding: 4px 0;
  position: relative;
  transition: color .2s;
}
.site-nav__link:hover { color: var(--ink); }

/* Sequoia-style hand-drawn scribble loop on hover */
.scribble {
  position: relative;
  display: inline-block;
}
.scribble > .scribble__svg {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 220%;
  pointer-events: none;
  overflow: visible;
  color: var(--ink);
  opacity: 0;
  transition: opacity .15s ease;
}
.scribble > .scribble__svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--scrib-len, 600);
  stroke-dashoffset: var(--scrib-len, 600);
}
.scribble:hover > .scribble__svg,
.scribble:focus-visible > .scribble__svg { opacity: 1; }
.scribble:hover > .scribble__svg path,
.scribble:focus-visible > .scribble__svg path {
  animation: scribble-draw 0.85s cubic-bezier(.5,.1,.3,1) forwards;
}
@keyframes scribble-draw {
  0%   { stroke-dashoffset: var(--scrib-len, 600); }
  100% { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scribble > .scribble__svg path { animation: none !important; stroke-dashoffset: 0; }
}
.site-header__cta {
  justify-self: end;
  display: flex; gap: var(--s-2); align-items: center;
}
.site-nav__link--cta {
  border: 1px solid var(--rule);
  padding: 8px 14px;
}
.site-nav__link--cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Language segmented control */
.seg {
  display: inline-flex; align-items: center;
  border: 1px solid var(--rule);
  border-radius: 0;
  overflow: hidden;
  height: 30px;
}
.seg__btn {
  appearance: none; background: transparent; border: 0; cursor: pointer;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 0 10px; height: 100%;
  transition: background .2s, color .2s;
}
.seg__btn + .seg__btn { border-left: 1px solid var(--rule); }
.seg__btn:hover { color: var(--ink); }
.seg__btn.is-on { background: var(--ink); color: var(--paper); }

/* Theme toggle */
.theme-toggle {
  appearance: none; cursor: pointer;
  width: 30px; height: 30px;
  border: 1px solid var(--rule); background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s;
}
.theme-toggle__dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--ink) 0 50%, transparent 51%),
              conic-gradient(var(--ink) 0 50%, transparent 50% 100%);
  background: var(--ink);
  box-shadow: inset -4px -2px 0 0 var(--paper);
  transition: box-shadow .3s ease, background .3s ease;
}
[data-theme="dark"] .theme-toggle__dot {
  box-shadow: inset 4px 2px 0 0 var(--paper);
}
.theme-toggle:hover { border-color: var(--ink); }

@media (max-width: 860px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .site-nav { display: none; }
  .wordmark { justify-self: start; font-size: 22px; }
  .site-nav__link--cta { display: none; }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  transition: background .25s, color .25s, transform .25s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { display: inline-block; transition: transform .3s; }
.btn:hover .arrow { transform: translateX(4px); }

.linkish {
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity .2s;
}
.linkish:hover { opacity: 0.6; }

/* ─── Hero variants ─── */
.hero { position: relative; }

/* Variant A: full-bleed */
.hero--bleed { min-height: 92vh; padding: 0; overflow: hidden; }
.hero--bleed .hero__media {
  position: absolute; inset: 0;
}
.hero--bleed .hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.hero--bleed .hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--paper) 0%, transparent) 0%,
    color-mix(in oklab, var(--paper) 0%, transparent) 55%,
    color-mix(in oklab, var(--paper) 80%, transparent) 100%);
}
.hero--bleed .hero__content {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 92vh;
  padding: var(--s-7) var(--gutter) var(--s-6);
  max-width: var(--container);
  margin: 0 auto;
}
.hero--bleed .hero__top { display: flex; justify-content: space-between; align-items: flex-start; }
.hero--bleed .display { color: var(--paper); mix-blend-mode: difference; }
.hero--bleed .hero__bottom { display: flex; align-items: end; justify-content: space-between; gap: var(--s-4); }
.hero--bleed .hero__bottom .label { color: var(--paper); mix-blend-mode: difference; }

/* Variant B: two-col */
.hero--split {
  padding: var(--pad-airy) 0 var(--pad-dense);
}
.hero--split .hero__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-7);
  align-items: end;
}
.hero--split .hero__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
}
.hero--split .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero--split .hero__text { display: flex; flex-direction: column; gap: var(--s-4); padding-bottom: var(--s-4); }
.hero--split .label { color: var(--ink-2); }

/* Variant C: typographic split — type fills viewport, photo strip below */
.hero--type {
  padding: var(--pad-airy) 0 0;
}
.hero--type .hero__type {
  max-width: var(--container); margin: 0 auto;
  padding: var(--s-6) var(--gutter) var(--s-7);
  display: grid;
  grid-template-columns: 1fr; gap: var(--s-5);
}
.hero--type .display { font-size: clamp(72px, 14vw, 200px); line-height: 0.92; }
.hero--type .hero__type-meta {
  display: flex; justify-content: space-between; align-items: end;
  gap: var(--s-4); flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  padding-top: var(--s-3);
}
.hero--type .hero__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hero--type .hero__strip .frame { aspect-ratio: 4 / 5; overflow: hidden; }
.hero--type .hero__strip img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1) contrast(1);
  transition: transform .6s ease;
}
.hero--type .hero__strip .frame:hover img { transform: scale(1.04); }

@media (max-width: 860px) {
  .hero--split .hero__grid { grid-template-columns: 1fr; }
  .hero--type .hero__strip { grid-template-columns: repeat(2, 1fr); }
  .hero--bleed { min-height: 80vh; }
  .hero--bleed .hero__content { min-height: 80vh; padding: var(--s-5) var(--gutter); }
}

/* ─── Intro section ─── */
.intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-7);
  align-items: start;
}
.intro .label { padding-top: 6px; }
.intro__lede {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.18;
  font-weight: 300;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: pretty;
  margin: 0 0 var(--s-4);
}
.intro__body { color: var(--ink-2); max-width: 60ch; }
.intro__body p { margin: 0 0 var(--s-3); }

@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; gap: var(--s-3); }
}

/* ─── Categories (Sequoia-ish mono labels + Joy-style packed media) ─── */
.cats { display: flex; flex-direction: column; gap: 0; }
.cat {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: var(--s-6);
  align-items: stretch;
  padding-block: var(--s-6);
  border-top: 1px solid var(--rule);
}
.cat:last-child { border-bottom: 1px solid var(--rule); }
.cat__meta { padding-block: var(--s-3); display: flex; flex-direction: column; gap: var(--s-3); }
.cat__num { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.12em; }
.cat__title { font-family: var(--f-display); font-size: clamp(40px, 5vw, 68px); font-weight: 300; line-height: 1; letter-spacing: -0.01em; }
.cat__desc { color: var(--ink-2); max-width: 38ch; }
.cat__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.cat__grid.dense { grid-template-columns: repeat(4, 1fr); }
.cat__grid.airy { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cat__cell {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
}
.cat__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat__cell:hover img { transform: scale(1.04); }
.cat__cell::after {
  content: "";
  position: absolute; inset: 0;
  background: color-mix(in oklab, var(--paper) 0%, transparent);
  transition: background .35s ease;
}
.cat__cell:hover::after { background: color-mix(in oklab, var(--paper) 18%, transparent); }
.cat__more {
  display: inline-flex; align-items: center; gap: 10px;
}

@media (max-width: 980px) {
  .cat { grid-template-columns: 1fr; gap: var(--s-3); padding-block: var(--s-5); }
  .cat__grid { grid-template-columns: repeat(2, 1fr); }
  .cat__grid.dense { grid-template-columns: repeat(2, 1fr); }
  .cat__grid.airy { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Services list — typographic, no icons ─── */
.services {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-7);
}
.services__head { display: flex; flex-direction: column; gap: var(--s-3); position: sticky; top: 90px; align-self: start; }
.services__list { display: flex; flex-direction: column; }
.service {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: var(--s-3);
  align-items: center;
  padding: var(--s-4) 0;
  border-top: 1px solid var(--rule);
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  color: var(--ink);
  cursor: default;
  transition: padding-left .3s ease;
}
.service:last-child { border-bottom: 1px solid var(--rule); }
.service:hover { padding-left: 12px; }
.service__num { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; }
.service__name em { font-style: italic; color: var(--ink-2); }
.service__tag { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); }

@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; gap: var(--s-3); }
  .services__head { position: static; }
  .service { grid-template-columns: 28px 1fr; }
  .service__tag { display: none; }
}

/* ─── Press / brands list ─── */
.press {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-7);
}
.press__cols {
  columns: 2;
  column-gap: var(--s-6);
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
  color: var(--ink);
}
.press__cols p { margin: 0 0 8px; break-inside: avoid; }
.press__group { margin-bottom: var(--s-4); break-inside: avoid; }
.press__group .label { display: block; margin-bottom: var(--s-2); color: var(--ink-3); }

@media (max-width: 860px) {
  .press { grid-template-columns: 1fr; gap: var(--s-3); }
  .press__cols { columns: 1; }
}

/* ─── Press tape (covers/featured) ─── */
.press-tape {
  background: var(--paper-2);
  padding-block: var(--pad-dense);
  border-block: 1px solid var(--rule);
}
.press-tape__head {
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter) var(--s-4);
  display: flex; justify-content: space-between; align-items: end; gap: var(--s-3); flex-wrap: wrap;
}
.press-tape__row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
}
.press-tape__row .frame { aspect-ratio: 4 / 5; overflow: hidden; }
.press-tape__row img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.press-tape__row .frame:hover img { transform: scale(1.05); }

@media (max-width: 860px) {
  .press-tape__row { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Reviews ─── */
.reviews {
  display: flex; flex-direction: column;
}
.review {
  border-top: 1px solid var(--rule);
  padding: var(--s-6) 0;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: var(--s-6);
  align-items: start;
}
.review:last-of-type { border-bottom: 1px solid var(--rule); }
.review__author { display: flex; flex-direction: column; gap: 6px; }
.review__name { font-family: var(--f-display); font-size: 24px; line-height: 1.2; color: var(--ink); font-weight: 400; }
.review__role { color: var(--ink-3); font-size: 14px; line-height: 1.4; }
.review__body {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.35;
  font-style: italic;
  color: var(--ink);
  text-wrap: pretty;
}
.review__body::before { content: "« "; color: var(--ink-3); }
.review__body::after { content: " »"; color: var(--ink-3); }

@media (max-width: 860px) {
  .review { grid-template-columns: 1fr; gap: var(--s-3); padding: var(--s-5) 0; }
}

/* ─── Contact section ─── */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-7);
  align-items: start;
}
.contact__big {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.contact__big em { font-style: italic; color: var(--ink-2); }
.contact__channels { display: flex; flex-direction: column; gap: 0; margin-top: var(--s-3); }
.channel {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: padding-left .25s;
}
.channel:hover { padding-left: 8px; }
.channel:last-child { border-bottom: 1px solid var(--rule); }
.channel__platform { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.channel__handle { font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); font-weight: 400; }
.channel__cta { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }

@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; gap: var(--s-3); }
  .channel { grid-template-columns: 70px 1fr auto; }
}

/* ─── FAQ ─── */
.faq__list { display: flex; flex-direction: column; }
.faq__item {
  border-top: 1px solid var(--rule);
  padding: var(--s-3) 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--rule); }
.faq__q {
  display: grid; grid-template-columns: 36px 1fr 24px;
  gap: var(--s-3); align-items: baseline;
  width: 100%; text-align: left;
  background: transparent; border: 0; padding: var(--s-3) 0;
  font-family: var(--f-display); font-weight: 400; font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3; color: var(--ink);
  cursor: default;
}
.faq__q .num { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.12em; }
.faq__q .toggle {
  font-family: var(--f-mono); font-size: 18px; line-height: 1;
  color: var(--ink-2);
  transition: transform .3s ease;
}
.faq__item.open .faq__q .toggle { transform: rotate(45deg); color: var(--accent); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner {
  overflow: hidden;
  padding-left: 36px + var(--s-3);
  padding-left: calc(36px + var(--s-3));
}
.faq__a p {
  color: var(--ink-2);
  margin: 0 0 var(--s-2);
  padding-bottom: var(--s-3);
  max-width: 70ch;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--ink);
  color: color-mix(in oklab, var(--paper) 80%, transparent);
  padding: var(--pad-dense) var(--gutter) var(--s-4);
  margin-top: var(--s-7);
}
.site-footer .container {
  padding: 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-5);
  align-items: start;
}
.site-footer__wordmark {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  font-weight: 300;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.site-footer__wordmark em { font-style: italic; color: color-mix(in oklab, var(--paper) 60%, var(--ink)); }
.site-footer h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: color-mix(in oklab, var(--paper) 60%, transparent);
  margin: 0 0 var(--s-2);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: var(--paper); transition: opacity .2s; }
.site-footer a:hover { opacity: 0.6; }
.site-footer__copy {
  max-width: var(--container); margin: var(--s-5) auto 0;
  padding-top: var(--s-3);
  border-top: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
  display: flex; justify-content: space-between; gap: var(--s-3);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 50%, transparent);
}

@media (max-width: 860px) {
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .site-footer__wordmark { grid-column: 1 / -1; }
  .site-footer__copy { flex-direction: column; gap: 8px; }
}

/* ─── Section heading ─── */
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-6);
  align-items: end;
  margin-bottom: var(--s-5);
}
.section-head .label { padding-bottom: 6px; }
.section-head__title { margin: 0; }
.section-head__lede { color: var(--ink-2); max-width: 50ch; padding-bottom: 6px; font-size: 17px; line-height: 1.55; }

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: var(--s-2); }
}

/* ─── Marquee ─── */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--rule);
  padding-block: var(--s-3);
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 300;
  font-style: italic;
  color: var(--ink-3);
  white-space: nowrap;
}
.marquee__track { display: inline-flex; gap: var(--s-7); padding-left: var(--s-7); will-change: transform; }
.marquee__track span { display: inline-block; }
.marquee__star { color: var(--accent); font-style: normal; }
.marquee:not(.marquee--scroll) .marquee__track { animation: marquee 40s linear infinite; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Cursor blob — soft warm light that follows the pointer */
.cursor-blob {
  position: fixed;
  top: 0; left: 0;
  width: 380px; height: 380px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  background: radial-gradient(circle at center,
    color-mix(in oklab, var(--accent) 36%, transparent) 0%,
    color-mix(in oklab, var(--accent) 14%, transparent) 30%,
    transparent 70%);
  filter: blur(20px);
  mix-blend-mode: multiply;
  transition: opacity .4s ease, width .35s ease, height .35s ease;
}
[data-theme="dark"] .cursor-blob { mix-blend-mode: screen; }
.cursor-blob.is-active { opacity: 1; }
.cursor-blob.is-hot {
  width: 520px; height: 520px;
}
@media (hover: none) {
  .cursor-blob { display: none; }
}

/* ─── Density tweak ─── */
[data-density="compact"] {
  --pad-airy: clamp(56px, 8vw, 96px);
  --pad-dense: clamp(36px, 5vw, 60px);
}
[data-density="airy"] {
  --pad-airy: clamp(112px, 14vw, 200px);
  --pad-dense: clamp(64px, 9vw, 120px);
}

/* ─── Accent override (for tweak) ─── */
.accent-text { color: var(--accent); }
