/* ═══════════════════════════════════════════
   NAKADA FOUNDATION TO SAVE HUMANITY
   ═══════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ─── TOKENS ─── */
:root {
  --black:       #080808;
  --dark:        #0d0d0d;
  --darker:      #111111;
  --white:       #f0ece4;
  --white-mid:   rgba(240, 236, 228, 0.65);
  --white-dim:   rgba(240, 236, 228, 0.35);
  --red:         #b91c1c;
  --red-bright:  #dc2626;
  --gold:        #c9a227;
  --serif:       'Cormorant Garamond', 'Didot', 'Times New Roman', serif;
  --sans:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --pad:         clamp(60px, 8vw, 120px);
  --gutter:      clamp(20px, 5vw, 60px);
  --max:         1200px;
}

/* ─── BASE ─── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
}

h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 12px;
}

p {
  color: var(--white-mid);
  line-height: 1.85;
  font-size: 0.975rem;
}

strong { color: var(--white); font-weight: 500; }

a { color: inherit; text-decoration: none; }
a.text-link {
  color: var(--red);
  border-bottom: 1px solid rgba(185, 28, 28, 0.4);
  transition: border-color 0.25s, color 0.25s;
}
a.text-link:hover { color: var(--red-bright); border-color: var(--red-bright); }

img { display: block; max-width: 100%; }

/* ─── LAYOUT HELPERS ─── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.section-intro {
  color: var(--white-mid);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 0;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 38px;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}
.btn-primary:hover { background: var(--red-bright); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  border: 1px solid rgba(185, 28, 28, 0.5);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 36px;
  transition: border-color 0.25s, background 0.25s;
}
.btn-secondary:hover { border-color: var(--red); background: rgba(185, 28, 28, 0.08); }

/* ═══════════════════════════════════════════
   LOGO SVG
   ═══════════════════════════════════════════ */
.logo-svg, .footer-logo-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.logo-upper {
  font-family: 'Cormorant Garamond', serif;
  font-size: 50px;
  font-weight: 400;
  fill: var(--white, #f0ece4);
  letter-spacing: 4px;
}

.logo-for {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  font-style: italic;
  fill: rgba(240, 236, 228, 0.55);
}

.logo-lower {
  font-family: 'Cormorant Garamond', serif;
  font-size: 96px;
  font-weight: 700;
  fill: var(--white, #f0ece4);
}

.logo-lower-footer {
  font-family: 'Cormorant Garamond', serif;
  font-size: 96px;
  font-weight: 700;
  fill: rgba(240, 236, 228, 0.15);
}

/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px calc(max(0px, (100vw - var(--max)) / 2) + var(--gutter));
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

#nav.scrolled,
body.inner-page #nav {
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 18px calc(max(0px, (100vw - var(--max)) / 2) + var(--gutter));
  border-bottom-color: rgba(240, 236, 228, 0.07);
}

.nav-brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-brand-img {
  height: 64px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
}

/* ─── NAV GROUPS (dropdown categories) ─── */
.nav-group {
  position: relative;
}

.nav-group-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-mid);
  transition: color 0.25s;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-group-btn::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.nav-group:hover .nav-group-btn,
.nav-group.active .nav-group-btn { color: var(--white); }

@media (hover: hover) and (pointer: fine) {
  .nav-group:hover .nav-group-btn::after {
    transform: rotate(-135deg) translateY(-2px);
  }
  .nav-group:hover .nav-dropdown { display: block; }
}

.nav-group.open .nav-group-btn { color: var(--white); }
.nav-group.open .nav-group-btn::after {
  transform: rotate(-135deg) translateY(-2px);
}
.nav-group.open .nav-dropdown { display: block; }

/* Dropdown panel */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(240, 236, 228, 0.08);
  padding: 8px 20px 18px;
  list-style: none;
  min-width: 150px;
  white-space: nowrap;
  z-index: 100;
}

