@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

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

:root {
  --ink:       #0a0a08;
  --cream:     #f4efe6;
  --cream-mid: #ede7db;
  --red:       #c8182a;
  --red-dark:  #8b0f1c;
  --red-dim:   rgba(200,24,42,0.08);
  --gold:      #b8820a;
  --mid:       #4a4a44;
  --faint:     rgba(10,10,8,0.06);
  --ff-display: 'Instrument Serif', 'EB Garamond', Georgia, serif;
  --ff-body: "Raleway", sans-serif;;
  --ff-mono: 'JetBrains Mono', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }
a {
    text-decoration: none;
    color: inherit;
}
p, h3 {
  font-family: var(--ff-body);
  font-style: italic;
}
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.6;
}

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 500;
  height: 55px;
  background: var(--ink);
  border-bottom: 3px solid var(--red);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
}
  .nav-top-row button {
    display: none;
  }

    .nav-top-row a span {
      padding: 0;
    }

  .nav-logo {
    font-family: var(--ff-mono);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream);
    text-decoration: none;
  }

  .nav-logo span { color: var(--red); }

nav ul { list-style: none; display: flex; align-items: center; gap: 2.5rem; }
nav ul a {
  font-family: var(--ff-mono); font-size: 11px; font-weight: 300; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(244,239,230,0.7); text-decoration: none;
  transition: color 0.2s;
}
nav ul a:hover { color: var(--red); }
.nav-cta {
  background: var(--red) !important; color: var(--cream) !important;
  padding: 8px 20px; letter-spacing: 0.12em !important; opacity: 1 !important;
  font-weight: 400 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }

/* ─────────────────────────────────────────────
   TICKER
───────────────────────────────────────────── */
.ticker-wrap {
  background: var(--red); overflow: hidden; white-space: nowrap; border-bottom: 6px solid var(--red);
}
.ticker-inner {
  display: inline-block;
  animation: ticker 45s linear infinite;
  font-family: var(--ff-mono); font-size: 10.5px; font-weight: 300; letter-spacing: 0.12em;
  color: rgba(244,239,230,0.9); text-transform: uppercase;
}
.ticker-inner:hover { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }
.ticker-sep { margin: 0 2.5rem; color: rgba(244,239,230,0.4); }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  background: var(--ink);
  color: var(--cream);
  min-height: 92vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--red);
}

/* subtle diagonal ink stripes */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 80px,
    rgba(255,255,255,0.012) 80px,
    rgba(255,255,255,0.012) 81px
  );
  pointer-events: none;
}

.hero-meta-bar {
  display: none; align-items: center; justify-content: space-between;
  padding: 1.2rem 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative; z-index: 2;
}
.hero-meta-left {
  display: flex; align-items: center; gap: 2rem;
  font-family: var(--ff-mono); font-size: 9.5px; font-weight: 300; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(244,239,230,0.3);
}
.hero-meta-left .issue-pill {
  background: var(--red); color: var(--cream);
  padding: 3px 10px; font-size: 9px; letter-spacing: 0.18em;
  opacity: 1;
}
.hero-meta-right {
  font-family: var(--ff-mono); font-size: 9px; font-weight: 300; letter-spacing: 0.18em;
  color: rgba(244,239,230,0.25); text-transform: uppercase;
  display: flex; gap: 1.5rem; align-items: center;
}
.hero-meta-right .live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #2a9d5c;
  display: inline-block; margin-right: -0.8rem;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

/* main content grid */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1px 420px;
  position: relative; z-index: 2;
}
.hero-vline { background: rgba(255,255,255,0.08); }

.hero-left {
  padding: 2rem 7rem;
  display: flex; flex-direction: column; justify-content: center;
}

.hero-kicker {
  font-family: var(--ff-mono); font-size: 9.5px; font-weight: 300; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 2rem; display: flex; align-items: center; gap: 1rem;
}
.hero-kicker::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--red);
}

.hero-h1 {
  font-family: var(--ff-display);
  font-size: clamp(3.8rem, 6.5vw, 7rem);
  font-weight: 400;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}
