/* =========================================================
   KARASIRA MEMORIAL — Design System
   Tokens, layout, and components.
   ========================================================= */

:root {
  --paper: #f1ebde;
  --paper-2: #e9e2d2;
  --paper-3: #ddd4be;
  --ink: #15110d;
  --ink-2: #2b231b;
  --muted: #6b5e4d;
  --line: rgba(21, 17, 13, 0.12);
  --line-2: rgba(21, 17, 13, 0.22);
  --accent: #e2542b;
  --accent-2: #c43d18;
  --accent-soft: #f8c6b4;
  --dark: #15110d;
  --dark-2: #1f1812;
  --gold: #c9a14a;

  --display: 'Archivo Black', 'Archivo', system-ui, sans-serif;
  --sans: 'Archivo', 'Inter', system-ui, sans-serif;
  --serif: 'Spectral', 'Times New Roman', serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1280px;
  --container-wide: 1480px;
  --section-pad: clamp(80px, 12vw, 140px);
  --radius-card: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
::selection { background: var(--accent); color: var(--paper); }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* paper grain */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ─── PURPOSE NOTICE BAR ─── */
.notice-bar {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 24px;
  text-align: center;
  position: relative;
  z-index: 220;
}
.notice-bar b { color: var(--accent); font-weight: 700; }
.notice-bar .sep { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin: 0 14px; transform: translateY(-2px); }

/* ─── NAV ─── */
.nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 36px;
  background: rgba(241, 235, 222, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: padding 0.25s, box-shadow 0.35s;
}
.nav.scrolled { padding: 12px 36px; box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 15px; letter-spacing: 0.02em;
  position: relative; border: 1px solid var(--ink);
}
.brand-mark::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--accent); }
.brand-name { font-family: var(--display); font-size: 15px; letter-spacing: 0.04em; }
.brand-tag { font-family: var(--mono); font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-left: 10px; border-left: 1px solid var(--line-2); padding-left: 10px; }
.nav-links { display: flex; gap: 30px; font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.nav-links a { position: relative; padding: 6px 0; transition: color 0.2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 6px 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
}
.lang button { padding: 2px 4px; color: var(--muted); border-radius: 4px; position: relative; }
.lang button.on { color: var(--ink); font-weight: 700; }
.lang .sep { color: var(--line-2); }
.lang .rw-soon { opacity: 0.5; }
.lang .rw-soon::after {
  content: ''; display: inline-block;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  margin-left: 4px; vertical-align: middle;
  animation: rw-pulse 2s ease-in-out infinite;
}
@keyframes rw-pulse { 0%,100% { opacity: 1 } 50% { opacity: 0.35 } }
.btn-donate {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  padding: 11px 22px; border-radius: 999px;
  font-weight: 700; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.btn-donate:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn-donate svg { color: var(--accent); transition: color 0.2s; }
.btn-donate:hover svg { color: var(--paper); }
.menu-toggle { display: none; }

@media (max-width: 1100px) { .nav-links { gap: 20px; font-size: 11px; } }
@media (max-width: 900px) {
  .nav, .nav.scrolled { padding: 14px 16px; }
  .brand-tag { display: none; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 999px; }
  .nav-mobile-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-top: 1px solid var(--line-2);
    padding: 22px 24px; gap: 18px;
  }
  .btn-donate { padding: 10px 14px; font-size: 11px; letter-spacing: 0.16em; }
  .nav-right { gap: 8px; }
}
@media (max-width: 480px) {
  .lang { padding: 4px 8px; font-size: 9px; letter-spacing: 0.1em; gap: 4px; }
  .lang button { padding: 1px 3px; }
  .lang [data-icon="globe"] { display: none; }
  .brand-name { font-size: 13px; }
  .btn-donate span:not(:first-child) { display: none; }
  .btn-donate { width: 36px; height: 36px; padding: 0; justify-content: center; }
  .menu-toggle { width: 36px; height: 36px; }
  .nav { padding: 12px 14px !important; }
  .nav-right { gap: 6px; }
  .brand { gap: 8px; }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: 70px 36px 30px;
}
.hero-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px;
  max-width: var(--container-wide); margin: 0 auto; width: 100%;
}
.hero-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-eyebrow .line { width: 50px; height: 1px; background: var(--ink); }
.hero-cta-top {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); max-width: 280px; text-align: right; line-height: 1.6;
}
.hero-cta-top b { color: var(--ink); font-weight: 700; }
/* Hero art — Karasira with flag, behind the rallying title */
.hero-art {
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 72vw);
  z-index: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
}
.hero-art img {
  width: 100%;
  height: auto;
  opacity: 0.78;
  filter: contrast(1.05) saturate(0.9) sepia(0.06);
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 58% 50% at 50% 45%, #000 35%, rgba(0,0,0,0.55) 65%, transparent 92%);
          mask-image: radial-gradient(ellipse 58% 50% at 50% 45%, #000 35%, rgba(0,0,0,0.55) 65%, transparent 92%);
  animation: hero-art-breath 9s ease-in-out infinite;
}
@keyframes hero-art-breath {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art img { animation: none; }
}

.hero-title {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-size: clamp(3.2rem, 12.5vw, 13rem);
  line-height: 0.86; letter-spacing: -0.03em; text-transform: uppercase;
  margin: 30px auto 0; text-align: center;
  max-width: var(--container-wide);
  text-wrap: balance;
}
.hero-sub, .hero-row, .hero-ctas { position: relative; z-index: 2; }
@media (max-width: 800px) {
  .hero-art { top: 110px; width: min(380px, 86vw); }
}
.hero-title .em { color: var(--accent); }
.hero-title .it { font-family: var(--serif); font-style: italic; font-weight: 300; text-transform: none; letter-spacing: -0.02em; }
.hero-sub {
  max-width: 760px; margin: 28px auto 0; text-align: center;
  font-size: 1.05rem; line-height: 1.65; color: var(--ink-2);
}
.hero-sub b { font-weight: 700; }

.hero-row {
  display: grid; grid-template-columns: 1.55fr repeat(7, 1fr); gap: 14px;
  max-width: var(--container-wide); margin: 50px auto 0; width: 100%;
}
.pill {
  position: relative; overflow: hidden;
  border-radius: 140px;
  background: var(--paper-2);
  height: 380px;
  transition: transform 0.4s ease;
}
.pill img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; filter: saturate(0.92) contrast(1.02); }
.pill:hover img { transform: scale(1.06); }
.pill:hover { transform: translateY(-4px); }
.pill-feature { border-radius: 32px; }
.pill-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21, 17, 13, 0.85) 0%, rgba(21, 17, 13, 0.2) 50%, transparent 70%); }
.pill-feature .meta { position: absolute; left: 28px; right: 28px; bottom: 24px; color: var(--paper); z-index: 2; }
.pill-feature .name { font-family: var(--display); font-size: 1.25rem; line-height: 1.2; }
.pill-feature .name .dates { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; margin-top: 4px; }
.pill-feature .desc { margin-top: 10px; font-size: 0.92rem; line-height: 1.55; opacity: 0.9; max-width: 340px; }
.pill-feature .arrow { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; background: rgba(241, 235, 222, 0.15); border: 1px solid rgba(241, 235, 222, 0.4); color: var(--paper); display: grid; place-items: center; backdrop-filter: blur(8px); z-index: 2; }