.nav-dropdown-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.nav-dropdown a {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--white-mid);
  transition: color 0.25s;
  padding: 9px 4px;
}
.nav-dropdown a:hover,
.nav-dropdown a[aria-current="page"] { color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ═══════════════════════════════════════════
   HERO (home)
   ═══════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(80px, 10vh, 120px);
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 65%, rgba(185, 28, 28, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 15% 85%, rgba(185, 28, 28, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 85% 15%, rgba(185, 28, 28, 0.04) 0%, transparent 50%),
    var(--black);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  width: 100%;
  max-width: 860px;
}

.logo-mark {
  margin-bottom: 44px;
  width: 100%;
}

.hero-h1 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
  display: block;
}

.tagline {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white-mid);
  line-height: 1.65;
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-scroll span {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--white-dim);
}
.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--white-dim) 0%, transparent 100%);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1) translateY(0); }
  50%       { opacity: 0.9; transform: scaleY(0.75) translateY(4px); }
}

/* ═══════════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: calc(var(--pad) + 90px) 0 var(--pad);
  background: var(--black);
  overflow: hidden;
  border-bottom: 1px solid rgba(240, 236, 228, 0.05);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 0% 100%, rgba(185, 28, 28, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 100% 0%, rgba(185, 28, 28, 0.05) 0%, transparent 55%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 28px;
}

.page-hero .lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--white-mid);
  line-height: 1.8;
  max-width: 660px;
}

/* ═══════════════════════════════════════════
   ALARM BANNER
   ═══════════════════════════════════════════ */
@keyframes alarmGlow {
  0%, 100% {
    box-shadow:
      0 0 18px rgba(185, 28, 28, 0.7),
      0 0 55px rgba(185, 28, 28, 0.35),
      0 4px 30px rgba(185, 28, 28, 0.4);
  }
  50% {
    box-shadow:
      0 0 32px rgba(220, 38, 38, 1),
      0 0 100px rgba(185, 28, 28, 0.65),
      0 4px 60px rgba(185, 28, 28, 0.5);
  }
}
.alarm-banner {
  background: var(--red);
  padding: 14px var(--gutter);
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
  animation: alarmGlow 2.8s ease-in-out infinite;
}
.alarm-banner p {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   QUOTES
   ═══════════════════════════════════════════ */
#quotes {
  padding: 90px 0;
  background: var(--darker);
  border-bottom: 1px solid rgba(240, 236, 228, 0.05);
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.quotes-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
}

blockquote {
  border-left: 2px solid var(--red);
  padding-left: 28px;
}
blockquote p {
  font-family: var(--serif);
  font-size: 1.44rem;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.55;
  margin-bottom: 18px;
}
blockquote cite {
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  color: var(--white-dim);
  font-style: normal;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   MISSION
   ═══════════════════════════════════════════ */
#mission {
  padding: var(--pad) 0;
  background: var(--black);
}

#mission h2 { margin-bottom: 50px; }

.mission-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 70px;
}

.mission-col p { margin-bottom: 18px; font-size: 1rem; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(240, 236, 228, 0.08);
}

.pillars--full {
  border-top: none;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(240, 236, 228, 0.08);
}

.pillar {
  padding: 50px 44px;
  border-right: 1px solid rgba(240, 236, 228, 0.08);
  transition: background 0.3s ease;
}
.pillars--full .pillar { border-right: 1px solid rgba(240, 236, 228, 0.08); }
.pillar:last-child { border-right: none; }
.pillar:hover { background: rgba(240, 236, 228, 0.02); }

.pillar-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--red);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: 18px;
}
.pillar h3 { margin-bottom: 14px; font-size: 1.15rem; }
.pillar p  { font-size: 0.9rem; line-height: 1.75; }

/* ─── HOW WE DIFFER ─── */
.how-we-differ {
  padding-top: var(--pad);
  border-top: 1px solid rgba(240, 236, 228, 0.06);
}
.how-we-differ .section-label { margin-bottom: 0; }

.differ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(240, 236, 228, 0.06);
  border: 1px solid rgba(240, 236, 228, 0.06);
  margin-top: 44px;
}

.differ-card {
  background: var(--black);
  padding: 44px 38px;
  transition: background 0.3s;
}
.differ-card:hover { background: rgba(185, 28, 28, 0.03); }
.differ-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.differ-card p  { font-size: 0.9rem; line-height: 1.78; }

/* ═══════════════════════════════════════════
   PILLARS (our-plan page)
   ═══════════════════════════════════════════ */
