@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,500;9..144,600;9..144,700;9..144,800&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Kalam:wght@400;700&display=swap');

:root {
  /* Warm Agricultural Palette */
  --soil: #a8452e;
  --soil-dark: #7e331f;
  --wheat: #d9a441;
  --indigo: #1e3552;
  --indigo-light: #2c4a6e;
  --paper: #f6f1e4;
  --paper-dark: #ece3ce;
  --paper-darker: #e2d6b8;
  --ink: #26221c;
  --ink-soft: #5a5346;
  --leaf: #4b6b3a;
  --line: rgba(38, 34, 28, 0.16);

  /* Legacy Map Variable Hooks */
  --primary-navy: var(--indigo);
  --primary-navy-light: var(--indigo-light);
  --accent-saffron: var(--soil);
  --accent-saffron-hover: var(--soil-dark);
  --success-teal: var(--leaf);
  --success-teal-light: var(--paper-dark);
  --success-teal-dark: var(--ink-soft);
  --neutral-dark: var(--ink);
  --neutral-muted: var(--ink-soft);
  --neutral-light: var(--paper);
  --neutral-border: var(--line);
  --card-bg: var(--paper-dark);

  /* Shared variables */
  --shadow-sm: 0 2px 4px rgba(38,34,28,0.06);
  --shadow-md: 0 8px 16px rgba(38,34,28,0.08);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1, h2, h3, h4, h5, h6, .display {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--indigo);
}
.mono { font-family: 'IBM Plex Mono', monospace; }
.hand { font-family: 'Kalam', cursive; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap, .container { max-width: 1140px; margin: 0 auto; padding: 0 28px; width: 100%; }
:focus-visible { outline: 3px solid var(--wheat); outline-offset: 2px; }
button { font-family: inherit; cursor: pointer; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--soil), var(--wheat));
  z-index: 100; transition: width .1s linear;
}

/* ---------- gov strip ---------- */
.gov-strip {
  background: var(--ink); color: rgba(246,241,228,0.75); font-size: 11.5px;
  font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.03em;
  padding: 7px 0; text-align: center;
}
.gov-strip b { color: var(--wheat); }

/* ---------- nav ---------- */
header.site-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,241,228,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; max-width: 1280px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.emblem { width: 46px; height: 46px; flex-shrink: 0; }
.brand-text { line-height: 1.25; text-align: left; }
.brand-text .b0 { font-size: 9.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--soil); font-weight: 700; font-family: 'IBM Plex Mono', monospace; }
.brand-text .b1 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 16px; color: var(--indigo); }
.brand-text .b2 { font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); }
nav.links { display: flex; gap: 18px; font-size: 13.5px; font-weight: 500; list-style: none; }
nav.links a, nav.links li a { color: var(--ink); position: relative; padding: 4px 0; font-weight: 500; text-decoration: none; }
nav.links a::after, nav.links li a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--soil); transition: width .25s ease; }
nav.links a:hover::after, nav.links li a:hover::after, nav.links a.active::after, nav.links li a.active::after { width: 100%; }
.nav-cta {
  background: var(--soil); color: var(--paper); padding: 9px 18px; border-radius: 3px;
  font-weight: 600; font-size: 14px; box-shadow: 0 2px 0 var(--soil-dark); border: none;
  position: relative; overflow: hidden; display: inline-block; text-decoration: none;
}
.nav-cta:hover { transform: translateY(1px); box-shadow: 0 1px 0 var(--soil-dark); }
.menu-btn { display: none; background: none; border: none; padding: 6px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--indigo); position: relative; transition: .2s;
}
.menu-btn span::before { position: absolute; top: -7px; left: 0; }
.menu-btn span::after { position: absolute; top: 7px; left: 0; }
.menu-btn.active span { background: transparent; }
.menu-btn.active span::before { transform: rotate(45deg); top: 0; }
.menu-btn.active span::after { transform: rotate(-45deg); top: 0; }