.hero-ctas { display: flex; gap: 14px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.btn-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 30px; border-radius: 999px;
  font-weight: 700; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  transition: transform 0.2s, background 0.2s, color 0.2s;
  border: 1px solid transparent;
}
.btn-pill.primary { background: var(--accent); color: var(--paper); }
.btn-pill.primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-pill.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-pill.ghost:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 1200px) {
  .hero-row { grid-template-columns: 1.4fr repeat(5, 1fr); }
  .hero-row .pill:nth-child(7), .hero-row .pill:nth-child(8) { display: none; }
}
@media (max-width: 800px) {
  .hero { padding: 40px 18px 30px; }
  .hero-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pill { height: 240px; border-radius: 100px; }
  .pill-feature { height: 320px; grid-column: 1 / -1; border-radius: 24px; }
  .hero-cta-top { display: none; }
  .hero-row .pill:nth-child(n + 6) { display: none; }
}

/* ─── MARQUEE ─── */
.marquee {
  background: var(--ink); color: var(--paper);
  padding: 22px 0; overflow: hidden;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.marquee-track {
  display: flex; gap: 50px; white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--display); font-size: 1.4rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.marquee-track .star { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── SECTION COMMON ─── */
.section { padding: var(--section-pad) 36px; max-width: var(--container); margin: 0 auto; }
.section-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; margin-bottom: 70px; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 12px; }
.eyebrow .num { color: var(--ink); font-weight: 600; }
.eyebrow .line { flex: 1; height: 1px; background: var(--line-2); max-width: 80px; }
.section-title { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 5.5rem); line-height: 0.92; letter-spacing: -0.025em; text-transform: uppercase; }
.section-title .em { color: var(--accent); }
.section-title .it { font-family: var(--serif); font-style: italic; font-weight: 300; text-transform: none; letter-spacing: -0.02em; }
.section-lead { font-size: 1.18rem; line-height: 1.7; color: var(--ink-2); }
.section-lead p + p { margin-top: 18px; }