#pillars {
  padding: var(--pad) 0;
  background: var(--darker);
}

#pillars h2 { margin-bottom: 50px; }

/* ═══════════════════════════════════════════
   THE SCIENCE
   ═══════════════════════════════════════════ */
#science {
  padding: var(--pad) 0;
  background: var(--darker);
}

#science h2 { margin-bottom: 60px; }

.science-grid {
  display: grid;
  gap: 1px;
  background: rgba(240, 236, 228, 0.06);
  margin-bottom: 70px;
  border: 1px solid rgba(240, 236, 228, 0.06);
}

.science-grid--3 { grid-template-columns: repeat(3, 1fr); }

.sci-card {
  background: var(--darker);
  padding: 44px 38px;
  transition: background 0.3s ease;
}
.sci-card:hover { background: rgba(185, 28, 28, 0.04); }
.sci-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.sci-card p  { font-size: 0.9rem; line-height: 1.78; }

.treaty-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px;
  border: 1px solid rgba(185, 28, 28, 0.35);
  text-align: center;
  background: rgba(185, 28, 28, 0.03);
}
.treaty-box h3 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 20px;
}
.treaty-box p {
  font-size: 1rem;
  line-height: 1.82;
  max-width: 580px;
  margin: 0 auto 36px;
}

/* ═══════════════════════════════════════════
   EXPERT QUOTES (the-threat page)
   ═══════════════════════════════════════════ */
.expert-quotes {
  padding: var(--pad) 0;
  background: var(--black);
  border-top: 1px solid rgba(240, 236, 228, 0.05);
}

.expert-quotes h2 { margin-bottom: 16px; }

.expert-quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin-top: 56px;
}

.expert-quotes-grid blockquote p {
  font-size: 1.1rem;
}

/* ═══════════════════════════════════════════
   TIMELINE (the-threat page)
   ═══════════════════════════════════════════ */
.warnings-timeline {
  padding: var(--pad) 0;
  background: var(--darker);
  border-top: 1px solid rgba(240, 236, 228, 0.05);
}

.warnings-timeline h2 { margin-bottom: 16px; }

.timeline-list {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 48px;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(185, 28, 28, 0.5), rgba(185, 28, 28, 0.08));
  clip-path: inset(0 0 calc((1 - var(--tl-progress, 0)) * 100%) 0);
}

.timeline-item {
  position: relative;
  padding-bottom: 52px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -52px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.2);
}

.timeline-year {
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.timeline-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.timeline-item p {
  font-size: 0.92rem;
  max-width: 700px;
  line-height: 1.78;
}

/* ═══════════════════════════════════════════
   THE STAKES (home page)
   ═══════════════════════════════════════════ */
#stakes {
  padding: var(--pad) 0;
  background: var(--darker);
  border-top: 1px solid rgba(240, 236, 228, 0.05);
}

#stakes h2 { margin-bottom: 16px; }
#stakes .section-intro { margin-bottom: 52px; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(240, 236, 228, 0.06);
  border: 1px solid rgba(240, 236, 228, 0.06);
  margin-bottom: 52px;
}

.stat-card {
  background: var(--darker);
  padding: 52px 44px;
  text-align: center;
  transition: background 0.3s;
}
.stat-card:hover { background: rgba(185, 28, 28, 0.03); }

.stat-num {
  font-family: var(--sans);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--red);
  line-height: 1;
  margin-bottom: 18px;
  display: block;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--white-mid);
  line-height: 1.7;
}

.stakes-cta {
  text-align: center;
  padding-top: 8px;
}

/* ═══════════════════════════════════════════
   POLICY ROADMAP (our-plan page)
   ═══════════════════════════════════════════ */
.policy-roadmap {
  padding: var(--pad) 0;
  background: var(--darker);
  border-top: 1px solid rgba(240, 236, 228, 0.05);
}

.policy-roadmap h2 { margin-bottom: 16px; }
.policy-roadmap .section-intro { margin-bottom: 0; }

.policy-list {
  margin-top: 52px;
  border: 1px solid rgba(240, 236, 228, 0.08);
}