.lang-toggle {
  background: none; border: 1.5px solid var(--indigo); border-radius: 3px;
  color: var(--indigo); font-size: 12px; font-weight: 600; padding: 6px 12px;
  cursor: pointer; transition: all 0.2s;
}
.lang-toggle:hover { background: var(--indigo); color: var(--paper); }

/* ---------- ripple ---------- */
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.5); transform: scale(0); animation: rippleAnim .6s ease-out; pointer-events: none; }
@keyframes rippleAnim { to { transform: scale(3); opacity: 0; } }

/* ---------- main & layout ---------- */
main { flex: 1; padding: 56px 0; }
.page-header { text-align: center; margin-bottom: 48px; }
.page-header h1 { font-size: clamp(2rem, 4vw, 2.75rem); color: var(--indigo); margin-bottom: 12px; font-family: 'Fraunces', serif; }
.page-header p { color: var(--ink-soft); font-size: 1.1rem; max-width: 650px; margin: 0 auto; }

.card {
  background: var(--card-bg); border-radius: 6px; padding: 34px 28px;
  border: 1px solid var(--line);
  box-shadow: 2px 3px 0 rgba(38,34,28,0.06);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 4px 8px 20px rgba(38,34,28,0.1); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; font-size: 14.5px; font-weight: 600; border-radius: 3px;
  transition: transform .15s, box-shadow .15s, background .15s; text-decoration: none;
  font-family: inherit; border: none; cursor: pointer;
}
.btn-primary {
  background: var(--indigo); color: var(--paper);
  box-shadow: 0 3px 0 #12233a;
}
.btn-primary:hover { transform: translateY(1px); box-shadow: 0 2px 0 #12233a; background: var(--indigo-light); }
.btn-secondary {
  border: 1.5px solid var(--ink); color: var(--ink); background: none;
}
.btn-secondary:hover { background: rgba(38,34,28,0.05); }
.btn-outline {
  border: 1.5px solid var(--line); color: var(--ink-soft); background: none;
}
.btn-outline:hover { background: rgba(38,34,28,0.05); border-color: var(--ink); color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative; padding: 70px 0 60px; overflow: hidden; min-height: 88vh; display: flex; align-items: center;
}
.mesh-bg { position: absolute; inset: -10%; z-index: 0; filter: blur(60px); opacity: 0.55; }
.blob { position: absolute; border-radius: 50%; }
.blob1 { width: 420px; height: 420px; background: radial-gradient(circle, var(--wheat), transparent 70%); top: -10%; right: 0%; animation: float1 14s ease-in-out infinite; }
.blob2 { width: 380px; height: 380px; background: radial-gradient(circle, var(--leaf), transparent 70%); bottom: -15%; left: -5%; opacity: 0.6; animation: float2 18s ease-in-out infinite; }
.blob3 { width: 300px; height: 300px; background: radial-gradient(circle, var(--soil), transparent 70%); top: 30%; left: 35%; opacity: 0.35; animation: float3 16s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-40px,50px) scale(1.15);} }
@keyframes float2 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(50px,-30px) scale(1.1);} }
@keyframes float3 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-30px,-40px) scale(0.9);} }

.field-rows { position: absolute; inset: 0; z-index: 1; opacity: 0.45; pointer-events: none; will-change: transform; }
.field-rows svg { width: 100%; height: 100%; }

.particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%; background: var(--wheat); opacity: 0.5;
  animation: drift linear infinite;
}
@keyframes drift {
  0% { transform: translateY(110vh) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-10vh) translateX(40px) rotate(180deg); opacity: 0; }
}

.cursor-glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,164,65,0.16), transparent 70%);
  pointer-events: none; z-index: 1; transform: translate(-50%,-50%);
  transition: opacity .3s; opacity: 0; will-change: transform;
}

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--soil); font-weight: 600;
  background: rgba(168,69,46,0.09); padding: 6px 12px; border-radius: 20px; margin-bottom: 22px;
  opacity: 0; animation: fadeUp .6s ease forwards;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--soil); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1; box-shadow:0 0 0 0 rgba(168,69,46,0.5);} 50%{opacity:0.4; box-shadow:0 0 0 6px rgba(168,69,46,0);} }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05; margin-bottom: 22px; }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(24px) rotate(2deg); animation: fadeUp .7s cubic-bezier(.2,.8,.2,1) forwards; }