@media (max-width: 900px) {
  .section { padding: 90px 20px; }
  .section-head { grid-template-columns: 1fr; gap: 22px; margin-bottom: 50px; }
}

/* ─── STORY STATS ─── */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--ink); }
.story-cell { padding: 36px 30px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transition: background 0.3s; }
.story-cell:nth-child(2n) { border-right: none; }
.story-cell:nth-child(n + 3) { border-bottom: none; }
.story-cell:hover { background: var(--paper-2); }
.story-cell .num { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--accent); }
.story-cell .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.story-cell .desc { margin-top: 6px; font-size: 0.95rem; line-height: 1.55; }

@media (max-width: 700px) { .story-grid { grid-template-columns: 1fr; } .story-cell, .story-cell:nth-child(2n) { border-right: none; border-bottom: 1px solid var(--ink); } .story-cell:last-child { border-bottom: none; } }

/* ─── FEATURED QUOTE BAND ─── */
.featured-band {
  background: var(--dark); color: var(--paper);
  padding: var(--section-pad) 36px;
  position: relative; overflow: hidden;
}
.featured-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center; }
.featured-sketch { aspect-ratio: 4 / 5; background: var(--dark-2); border-radius: 24px; overflow: hidden; position: relative; }
.featured-sketch img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.featured-quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.25; }
.featured-quote .mark { color: var(--accent); font-family: var(--display); font-style: normal; font-size: 4rem; line-height: 1; display: block; margin-bottom: 12px; }
.featured-cite { font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent-soft); margin-top: 32px; display: flex; align-items: center; gap: 10px; }
.featured-cite::before { content: '—'; color: var(--accent); }

@media (max-width: 900px) { .featured-inner { grid-template-columns: 1fr; gap: 28px; } .featured-sketch { max-height: 360px; } }

