/* palette: bg=#0B0B0C fg=#ECE7DC accent=#CB4A2F */
/* fonts: display="Libre Caslon Text" body="Hanken Grotesk" mono="Space Mono" */

:root {
  --bg: #0B0B0C;        /* dominant near-black, warm */
  --bg-alt: #131315;    /* alternating section */
  --bg-deep: #070708;   /* deepest band / footer */
  --panel: #111113;     /* card surface */
  --panel-2: #16161A;   /* raised card */
  --fg: #ECE7DC;        /* warm off-white */
  --fg-soft: #CBC6BB;   /* softened foreground */
  --muted: #817D74;     /* secondary text */
  --cream: #ECE6D6;     /* inverted section background */
  --cream-ink: #15120D; /* ink on cream */
  --cream-muted: #6B6453;
  --accent: #CB4A2F;    /* sealing-wax red */
  --accent-deep: #A6381F;
  --accent-soft: rgba(203, 74, 47, 0.14);
  --border: rgba(236, 231, 220, 0.13);
  --border-strong: rgba(236, 231, 220, 0.24);
  --serif: 'Libre Caslon Text', ui-serif, Georgia, serif;
  --sans: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1280px;
  --pad: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ───────────────────────── Layout primitives ───────────────────────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: clamp(80px, 12vw, 160px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); }

.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ───────────────────────── Typographic utilities ───────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  flex: none;
}
.eyebrow--index { color: var(--accent); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}
h1.display { font-size: clamp(2.9rem, 6.6vw, 5.6rem); letter-spacing: -0.03em; }
h2.display { font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1.05; }
h3.display { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.12; }
.display em { font-style: italic; color: var(--accent); }

.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.68;
  color: var(--fg-soft);
  max-width: 54ch;
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.kicker-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
}

/* ───────────────────────── Buttons & links ─────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 26px;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arr { transform: translateX(4px); }
.btn--solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--block { width: 100%; justify-content: space-between; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-soft);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 4px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow .arr { transition: transform .3s var(--ease); }
.link-arrow:hover .arr { transform: translateX(4px); }

/* ───────────────────────── Header ──────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 11, 12, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  background: rgba(8, 8, 9, 0.9);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: baseline; gap: 10px; }
.brand__mark {
  font-family: var(--serif);
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.brand__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  align-self: center;
}
.nav { display: none; align-items: center; gap: 34px; }
.nav a {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  transition: color .3s var(--ease);
  position: relative;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 1px; background: var(--accent);
}
.header__cta { display: none; }

.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
}
.menu-toggle span {
  display: block; height: 1.5px; width: 100%; background: var(--fg);
  transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ───────────────────────── Mobile menu ─────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg-deep);
  padding: 96px var(--pad) 40px;
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.mobile-menu[data-open="true"] { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a.mm__link {
  font-family: var(--serif); font-size: 2rem; padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: baseline;
}
.mobile-menu a.mm__link span { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.14em; }
.mobile-menu__foot { margin-top: auto; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }

/* ───────────────────────── Status strip ────────────────────────────── */
.status-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.status-strip__inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 42px; gap: 18px; overflow: hidden; white-space: nowrap;
}
.status-strip__mid { display: none; }
.status-strip .live { color: var(--fg-soft); display: inline-flex; align-items: center; gap: 8px; }
.status-strip .live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ───────────────────────── Hero console ────────────────────────────── */
.hero { position: relative; min-height: calc(100vh - 110px); display: flex; align-items: stretch; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(203, 74, 47, 0.1), transparent 60%),
    radial-gradient(90% 70% at 10% 100%, rgba(236, 231, 220, 0.04), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.hero__col { padding: 40px 0; border-top: 1px solid var(--border); }
.hero__col:first-child { border-top: 0; }
.hero__col-head {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 26px; display: flex; justify-content: space-between;
}
.hero__col-head span:last-child { color: var(--accent); }

.hero__briefing h1 { margin: 0 0 28px; }
.hero__status { border-top: 1px solid var(--border); margin: 30px 0; }
.hero__status .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 0; border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.hero__status .row .k { color: var(--muted); }
.hero__status .row .v { color: var(--fg-soft); display: inline-flex; align-items: center; gap: 8px; }
.hero__status .row .v .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero__intro { color: var(--fg-soft); max-width: 46ch; font-size: 1.04rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* capability rows (mirrors control key-caps) */
.cap-row {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
  padding: 15px 0; border-bottom: 1px solid var(--border);
}
.cap-row:first-of-type { border-top: 1px solid var(--border); }
.key-chip {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--fg); border: 1px solid var(--border-strong);
  padding: 7px 10px; min-width: 52px; text-align: center;
  background: var(--panel);
}
.cap-row .cap-label { display: flex; flex-direction: column; gap: 2px; }
.cap-row .cap-label b { font-family: var(--sans); font-weight: 500; font-size: 0.98rem; letter-spacing: 0; }
.cap-row .cap-label small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }

/* numbered platform list (mirrors "THE STUDIO") */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.index-list li {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--border);
  transition: color .3s var(--ease);
}
.index-list li .n { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.index-list li .t { font-family: var(--serif); font-size: 1.12rem; }
.index-list li .m { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.index-list li:hover { color: var(--fg); }
.index-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--muted); line-height: 1.7; margin-top: 20px; }

/* ───────────────────────── Section header block ────────────────────── */
.sec-head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; }
.sec-head .sec-head__lede { max-width: 50ch; }

/* ───────────────────────── Manifesto (inverted cream) ──────────────── */
.manifesto {
  background: var(--cream); color: var(--cream-ink);
  padding-block: clamp(90px, 13vw, 180px);
}
.manifesto .eyebrow { color: var(--cream-muted); }
.manifesto .eyebrow .dot { box-shadow: 0 0 0 4px rgba(203, 74, 47, 0.18); }
.manifesto blockquote {
  margin: 0; max-width: 20ch; position: relative;
}
.manifesto .quote-mark {
  font-family: var(--serif); font-size: clamp(5rem, 14vw, 11rem); line-height: 0.6;
  color: var(--accent); display: block; margin-bottom: 10px;
}
.manifesto__statement {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.9rem); line-height: 1.16; letter-spacing: -0.02em;
  max-width: 18ch; margin: 0;
}
.manifesto__statement em { font-style: italic; color: var(--accent); }
.manifesto__by {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream-muted); margin-top: 40px;
}

/* ───────────────────────── Editions / cards grid ───────────────────── */
.editions { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.edition {
  background: var(--bg); padding: 0; position: relative;
  transition: background .4s var(--ease);
  display: flex; flex-direction: column;
}
.edition:hover { background: var(--panel); }
.edition__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.edition__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); filter: grayscale(0.25) contrast(1.02); }
.edition:hover .edition__media img { transform: scale(1.05); filter: grayscale(0) contrast(1.05); }
.edition__cat {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg); background: rgba(8,8,9,0.72); padding: 6px 11px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.edition__body { padding: 26px 24px 30px; display: flex; flex-direction: column; flex: 1; }
.edition__body .kicker-num { margin-bottom: 14px; }
.edition__title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.16; margin: 0 0 14px; }
.edition__excerpt { color: var(--muted); font-size: 0.98rem; line-height: 1.66; margin: 0 0 24px; }
.edition__foot { margin-top: auto; }

/* ───────────────────────── Stats band ──────────────────────────────── */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-block: 1px solid var(--border); }
.stat { background: var(--bg-deep); padding: 40px 24px; }
.stat .num { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; letter-spacing: -0.02em; }
.stat .num em { font-style: normal; color: var(--accent); font-size: 0.5em; vertical-align: super; }
.stat .lab { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.stat .desc { color: var(--fg-soft); font-size: 0.92rem; margin-top: 10px; line-height: 1.6; }

/* ───────────────────────── Feature split ───────────────────────────── */
.feature { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.feature__media { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--border); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2) contrast(1.03); }
.feature__body h2 { margin-bottom: 24px; }
.feature__meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; border-top: 1px solid var(--border); padding-top: 26px; }
.feature__meta div .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.feature__meta div .v { font-family: var(--serif); font-size: 1.3rem; margin-top: 4px; }

/* ───────────────────────── Principles list ─────────────────────────── */
.principles { border-top: 1px solid var(--border); }
.principle {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  padding: 40px 0; border-bottom: 1px solid var(--border);
  transition: padding-left .4s var(--ease);
}
.principle:hover { padding-left: 14px; }
.principle__n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); }
.principle__t { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.12; margin: 0; }
.principle__d { color: var(--muted); max-width: 56ch; }

