/* De Ballencommissie */
:root {
  --ink: oklch(0.18 0.012 60);
  --ink-2: oklch(0.28 0.012 60);
  --cream: oklch(0.97 0.012 80);
  --cream-2: oklch(0.93 0.014 80);
  --paper: oklch(0.99 0.008 80);
  --punch: oklch(0.68 0.22 35);
  --punch-deep: oklch(0.55 0.21 32);
  --sub: oklch(0.48 0.025 60);
  --line: oklch(0.86 0.012 70);

  --bg: var(--cream);
  --fg: var(--ink);
  --fg-sub: var(--sub);
  --accent: var(--punch);
  --surface: var(--paper);
  --border: var(--line);

  --display: "Bricolage Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1360px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  transition: background 0.3s, color 0.3s;
}

[data-theme="dark"] {
  --bg: oklch(0.16 0.012 60);
  --fg: oklch(0.97 0.012 80);
  --fg-sub: oklch(0.72 0.02 70);
  --surface: oklch(0.21 0.014 60);
  --border: oklch(0.32 0.014 60);
  --cream-2: oklch(0.24 0.014 60);
}
[data-theme="dark"] .nav .logo-badge { background: var(--cream); }
[data-theme="dark"] .footer { background: oklch(0.12 0.012 60); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Type system */
.display {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 75%;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-sub);
  font-weight: 500;
}

.h-xxl { font-size: clamp(64px, 11vw, 180px); }

/* Top nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in oklch, var(--border) 50%, transparent);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.logo-img {
  height: 40px; width: auto; display: block;
}
.logo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 6px; border-radius: 10px; background: transparent;
}
.nav-links {
  display: flex; gap: 32px; align-items: center;
}
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--fg-sub);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--fg); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.15s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--paper);
}
.btn-primary:hover { transform: translateY(-1px); background: var(--punch-deep); }
.btn-ghost {
  background: transparent; color: var(--fg);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: color-mix(in oklch, var(--fg) 6%, transparent); }
.btn-dark {
  background: var(--fg); color: var(--bg);
}
.btn-dark:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 18px 28px; font-size: 16px; }

.btn .arrow {
  display: inline-block; transition: transform 0.2s;
}
.btn:hover .arrow { transform: translateX(3px); }

/* Sections */
section { padding: clamp(72px, 10vw, 140px) 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; margin-bottom: 56px; flex-wrap: wrap;
}
.section-head .eyebrow { display: flex; align-items: center; gap: 10px; }
.section-head .eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}

/* HERO */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex; align-items: center;
  padding: clamp(60px, 9vw, 120px) 0 clamp(48px, 7vw, 88px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-sub);
  font-weight: 500;
}
.hero-kicker .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}
.hero-title {
  margin: 28px 0 0;
}
.hero-title .line { display: block; }
.hero-title .punch {
  color: var(--accent);
  font-style: italic;
  font-weight: 700;
}
.hero-sub {
  margin-top: 32px;
  max-width: 620px;
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--fg-sub);
  line-height: 1.5;
}
.hero-actions {
  margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap;
}