.hero-h1 em { font-style: normal; color: var(--red); display: block; }
.hero-h1 .word-indent { padding-left: 2.5rem; }

.hero-lede {
  font-family: var(--ff-body);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(244,239,230,0.65);
  max-width: 48ch;
  line-height: 1.65;
  margin-bottom: 3rem;
  border-left: 3px solid rgba(200,24,42,0.5);
  padding-left: 1.25rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-primary {
  font-family: var(--ff-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.2em;
  text-transform: uppercase; text-decoration: none;
  background: var(--red); color: var(--cream);
  padding: 14px 30px; border: 2px solid var(--red);
  transition: all 0.2s; cursor: pointer;
  position: relative; overflow: hidden;
}
.btn-hero-primary::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.1); opacity: 0; transition: opacity 0.2s;
}
.btn-hero-primary:hover::after { opacity: 1; }
.btn-hero-outline {
  font-family: var(--ff-mono); font-size: 11px; font-weight: 300; letter-spacing: 0.2em;
  text-transform: uppercase; text-decoration: none;
  background: transparent; color: rgba(244,239,230,0.8);
  padding: 14px 30px; border: 2px solid rgba(244,239,230,0.2);
  transition: all 0.2s; cursor: pointer;
}
.btn-hero-outline:hover { border-color: rgba(244,239,230,0.6); color: var(--cream); }

/* right panel */
.hero-right {
  padding: 3rem 3rem 3rem 3.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  border-left: 0;
}

.hero-quote-block {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-bottom: 2.5rem;
}
.hero-quote {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(244,239,230,0.75);
  margin-bottom: 0.75rem;
}
.hero-quote-attr {
  font-family: var(--ff-mono); font-size: 8.5px; font-weight: 300; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(244,239,230,0.3);
}

/* stats stacked */
.hero-stats {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-stat {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  transition: background 0.2s;
}
.hero-stat:last-child { border-bottom: none; }
.hero-stat:hover { background: rgba(255,255,255,0.04); }
.hs-num {
  font-family: var(--ff-display); font-size: 2.6rem; font-weight: 400;
  font-style: italic;
  line-height: 1; color: var(--red); display: block;
}
.hs-label {
  font-family: var(--ff-mono); font-size: 8.5px; font-weight: 300; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(244,239,230,0.35);
  display: block; margin-top: 3px;
}
.hs-change {
  font-family: var(--ff-mono); font-size: 9px; font-weight: 300; letter-spacing: 0.1em;
  color: #2a9d5c; padding: 2px 8px; border: 1px solid rgba(42,157,92,0.3);
  align-self: start;
}

/* hero bottom rule */
.hero-bottom-bar {
  padding: 1rem 3rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 2;
}
.hbb-left {
  font-family: var(--ff-mono); font-size: 9px; font-weight: 300; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(244,239,230,0.25);
  display: flex; gap: 2rem;
}
.hbb-pill {
  font-family: var(--ff-mono); font-size: 9px; font-weight: 300; letter-spacing: 0.15em;
  text-transform: uppercase; display: flex; align-items: center; gap: 0.5rem;
  color: rgba(244,239,230,0.4);
}
.hbb-pill span { color: var(--red); }

/* ─────────────────────────────────────────────
   SECTION SHARED
───────────────────────────────────────────── */
.section-header {
  display: flex; align-items: baseline; gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--ink);
  margin-bottom: 3rem;
}
.section-number {
  font-family: var(--ff-mono); font-size: 10px; font-weight: 300;
  letter-spacing: 0.25em; color: var(--red);
}
.section-header h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.05;
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─────────────────────────────────────────────
   PILLARS