/* ─── TIMELINE ─── */
.timeline { position: relative; padding-left: 100px; }
.timeline::before { content: ''; position: absolute; left: 60px; top: 0; bottom: 0; width: 2px; background: var(--line-2); }
.timeline-fill { position: absolute; left: 60px; top: 0; width: 2px; background: var(--accent); height: 0; transition: height 0.3s; }
.timeline-item { display: grid; grid-template-columns: 100px 1fr; gap: 30px; padding: 30px 0; position: relative; }
.timeline-item .year { font-family: var(--display); font-size: 1.2rem; color: var(--muted); transform: translateX(-100px); }
.timeline-item.in .year { color: var(--ink); }
.timeline-item::before { content: ''; position: absolute; left: -47px; top: 36px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-2); transition: background 0.4s, border-color 0.4s; z-index: 2; }
.timeline-item.in::before { background: var(--accent); border-color: var(--accent); }
.timeline-item h3 { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; margin-bottom: 8px; }
.timeline-item p { color: var(--ink-2); font-size: 1rem; line-height: 1.6; max-width: 640px; }
.timeline-item .tag { display: inline-block; margin-top: 12px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 700px) {
  .timeline { padding-left: 36px; }
  .timeline::before, .timeline-fill { left: 18px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .timeline-item .year { transform: none; font-size: 0.9rem; letter-spacing: 0.18em; }
  .timeline-item::before { left: -25px; top: 6px; }
}

/* ─── HIS WORDS ─── */
.quotes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.quote-card { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius-card); padding: 36px 32px; transition: transform 0.3s, box-shadow 0.3s; }
.quote-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px -30px rgba(21, 17, 13, 0.3); }
.quote-card .mark { font-family: var(--display); font-size: 4rem; line-height: 0.6; color: var(--accent); display: block; margin-bottom: 8px; }
.quote-card .body { font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.5; }
.quote-card .cite { margin-top: 22px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.quote-card .cite::before { content: '— '; color: var(--accent); }

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

/* ─── GALLERY PREVIEW ─── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 130px; gap: 14px;
}
.gallery-cell {
  position: relative; overflow: hidden; border-radius: 18px;
  background: var(--paper-2); cursor: pointer;
}
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; filter: saturate(0.92) contrast(1.02); }
.gallery-cell:hover img { transform: scale(1.05); }
.gallery-cell .label { position: absolute; bottom: 12px; left: 12px; padding: 6px 10px; background: rgba(241, 235, 222, 0.92); font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); border-radius: 999px; }
.c-1 { grid-column: span 5; grid-row: span 2; }
.c-2 { grid-column: span 4; grid-row: span 2; }
.c-3 { grid-column: span 3; grid-row: span 2; }
.c-4 { grid-column: span 4; grid-row: span 2; }
.c-5 { grid-column: span 4; grid-row: span 2; }
.c-6 { grid-column: span 4; grid-row: span 2; }
.c-7 { grid-column: span 3; grid-row: span 2; }
.c-8 { grid-column: span 5; grid-row: span 2; }
.c-9 { grid-column: span 4; grid-row: span 2; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 110px; } .c-1, .c-2, .c-3, .c-4, .c-5, .c-6, .c-7, .c-8, .c-9 { grid-column: span 3; grid-row: span 2; } }

/* ─── MEMORY BOOK ─── */
.memory-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.memory-form {
  background: var(--paper-2); border: 1px solid var(--ink); border-radius: var(--radius-card);
  padding: 30px; position: sticky; top: 120px;
  box-shadow: 4px 4px 0 var(--ink);
}
.memory-form h3 { font-family: var(--display); font-size: 1.5rem; margin-bottom: 6px; }
.memory-form p.helper { font-size: 0.9rem; color: var(--muted); margin-bottom: 22px; }
.field { display: block; margin-bottom: 14px; }
.field label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 12px;
  font: inherit; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { min-height: 120px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-submit { width: 100%; padding: 14px; background: var(--ink); color: var(--paper); border-radius: 999px; font-weight: 700; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; transition: background 0.2s, transform 0.2s; }
.btn-submit:hover { background: var(--accent); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.5; cursor: wait; }

.memory-feed { display: flex; flex-direction: column; gap: 16px; }
.kind-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.kind-filter button {
  padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); transition: all 0.2s;
}
.kind-filter button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.kind-filter button:hover:not(.on) { color: var(--ink); border-color: var(--ink); }
.memory-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 24px 26px; position: relative;
}
.memory-card .top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.memory-card .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--paper); display: grid; place-items: center; font-family: var(--display); font-size: 0.85rem; }
.memory-card .who { font-weight: 700; font-size: 0.95rem; }
.memory-card .meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.memory-card .badge { position: absolute; top: 18px; right: 18px; padding: 4px 10px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.memory-card .body { font-family: var(--serif); font-size: 1.08rem; line-height: 1.55; color: var(--ink-2); }
.memory-card.is-quote .body, .memory-card.is-lyric .body { font-style: italic; }
.memory-card.is-quote .body::before, .memory-card.is-quote .body::after { content: '« '; color: var(--accent); }
.memory-card.is-quote .body::after { content: ' »'; }
.empty-state { text-align: center; padding: 40px 20px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 900px) { .memory-layout { grid-template-columns: 1fr; gap: 36px; } .memory-form { position: static; } }

/* ─── CONTRIBUTE TIERS ─── */
.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tier-card {
  background: var(--paper-2); border: 1px solid var(--ink); border-radius: var(--radius-card);
  padding: 36px 32px; position: relative; transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.tier-card:hover { transform: translateY(-6px); box-shadow: 0 30px 80px -40px rgba(21, 17, 13, 0.4); }
.tier-card.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tier-card.featured .tier-price, .tier-card.featured .tier-name { color: var(--paper); }
.tier-card.featured .tier-desc, .tier-card.featured .tier-bullet { color: rgba(241, 235, 222, 0.8); }
.tier-card.featured .tier-icon { background: var(--accent); color: var(--paper); }
.tier-card.featured .tier-eyebrow { color: var(--accent); }
.tier-card.featured .btn-tier { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.tier-card.featured .btn-tier:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.tier-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.tier-icon { width: 56px; height: 56px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line-2); display: grid; place-items: center; margin-bottom: 22px; color: var(--ink); }
.tier-name { font-family: var(--display); font-size: 1.6rem; line-height: 1.15; margin-bottom: 8px; }
.tier-desc { font-size: 0.95rem; line-height: 1.6; color: var(--ink-2); margin-bottom: 22px; min-height: 60px; }
.tier-price { font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--ink); margin-bottom: 4px; }
.tier-price .currency { font-size: 1.4rem; vertical-align: top; margin-right: 2px; }
.tier-price-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.tier-bullets { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tier-bullet { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; line-height: 1.5; color: var(--ink-2); }
.tier-bullet svg { flex: none; color: var(--accent); margin-top: 3px; }
.btn-tier {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  border-radius: 999px; font-weight: 700; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  transition: all 0.25s;
}
.btn-tier:hover { background: var(--accent); border-color: var(--accent); }

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

/* ─── SLIDING ADVERTS ─── */
.adverts {
  background: var(--paper-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  padding: 30px 0; overflow: hidden; position: relative;
}
/* Left + right fades so banners gracefully dissolve, never hit the label hard. */
.adverts::before,
.adverts::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 240px;
  pointer-events: none;
  z-index: 2;
}
.adverts::before {
  left: 0;
  background: linear-gradient(to right,
    var(--paper-2) 0%,
    var(--paper-2) 55%,
    rgba(233, 226, 210, 0.7) 80%,
    transparent 100%);
}
.adverts::after {
  right: 0;
  background: linear-gradient(to left,
    var(--paper-2) 0%,
    rgba(233, 226, 210, 0.7) 50%,
    transparent 100%);
  width: 80px;
}
.adverts-label {
  position: absolute; left: 36px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
  background: var(--paper-2); padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px;
  z-index: 3; /* above the fade */
  white-space: nowrap;
}
.adverts-track {
  display: flex; gap: 28px; align-items: center;
  animation: marquee 50s linear infinite;
  padding-left: 260px; /* clears the label + fade */
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.adverts-track:hover { animation-play-state: paused; }
.advert-card {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 22px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 999px;
  transition: transform 0.25s, border-color 0.25s;
  flex: none;
}
.advert-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.advert-card .av-thumb { width: 36px; height: 36px; border-radius: 50%; background: var(--paper-3); object-fit: cover; flex: none; }
.advert-card .av-title { font-weight: 700; font-size: 0.92rem; }
.advert-card .av-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-left: 10px; }

@media (max-width: 700px) { .adverts-label { left: 18px; } .adverts-track { padding-left: 150px; } }

/* ─── DONATE ─── */
.donate-band {
  background: var(--paper-2); padding: var(--section-pad) 36px;
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
}
.donate-wrap { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: start; }
.donate-disclaimer {
  background: var(--ink); color: var(--paper);
  padding: 24px 26px; border-radius: 18px; margin-bottom: 26px;
  display: flex; gap: 16px; align-items: flex-start;
}
.donate-disclaimer svg { flex: none; color: var(--accent); margin-top: 2px; }
.donate-disclaimer .title { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.donate-disclaimer .body { font-size: 0.95rem; line-height: 1.55; }
.donate-disclaimer .body b { color: var(--accent-soft); }
.donate-breakdown { margin-top: 26px; padding: 22px 24px; border: 1px dashed var(--line-2); border-radius: 18px; }
.donate-breakdown h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.donate-breakdown ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.donate-breakdown li { display: flex; justify-content: space-between; gap: 14px; font-size: 0.92rem; }
.donate-breakdown li span:first-child { color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.donate-breakdown li span:last-child { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

.donate-card {
  background: var(--paper); border: 1px solid var(--ink); border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: 0 30px 80px -40px rgba(21, 17, 13, 0.5);
}
.donate-card h3 { font-family: var(--display); font-size: 1.5rem; margin-bottom: 6px; }
.donate-card p.sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 22px; }
.freq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.freq button { padding: 12px 8px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); transition: all 0.2s; border-right: 1px solid var(--line-2); }
.freq button:last-child { border-right: none; }
.freq button.on { background: var(--ink); color: var(--paper); }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.amounts button {
  padding: 14px 10px; border: 1px solid var(--line-2); border-radius: 14px;
  font-family: var(--display); font-size: 1rem; transition: all 0.2s;
}
.amounts button.on { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.amounts button:hover:not(.on) { border-color: var(--ink); }
.btn-checkout { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px; margin-top: 18px; background: var(--accent); color: var(--paper); border-radius: 999px; font-weight: 700; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; transition: background 0.2s, transform 0.2s; }
.btn-checkout:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-checkout:disabled { opacity: 0.5; cursor: not-allowed; }
.secure-line { margin-top: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; }

@media (max-width: 900px) { .donate-wrap { grid-template-columns: 1fr; gap: 30px; } .donate-band { padding: 90px 20px; } }

/* ─── TRIBUTE ─── */
.tribute { background: var(--dark); color: var(--paper); padding: var(--section-pad) 36px; text-align: center; }
.tribute-vline { width: 1px; height: 80px; background: var(--accent); margin: 0 auto 30px; }
.tribute-name { font-family: var(--display); font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -0.02em; line-height: 1; margin-bottom: 22px; }
.tribute-name .it { font-family: var(--serif); font-style: italic; font-weight: 300; text-transform: none; letter-spacing: -0.01em; }
.tribute-body { max-width: 620px; margin: 0 auto; font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.6; color: rgba(241, 235, 222, 0.85); }
.tribute-sig { font-family: var(--mono); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent); margin-top: 28px; }

/* ─── FOOTER w/ HERO KARASIRA ─── */
.footer { background: var(--dark); color: var(--paper); padding: 80px 36px 0; position: relative; overflow: hidden; }
.footer-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 60px; }
.footer-brand .brand-mark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.footer-brand .brand-mark::after { background: var(--accent); }
.footer-brand .brand-name { color: var(--paper); }
.footer-blurb { margin-top: 22px; font-size: 0.95rem; line-height: 1.6; color: rgba(241, 235, 222, 0.7); max-width: 380px; }
.footer-col h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(241, 235, 222, 0.85); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(241, 235, 222, 0.1);
  max-width: var(--container); margin: 0 auto;
  padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(241, 235, 222, 0.5);
}

.footer-hero {
  position: relative;
  height: clamp(4rem, 22vw, 22rem);
  margin: 30px 0 0;
  overflow: hidden;
  user-select: none;
}
.fh-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  will-change: transform, opacity;
}
/* HERO is 4 letters — can go bigger. KARASIRA is 8 letters — half-size keeps width matched. */
.fh-hero      { font-size: clamp(4rem, 22vw, 20rem); -webkit-text-stroke: 2px rgba(241, 235, 222, 0.55); }
.fh-karasira  { font-size: clamp(2.6rem, 11.2vw, 10rem); -webkit-text-stroke: 2px var(--accent); opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .fh-word { position: static; transform: none !important; opacity: 1 !important; font-size: clamp(3rem, 14vw, 14rem); }
  .footer-hero { height: auto; }
}
.footer-hero-sub {
  text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(241, 235, 222, 0.4); margin-top: -10px; padding-bottom: 30px;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ─── TOAST ─── */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--ink); color: var(--paper); padding: 14px 20px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  z-index: 9100; transition: transform 0.4s ease;
  max-width: 90vw;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.toast.error .dot { background: #d24b4b; }

/* ─── MODAL ─── */
.modal-backdrop { position: fixed; inset: 0; background: rgba(21, 17, 13, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 9200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--paper); border: 1px solid var(--ink); border-radius: var(--radius-card);
  width: 100%; max-width: 520px; padding: 36px 32px;
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.7);
  position: relative; max-height: calc(100vh - 40px); overflow-y: auto;
}
.modal h3 { font-family: var(--display); font-size: 1.5rem; margin-bottom: 6px; }
.modal p.sub { font-size: 0.92rem; color: var(--muted); margin-bottom: 22px; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; transition: background 0.2s; }
.modal-close:hover { background: var(--paper-3); }