/* Stat ticker */
.ticker {
  margin-top: clamp(60px, 8vw, 100px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex; gap: 64px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.02em;
  align-items: center;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 24px;
}
.ticker-dot {
  width: 14px; height: 14px; border-radius: 50%; background: var(--accent);
  flex-shrink: 0;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Stats grid */
.stats {
  background: var(--fg);
  color: var(--bg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid color-mix(in oklch, var(--bg) 18%, transparent);
}
.stat {
  padding: 56px 32px;
  border-right: 1px solid color-mix(in oklch, var(--bg) 18%, transparent);
  position: relative;
}
.stat-num {
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 800;
  font-size: clamp(56px, 7vw, 110px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.stat-num .small { font-size: 0.5em; vertical-align: top; margin-right: 4px; opacity: 0.7; }
.stat-num .accent { color: var(--accent); }
.stat-label {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.7;
  text-transform: uppercase;
  font-family: var(--mono);
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* Recap */
.recap {
  position: relative;
}
.recap-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.recap-amount {
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 800;
  font-size: clamp(96px, 16vw, 240px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.recap-amount .euro { font-size: 0.55em; vertical-align: super; opacity: 0.7; }
.recap-quote {
  font-family: var(--display);
  font-stretch: 80%;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.recap-attr { color: var(--fg-sub); font-size: 14px; }
.recap-extra { margin-top: 28px; color: var(--fg-sub); max-width: 44ch; line-height: 1.6; }
.recap-meta { display: flex; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.recap-meta .pill {
  border: 1px solid var(--border); padding: 8px 14px; border-radius: 999px;
  font-size: 13px; color: var(--fg-sub);
  display: inline-flex; align-items: center; gap: 8px;
}
.recap-meta .pill::before {
  content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
}
@media (max-width: 900px) {
  .recap-grid { grid-template-columns: 1fr; }
}

/* About / cause */
.cause {
  background: var(--cream-2);
}
.cause-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.cause-headline {
  font-size: clamp(40px, 5.5vw, 80px);
  margin: 0 0 32px;
}
.cause-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-sub);
  max-width: 56ch;
}
.cause-text p + p { margin-top: 18px; }
.cause-text strong { color: var(--fg); font-weight: 600; }

/* 99% chart */
.chart {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
}
.chart svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.chart-bg { stroke: var(--border); fill: none; }
.chart-fg { stroke: var(--accent); fill: none; stroke-linecap: butt; }
.chart-center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.chart-center .num {
  font-family: var(--display); font-stretch: 75%; font-weight: 800;
  font-size: clamp(72px, 9vw, 130px); line-height: 1;
  letter-spacing: -0.03em;
}
.chart-center .num span.pct { color: var(--accent); }
.chart-center .label {
  margin-top: 8px; max-width: 22ch;
  font-size: 14px; color: var(--fg-sub);
}
@media (max-width: 900px) {
  .cause-grid { grid-template-columns: 1fr; }
  .chart { margin: 0 auto; }
}

/* Self-exam */
.exam {
  background: var(--fg);
  color: var(--bg);
}
.exam-head .eyebrow { color: color-mix(in oklch, var(--bg) 60%, transparent); }
.exam-head .eyebrow::before { background: var(--accent); }
.exam-headline {
  font-size: clamp(40px, 5.5vw, 80px);
  margin: 0 0 16px;
}
.exam-intro {
  max-width: 56ch; color: color-mix(in oklch, var(--bg) 70%, transparent);
  font-size: 18px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: color-mix(in oklch, var(--bg) 16%, transparent);
  border: 1px solid color-mix(in oklch, var(--bg) 16%, transparent);
  margin-top: 64px;
  border-radius: 4px;
  overflow: hidden;
}
.steps[hidden] { display: none; }
.step {
  background: var(--fg);
  padding: 36px 28px 32px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 320px;
  position: relative;
}
.step-num {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}
.step-illu {
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
  position: relative;
}
.step-illu svg { overflow: visible; }
.step-title {
  font-family: var(--display); font-stretch: 80%; font-weight: 700;
  font-size: 24px; line-height: 1.1; letter-spacing: -0.01em;
  margin: 0;
}
.step-text {
  font-size: 14px; line-height: 1.55;
  color: color-mix(in oklch, var(--bg) 70%, transparent);
  margin: 0;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
}

.exam-cta {
  margin-top: 40px;
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
}
.exam-note { color: color-mix(in oklch, var(--bg) 55%, transparent); font-size: 13px; max-width: 40ch; }

/* Self-exam tabs */
.exam-tabs {
  display: inline-flex; gap: 4px; margin: 40px 0 0;
  padding: 4px; border-radius: 999px;
  border: 1px solid color-mix(in oklch, var(--bg) 18%, transparent);
  background: color-mix(in oklch, var(--bg) 6%, transparent);
}
.exam-tab {
  padding: 9px 24px; border-radius: 999px;
  font-weight: 600; font-size: 14px; letter-spacing: -0.01em;
  color: color-mix(in oklch, var(--bg) 58%, transparent);
  transition: background 0.2s, color 0.2s;
}
.exam-tab:hover:not(.active) { color: var(--bg); }
.exam-tab.active { background: var(--accent); color: var(--paper); }
.exam-tabs ~ .steps { margin-top: 28px; }

/* Gala save-the-date */
.gala {
  position: relative;
}
.gala-headline { font-size: clamp(40px, 5.5vw, 84px); margin: 0 0 28px; }
.gala-headline .punch { color: var(--accent); font-style: italic; }
.gala-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.gala-lead {
  font-size: clamp(18px, 1.5vw, 21px); color: var(--fg-sub);
  line-height: 1.6; max-width: 46ch;
}
.gala-card {
  background: var(--fg); color: var(--bg);
  border-radius: 12px;
  padding: clamp(32px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 28px;
}
.gala-date {
  display: flex; align-items: center; gap: 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid color-mix(in oklch, var(--bg) 18%, transparent);
}
.gala-day {
  font-family: var(--display); font-stretch: 75%; font-weight: 800;
  font-size: clamp(72px, 9vw, 120px); line-height: 0.8;
  letter-spacing: -0.04em; color: var(--accent);
}
.gala-month {
  font-family: var(--display); font-stretch: 80%; font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.05;
  letter-spacing: -0.01em;
}
.gala-facts {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.gala-facts li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in oklch, var(--bg) 14%, transparent);
}
.gala-facts li:last-child { border-bottom: none; }
.gala-facts span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: color-mix(in oklch, var(--bg) 55%, transparent);
}
.gala-facts strong { font-size: 15px; font-weight: 600; text-align: right; }
.gala-note {
  margin: 0; font-size: 14px; line-height: 1.55;
  color: color-mix(in oklch, var(--bg) 65%, transparent);
}
.gala-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.gala-card .btn-dark { background: var(--accent); color: var(--paper); }
.gala-card .btn-dark:hover { background: var(--punch-deep); }
.gala-card .btn-ghost { border-color: color-mix(in oklch, var(--bg) 30%, transparent); color: var(--bg); }
.gala-card .btn-ghost:hover { background: color-mix(in oklch, var(--bg) 10%, transparent); }
@media (max-width: 900px) {
  .gala-grid { grid-template-columns: 1fr; }
}

/* Community */
.community {
  position: relative;
}
.community-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 80px);
}
.community-headline { font-size: clamp(40px, 5.5vw, 80px); margin: 0 0 24px; }
.community-text { color: var(--fg-sub); font-size: 17px; line-height: 1.6; max-width: 44ch; }
.community-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .community-grid { grid-template-columns: 1fr; }
}

/* Donate */
.donate {
  background: var(--accent); color: var(--paper);
  position: relative; overflow: hidden;
}
.donate-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.donate-headline {
  font-size: clamp(48px, 7vw, 110px);
  margin: 0;
  font-style: italic;
}
.donate-sub {
  margin-top: 24px; max-width: 40ch; font-size: 18px; opacity: 0.85;
}
.donate-card {
  background: var(--paper); color: var(--ink);
  border-radius: 12px;
  padding: 40px;
}
.donate-card-title {
  font-family: var(--display); font-stretch: 80%;
  font-size: 24px; font-weight: 700; letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.amount-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  margin-bottom: 20px;
}
.amount {
  border: 1px solid oklch(0.86 0.012 70);
  background: white;
  padding: 16px 8px;
  border-radius: 8px;
  font-family: var(--display); font-stretch: 80%;
  font-size: 22px; font-weight: 700;
  color: var(--ink);
  transition: all 0.15s;
  text-align: center;
}
.amount:hover { border-color: var(--ink); }
.amount.active {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.donate-card .btn-primary { width: 100%; justify-content: center; background: var(--ink); color: var(--paper); }
.donate-card .btn-primary:hover { background: var(--ink-2); }

@media (max-width: 900px) {
  .donate-grid { grid-template-columns: 1fr; }
}

/* National service project band */
.national { background: var(--fg); color: var(--bg); padding: clamp(36px, 5vw, 64px) 0; }
.national-inner {
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.national-lead { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.national-tag {
  display: inline-block; background: var(--accent); color: var(--paper);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 6px 13px; border-radius: 999px;
}
.national-text {
  font-family: var(--display); font-stretch: 80%; font-weight: 700;
  font-size: clamp(28px, 3.6vw, 50px); line-height: 1.02;
  letter-spacing: -0.02em; margin: 0; text-wrap: balance;
}
.national-sub {
  font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55;
  color: color-mix(in oklch, var(--bg) 70%, transparent);
  margin: 0; max-width: 38ch;
}
@media (max-width: 820px) { .national-inner { grid-template-columns: 1fr; } }

/* Goals — three charities, editorial index list */
.goals { background: var(--cream-2); }
.goals-headline { font-size: clamp(40px, 5.5vw, 80px); margin: 0 0 24px; }
.goals-lead {
  font-size: clamp(17px, 1.4vw, 20px); color: var(--fg-sub);
  line-height: 1.6; max-width: 62ch; margin: 0 0 24px;
}
.goals-list {
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--border);
}
.goal-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(220px, 0.62fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: clamp(30px, 3.6vw, 52px) 6px;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.3s;
}
.goal-row::before {
  content: ""; position: absolute; left: -6px; top: -1px; bottom: -1px;
  width: 3px; background: var(--row-color);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.goal-row:hover { background: color-mix(in oklch, var(--fg) 4%, transparent); }
.goal-row:hover::before { transform: scaleY(1); }
.goal-index {
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em;
  color: var(--row-color); padding-top: 12px; font-weight: 500;
}
.goal-main { display: flex; flex-direction: column; gap: 14px; }
.goal-tag {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500;
}
.goal-name {
  font-family: var(--display); font-stretch: 80%; font-weight: 700;
  font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05;
  letter-spacing: -0.01em; margin: 0;
}
.goal-text {
  font-size: 15px; line-height: 1.6; color: var(--fg-sub);
  margin: 2px 0 4px; max-width: 52ch;
}
.goal-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; margin-top: 2px;
}
.goal-link .arrow { transition: transform 0.2s; }
.goal-row:hover .goal-link .arrow { transform: translateX(4px); }
.goal-stat { align-self: start; padding-top: 6px; }
.goal-stat-num {
  display: block;
  font-family: var(--display); font-stretch: 75%; font-weight: 800;
  font-size: clamp(52px, 6vw, 88px); line-height: 0.86; letter-spacing: -0.03em;
}
.goal-stat-label {
  display: block; margin-top: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--fg-sub);
}
@media (max-width: 820px) {
  .goal-row {
    grid-template-columns: 1fr auto;
    gap: 12px 24px;
    padding: 30px 4px;
  }
  .goal-index { grid-row: 1; padding-top: 4px; }
  .goal-stat { grid-column: 2; grid-row: 1 / span 2; text-align: right; padding-top: 0; }
  .goal-stat-num { font-size: clamp(40px, 12vw, 60px); }
  .goal-main { grid-column: 1; }
}
@media (max-width: 520px) {
  .goal-row { grid-template-columns: 1fr; }
  .goal-stat { grid-column: 1; grid-row: auto; text-align: left; margin-top: 4px; }
  .goal-stat-num { font-size: 52px; }
}

/* Footer */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 40px;
}
.footer-brand .logo { color: var(--cream); }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid color-mix(in oklch, var(--cream) 18%, transparent);
}
.footer-brand .logo-badge { background: var(--cream); }
.footer-brand .logo-img { height: 48px; }
.footer-brand p {
  margin: 24px 0 0; max-width: 32ch; font-size: 14px;
  color: color-mix(in oklch, var(--cream) 65%, transparent);
}
.footer-col h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; margin: 0 0 16px;
  color: color-mix(in oklch, var(--cream) 55%, transparent);
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: color-mix(in oklch, var(--cream) 85%, transparent); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: color-mix(in oklch, var(--cream) 55%, transparent);
  font-family: var(--mono); flex-wrap: wrap; gap: 16px;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* Sticky donate */
.sticky-donate {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.sticky-donate.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Mobile: hide sticky donate — nav already has a donate button */
@media (max-width: 720px) {
  .sticky-donate { display: none; }
}

/* Mobile: amount grid wraps to 3+2 */
@media (max-width: 540px) {
  .amount-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile: cookie banner full-width */
@media (max-width: 540px) {
  .cookie-banner {
    left: 12px; right: 12px; bottom: 12px;
    max-width: none;
  }
}

/* Responsive nav */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--fg); border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px var(--pad) 20px;
  border-top: 1px solid color-mix(in oklch, var(--border) 50%, transparent);
}
.mobile-link {
  padding: 14px 0;
  font-size: 16px; font-weight: 500; color: var(--fg);
  border-bottom: 1px solid color-mix(in oklch, var(--border) 50%, transparent);
}
.mobile-link:last-child { border-bottom: none; }
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu:not([hidden]) { display: flex; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .hero-kicker .dot { animation: none; }
  .btn, .btn .arrow, .goal-row, .goal-row::before, .goal-link .arrow, .sticky-donate, .nav-toggle span { transition: none; }
}

/* Marker style */
.marker {
  position: relative; display: inline-block;
}
.marker::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 8%;
  height: 38%; background: color-mix(in oklch, var(--accent) 35%, transparent);
  z-index: -1; transform: skewY(-1deg);
}

/* Privacy modal */
.privacy-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.privacy-overlay[hidden] { display: none; }
.privacy-modal {
  background: var(--surface); color: var(--fg);
  border: 1px solid var(--border); border-radius: 16px;
  max-width: 620px; width: 100%;
  max-height: 80vh; overflow-y: auto;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}
.privacy-modal-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.privacy-headline { font-size: clamp(24px, 4vw, 36px); margin: 0 0 24px; }
.privacy-close {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: color-mix(in oklch, var(--fg) 8%, transparent);
  font-size: 22px; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.privacy-close:hover { background: color-mix(in oklch, var(--fg) 16%, transparent); }
.privacy-text { max-width: 64ch; font-size: 15px; line-height: 1.7; color: var(--fg-sub); }
.privacy-text h3 {
  font-family: var(--display); font-stretch: 80%; font-weight: 700;
  font-size: 18px; margin: 28px 0 8px; color: var(--fg);
}
.privacy-text p { margin: 0 0 14px; }
.privacy-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.privacy-text code {
  font-family: var(--mono); font-size: 13px;
  background: color-mix(in oklch, var(--fg) 8%, transparent);
  padding: 2px 6px; border-radius: 4px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 24px; left: 24px; z-index: 60;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.cookie-banner p {
  margin: 0 0 16px;
  font-size: 14px; line-height: 1.5; color: var(--fg-sub);
}
.cookie-actions { display: flex; gap: 8px; }

/* Misc */
.text-accent { color: var(--accent); }

/* ============================================================
   GALA THEMES — black-tie booklet look
   "gala"     = deep navy page + champagne gold (the cover)
   "galagold" = champagne gold page + navy ink (interior kavel page)
   ============================================================ */

[data-theme="gala"] {
  --ink: #04102b;
  --ink-2: #0b1d42;
  --cream: #f0e7d5;
  --cream-2: #081a3c;
  --paper: #f2ead9;
  --punch: #d4a462;
  --punch-deep: #be8c41;
  --sub: #9aa8c2;
  --line: #26375f;

  --bg: #04102b;
  --fg: #f0e7d5;
  --fg-sub: #a6b2c8;
  --accent: #d4a462;
  --surface: #0b1b3d;
  --border: #26375f;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

[data-theme="galagold"] {
  --ink: #04102b;
  --ink-2: #0b1d42;
  --cream: #f0e7d5;
  --cream-2: #cb9c55;
  --paper: #f3ecdd;
  --punch: #04102b;
  --punch-deep: #0b1d42;
  --sub: #5b4c2f;
  --line: #ac8347;

  --bg: #d4a462;
  --fg: #04102b;
  --fg-sub: #5b4c2f;
  --accent: #04102b;
  --surface: #dcb479;
  --border: #ac8347;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

[data-theme^="gala"] .display {
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: -0.005em;
  line-height: 1.0;
}
[data-theme^="gala"] .hero-title { font-weight: 400; }
[data-theme^="gala"] .hero-title .punch { font-weight: 500; }
[data-theme^="gala"] .ticker-track,
[data-theme^="gala"] .recap-amount,
[data-theme^="gala"] .stat-num,
[data-theme^="gala"] .gala-day,
[data-theme^="gala"] .goal-stat-num,
[data-theme^="gala"] .recap-quote { font-weight: 600; }

[data-theme^="gala"] .eyebrow,
[data-theme^="gala"] .hero-kicker { letter-spacing: 0.24em; }

[data-theme^="gala"] .hero { padding-top: clamp(84px, 11vw, 150px); }
[data-theme^="gala"] .hero::before,
[data-theme^="gala"] .hero::after {
  content: ""; position: absolute; pointer-events: none; border-radius: 3px;
  border: 1px solid color-mix(in oklch, var(--accent) 55%, transparent);
}
[data-theme^="gala"] .hero::before { inset: 22px; }
[data-theme^="gala"] .hero::after {
  inset: 28px;
  border-color: color-mix(in oklch, var(--accent) 28%, transparent);
}
[data-theme^="gala"] .hero-grid { position: relative; z-index: 1; }
@media (max-width: 620px) {
  [data-theme^="gala"] .hero::before { inset: 12px; }
  [data-theme^="gala"] .hero::after { inset: 17px; }
  .hero {
    min-height: auto;
    padding: clamp(48px, 8vw, 80px) 0 clamp(40px, 6vw, 64px);
  }
  [data-theme^="gala"] .hero { padding-top: clamp(48px, 8vw, 80px); }
  .h-xxl { font-size: clamp(48px, 11vw, 64px); }
  .hero-sub { margin-top: 24px; }
  .hero-actions { margin-top: 28px; }
  .wrap { padding: 0 clamp(24px, 5vw, 56px); }
}

[data-theme^="gala"] .nav {
  border-bottom: 1px solid color-mix(in oklch, var(--accent) 30%, transparent);
}

[data-theme="gala"] .nav .logo-badge { background: var(--cream); }
[data-theme="gala"] .btn-primary,
[data-theme="gala"] .exam-tab.active,
[data-theme="gala"] .national-tag,
[data-theme="gala"] .gala-card .btn-dark { color: var(--ink); }
[data-theme="gala"] .donate-card .btn-primary { color: var(--paper); }
[data-theme="gala"] .donate { color: var(--ink); }
[data-theme="gala"] .donate-sub { opacity: 0.78; }

[data-theme="galagold"] .stat-num .accent,
[data-theme="galagold"] .step-num,
[data-theme="galagold"] .gala-day,
[data-theme="galagold"] .chart-center .num span.pct { color: var(--bg); }
[data-theme="galagold"] .exam-head .eyebrow::before { background: var(--bg); }
[data-theme="galagold"] .exam-tab.active,
[data-theme="galagold"] .national-tag,
[data-theme="galagold"] .gala-card .btn-dark {
  background: var(--bg); color: var(--ink);
}