───────────────────────────────────────────── */
  .pillars {
    padding: 5rem 7rem;
    border-bottom: 2px solid var(--ink);
  }

  .pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 2px solid var(--ink);
    margin-top: 1rem;
  }

  .pillar {
    padding: 2rem 1.75rem;
    border-right: 2px solid var(--ink);
    position: relative;
    overflow: hidden;
    transition: background 0.25s;
  }

  .pillar:last-child { border-right: none; }

  .pillar:hover { background: var(--ink); color: var(--cream); }
  .pillar:hover .pillar-num { color: var(--red); }
  .pillar:hover .pillar-title { color: var(--cream); }
  .pillar:hover .pillar-text { color: rgba(245,240,232,0.7); }

  .pillar-num {
    font-family: var(--ff-display);
    font-size: 4rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1;
    color: rgba(10,10,8,0.08);
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    transition: color 0.25s;
  }

  .pillar-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .pillar-title {
    font-family: var(--ff-display);
    font-size: 1.25rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    transition: color 0.25s;
  }

  .pillar-text {
    font-family: var(--ff-body);
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--mid);
    transition: color 0.25s;
  }


/* ─────────────────────────────────────────────
   MANIFESTO PULL — between pillars and roadmap
───────────────────────────────────────────── */
.pull-section {
  background: var(--red); color: var(--cream);
  padding: 4rem 7rem;
  display: grid; grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  border-bottom: 2px solid var(--red-dark);
}
.pull-vline { background: rgba(255,255,255,0.2); }
.pull-left {
  padding-right: 3.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.pull-right {
  padding-left: 3.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.pull-label {
  font-family: var(--ff-mono); font-size: 9px; font-weight: 300; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.75rem;
}
.pull-label::before { content:''; display:block; width:24px; height:1px; background:rgba(255,255,255,0.4); }
.pull-statement {
  font-family: var(--ff-display); font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400; font-style: italic; line-height: 1.3;
  color: var(--cream);
}
.pull-stats {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid rgba(255,255,255,0.2);
}
.ps-item {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.2s;
}
.ps-item:last-child { border-bottom: 0; }
.ps-item:hover { background: rgba(0,0,0,0.08); }
.ps-num {
  font-family: var(--ff-display); font-size: 2.2rem; font-weight: 400;
  font-style: italic;
  color: var(--cream); line-height: 1;
}
.ps-meta { text-align: right; }
.ps-label {
  font-family: var(--ff-mono); font-size: 9px; font-weight: 300; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.55); display: block;
}
.ps-sub {
  font-family: var(--ff-mono); font-size: 8px; font-weight: 300; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3); display: block; margin-top: 2px;
}

/* ─────────────────────────────────────────────
   ROADMAP
───────────────────────────────────────────── */
.roadmap-section {
  background: var(--ink); color: var(--cream);
  padding: 5rem 7rem;
  border-bottom: 3px solid var(--red);
}
.roadmap-section .section-header { border-bottom-color: rgba(255,255,255,0.1); }
.roadmap-section .section-header h2 { color: var(--cream); }

.roadmap-timeline {
  position: relative;
  padding-left: 148px;
  margin-top: 3rem;
}
/* the spine */
.roadmap-timeline::before {
  content: '';
  position: absolute; left: 118px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(to bottom, var(--red) 40%, rgba(255,255,255,0.1) 100%);
}

.rm-item {
  position: relative;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: 1fr;
  padding: 2.25rem 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.25s;
  cursor: default;
}
.rm-item:hover { background: rgba(255,255,255,0.025); }
.rm-item:last-child { border-bottom: 0; }

/* year label */
.rm-year {
  position: absolute;
  left: -148px; top: 2.5rem;
  width: 120px;
  text-align: right;
  font-family: var(--ff-mono); font-size: 10px; font-weight: 300; letter-spacing: 0.15em;
  color: var(--red); padding-right: 28px;
}

/* dot */
.rm-item::before {
  content: '';
  position: absolute; left: -30px; top: calc(2.5rem + 4px);
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.25);
  transform: translateX(-50%);
  transition: all 0.3s;
}
.rm-item.active::before {
  background: var(--red); border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(200,24,42,0.2);
}
.rm-item:hover::before { border-color: rgba(255,255,255,0.6); }