.hero h1 em {
  font-style: italic; font-weight: 600;
  background: linear-gradient(90deg, var(--soil), var(--wheat), var(--soil));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0) rotate(0deg); } }
.hero p.lede { font-size: 18px; color: var(--ink-soft); max-width: 480px; margin-bottom: 32px; opacity: 0; animation: fadeUp .6s ease .5s forwards; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; opacity: 0; animation: fadeUp .6s ease .65s forwards; }
.magnetic { transition: transform .2s ease; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; opacity: 0; animation: fadeUp .6s ease .8s forwards; }
.hstat .n { font-family: 'IBM Plex Mono', monospace; font-size: 26px; font-weight: 600; color: var(--indigo); }
.hstat .l { font-size: 12.5px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }

.passbook-wrap { perspective: 1400px; opacity: 0; animation: fadeUp .8s ease .35s forwards; }
.passbook {
  position: relative; background: var(--indigo); border-radius: 6px; padding: 34px 30px 30px; color: var(--paper);
  box-shadow: 0 20px 50px -18px rgba(30,53,82,0.55), 0 2px 0 rgba(0,0,0,0.15);
  transform-style: preserve-3d; transition: transform .1s ease-out;
  will-change: transform;
}
.passbook::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 1px; background: rgba(246,241,228,0.15); }
.passbook .pb-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.passbook .pb-emblem {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--wheat);
  display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif;
  color: var(--wheat); font-size: 18px; font-weight: 700;
}
.passbook .pb-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.passbook h3 { color: var(--paper); font-size: 22px; margin-bottom: 4px; }
.passbook .pb-sub { font-size: 13px; opacity: 0.75; margin-bottom: 22px; }
.pb-row { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px dashed rgba(246,241,228,0.22); font-size: 14px; }
.pb-row .k { opacity: 0.7; }
.pb-row .v { font-family: 'IBM Plex Mono', monospace; font-weight: 500; }
.pb-stamp {
  position: absolute; right: -14px; bottom: -18px; width: 96px; height: 96px; border-radius: 50%;
  border: 2.5px solid var(--soil); color: var(--soil); display: flex; align-items: center; justify-content: center;
  text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase; background: var(--paper); transform: rotate(-14deg) scale(1.8);
  opacity: 0; animation: stampIn .5s cubic-bezier(.2,1.6,.4,1) 1.3s forwards;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
@keyframes stampIn { 0% { opacity: 0; transform: rotate(-14deg) scale(2.4); } 60% { opacity: 1; } 100% { opacity: 1; transform: rotate(-14deg) scale(1); } }

.scroll-cue {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: var(--ink-soft);
  letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7;
}
.scroll-cue .arrow { width: 14px; height: 14px; border-right: 2px solid var(--soil); border-bottom: 2px solid var(--soil);
  transform: rotate(45deg); animation: bounce 1.6s ease-in-out infinite; }
@keyframes bounce { 0%,100% { transform: rotate(45deg) translate(0,0); } 50% { transform: rotate(45deg) translate(4px,4px); } }

/* ---------- coverage ticker ---------- */
.ticker-strip { background: var(--ink); color: var(--paper); overflow: hidden; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.ticker-track { display: flex; gap: 48px; white-space: nowrap; width: max-content; animation: ticker 24s linear infinite; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: 0.04em; }
.ticker-strip:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { opacity: 0.85; }
.ticker-track b { color: var(--wheat); font-weight: 600; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- section shell ---------- */
section { padding: 88px 0; }
.section-head { max-width: 620px; margin-bottom: 52px; text-align: left; }
.section-tag { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--leaf); font-weight: 600; margin-bottom: 12px; display: block; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 16.5px; }

/* ---------- entries ---------- */
.entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.entry { background: var(--paper); padding: 34px 28px; transition: background .2s, transform .3s; }
.entry:hover { background: var(--paper-dark); transform: translateY(-4px); }
.entry .idx { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--soil); margin-bottom: 18px; }
.entry h3 { font-size: 19px; margin-bottom: 10px; color: var(--indigo); }
.entry p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 16px; }
.entry .amt { font-family: 'IBM Plex Mono', monospace; font-size: 22px; font-weight: 600; color: var(--soil); }
.entry .amt-label { font-size: 11.5px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- interactive passbook pages ---------- */
.pages-shell { background: var(--indigo); border-radius: 12px; padding: 0; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(30,53,82,0.5); }
.pages-tabs { display: flex; border-bottom: 1px solid rgba(246,241,228,0.15); }
.pages-tabs button {
  flex: 1; background: none; border: none; color: rgba(246,241,228,0.55); padding: 20px 16px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em;
  font-weight: 600; border-bottom: 2px solid transparent; transition: .2s; position: relative;
}
.pages-tabs button:hover { color: rgba(246,241,228,0.85); }
.pages-tabs button.active { color: var(--wheat); border-bottom-color: var(--wheat); }
.pages-body { position: relative; min-height: 340px; }
.page { display: none; padding: 44px 44px 40px; grid-template-columns: 1fr 1fr; gap: 40px; }
.page.active { display: grid; animation: pageFlip .5s cubic-bezier(.2,.8,.2,1); }
@keyframes pageFlip { from { opacity: 0; transform: rotateY(-8deg) translateX(-16px); } to { opacity: 1; transform: rotateY(0) translateX(0); } }
.page-left h3 { color: var(--paper); font-size: 1.6rem; margin-bottom: 14px; }
.page-left p { color: rgba(246,241,228,0.75); font-size: 15px; margin-bottom: 18px; }
.page-left .tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.page-left .tag-list span { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; padding: 6px 12px; border: 1px solid rgba(246,241,228,0.25); border-radius: 20px; color: rgba(246,241,228,0.8); }
.page-right { background: rgba(246,241,228,0.05); border-radius: 8px; padding: 24px; border: 1px dashed rgba(246,241,228,0.2); }
.page-right .pr-row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px dashed rgba(246,241,228,0.18); font-size: 13.5px; }
.page-right .pr-row:first-child { border-top: none; }
.page-right .pr-row .k { color: rgba(246,241,228,0.6); }
.page-right .pr-row .v { font-family: 'IBM Plex Mono', monospace; color: var(--wheat); font-weight: 600; }