.policy-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  border-bottom: 1px solid rgba(240, 236, 228, 0.08);
  transition: background 0.3s;
}
.policy-item:last-child { border-bottom: none; }
.policy-item:hover { background: rgba(185, 28, 28, 0.03); }

.policy-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--red);
  opacity: 0.5;
  padding: 44px 24px;
  border-right: 1px solid rgba(240, 236, 228, 0.08);
  display: flex;
  align-items: flex-start;
  line-height: 1;
}

.policy-content {
  padding: 44px 52px;
}
.policy-content h3 { margin-bottom: 12px; font-size: 1.18rem; }
.policy-content p  { font-size: 0.93rem; line-height: 1.8; }

/* ═══════════════════════════════════════════
   EMAIL SIGNUP
   ═══════════════════════════════════════════ */
#signup {
  padding: var(--pad) 0;
  background: var(--black);
  border-top: 1px solid rgba(240, 236, 228, 0.05);
  text-align: center;
}

.signup-inner-page {
  background: var(--black) !important;
}

.signup-inner {
  max-width: 640px;
  margin: 0 auto;
}
.signup-inner h2 { margin-bottom: 20px; }
.signup-inner > p { margin-bottom: 44px; font-size: 1rem; }

.signup-form .form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.signup-form input {
  flex: 1;
  min-width: 160px;
  background: rgba(240, 236, 228, 0.05);
  border: 1px solid rgba(240, 236, 228, 0.14);
  color: var(--white);
  padding: 15px 20px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.25s;
}
.signup-form input:focus { border-color: rgba(240, 236, 228, 0.4); }
.signup-form input::placeholder { color: var(--white-dim); }

.form-note {
  margin-top: 14px;
  font-size: 0.7rem;
  color: var(--white-dim);
  letter-spacing: 0.04em;
}

.form-msg {
  margin-top: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  min-height: 1.2em;
}
.form-msg.success { color: #6ee7b7; }
.form-msg.error   { color: var(--red-bright); }

/* ═══════════════════════════════════════════
   ABOUT (home + about page)
   ═══════════════════════════════════════════ */
#about {
  padding: var(--pad) 0;
  background: var(--darker);
}

.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}

.about-image { position: relative; }
.about-image img {
  width: 100%;
  filter: grayscale(100%) contrast(1.08);
}
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(8, 8, 8, 0.6) 100%);
  pointer-events: none;
}

.about-text .section-label { margin-bottom: 10px; }
.about-text h2 { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 28px; }
.about-text p  { margin-bottom: 18px; font-size: 0.975rem; }

/* ─── FOUNDATION STORY ─── */
.foundation-story {
  padding: var(--pad) 0;
  background: var(--black);
  border-top: 1px solid rgba(240, 236, 228, 0.05);
}
.foundation-story h2 { margin-bottom: 50px; }
.foundation-story .mission-body { margin-bottom: 0; }

/* ─── PRINCIPLES ─── */
.principles-section {
  padding: var(--pad) 0;
  background: var(--darker);
  border-top: 1px solid rgba(240, 236, 228, 0.05);
}
.principles-section h2 { margin-bottom: 0; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 60px;
}

.principle {
  padding-top: 28px;
  border-top: 2px solid rgba(185, 28, 28, 0.5);
}
.principle h3 { margin-bottom: 14px; font-size: 1.15rem; }
.principle p  { font-size: 0.92rem; line-height: 1.8; }

/* ─── FAQ ─── */
.faq-section {
  padding: var(--pad) 0;
  background: var(--black);
  border-top: 1px solid rgba(240, 236, 228, 0.05);
}
.faq-section h2 { margin-bottom: 0; }

.faq-list {
  margin-top: 52px;
}

.faq-item {
  border-bottom: 1px solid rgba(240, 236, 228, 0.08);
  padding: 36px 0;
}
.faq-item:first-child { border-top: 1px solid rgba(240, 236, 228, 0.08); }