.rm-phase {
  font-family: var(--ff-mono); font-size: 8.5px; font-weight: 300; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--red); margin-bottom: 0.4rem;
}
.rm-title {
  font-family: var(--ff-display); font-size: 1.35rem; font-weight: 400;
  font-style: italic;
  color: var(--cream); margin-bottom: 0.6rem; line-height: 1.2;
}
.rm-desc {
  font-family: var(--ff-body);
  font-size: 0.9rem; font-style: italic; color: rgba(244,239,230,0.55); line-height: 1.6;
  max-width: 62ch; margin-bottom: 1rem;
}
.rm-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.rm-tag {
  font-family: var(--ff-mono); font-size: 8.5px; font-weight: 300; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 3px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(244,239,230,0.4);
  transition: border-color 0.2s, color 0.2s;
}
.rm-item:hover .rm-tag { border-color: rgba(255,255,255,0.22); color: rgba(244,239,230,0.65); }

/* inactive items dimmed */
.rm-item:not(.active) { opacity: 0.55; }
.rm-item:hover { opacity: 1; }


/* ─────────────────────────────────────────────
   POLICIES
───────────────────────────────────────────── */
.policies-section {
  padding: 3rem 7rem;
  border-bottom: 2px solid var(--ink);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--ink);
  border: 2px solid var(--ink);
}

.policy-card {
  background: var(--cream);
  padding: 2.25rem 2rem;
  position: relative;
  transition: background 0.3s;
  overflow: hidden;
}
.policy-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.policy-card:hover::after { transform: scaleX(1); }
.policy-card:hover { background: #ede8de; }

.policy-num {
  font-family: var(--ff-mono); font-size: 8.5px; font-weight: 300; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--mid); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.policy-num::after { content:''; flex:1; height:1px; background:rgba(10,10,8,0.1); }
.policy-title {
  font-family: var(--ff-display); font-size: 1.1rem; font-weight: 400;
  font-style: italic;
  margin-bottom: 0.75rem; line-height: 1.25;
}
.policy-text {
  font-family: var(--ff-body);
  font-size: 0.88rem; font-style: italic; color: var(--mid); line-height: 1.6; margin-bottom: 1.5rem;
}
.policy-metric-wrap {
  display: flex; align-items: baseline; gap: 0.6rem;
  margin-top: auto;
  border-top: 1px dashed rgba(10,10,8,0.12);
  padding-top: 1rem;
}
.policy-metric {
  font-family: var(--ff-display); font-size: 1.9rem; font-weight: 400;
  font-style: italic;
  color: var(--red); line-height: 1;
}
.policy-metric-label {
  font-family: var(--ff-mono); font-size: 8px; font-weight: 300; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--mid);
}

/* ─────────────────────────────────────────────
   FAQ
───────────────────────────────────────────── */
.faq-section {
  padding: 5rem 7rem;
  border-bottom: 2px solid var(--ink);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
}

.faq-item {
  border-bottom: 1px solid rgba(10,10,8,0.12);
  cursor: pointer;
  padding: 1.25rem 0;
  transition: background 0.2s;
}

.faq-q {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  line-height: 1.4;
  color: var(--ink);
}

.faq-icon {
  font-family: var(--ff-mono);
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--red);
  flex-shrink: 0;
  transition: transform 0.25s;
  line-height: 1;
  margin-top: 2px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--mid);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding-top: 0;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-top: 0.85rem;
}