/* ---------- eligibility checker (homepage) ---------- */
.checker {
  background: var(--indigo); border-radius: 10px; padding: 52px 44px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; position: relative; overflow: hidden;
}
.checker::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 90% 10%, rgba(217,164,65,0.18), transparent 50%); }
.checker-left h2 { color: var(--paper); font-size: 1.9rem; margin-bottom: 14px; text-align: left; }
.checker-left p { color: rgba(246,241,228,0.75); font-size: 15.5px; }
.check-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-top: 1px dashed rgba(246,241,228,0.2); transition: padding-left .2s; }
.check-item:hover { padding-left: 6px; }
.check-item:last-child { border-bottom: 1px dashed rgba(246,241,228,0.2); }
.check-item input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--wheat); cursor: pointer; }
.check-item label { color: var(--paper); font-size: 14.5px; cursor: pointer; text-align: left; }
#checkResult { margin-top: 22px; padding: 16px 18px; border-radius: 6px; font-family: 'IBM Plex Mono', monospace; font-size: 13.5px; display: none; align-items: center; gap: 10px; position: relative; overflow: visible; }
#checkResult.show { display: flex; animation: popIn .4s cubic-bezier(.2,1.4,.4,1); }
@keyframes popIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
#checkResult.eligible { background: rgba(75,107,58,0.22); border: 1px solid var(--leaf); color: #c9dbc0; }
#checkResult.not-eligible { background: rgba(168,69,46,0.22); border: 1px solid var(--soil); color: #f0c6ba; }

