/* palette: bg=#0B0F0E fg=#F4F3EF accent=#E8883C */
/* fonts: display="Archivo" body="Inter" mono="Space Mono" */

:root {
  --bg: #0B0F0E;          /* dominant dark background from reference */
  --bg-alt: #EFEDE7;      /* light alternating section (off-white) */
  --bg-deep: #070A09;     /* deeper black for footer */
  --fg: #F4F3EF;          /* primary text on dark */
  --fg-ink: #14181A;      /* primary text on light sections */
  --fg-soft: #D8D7D1;
  --muted: #8B948F;       /* muted grey-green */
  --muted-ink: #5B615F;   /* muted on light */
  --accent: #E8883C;      /* amber accent (headline words / CTA) */
  --accent-deep: #C96E28; /* darker amber for hover */
  --sage: #89AC9F;        /* teal-sage secondary (edge tab) */
  --sage-deep: #6E9488;
  --border: rgba(244, 243, 239, 0.14);
  --border-ink: rgba(20, 24, 26, 0.14);
  --serif: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  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; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.section--light { background: var(--bg-alt); color: var(--fg-ink); }
.section--light .eyebrow { color: var(--accent-deep); }
.section--light h1, .section--light h2, .section--light h3 { color: var(--fg-ink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 15, 14, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 10px 40px -20px rgba(0,0,0,0.9);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; flex-direction: column; line-height: 1; letter-spacing: -0.02em; }
.brand__mark { font-family: var(--serif); font-weight: 600; font-size: 17px; }
.brand__mark em { color: var(--accent); font-style: normal; }
.brand__sub { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: none; gap: 30px; }
.nav a { font-size: 13.5px; color: var(--fg-soft); transition: color .25s var(--ease); position: relative; }
.nav a:hover { color: var(--fg); }
.nav a::after { content:""; position:absolute; left:0; bottom:-6px; width:0; height:1px; background:var(--accent); transition:width .3s var(--ease); }
.nav a:hover::after { width:100%; }
.header__actions { display: none; align-items: center; gap: 10px; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__actions { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px;
  border-radius: 9999px;
  font-size: 13.5px; font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { background: var(--accent); color: #14100B; transform: translateY(-2px); }
.btn--ghost { border-color: var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #14100B; }
.btn--accent:hover { background: var(--accent-deep); transform: translateY(-2px); }
.section--light .btn--ghost { border-color: var(--border-ink); color: var(--fg-ink); }
.section--light .btn--ghost:hover { border-color: var(--fg-ink); }
.section--light .btn--solid { background: var(--fg-ink); color: var(--bg-alt); }
.section--light .btn--solid:hover { background: var(--accent-deep); color: #fff; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--accent);
  transition: gap .3s var(--ease);
}
.arrow-link:hover { gap: 14px; }

/* ---------- Mobile menu ---------- */
.menu-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; margin-right: -10px; }
.menu-toggle span { width: 22px; height: 1.5px; background: var(--fg); transition: transform .3s 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); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.mobile-menu {
  position: fixed; inset: 68px 0 0; z-index: 99;
  background: var(--bg);
  padding: 40px 24px;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateX(0); }
.mobile-menu a.mnav { font-family: var(--serif); font-size: 30px; padding: 16px 0; border-bottom: 1px solid var(--border); color: var(--fg); }
.mobile-menu a.mnav:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 12px; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(48px, 8vw, 96px);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,10,9,0.72) 0%, rgba(7,10,9,0.30) 34%, rgba(7,10,9,0.55) 78%, rgba(7,10,9,0.92) 100%),
    radial-gradient(120% 90% at 20% 40%, rgba(7,10,9,0.55), transparent 60%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero h1 {
  font-size: clamp(3.1rem, 10vw, 8.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 500;
  max-width: 15ch;
  margin: 20px 0 0;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero__sub {
  margin-top: 34px;
  max-width: 46ch;
  font-size: 16px;
  color: var(--fg-soft);
  line-height: 1.7;
  margin-left: auto;
  text-align: left;
}
@media (min-width: 900px) {
  .hero__sub { margin-top: 40px; max-width: 40ch; }
  .hero__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
}
.edge-tab {
  position: fixed; right: 0; top: 46%; z-index: 40;
  writing-mode: vertical-rl;
  background: var(--sage); color: #0d1512;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 16px 8px; border-radius: 6px 0 0 6px;
  transition: background .3s var(--ease);
}
.edge-tab:hover { background: var(--sage-deep); }

/* ---------- Intro manifesto band ---------- */
.manifesto-band { background: var(--bg); }
.manifesto-band .lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.manifesto-band .lead em { color: var(--accent); font-style: normal; }
.manifesto-band .cols { display: grid; gap: 40px; }
.manifesto-band .cols p { color: var(--muted); font-size: 16.5px; margin: 0 0 18px; }
@media (min-width: 900px) {
  .manifesto-band .cols { grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: start; }
}

/* ---------- Tabbed about (light) ---------- */
.abouttabs__grid { display: grid; gap: 44px; }
@media (min-width: 900px) { .abouttabs__grid { grid-template-columns: 1fr 0.92fr; gap: 72px; align-items: center; } }
.tabbar { display: flex; gap: 6px; margin-bottom: 30px; flex-wrap: wrap; }
.tabbar button {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 9px 15px; border-radius: 9999px; border: 1px solid var(--border-ink); color: var(--muted-ink);
  transition: all .28s var(--ease);
}
.tabbar button[aria-selected="true"] { background: var(--fg-ink); color: var(--bg-alt); border-color: var(--fg-ink); }
.tabpanel { display: none; }
.tabpanel[data-active="true"] { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tabpanel h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 20px; }
.tabpanel p { color: var(--muted-ink); font-size: 16.5px; margin: 0 0 16px; }
.abouttabs__media { border-radius: 10px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 24px 60px -24px rgba(0,0,0,0.35); }
.abouttabs__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Section heading block ---------- */
.head-block { max-width: 60ch; margin-bottom: 64px; }
.head-block h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); letter-spacing: -0.02em; line-height: 1.04; }
.head-block h2 em { color: var(--accent); font-style: normal; }
.section--light .head-block h2 em { color: var(--accent-deep); }
.head-block p { color: var(--muted); font-size: 17px; margin-top: 24px; max-width: 52ch; }
.section--light .head-block p { color: var(--muted-ink); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.head-row .head-block { margin-bottom: 0; }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.svc-card {
  background: var(--bg);
  padding: 40px 34px 46px;
  transition: background .35s var(--ease);
  position: relative;
}
.svc-card:hover { background: #101614; }
.svc-card__no { font-family: var(--mono); font-size: 12px; color: var(--sage); letter-spacing: 0.1em; }
.svc-card h3 { font-size: 1.4rem; letter-spacing: -0.01em; margin: 22px 0 14px; }
.svc-card p { color: var(--muted); font-size: 15.5px; margin: 0 0 20px; }
.svc-card ul { list-style: none; margin: 0; padding: 0; }
.svc-card li { font-size: 14px; color: var(--fg-soft); padding: 8px 0; border-top: 1px solid var(--border); display: flex; gap: 10px; }
.svc-card li::before { content: "›"; color: var(--accent); }

/* ---------- Stats band (dark inverted) ---------- */
.stats { background: var(--bg-deep); }
.stats__grid { display: grid; gap: 40px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -0.03em; line-height: 1; }
.stat__num em { color: var(--accent); font-style: normal; }
.stat__label { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 22ch; }

/* ---------- Work / projects ---------- */
.work-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-card {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  background: #0e1413;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.4);
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px -18px rgba(0,0,0,0.7); }
.work-card__media { aspect-ratio: 16/11; overflow: hidden; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__body { padding: 26px 26px 30px; }
.work-card__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); }
.work-card h3 { font-size: 1.35rem; margin: 14px 0 10px; letter-spacing: -0.01em; }
.work-card p { color: var(--muted); font-size: 15px; margin: 0 0 18px; }

/* ---------- Community / members ---------- */
.member-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .member-grid { grid-template-columns: repeat(3, 1fr); } }
.member-card { border: 1px solid var(--border); border-radius: 12px; padding: 30px 26px; background: #0e1413; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.member-card:hover { border-color: var(--sage); transform: translateY(-4px); }
.avatar { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; font-size: 19px; color: #0d1512; letter-spacing: -0.02em; }
.member-card h3 { font-size: 1.15rem; margin: 20px 0 4px; }
.member-card .role { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--sage); text-transform: uppercase; }
.member-card p { color: var(--muted); font-size: 14.5px; margin: 16px 0 0; }

/* ---------- Events ---------- */
.event-list { display: grid; gap: 0; border-top: 1px solid var(--border); }
.event-row { display: grid; gap: 12px; padding: 30px 0; border-bottom: 1px solid var(--border); transition: padding-left .3s var(--ease); }
.event-row:hover { padding-left: 12px; }
@media (min-width: 800px) { .event-row { grid-template-columns: 160px 1fr auto; align-items: center; gap: 32px; } }
.event-date { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.04em; }
.event-row h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
.event-row .meta { color: var(--muted); font-size: 14px; }

/* ---------- Manifesto quote (inverted) ---------- */
.quote-band { background: var(--fg); color: var(--fg-ink); }
.quote-band .big-quote {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.18; letter-spacing: -0.02em;
  max-width: 20ch; margin: 0 auto; text-align: center;
  position: relative;
}
.quote-band .big-quote em { color: var(--accent-deep); font-style: normal; }
.quote-band .qmark { font-family: var(--serif); font-size: 6rem; color: var(--accent); line-height: 0; display: block; margin-bottom: 20px; text-align: center; }
.quote-band .qattr { text-align: center; margin-top: 40px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-ink); }

/* ---------- Discussion preview ---------- */
.thread { border: 1px solid var(--border); border-radius: 12px; padding: 26px 28px; background: #0e1413; margin-bottom: 16px; transition: border-color .3s var(--ease); }
.thread:hover { border-color: var(--border); background: #101614; }
.thread__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.thread__top .avatar { width: 34px; height: 34px; font-size: 13px; }
.thread__meta { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; }
.thread h3 { font-size: 1.12rem; margin: 0 0 8px; letter-spacing: -0.01em; }
.thread p { color: var(--muted); font-size: 14.5px; margin: 0; }
.thread__stats { margin-top: 16px; display: flex; gap: 22px; font-family: var(--mono); font-size: 11.5px; color: var(--sage); }

/* ---------- CTA ---------- */
.cta { background: var(--accent); color: #14100B; text-align: center; }
.cta h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); letter-spacing: -0.03em; line-height: 1.02; max-width: 18ch; margin: 0 auto; }
.cta p { max-width: 48ch; margin: 26px auto 40px; font-size: 17px; color: #3a2c18; }
.cta .btn--solid { background: #14100B; color: var(--accent); }
.cta .btn--solid:hover { background: #000; transform: translateY(-2px); }
.cta .btn--ghost { border-color: rgba(20,16,11,0.35); color: #14100B; }
.cta .btn--ghost:hover { border-color: #14100B; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }
.contact-info h3 { font-size: 1.1rem; margin: 0 0 6px; }
.contact-info .block { padding: 22px 0; border-bottom: 1px solid var(--border); }
.contact-info .block:first-of-type { border-top: 1px solid var(--border); }
.contact-info .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin-bottom: 8px; }
.contact-info p { color: var(--fg-soft); font-size: 15.5px; margin: 0; }
.form { display: grid; gap: 20px; }
.form .row { display: grid; gap: 20px; }
@media (min-width: 600px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  background: #0e1413; border: 1px solid var(--border); color: var(--fg);
  padding: 14px 16px; border-radius: 8px; font: inherit; font-size: 15px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: #101817; }
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: 13px; color: var(--muted); }
.form__note a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); padding: 80px 0 40px; border-top: 1px solid var(--border); }
.footer__grid { display: grid; gap: 44px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }
.footer__brand .brand__mark { font-size: 22px; }
.footer__brand p { color: var(--muted); font-size: 14.5px; margin: 20px 0 0; max-width: 34ch; }
.footer col, .footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin: 0 0 18px; font-weight: 400; }
.footer__col a, .footer__col p { display: block; color: var(--muted); font-size: 14.5px; padding: 6px 0; transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--fg); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--border); }
.footer__bottom p, .footer__bottom a { font-size: 12.5px; color: var(--muted); }
.footer__bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--fg); }

/* ---------- Legal / prose pages ---------- */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 16px; }
.prose .updated { font-family: var(--mono); font-size: 12px; color: var(--sage); letter-spacing: 0.06em; margin-bottom: 48px; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.01em; margin: 48px 0 16px; }
.prose h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 16px; line-height: 1.78; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Thanks page ---------- */
.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.thanks .container { max-width: 640px; }
.thanks h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); letter-spacing: -0.03em; line-height: 1.02; }
.thanks h1 em { color: var(--accent); font-style: normal; }
.thanks p { color: var(--muted); font-size: 17px; margin: 24px 0 36px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: clamp(120px, 18vw, 200px) 0 clamp(60px, 8vw, 100px); position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 8vw, 6rem); letter-spacing: -0.03em; line-height: 1.0; font-weight: 500; max-width: 16ch; }
.page-hero h1 em { color: var(--accent); font-style: normal; }
.page-hero p { color: var(--muted); font-size: 17.5px; margin-top: 28px; max-width: 54ch; }