/* ─── LIGHTBOX ─── */
.lightbox { position: fixed; inset: 0; background: rgba(21, 17, 13, 0.95); display: none; align-items: center; justify-content: center; z-index: 9300; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 80px); border-radius: 12px; }
.lightbox-close { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: rgba(241, 235, 222, 0.15); color: var(--paper); display: grid; place-items: center; backdrop-filter: blur(8px); }
.lightbox-close:hover { background: var(--accent); }

/* ─── ALBUM (YouTube lite-embeds) ─── */
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.yt-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--ink);
  aspect-ratio: 16 / 9;
  cursor: pointer;
  border: 1px solid var(--ink);
  transition: transform 0.3s, box-shadow 0.3s;
}
.yt-card:hover { transform: translateY(-4px); box-shadow: 0 30px 80px -40px rgba(21,17,13,0.45); }
.yt-card .yt-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, opacity 0.3s; filter: saturate(0.92) contrast(1.05); }
.yt-card:hover .yt-thumb { transform: scale(1.04); }
.yt-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(21,17,13,0.6), rgba(21,17,13,0.05) 50%, transparent);
}
.yt-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent); color: var(--paper);
  display: grid; place-items: center;
  z-index: 2; transition: transform 0.25s, background 0.2s;
  box-shadow: 0 14px 40px -10px rgba(21,17,13,0.6);
}
.yt-card:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); background: var(--accent-2); }
.yt-meta {
  position: absolute; bottom: 16px; left: 18px; right: 18px; z-index: 2;
  color: var(--paper);
}
.yt-meta .yt-title { font-family: var(--display); font-size: 1rem; line-height: 1.2; }
.yt-meta .yt-sub { font-family: var(--mono); font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.75; margin-top: 4px; }
.yt-card iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3;
}
@media (max-width: 900px) { .album-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .album-grid { grid-template-columns: 1fr; } }

