/* palette: bg=#15160E fg=#F4F1E8 accent=#ECBA4E */
/* fonts: display="Playfair Display" body="Inter" mono="Space Mono" */

:root {
  --bg: #15160E;         /* dominant near-black olive from reference */
  --bg-alt: #1C1E13;     /* alternating dark section */
  --bg-elev: #23261A;    /* card / elevated surface */
  --bg-invert: #F4F1E8;  /* inverted cream band for manifesto */
  --fg: #F4F1E8;         /* warm cream text */
  --fg-soft: #D9D5C6;    /* softer cream */
  --muted: #948F7D;      /* muted olive-grey secondary text */
  --accent: #ECBA4E;     /* golden amber from hero headline + CTA pill */
  --accent-deep: #C9982F;/* darker gold for hover */
  --accent-2: #C0483A;   /* brick-red sponsor/tag accent (TORO-like) */
  --border: rgba(244, 241, 232, 0.13);
  --border-strong: rgba(244, 241, 232, 0.28);

  --serif: 'Playfair Display', ui-serif, Georgia, serif;
  --sans: 'Inter', 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: clamp(20px, 5vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  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: var(--bg); }

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

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--plain::before { display: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; }
h1 { letter-spacing: -0.02em; }
h2 { letter-spacing: -0.02em; }

.h-section {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 60ch;
}
em { font-style: italic; }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--accent); color: #1c1608; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--onlight { background: #1c1608; color: var(--bg-invert); }
.btn--onlight:hover { background: #000; transform: translateY(-2px); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  transition: gap 0.35s var(--ease), color 0.3s var(--ease);
}
.arrow-link::after { content: "\2192"; transition: transform 0.35s var(--ease); }
.arrow-link:hover { color: var(--accent); gap: 14px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 22, 14, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.8);
  background: rgba(21, 22, 14, 0.92);
}
.header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-block: 16px;
}
.header__left { display: flex; align-items: center; gap: 14px; }
.header__right { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }

.brand {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--fg);
}
.brand .dot { color: var(--accent); }

.menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.menu-toggle span { height: 1.5px; width: 100%; background: var(--fg); transition: transform 0.3s var(--ease), opacity 0.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); }

.header__nav { border-top: 1px solid var(--border); display: none; }
.header__nav ul {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 38px);
  flex-wrap: wrap;
}
.header__nav a {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-soft);
  transition: color 0.25s var(--ease);
}
.header__nav a:hover, .header__nav a[aria-current="page"] { color: var(--accent); }

.header__cta { display: none; }

@media (min-width: 1024px) {
  .header__nav { display: block; }
  .header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  padding: 96px var(--pad) 48px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 10px 0;
  display: block;
  border-bottom: 1px solid var(--border);
  transition: color 0.25s var(--ease), padding-left 0.35s var(--ease);
}
.mobile-menu a:hover { color: var(--accent); padding-left: 12px; }
.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: var(--pad);
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 22px;
}
.mobile-menu__meta { margin-top: 40px; font-family: var(--mono); font-size: 12px; color: var(--muted); line-height: 2; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(21,22,14,0.55) 0%, rgba(21,22,14,0.15) 32%, rgba(21,22,14,0.72) 78%, rgba(21,22,14,0.96) 100%);
}
.hero__inner { width: 100%; padding-bottom: clamp(48px, 8vw, 96px); padding-top: 120px; }
.hero__eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 15ch;
  margin-bottom: 24px;
}
.hero h1 em { color: var(--accent); }
.hero__sub {
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  color: var(--fg-soft);
  max-width: 46ch;
  line-height: 1.6;
}
.hero__foot {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.hero__thumbs {
  position: absolute;
  right: var(--pad);
  bottom: clamp(48px, 8vw, 96px);
  display: none;
  gap: 10px;
  z-index: 1;
}
.hero__thumbs figure {
  margin: 0;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  transition: transform 0.4s var(--ease);
}
.hero__thumbs figure:hover { transform: translateY(-6px); }
.hero__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .hero__thumbs { display: flex; } }

/* ---------- Featured band ---------- */
.featured {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.featured img.featured__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.featured::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(21,22,14,0.25) 0%, rgba(21,22,14,0.55) 55%, rgba(21,22,14,0.95) 100%);
}
.featured__inner { width: 100%; padding-block: clamp(48px, 7vw, 88px); }
.featured__grid { display: grid; gap: 24px; align-items: end; }
.featured .tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--accent-2);
  color: #fff;
  padding: 5px 10px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.featured h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  font-weight: 500;
  max-width: 20ch;
}
.featured__byline { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--fg-soft); }
@media (min-width: 900px) {
  .featured__grid { grid-template-columns: 1fr auto; }
  .featured__cta { padding-bottom: 6px; }
}