/* ───────────────────────── FAQ ─────────────────────────────────────── */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 28px 0; font-family: var(--serif); font-size: clamp(1.2rem, 2.3vw, 1.6rem); color: var(--fg);
}
.faq__q .sign { font-family: var(--mono); font-size: 1.1rem; color: var(--accent); transition: transform .4s var(--ease); flex: none; }
.faq__item[data-open="true"] .faq__q .sign { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq__a-inner { padding: 0 0 30px; color: var(--fg-soft); max-width: 68ch; }
.faq__item[data-open="true"] .faq__a { max-height: 420px; }

/* ───────────────────────── CTA band ────────────────────────────────── */
.cta-band {
  background: var(--accent); color: #fff;
  padding-block: clamp(80px, 11vw, 140px);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 100% 0%, rgba(0,0,0,0.28), transparent 60%);
  pointer-events: none;
}
.cta-band .eyebrow { color: rgba(255,255,255,0.72); }
.cta-band .eyebrow .dot { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.2); }
.cta-band h2 { color: #fff; margin: 0 0 32px; max-width: 16ch; }
.cta-band .lede { color: rgba(255,255,255,0.86); }
.cta-band .btn--ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--accent); border-color: #fff; }
.cta-band__wrap { position: relative; z-index: 1; }

/* ───────────────────────── Form ────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--fg);
  background: transparent; border: 0; border-bottom: 1px solid var(--border-strong);
  padding: 12px 2px; transition: border-color .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field--full { grid-column: 1 / -1; }
.field select option { background: var(--bg); color: var(--fg); }
.form-consent { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--muted); line-height: 1.7; }
.form-consent a { color: var(--fg-soft); border-bottom: 1px solid var(--border-strong); }

/* ───────────────────────── Contact blocks ──────────────────────────── */
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--border); }
.contact-list .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 8px; }
.contact-list .v { font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; }
.contact-list .v a:hover { color: var(--accent); }

/* ───────────────────────── Prose (legal) ───────────────────────────── */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); margin: 48px 0 18px; letter-spacing: -0.01em; }
.prose h3 { font-family: var(--serif); font-size: 1.25rem; margin: 30px 0 12px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 1.02rem; line-height: 1.78; }
.prose ul { padding-left: 20px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); border-bottom: 1px solid var(--accent-soft); }
.prose strong { color: var(--fg); font-weight: 600; }
.legal-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; margin-bottom: 40px; }

/* page hero (interior) */
.page-hero { padding-block: clamp(64px, 10vw, 128px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--border); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lede { margin-top: 28px; }

/* thanks page */
.thanks { min-height: 72vh; display: flex; align-items: center; }
.thanks__inner { max-width: 640px; }
.thanks h1 { margin-bottom: 28px; }

/* ───────────────────────── Footer ──────────────────────────────────── */
.footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding-block: 72px 36px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 48px; }
.footer__brand .brand__mark { font-size: 1.8rem; }
.footer__tag { color: var(--muted); max-width: 34ch; margin-top: 18px; font-size: 0.98rem; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; }
.footer__col h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; font-weight: 400; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a, .footer__col span { color: var(--fg-soft); font-size: 0.95rem; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--muted);
}
.footer__bottom .legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bottom .legal-links a:hover { color: var(--fg-soft); }

/* ───────────────────────── Cookie popup ────────────────────────────── */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px; background: rgba(0,0,0,0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--panel); border: 1px solid var(--border); padding: 30px 32px; max-width: 460px; }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cookie-popup h3 { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 12px; }
.cookie-popup p { font-size: 0.92rem; color: var(--fg-soft); line-height: 1.65; margin: 0; }
.cookie-popup p a { color: var(--fg); border-bottom: 1px solid var(--border-strong); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 12px 22px; border: 1px solid var(--border-strong); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.cookie-popup__actions button:first-child:hover { border-color: var(--fg); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #fff; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); }

/* ───────────────────────── Reveal ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .edition__media img, .hero__zoom { transition: none !important; }
}

/* ───────────────────────── Responsive ──────────────────────────────── */
@media (min-width: 640px) {
  :root { --pad: 28px; }
  .status-strip__mid { display: block; }
  .editions { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  :root { --pad: 32px; }
  .sec-head { grid-template-columns: 0.9fr 1.1fr; align-items: end; }
  .feature { grid-template-columns: 1fr 1fr; gap: 56px; }
  .feature--rev .feature__media { order: 2; }
  .principle { grid-template-columns: 120px 1fr; gap: 30px; align-items: start; }
  .principle__head { display: contents; }
}
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .hero__grid { grid-template-columns: 1.3fr 0.95fr 1fr; column-gap: 0; }
  .hero__col { border-top: 0; border-left: 1px solid var(--border); padding: 8px 40px; }
  .hero__col:first-child { border-left: 0; padding-left: 0; }
  .hero__col:last-child { padding-right: 0; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .footer__top { grid-template-columns: 1.1fr 1.4fr; gap: 64px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 1200px) {
  .editions--3 { grid-template-columns: repeat(3, 1fr); }
}