/* ─── TESTIMONIES (audio) ─── */
.testimonies {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start;
}
.testimony-cta {
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-card); padding: 36px 32px;
  position: sticky; top: 120px;
}
.testimony-cta h3 { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; margin-bottom: 10px; }
.testimony-cta p { font-size: 0.95rem; line-height: 1.55; opacity: 0.85; margin-bottom: 22px; }
.testimony-cta .btn-record {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px 22px; border-radius: 999px;
  background: var(--accent); color: var(--paper);
  font-weight: 700; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.testimony-cta .btn-record:hover { background: var(--accent-2); transform: translateY(-1px); }
.testimony-cta .btn-record:disabled { opacity: 0.5; cursor: wait; }
.testimony-cta .helper { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-soft); }
.testimony-cta .helper svg { color: var(--accent); flex: none; }

.testimony-list { display: flex; flex-direction: column; gap: 16px; }
.testimony-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 20px 24px;
}
.testimony-card .top { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.testimony-card .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--paper); display: grid; place-items: center; font-family: var(--display); font-size: 0.9rem; }
.testimony-card .who { font-weight: 700; font-size: 0.95rem; }
.testimony-card .meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.testimony-card audio { width: 100%; margin-top: 8px; }
.testimony-card .duration { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; color: var(--muted); margin-top: 8px; }
@media (max-width: 900px) { .testimonies { grid-template-columns: 1fr; gap: 30px; } .testimony-cta { position: static; } }