/* ---------- Section heads ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head h2 { max-width: 18ch; }
.section-head p { margin: 14px 0 0; }

/* ---------- Article / case cards ---------- */
.card-grid { display: grid; gap: clamp(22px, 3vw, 34px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid.card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.5);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px -18px rgba(0, 0, 0, 0.7); border-color: var(--border-strong); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.card__title { font-size: 1.5rem; line-height: 1.14; font-weight: 500; }
.card__excerpt { font-size: 0.98rem; color: var(--muted); line-height: 1.6; margin: 0; }
.card__meta { margin-top: auto; padding-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; color: var(--muted); }

/* ---------- Topics grid ---------- */
.topics { display: grid; gap: 0; border-top: 1px solid var(--border); }
.topic {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 4vw, 48px);
  align-items: baseline;
  padding: clamp(26px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.4s var(--ease), background 0.4s var(--ease);
}
.topic:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(236,186,78,0.05), transparent); }
.topic__num { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.05em; padding-top: 8px; }
.topic__title { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 500; line-height: 1.05; }
.topic__desc { color: var(--muted); margin: 12px 0 0; max-width: 62ch; font-size: 1rem; }
@media (min-width: 860px) {
  .topic { grid-template-columns: 90px minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
  .topic__desc { margin: 0; }
}

/* ---------- Manifesto (inverted cream band) ---------- */
.manifesto { background: var(--bg-invert); color: #17180F; }
.manifesto .eyebrow { color: var(--accent-deep); }
.manifesto .eyebrow::before { background: var(--accent-deep); }
.manifesto__quote {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.16;
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin: 0 auto;
  text-align: center;
}
.manifesto__quote em { color: var(--accent-deep); }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(6rem, 14vw, 12rem);
  line-height: 0.6;
  color: var(--accent);
  text-align: center;
  display: block;
  margin-bottom: -10px;
  height: 0.55em;
}
.manifesto__by { text-align: center; margin-top: 42px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #6a6552; }

/* ---------- Stats ---------- */
.stats-band { background: var(--bg-alt); border-block: 1px solid var(--border); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 5vw, 56px); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 500; color: var(--accent); line-height: 1; letter-spacing: -0.02em; }
.stat__label { margin-top: 12px; font-size: 0.95rem; color: var(--fg-soft); line-height: 1.5; }

/* ---------- Split / prose ---------- */
.split { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--media-first > .split__media { order: -1; } }
.split__media { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--border); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.prose > * + * { margin-top: 1.15em; }
.prose p { color: var(--fg-soft); }
.prose h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose ul { padding-left: 0; list-style: none; margin: 0; }
.prose ul li { position: relative; padding-left: 26px; color: var(--fg-soft); margin-top: 12px; }
.prose ul li::before { content: "\2192"; position: absolute; left: 0; color: var(--accent); }

/* ---------- Team / principles (text-only, monogram) ---------- */
.people-grid { display: grid; gap: clamp(20px, 3vw, 32px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
.person { border: 1px solid var(--border); border-radius: 12px; padding: 28px; background: var(--bg-elev); transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.person:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.avatar {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: #1c1608;
  margin-bottom: 20px;
}
.person__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.person__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.person__bio { color: var(--muted); font-size: 0.96rem; margin: 14px 0 0; line-height: 1.6; }

/* ---------- CTA / newsletter ---------- */
.cta-band { background: var(--bg-alt); border-top: 1px solid var(--border); }
.cta__wrap { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 900px) { .cta__wrap { grid-template-columns: 1.1fr 0.9fr; } }
.cta h2 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.04; font-weight: 500; max-width: 16ch; }
.cta p { color: var(--fg-soft); margin: 20px 0 0; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-soft); }
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(236,186,78,0.16); }
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.form__note a { color: var(--accent); }

.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 200px; }

/* ---------- Contact info list ---------- */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.info-list li { padding: 22px 0; border-bottom: 1px solid var(--border); display: grid; gap: 6px; }
.info-list .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.info-list .v { font-size: 1.1rem; color: var(--fg); }
.info-list .v a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: #101109; border-top: 1px solid var(--border); padding-block: clamp(56px, 8vw, 96px) 40px; }
.footer__top { display: grid; gap: clamp(36px, 5vw, 56px); grid-template-columns: 1fr; }
@media (min-width: 780px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand .brand { text-align: left; font-size: 1.9rem; }
.footer__tag { color: var(--muted); margin: 18px 0 0; max-width: 34ch; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 400; margin-bottom: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__col a, .footer__col span { color: var(--fg-soft); font-size: 0.96rem; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--accent); }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-top: clamp(120px, 18vw, 200px); padding-bottom: clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); line-height: 0.98; letter-spacing: -0.03em; font-weight: 400; max-width: 16ch; }
.page-hero h1 em { color: var(--accent); }
.page-hero .lead { margin-top: 26px; }

/* ---------- Legal prose ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 2em; }
.legal h3 { font-size: 1.2rem; margin-top: 1.6em; font-family: var(--serif); }
.legal p, .legal li { color: var(--fg-soft); font-size: 1rem; line-height: 1.75; }
.legal ul { padding-left: 22px; }
.legal li { margin-top: 8px; }
.legal .updated { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 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.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg-elev); border: 1px solid var(--border-strong); padding: 32px 36px; max-width: 480px; border-radius: 14px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.9); }
.cookie-popup__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.4rem; font-weight: 500; margin-bottom: 10px; }
.cookie-popup__card p { font-size: 0.9rem; color: var(--fg-soft); line-height: 1.65; margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 24px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 13px; font-weight: 600; transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease); }
.cookie-popup__actions button:hover { transform: translateY(-2px); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #1c1608; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mono-note { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; color: var(--muted); }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #1c1608; padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