/* ---------- Cookie popup ---------- */
.cookie-popup { position:fixed; inset:0; z-index:9999; display:flex; align-items:flex-end; padding:24px; background:rgba(0,0,0,0.4); 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(--bg); padding:32px 36px; max-width:480px; border-radius:10px; border:1px solid var(--border); box-shadow: 0 30px 70px -20px rgba(0,0,0,0.8); }
.cookie-popup__label { font-family:var(--mono); font-size:11px; letter-spacing:0.14em; text-transform:uppercase; color:var(--sage); margin-bottom:14px; }
.cookie-popup__card h3 { font-size:1.3rem; letter-spacing:-0.01em; margin:0 0 12px; }
.cookie-popup__card p { color:var(--muted); font-size:14px; margin:0; line-height:1.65; }
.cookie-popup__actions { display:flex; gap:12px; margin-top:20px; }
.cookie-popup__actions button { padding:11px 24px; border:1px solid var(--border); cursor:pointer; font-size:13.5px; border-radius:9999px; transition: all .25s var(--ease); }
.cookie-popup__actions button:hover { border-color: var(--fg); }
.cookie-popup__actions button:last-child { background:var(--accent); color:#14100B; border-color:var(--accent); }
.cookie-popup__actions button:last-child:hover { background:var(--accent-deep); border-color:var(--accent-deep); }

/* ---------- Misc ---------- */
.divider { height:1px; background: var(--border); border:0; margin:0; }
.pill-list { display:flex; gap:10px; flex-wrap:wrap; margin-top:28px; }
.pill { font-family:var(--mono); font-size:11.5px; letter-spacing:0.06em; text-transform:uppercase; padding:8px 15px; border:1px solid var(--border); border-radius:9999px; color:var(--fg-soft); }
.section--light .pill { border-color: var(--border-ink); color: var(--muted-ink); }