/* ---------- benefits table / ledger ---------- */
.ledger { width: 100%; border-collapse: collapse; font-size: 15px; }
.ledger thead th { text-align: left; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); padding: 12px 16px; border-bottom: 2px solid var(--ink); }
.ledger tbody td { padding: 18px 16px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.ledger tbody tr { transition: background .15s, transform .15s; }
.ledger tbody tr:hover { background: var(--paper-dark); }
.ledger .b-name { font-weight: 600; color: var(--indigo); font-family: 'Fraunces', serif; font-size: 16px; }
.ledger .b-amt { font-family: 'IBM Plex Mono', monospace; font-weight: 600; color: var(--soil); white-space: nowrap; }
.ledger .b-desc { color: var(--ink-soft); font-size: 14px; }

/* ---------- coverage mosaic ---------- */
.mosaic { display: flex; flex-wrap: wrap; gap: 10px; }
.district { padding: 12px 18px; border-radius: 24px; border: 1.5px solid var(--line); background: var(--paper); font-size: 13.5px; font-weight: 500; color: var(--ink-soft); transition: .2s; position: relative; overflow: hidden; }
.district:hover { border-color: var(--soil); color: var(--soil); transform: translateY(-2px) scale(1.03); }
.district.selected { background: var(--indigo); border-color: var(--indigo); color: var(--paper); animation: selectPop .3s ease; }
@keyframes selectPop { 0% { transform: scale(0.9); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
.district .pct { font-family: 'IBM Plex Mono', monospace; font-size: 11px; opacity: 0.7; margin-left: 6px; }
.district-detail { margin-top: 24px; padding: 22px 26px; background: var(--paper-dark); border-radius: 8px; border-left: 3px solid var(--soil); font-size: 14.5px; color: var(--ink-soft); display: none; text-align: left; }
.district-detail.show { display: block; animation: fadeUp .4s ease; }
.district-detail b { color: var(--indigo); font-family: 'Fraunces', serif; font-size: 16px; display: block; margin-bottom: 6px; }

/* ---------- testimonials ---------- */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.note { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 26px 24px 22px; position: relative; box-shadow: 2px 3px 0 rgba(38,34,28,0.06); transition: transform .3s; }
.note:hover { transform: rotate(0deg) translateY(-6px) !important; box-shadow: 4px 8px 16px rgba(38,34,28,0.12); }
.note:nth-child(2) { transform: rotate(-0.6deg); }
.note:nth-child(3) { transform: rotate(0.5deg); }
.note:nth-child(1) { transform: rotate(0.4deg); }
.note p.quote { font-family: 'Kalam', cursive; font-size: 19px; color: var(--ink); line-height: 1.45; margin-bottom: 18px; text-align: left; }
.note .who { display: flex; align-items: center; gap: 10px; }
.note .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--leaf); color: var(--paper); display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.note .who-text { line-height: 1.3; text-align: left; }
.note .who-name { font-weight: 600; font-size: 13.5px; color: var(--indigo); }
.note .who-loc { font-size: 12px; color: var(--ink-soft); font-family: 'IBM Plex Mono', monospace; }

/* ---------- apply steps ---------- */
.steps { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.step-row { display: grid; grid-template-columns: 110px 1fr 140px; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px dashed var(--line); transition: padding-left .2s, background .2s; }
.step-row:hover { padding-left: 10px; background: rgba(217,164,65,0.06); }
.step-row .s-date { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--ink-soft); text-align: left; }
.step-row .s-body { text-align: left; }
.step-row .s-body h3 { font-size: 17.5px; margin-bottom: 5px; color: var(--indigo); }
.step-row .s-body p { font-size: 14px; color: var(--ink-soft); }
.step-row .s-tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; padding: 6px 10px; border-radius: 3px; text-align: center; background: rgba(75,107,58,0.12); color: var(--leaf); border: 1px solid rgba(75,107,58,0.3); justify-self: end; }

/* ---------- impact ---------- */
.impact { background: var(--soil); color: var(--paper); border-radius: 10px; padding: 56px 44px; position: relative; overflow: hidden; }
.impact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 120%, rgba(217,164,65,0.3), transparent 55%); }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.impact-item { text-align: center; }
.impact-item .n { font-family: 'IBM Plex Mono', monospace; font-size: 2.4rem; font-weight: 600; }
.impact-item .l { font-size: 13px; opacity: 0.85; margin-top: 6px; }