.faq-q {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.faq-a {
  color: var(--white-mid);
  font-size: 0.95rem;
  line-height: 1.85;
  max-width: 820px;
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
#contact {
  padding: var(--pad) 0;
  background: var(--black);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-header h2 { margin-bottom: 20px; }
.contact-header > p { font-size: 1rem; line-height: 1.8; margin-bottom: 28px; }

.contact-note {
  font-size: 0.82rem;
  color: var(--white-dim);
  letter-spacing: 0.02em;
  border-left: 2px solid rgba(185, 28, 28, 0.4);
  padding-left: 16px;
  line-height: 1.6;
}

.contact-form .form-group { margin-bottom: 14px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(240, 236, 228, 0.04);
  border: 1px solid rgba(240, 236, 228, 0.1);
  color: var(--white);
  padding: 15px 18px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 300;
  outline: none;
  resize: none;
  transition: border-color 0.25s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: rgba(240, 236, 228, 0.35); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--white-dim); }
.contact-form .btn-primary { margin-top: 6px; }

/* ─── PARTNERSHIPS ─── */
.partnerships {
  padding: var(--pad) 0;
  background: var(--darker);
  border-top: 1px solid rgba(240, 236, 228, 0.05);
}
.partnerships h2 { margin-bottom: 16px; }
.partnerships .section-intro { margin-bottom: 0; }

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.partnership-card {
  padding: 44px 42px;
  border: 1px solid rgba(240, 236, 228, 0.08);
  transition: border-color 0.3s, background 0.3s;
}
.partnership-card:hover {
  border-color: rgba(185, 28, 28, 0.4);
  background: rgba(185, 28, 28, 0.03);
}
.partnership-card h3 { margin-bottom: 14px; font-size: 1.15rem; }
.partnership-card p  { font-size: 0.91rem; line-height: 1.8; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
#footer {
  padding: 22px 0 18px;
  border-top: 1px solid rgba(240, 236, 228, 0.07);
  text-align: center;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0 56px;
  justify-content: center;
  margin-bottom: 28px;
  text-align: left;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col-label {
  font-family: var(--sans);
  font-size: 0.60rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 3px;
}
.footer-cols a {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color 0.25s;
}
.footer-cols a:hover { color: var(--white); }
@media (max-width: 600px) {
  .footer-cols {
    grid-template-columns: repeat(2, auto);
    gap: 28px 40px;
  }
}

.footer-legal {
  font-size: 0.68rem;
  color: var(--white-dim);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.footer-legal a {
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-legal a:hover { color: var(--white); }
.footer-disclaimer {
  font-size: 0.62rem;
  color: rgba(240, 236, 228, 0.2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"] { transition-delay: 0.12s; }
[data-reveal][data-delay="2"] { transition-delay: 0.24s; }
[data-reveal][data-delay="3"] { transition-delay: 0.36s; }
[data-reveal][data-delay="4"] { transition-delay: 0.48s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .quotes-grid       { grid-template-columns: 1fr; gap: 40px; }
  .quotes-grid--4    { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .science-grid--3   { grid-template-columns: repeat(2, 1fr); }
  .about-grid        { grid-template-columns: 1fr; }
  .about-image       { max-width: 340px; }
  .contact-inner     { grid-template-columns: 1fr; gap: 50px; }
  .pillars           { grid-template-columns: 1fr; }
  .pillars--full     { grid-template-columns: 1fr; }
  .pillar            { border-right: none; border-bottom: 1px solid rgba(240,236,228,0.08); }
  .pillar:last-child { border-bottom: none; }
  .stats-row         { grid-template-columns: 1fr; }
  .expert-quotes-grid{ grid-template-columns: 1fr; }
  .principles        { grid-template-columns: 1fr; gap: 40px; }
  .partnership-grid  { grid-template-columns: 1fr; }
  .differ-grid       { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(8, 8, 8, 0.97);
    flex-direction: column;
    padding: 8px var(--gutter) 20px;
    gap: 0;
    border-bottom: 1px solid rgba(240,236,228,0.07);
  }
  .nav-links.open { display: flex; }
  .hamburger      { display: flex; }

  .nav-group { width: 100%; }

  .nav-group-btn {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(240, 236, 228, 0.06);
  }

  .nav-dropdown {
    position: static;
    transform: none;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-bottom: 1px solid rgba(240, 236, 228, 0.06);
    padding: 6px 0 10px 12px;
    min-width: 0;
    white-space: normal;
  }

  .nav-dropdown-label { display: none; }
  .nav-dropdown a { padding: 8px 0; font-size: 0.82rem; }

  .mission-body  { grid-template-columns: 1fr; gap: 30px; }
  .science-grid--3 { grid-template-columns: 1fr; }
  .treaty-box    { padding: 40px 24px; }
  .signup-form .form-row { flex-direction: column; }
  .policy-item   { grid-template-columns: 60px 1fr; }
  .policy-num    { padding: 32px 16px; font-size: 1.8rem; }
  .policy-content{ padding: 32px 28px; }
  .quotes-grid--4 { grid-template-columns: 1fr; }

  .logo-upper { font-size: 32px; }
  .logo-for   { font-size: 18px; }
  .logo-lower,
  .logo-lower-footer { font-size: 62px; }

  .page-hero h1 { font-size: clamp(2.2rem, 6vw, 3rem); }
  .stat-card { padding: 40px 24px; }
  .timeline-list { padding-left: 32px; }
  .timeline-item::before { left: -36px; }
}

@media (max-width: 480px) {
  .logo-upper { font-size: 24px; }
  .logo-lower,
  .logo-lower-footer { font-size: 46px; }
}

/* ═══════════════════════════════════════════
   HERO CANVAS + ANIMATION
   ═══════════════════════════════════════════ */
#globe-canvas,
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-intro {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.95rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 36px;
  letter-spacing: 0.01em;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  animation: heroFadeUp 1.2s ease 0.2s both;
}

.hero-content .tagline {
  animation: heroFadeUp 1.2s ease 0.5s both;
}

.hero-content .btn-primary {
  animation: heroFadeUp 1.2s ease 0.8s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   POLITICS SECTION
   ═══════════════════════════════════════════ */
#politics {
  padding: var(--pad) 0;
  background: var(--darker);
  border-top: 1px solid rgba(240, 236, 228, 0.05);
}

#politics h2 { margin-bottom: 50px; }

/* ═══════════════════════════════════════════
   PRECEDENT SECTION
   ═══════════════════════════════════════════ */
#precedent {
  padding: var(--pad) 0;
  background: var(--black);
  border-top: 1px solid rgba(240, 236, 228, 0.05);
}

#precedent h2 { margin-bottom: 16px; }
#precedent .section-intro { margin-bottom: 0; }

.precedent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.precedent-card {
  padding: 44px 42px;
  border: 1px solid rgba(240, 236, 228, 0.08);
  transition: border-color 0.3s, background 0.3s;
}
.precedent-card:hover {
  border-color: rgba(185, 28, 28, 0.4);
  background: rgba(185, 28, 28, 0.03);
}

.precedent-year {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--red);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 16px;
}

.precedent-card h3 { margin-bottom: 14px; font-size: 1.15rem; }
.precedent-card p  { font-size: 0.9rem; line-height: 1.78; }

/* ═══════════════════════════════════════════
   THE WINDOW SECTION
   ═══════════════════════════════════════════ */
#window {
  padding: var(--pad) 0;
  background: var(--darker);
  border-top: 1px solid rgba(240, 236, 228, 0.05);
}

#window h2 { margin-bottom: 50px; }

.window-inner {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 80px;
  align-items: start;
}

.window-text p { margin-bottom: 18px; font-size: 1rem; line-height: 1.85; }

.window-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}

@media (max-width: 1024px) {
  .precedent-grid { grid-template-columns: 1fr; }
  .window-inner   { grid-template-columns: 1fr; gap: 40px; }
  .window-cta     { flex-direction: row; flex-wrap: wrap; }
}

/* ═══════════════════════════════════════════
   PRIVATE ADMISSIONS
   ═══════════════════════════════════════════ */
#private-admissions {
  padding: var(--pad) 0;
  background: var(--darker);
  border-top: 1px solid rgba(240,236,228,0.05);
}
#private-admissions h2 { margin-bottom: 16px; }
#private-admissions .section-intro { margin-bottom: 0; }

.admission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.admission-card {
  position: relative;
  padding: 40px 42px;
  border: 1px solid rgba(240,236,228,0.08);
  background: #0f0f0f;
  overflow: hidden;
}

.admission-stamp {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--red);
  border: 1px solid rgba(185,28,28,0.5);
  padding: 3px 10px;
  margin-bottom: 14px;
  opacity: 0.85;
}

.admission-source {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--white-dim);
  margin-bottom: 22px;
  line-height: 1.55;
}