/* ─── REC MODAL (in-browser recording) ─── */
.rec-status {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-top: 14px;
}
.rec-status .rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); transition: background 0.3s; }
.rec-status.is-recording .rec-dot { background: var(--accent); animation: rec-blink 1s ease-in-out infinite; }
.rec-status.is-recording { color: var(--accent); }
@keyframes rec-blink { 0%, 100% { opacity: 1 } 50% { opacity: 0.3 } }

/* ─── WELCOME GATE (one-time terms modal) ─── */
.welcome-gate {
  position: fixed; inset: 0; z-index: 10000;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(21, 17, 13, 0.78);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  animation: welcome-fade 0.4s ease-out;
}
.welcome-gate.show { display: flex; }
@keyframes welcome-fade { from { opacity: 0 } to { opacity: 1 } }

.welcome-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 28px;
  max-width: 540px; width: 100%;
  padding: 44px 38px;
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, 0.7);
  animation: welcome-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
@keyframes welcome-pop {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.welcome-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.welcome-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.welcome-eyebrow .line { flex: 1; height: 1px; background: var(--line-2); max-width: 80px; }

.welcome-card h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1; letter-spacing: -0.02em; text-transform: uppercase;
  margin-bottom: 22px;
}
.welcome-card h2 .em { color: var(--accent); }
.welcome-card h2 .it { font-family: var(--serif); font-style: italic; font-weight: 300; text-transform: none; letter-spacing: -0.01em; }

.welcome-card p {
  font-size: 0.98rem; line-height: 1.65; color: var(--ink-2);
  margin-bottom: 14px;
}
.welcome-card p b { font-weight: 700; color: var(--ink); }
.welcome-card p .accent { color: var(--accent); font-weight: 700; }
.welcome-card p.muted {
  font-size: 0.88rem; color: var(--muted);
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.welcome-actions {
  display: flex; gap: 10px; margin-top: 28px;
  align-items: center;
}
.welcome-accept {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 24px;
  background: var(--ink); color: var(--paper);
  border-radius: 999px;
  font-weight: 700; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.welcome-accept:hover { background: var(--accent); transform: translateY(-1px); }
.welcome-leave {
  padding: 14px 18px;
  background: transparent; color: var(--muted);
  border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.welcome-leave:hover { color: var(--ink); border-color: var(--ink); }

@media (max-width: 480px) {
  .welcome-card { padding: 32px 26px; }
  .welcome-actions { flex-direction: column-reverse; align-items: stretch; }
  .welcome-leave { text-align: center; }
}

/* ─── REVEAL ANIM HELPERS ─── */
.reveal { opacity: 0; transform: translateY(30px); }