/* ---------- faq accordion ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 22px 4px; font-weight: 600; font-size: 16px; color: var(--indigo); background: none; border: none; width: 100%; text-align: left; }
.faq-q .plus { font-family: 'IBM Plex Mono', monospace; font-size: 20px; color: var(--soil); transition: transform .2s; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 4px 22px; color: var(--ink-soft); font-size: 15px; max-width: 640px; text-align: left; }

/* ---------- footer ---------- */
footer { background: var(--indigo); color: var(--paper); padding: 56px 0 28px; margin-top: 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; text-align: left; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-brand .emblem { width: 40px; height: 40px; }
.foot-brand-text .b1 { color: var(--paper); font-family: 'Fraunces', serif; font-weight: 600; font-size: 16px; }
.foot-brand-text .b2 { color: rgba(246,241,228,0.6); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; }
.foot-desc { color: rgba(246,241,228,0.65); font-size: 13.5px; max-width: 280px; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; color: var(--wheat); font-family: 'IBM Plex Mono', monospace; }
.foot-col a { display: block; color: rgba(246,241,228,0.78); font-size: 14px; margin-bottom: 10px; transition: transform .15s, color .15s; text-decoration: none; }
.foot-col a:hover { color: var(--paper); transform: translateX(3px); }
.foot-bottom { border-top: 1px solid rgba(246,241,228,0.15); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: rgba(246,241,228,0.55); }

/* ---------- floating cta ---------- */
.float-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 70; background: var(--soil); color: var(--paper);
  padding: 14px 22px; border-radius: 30px; font-weight: 600; font-size: 14px;
  box-shadow: 0 10px 24px -8px rgba(168,69,46,0.5); display: flex; align-items: center; gap: 8px;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s;
  animation: ctaPulse 2.4s ease-in-out infinite; text-decoration: none;
}
.float-cta.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-cta:hover { background: var(--soil-dark); animation-play-state: paused; }
@keyframes ctaPulse { 0%,100% { box-shadow: 0 10px 24px -8px rgba(168,69,46,0.5); } 50% { box-shadow: 0 10px 32px -4px rgba(168,69,46,0.75); } }

/* ---------- confetti ---------- */
.confetti-piece { position: fixed; top: 0; width: 8px; height: 8px; z-index: 90; pointer-events: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.stagger.in > * { opacity: 1; transform: translateY(0); }
.stagger.in > *:nth-child(1) { transition-delay: .05s; }
.stagger.in > *:nth-child(2) { transition-delay: .15s; }
.stagger.in > *:nth-child(3) { transition-delay: .25s; }
.stagger.in > *:nth-child(4) { transition-delay: .35s; }
.stagger.in > *:nth-child(5) { transition-delay: .45s; }
.stagger.in > *:nth-child(n+6) { transition-delay: .5s; }

/* Accessibility skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--soil);
  color: var(--paper);
  padding: 12px 24px;
  z-index: 999;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

@media (max-width: 860px) {
  nav.links { display: none; }
  .menu-btn { display: block; }
  .hero-grid { grid-template-columns: 1fr; } .hero { min-height: auto; }
  .passbook { transform: none !important; max-width: 420px; margin: 0 auto; }
  .checker { grid-template-columns: 1fr; padding: 36px 24px; }
  .impact-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .step-row { grid-template-columns: 1fr; gap: 8px; } .step-row .s-tag { justify-self: start; }
  .notes { grid-template-columns: 1fr; }
  .page { grid-template-columns: 1fr; padding: 32px 26px; }
  .pages-tabs button { font-size: 10.5px; padding: 16px 8px; }
  .cursor-glow { display: none; }
  
  /* Mobile menu active dropdown */
  nav.links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 20px 28px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
    z-index: 55;
  }
}
@media (max-width: 520px) {
  .impact-grid { grid-template-columns: 1fr; } .foot-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; } .float-cta span.ft { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