.redact-quote {
  position: relative;
  min-height: 80px;
}

.admission-quote {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.65;
  margin: 0;
}

.redact-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.redact-bar {
  position: absolute;
  left: 0;
  right: 0;
  background: #030303;
  transform: translateX(0);
  transition: transform 1.5s cubic-bezier(0.4,0,0.2,1);
}

.redact-bar.revealed {
  transform: translateX(110%);
}

/* ═══════════════════════════════════════════
   DOCUMENTED INCIDENTS
   ═══════════════════════════════════════════ */
#documented {
  padding: var(--pad) 0;
  background: var(--darker);
  border-top: 1px solid rgba(240,236,228,0.05);
}
#documented h2 { margin-bottom: 12px; }
#documented .section-intro { margin-bottom: 0; }
.incident-list {
  margin-top: 52px;
}
.incident-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid rgba(240,236,228,0.07);
}
.incident-row:last-child { border-bottom: 1px solid rgba(240,236,228,0.07); }
.incident-num {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--red);
  padding-top: 6px;
}
.incident-tag {
  display: inline-block;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,236,228,0.38);
  border: 1px solid rgba(240,236,228,0.1);
  padding: 3px 9px;
  margin-bottom: 12px;
}
.incident-body h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.35;
}
.incident-body p {
  font-size: 0.87rem;
  color: var(--white-mid);
  line-height: 1.8;
  max-width: 680px;
}
@media (max-width: 640px) {
  .incident-row { grid-template-columns: 1fr; gap: 8px; }
  .incident-num { padding-top: 0; }
}