/* ─────────────────────────────────────────────
   JOIN */

 .join {
    padding: 6rem 3rem;
    background: var(--red);
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .join::before {
    content: 'FOREFRONT';
    position: absolute;
    font-family: var(--ff-display);
    font-size: 18vw;
    font-weight: 400;
    font-style: italic;
    color: rgba(0,0,0,0.08);
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    white-space: nowrap;
    pointer-events: none;
  }

  .join h2 {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    font-style: italic;
    color: var(--cream);
    margin-bottom: 1rem;
    position: relative;
  }

  .join p {
    font-family: var(--ff-body);
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(245,240,232,0.85);
    max-width: 40ch;
    margin: 0 auto 2.5rem;
    position: relative;
  }

  .join .btn-primary {
    background: var(--cream);
    color: var(--ink);
    border-color: var(--cream);
    position: relative;
    display: inline-block;
    background: white;
    color: black;
    font-family: var(--ff-mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 14px 32px;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    border: 2px solid var(--red);
    cursor: pointer;
  }

  .join .btn-primary:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer {
  background: var(--ink); color: var(--cream);
  padding: 3.5rem 3rem;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  border-top: 3px solid var(--red);
}

.footer-brand{
   padding-right: 7rem;
}

.footer-brand h3 {
  font-family: var(--ff-display); font-size: 1.6rem; font-weight: 400;
  font-style: italic;
  color: var(--cream); margin-bottom: 0.35rem;
}
.ft-sub {
  font-family: var(--ff-mono); font-size: 8px; font-weight: 300; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(244,239,230,0.3);
  margin-bottom: 1.25rem; display: block;
}
.footer-brand p {
  font-family: var(--ff-body); font-size: 0.84rem; font-style: italic; text-align: justify;
  color: rgba(244,239,230,0.4); line-height: 1.65; letter-spacing: 0.03em;
}
.ft-divider { height: 1px; background: var(--red-dark); margin: 1.5rem 0; }
.ft-tricolor { height: 2px; width: 48px; background: linear-gradient(to right,#FF6B00 33%,#fff 33% 66%,#138808 66%); }

.footer-col h4 {
  font-family: var(--ff-mono); font-size: 9.5px; font-weight: 400; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--red); margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li {
  font-family: var(--ff-mono); font-size: 0.68rem; font-weight: 300;
  color: rgba(244,239,230,0.45); padding: 5px 0; letter-spacing: 0.15em;
  cursor: pointer; transition: color 0.2s;
}
.footer-col ul li:hover { color: var(--cream); }

.footer-bottom {
  background: #050503; padding: 1rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom span {
  font-family: var(--ff-mono); font-size: 9.5px; font-weight: 300; letter-spacing: 0.14em;
  color: rgba(244,239,230,0.22);
}

/* ─────────────────────────────────────────────
   BACK TO TOP
───────────────────────────────────────────── */
#btt {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 490;
  background: var(--ink); color: var(--cream);
  font-family: var(--ff-mono); font-size: 9.5px; font-weight: 300; letter-spacing: 0.18em;
  padding: 10px 16px; border: 2px solid var(--red);
  cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
#btt.show { opacity: 1; pointer-events: all; }
#btt:hover { background: var(--red); }


/* ══════════════════════════════════════════════
   TABLET  ≤ 1024px
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 0 2rem; }

  .hero-content { grid-template-columns: 1fr; }
  .hero-vline { display: none; }
  .hero-left { padding: 3.5rem 2.5rem; }
  .hero-right {
    padding: 2.5rem 2.5rem 3.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .pillars { padding: 4rem 2.5rem; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: none; }
  .pillar:nth-child(1),
  .pillar:nth-child(2) { border-bottom: 2px solid var(--ink); }

  .pull-section { padding: 3.5rem 2.5rem; }
  .roadmap-section { padding: 4rem 2.5rem; }
  .policies-section { padding: 4rem 2.5rem; }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }

  .faq-section { padding: 4rem 2.5rem; }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }

  footer { grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: 3rem 2.5rem; }
  .footer-brand { grid-column: 1 / -1; padding-right: 0; }
}

/* ══════════════════════════════════════════════
   MOBILE  ≤ 640px
══════════════════════════════════════════════ */
@media (max-width: 640px) {

  /* NAV */
  nav {
    height: auto;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    position: sticky;
    top: 0;
    z-index: 200;
  }

  .nav-logo {
    display: flex;
    align-items: center;
    height: 46px;
    padding: 0 1.25rem;
    font-size: 11px;
    letter-spacing: 0.2em;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex: 1;
  }

  .nav-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: none;
    border: none;
    border-left: 1px solid rgba(255,255,255,0.08);
    color: var(--cream);
    cursor: pointer;
    font-size: 20px;
    flex-shrink: 0;
  }

  .nav-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-top-row button { display: inline; }
  .nav-top-row a span { padding: 10px; }

  nav ul {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.28s ease;
    padding: 0;
    gap: 0;
  }
  nav ul.nav-open { max-height: 400px; }

  nav ul li { flex-shrink: 0; width: 100%; }

  nav ul a {
    display: flex;
    align-items: center;
    height: 46px;
    padding: 0 1rem;
    font-size: 10px;
    letter-spacing: 0.15em;
    opacity: 1;
    color: rgba(245,240,232,0.65);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-right: none;
    background: #191919 !important;
    color: #fff !important;
    height: 46px !important;
    justify-content: center;
    font-size: 10px !important;
    border-bottom: none !important;
    margin: 0.5rem 1.25rem 0;
    width: calc(100% - 2.5rem);
  }
  nav ul a:hover { color: var(--cream); background: rgba(255,255,255,0.04); }
  nav ul li:last-child a { border-bottom: none; }

  .nav-cta {
    background: var(--red) !important;
    color: var(--cream) !important;
    opacity: 1 !important;
    padding: 0 1.25rem !important;
    height: 46px !important;
    justify-content: center;
    font-size: 10px !important;
    border-bottom: none !important;
    margin: 0.5rem 1.25rem 0.75rem;
    width: calc(100% - 2.5rem);
  }

  /* ── TICKER ── */
  .ticker-wrap { padding-bottom: 0px; }
  .ticker-inner { font-size: 9px; animation-duration: 30s; }

  /* ── HERO ── */
  .hero { min-height: auto; }
  .hero-meta-bar { display: none; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-vline { display: none; }

  .hero-left {
    padding: 3.5rem 1.5rem 2.5rem;
    align-items: center;
    text-align: center;
  }
  .hero-kicker {
    font-size: 8.5px;
    letter-spacing: 0.28em;
    margin-bottom: 1.5rem;
    justify-content: center;
  }
  .hero-kicker::before { display: none; }
  .hero-h1 {
    font-size: clamp(3.2rem, 16vw, 4.5rem);
    line-height: 0.88;
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
  }
  .hero-lede {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 100%;
    border-left: none;
    border-top: 2px solid rgba(200,24,42,0.4);
    padding-left: 0;
    padding-top: 1.25rem;
    text-align: center;
    color: rgba(244,239,230,0.7);
  }
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    align-items: center;
  }
  .btn-hero-primary,
  .btn-hero-outline {
    text-align: center;
    padding: 15px 20px;
    font-size: 10.5px;
    letter-spacing: 0.18em;
    width: 100%;
    max-width: 320px;
  }

  .hero-right {
    padding: 2rem 1.5rem 3rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .hero-quote { font-size: 1rem; line-height: 1.55; }
  .hero-quote-block { margin-bottom: 2rem; }

  .hero-stats { border: 1px solid rgba(255,255,255,0.1); }
  .hero-stat { padding: 1rem 1.25rem; }
  .hs-num { font-size: 2.2rem; }
  .hs-label { font-size: 8px; }
  .hs-change { font-size: 8.5px; padding: 2px 7px; }

  .hero-bottom-bar {
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
  }
  .hbb-left {
    flex-direction: column;
    gap: 0.15rem;
    font-size: 8.5px;
  }
  .hbb-pill { font-size: 8.5px; }

  /* ── SECTION SHARED ── */
  .section-header {
    margin-bottom: 2.5rem;
    padding-bottom: 0.6rem;
  }
  .section-number { font-size: 9px; }
  .section-header h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* ── PILLARS ── */
  .pillars { padding: 3rem 1.5rem; }
  .pillars-grid {
    grid-template-columns: 1fr;
    border: 2px solid var(--ink);
  }
  .pillar {
    border-right: none !important;
    border-bottom: 2px solid var(--ink);
    padding: 1.75rem 1.5rem;
  }
  .pillar:last-child { border-bottom: none; }
  .pillar-num {
    font-size: 3rem;
    top: 0.75rem;
    right: 1rem;
  }
  .pillar-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
  .pillar-title { font-size: 1.15rem; }
  .pillar-text { font-size: 0.88rem; }

  /* ── PULL / STATS ── */
  .pull-section {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
    gap: 2.5rem;
  }
  .pull-vline { display: none; }
  .pull-left { padding-right: 0; }
  .pull-right { padding-left: 0; }
  .pull-statement {
    font-size: clamp(1.3rem, 5vw, 1.75rem);
    line-height: 1.3;
  }
  .pull-stats { border: 1px solid rgba(255,255,255,0.25); }
  .ps-item { padding: 1rem 1.25rem; }
  .ps-num { font-size: 1.8rem; }
  .ps-label { font-size: 8.5px; }
  .ps-sub { font-size: 7.5px; }

  /* ── ROADMAP ── */
  .roadmap-section { padding: 3rem 1.5rem; }
  .roadmap-timeline {
    padding-left: 0;
    margin-top: 2rem;
  }
  .roadmap-timeline::before { display: none; }
  .rm-item {
    padding: 1.75rem 1.25rem;
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 2px;
    border-bottom: none;
  }
  .rm-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .rm-item::before { display: none; }
  .rm-year {
    position: static;
    width: auto;
    text-align: left;
    padding-right: 0;
    margin-bottom: 0.35rem;
    font-size: 9px;
    letter-spacing: 0.2em;
  }
  .rm-phase {
    font-size: 8px;
    letter-spacing: 0.2em;
    margin-bottom: 0.35rem;
  }
  .rm-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
  .rm-desc {
    max-width: 100%;
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
  }
  .rm-tag { font-size: 8px; letter-spacing: 0.12em; padding: 2px 8px; }
  .rm-item:not(.active) { opacity: 0.6; }

  /* ── POLICIES ── */
  .policies-section { padding: 3rem 1.5rem; }
  .policy-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .policy-card { padding: 1.75rem 1.5rem; }
  .policy-num { font-size: 8px; margin-bottom: 0.75rem; }
  .policy-title { font-size: 1.05rem; }
  .policy-text { font-size: 0.85rem; margin-bottom: 1.25rem; }
  .policy-metric { font-size: 1.6rem; }
  .policy-metric-label { font-size: 7.5px; }

  /* ── FAQ ── */
  .faq-section { padding: 3rem 1.5rem; }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .faq-q { font-size: 0.95rem; }
  .faq-a { font-size: 0.85rem; }

  /* ── JOIN ── */
  .join { padding: 4.5rem 1.5rem; }
  .join::before { font-size: 30vw; }
  .join h2 { font-size: clamp(2rem, 9vw, 3rem); margin-bottom: 1.25rem; }
  .join p {
    font-size: 1rem;
    max-width: 100%;
    margin-bottom: 2.25rem;
  }
  .join .btn-primary {
    width: 100%;
    max-width: 360px;
    padding: 16px 20px;
    font-size: 11px;
  }

  /* ── FOOTER ── */
  footer {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.25rem 3rem;
    border-top-width: 2px;
  }

  .footer-brand { grid-column: auto; padding-right: 0; }
  .footer-brand h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
  .footer-brand p { font-size: 0.8rem; line-height: 1.55; }
  .ft-sub { font-size: 7.5px; letter-spacing: 0.2em; }
  .ft-divider { margin: 1.25rem 0; }
  .ft-tricolor { height: 2px; width: 40px; }

  .footer-col h4 { font-size: 9px; letter-spacing: 0.2em; margin-bottom: 0.85rem; }
  .footer-col ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 0.5rem;
  }
  .footer-col ul li {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    padding: 5px 0;
  }

  .footer-bottom {
    padding: 0.85rem 1.25rem;
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
  }
  .footer-bottom span {
    font-size: 8px;
    letter-spacing: 0.12em;
    color: rgba(245,240,232,0.25);
  }

  /* ── BACK TO TOP ── */
  #btt {
    bottom: 1.25rem;
    right: 1.25rem;
    font-size: 8.5px;
    padding: 9px 14px;
  }
}