/* ═══════════════════════════════════════════
   DOOMSDAY CLOCK
   ═══════════════════════════════════════════ */
#doomsday {
  padding: var(--pad) 0;
  background: var(--black);
  border-top: 1px solid rgba(240,236,228,0.05);
}

.doomsday-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  align-items: center;
}

.doomsday-text .section-label { margin-bottom: 12px; }
.doomsday-text h2             { margin-bottom: 28px; }
.doomsday-text p              { font-size: 1rem; line-height: 1.85; margin-bottom: 18px; }
.doomsday-text p:last-child   { margin-bottom: 0; }

.doomsday-clock-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

#clock-canvas {
  width: clamp(200px, 28vw, 260px);
  height: auto;
  display: block;
}

.clock-time-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--red);
  text-align: center;
}

.clock-source-label {
  font-size: 0.65rem;
  color: var(--white-dim);
  letter-spacing: 0.06em;
  text-align: center;
}

/* ═══════════════════════════════════════════
   TIMELINE DOT ACTIVATION
   ═══════════════════════════════════════════ */
.timeline-item.tl-active::before {
  background: var(--red-bright);
  box-shadow: 0 0 0 4px rgba(185,28,28,0.22), 0 0 14px rgba(185,28,28,0.3);
  transition: background 0.4s ease, box-shadow 0.6s ease;
}

/* ═══════════════════════════════════════════
   TAKE ACTION / ROLE SELECTOR
   ═══════════════════════════════════════════ */
#role-selector {
  padding: var(--pad) 0;
  background: var(--black);
}

.role-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 44px 0 0;
}

.role-btn {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-mid);
  background: transparent;
  border: 1px solid rgba(240, 236, 228, 0.15);
  padding: 12px 26px;
  cursor: pointer;
  transition: color 0.22s, border-color 0.22s, background 0.22s;
  outline: none;
}
.role-btn:hover {
  color: var(--white);
  border-color: rgba(240, 236, 228, 0.4);
}
.role-btn.active {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}
.role-btn:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: 3px;
}

.role-panels {
  margin-top: 60px;
  border-top: 1px solid rgba(240, 236, 228, 0.08);
}

.role-panel {
  display: none;
  padding-top: 60px;
  animation: roleFadeIn 0.45s ease;
}
.role-panel.active { display: block; }

@keyframes roleFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.role-panel-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.role-panel-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

.role-panel-intro {
  font-size: 1rem;
  color: var(--white-mid);
  line-height: 1.82;
  max-width: 720px;
  margin-bottom: 52px;
}

.action-list {
  list-style: none;
}

.action-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 36px;
  padding: 36px 0;
  border-top: 1px solid rgba(240, 236, 228, 0.07);
  align-items: start;
}

.action-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--red);
  opacity: 0.5;
  line-height: 1;
  padding-top: 5px;
}

.action-body strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.action-body p {
  font-size: 0.92rem;
  color: var(--white-mid);
  line-height: 1.82;
  max-width: 700px;
}

@media (max-width: 640px) {
  .role-btn { padding: 10px 18px; font-size: 0.72rem; }
  .action-item { grid-template-columns: 1fr; gap: 10px; }
  .action-num { font-size: 1.5rem; padding-top: 0; opacity: 0.4; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — NEW SECTIONS
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .doomsday-inner  { grid-template-columns: 1fr; gap: 50px; }
  .admission-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .admission-card  { padding: 32px 28px; }
}

/* ═══════════════════════════════════════════
   RESOURCES PAGE
   ═══════════════════════════════════════════ */

/* ─── Platform dividers ─── */
.platform-block {
  margin-bottom: 70px;
}
.platform-block:last-child { margin-bottom: 0; }

.platform-label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}
.platform-label-text {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-dim);
  white-space: nowrap;
}
.platform-label-line {
  flex: 1;
  height: 1px;
  background: rgba(240,236,228,0.08);
}

/* ─── Copy cards ─── */
.copy-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.copy-card {
  background: var(--darker);
  border: 1px solid rgba(240,236,228,0.07);
  padding: 36px 40px;
  position: relative;
  transition: border-color 0.25s;
}
.copy-card:hover { border-color: rgba(185,28,28,0.25); }

.copy-card-tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.copy-card-text {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--white-mid);
  line-height: 1.75;
  white-space: pre-wrap;
  margin: 0;
}

.copy-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(240,236,228,0.07);
}

.copy-char-count {
  font-size: 0.7rem;
  color: var(--white-dim);
  letter-spacing: 0.06em;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid rgba(185,28,28,0.4);
  color: var(--white-mid);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 20px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.copy-btn:hover {
  background: rgba(185,28,28,0.1);
  border-color: var(--red);
  color: var(--white);
}
.copy-btn.copied {
  background: rgba(185,28,28,0.15);
  border-color: var(--red);
  color: var(--white);
}
.copy-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ─── PDF download cards ─── */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.pdf-card {
  background: var(--darker);
  border: 1px solid rgba(240,236,228,0.07);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s;
}
.pdf-card:hover { border-color: rgba(185,28,28,0.25); }

.pdf-card-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  color: rgba(185,28,28,0.3);
  line-height: 1;
  margin-bottom: 20px;
}

.pdf-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--white);
}

.pdf-card p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--white-dim);
  flex: 1;
  margin-bottom: 30px;
}

.pdf-card-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.pdf-topic-tag {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
  border: 1px solid rgba(240,236,228,0.12);
  padding: 4px 10px;
}

/* ─── External resources ─── */
.ext-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.ext-card {
  background: var(--darker);
  border: 1px solid rgba(240,236,228,0.07);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s;
  text-decoration: none;
}
.ext-card:hover { border-color: rgba(185,28,28,0.25); }

.ext-card-category {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.ext-card h3 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.ext-card p {
  font-size: 0.83rem;
  line-height: 1.7;
  color: var(--white-dim);
  flex: 1;
  margin-bottom: 16px;
}

.ext-card-link {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ext-card:hover .ext-card-link { color: var(--red-bright); }

/* ─── Resources section spacing ─── */
.resources-section {
  padding: var(--pad) 0;
  border-top: 1px solid rgba(240,236,228,0.05);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .pdf-grid { grid-template-columns: 1fr; }
  .ext-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .copy-card { padding: 28px 24px; }
  .pdf-card  { padding: 32px 28px; }
  .ext-grid  { grid-template-columns: 1fr; }
  .copy-card-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
}
