/* =========================================================
   America First — site styles
   ========================================================= */
:root {
  --navy: #0b1f3a;
  --navy-2: #13294b;
  --navy-3: #1d3a66;
  --red: #b22234;
  --red-2: #8f1b29;
  --gold: #c9a227;
  --cream: #f7f3ea;
  --paper: #ffffff;
  --ink: #16202e;
  --muted: #5b6577;
  --line: #e2dccd;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .12);
  --max: 1180px;
  --font-head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --font-serif: "Merriweather", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--red); }
a:hover { color: var(--red-2); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.1;
  margin: 0 0 .5em;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section.tight { padding: 50px 0; }
.section.navy { background: var(--navy); color: #e8edf5; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.white { background: var(--paper); }
.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .8em;
}
.section.navy .kicker { color: var(--gold); }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 760px; }
.section.navy .lead { color: #b9c4d6; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Progress bar ---------- */
#progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0;
  background: linear-gradient(90deg, var(--red), var(--gold));
  z-index: 200; transition: width .1s linear;
}

/* ---------- Header ---------- */
.topbar {
  background: var(--red);
  color: #fff;
  font-size: .85rem;
  text-align: center;
  padding: 6px 12px;
  font-family: var(--font-head);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 31, 58, .97);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--red);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
  font-family: var(--font-head); font-size: 1.45rem; letter-spacing: .08em; text-transform: uppercase;
}
.brand:hover { color: #fff; }
.brand-mark { width: 38px; height: 38px; }
.brand span { white-space: nowrap; }
.brand span b { color: #e8414f; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 11px; border-radius: 8px;
  color: #d6deea; text-decoration: none;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .95rem;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { color: #fff; background: var(--red); }
.nav-toggle {
  display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px;
}
.nav-toggle svg { width: 30px; height: 30px; }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--navy); border-bottom: 3px solid var(--red);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links { visibility: hidden; transition: max-height .3s ease, visibility 0s linear .3s; }
  .nav-links.open { max-height: 560px; visibility: visible; transition: max-height .3s ease; }
  .nav-links a { padding: 16px 24px; border-radius: 0; border-top: 1px solid rgba(255,255,255,.06); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); color: #fff; }
.btn-outline { border-color: currentColor; color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(11,31,58,.97) 0%, rgba(11,31,58,.9) 55%, rgba(178,34,52,.85) 100%),
    repeating-linear-gradient(0deg, var(--navy) 0 40px, var(--navy-2) 40px 80px);
  color: #fff; padding: 110px 0 90px;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -80px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 2px, transparent 3px) 0 0/28px 28px;
  transform: rotate(12deg); pointer-events: none;
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: #c6d0e0; font-size: 1.35rem; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 70px 0 60px; } }

.page-hero { background: var(--navy); color: #fff; padding: 80px 0 60px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 60%, rgba(178,34,52,.55));
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #c6d0e0; }
.page-hero .kicker { color: var(--gold); }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.toc a {
  color: #fff; text-decoration: none; font-size: .9rem; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25); font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase;
}
.toc a:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Debt ticker ---------- */
.ticker-card {
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.ticker-label { font-family: var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-size: .9rem; }
.ticker-value {
  font-family: var(--font-head); font-size: clamp(1.5rem, 3.3vw, 2.5rem); color: #fff; white-space: nowrap;
  font-variant-numeric: tabular-nums; letter-spacing: 0; margin: 6px 0 12px;
}
.ticker-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ticker-sub div { background: rgba(255,255,255,.06); border-radius: 10px; padding: 12px; }
.ticker-sub b { display: block; font-family: var(--font-head); font-size: 1.3rem; color: #fff; font-variant-numeric: tabular-nums; }
.ticker-sub small, .ticker-note { color: #9fb0c8; font-size: .8rem; }
.ticker-note { margin-top: 12px; display: block; }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }
.stat {
  background: var(--paper); border-radius: var(--radius); padding: 26px 22px;
  border-top: 5px solid var(--red); box-shadow: var(--shadow);
}
.stat .num { font-family: var(--font-head); font-size: 2.5rem; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .label { margin-top: 10px; color: var(--muted); font-size: .98rem; line-height: 1.4; }
.stat .src { display: block; margin-top: 10px; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.section.navy .stat { background: var(--navy-2); }
.section.navy .stat .num { color: #fff; }
.section.navy .stat .label { color: #b9c4d6; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.card h3 { margin-bottom: .4em; }
.issue-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: hidden;
}
.issue-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 5px; width: 100%;
  background: linear-gradient(90deg, var(--red), var(--navy));
}
.issue-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,31,58,.2); color: var(--ink); }
.issue-card .icon {
  width: 54px; height: 54px; border-radius: 12px; background: var(--navy); color: #fff;
  display: grid; place-items: center; margin-bottom: 18px;
}
.issue-card .icon svg { width: 28px; height: 28px; }
.issue-card p { color: var(--muted); flex: 1; }
.issue-card .more { font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--red); font-size: .9rem; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.wide-left { grid-template-columns: 1.2fr 1fr; }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Quote / message banners ---------- */
.quote-banner {
  background: var(--red); color: #fff; padding: 70px 0; position: relative; overflow: hidden;
}
.quote-banner::before {
  content: "\201C"; position: absolute; left: 4%; top: -40px; font-size: 18rem; line-height: 1;
  font-family: var(--font-serif); color: rgba(255,255,255,.12);
}
.quote-banner blockquote {
  margin: 0 auto; max-width: 900px; text-align: center;
  font-family: var(--font-serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.5; position: relative;
}
.quote-banner cite {
  display: block; margin-top: 22px; font-style: normal; font-family: var(--font-head);
  letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; color: #ffd9de;
}
.rotator { display: grid; position: relative; }
.rotator .slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; display: flex; align-items: center; justify-content: center; }
.rotator .slide.on { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.dots .rot-pause { width: auto; height: auto; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; padding: 2px 12px; font-size: .75rem; font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; margin-left: 8px; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; position: relative; }
.dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.dots button.on { background: #fff; transform: scale(1.25); }

.message {
  border-left: 6px solid var(--red); background: var(--paper); padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow); font-family: var(--font-serif); font-size: 1.1rem; margin: 30px 0;
}
.message cite { display: block; font-family: var(--font-head); font-style: normal; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--muted); margin-top: 10px; }

/* ---------- Charts ---------- */
.chart-card { background: var(--paper); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.chart-card h3 { font-size: 1.15rem; }
.chart-card .note { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .bar { fill: var(--navy-3); transition: fill .2s ease; cursor: pointer; }
.chart .bar.hl { fill: var(--red); }
.chart .bar:hover { fill: var(--gold); }
.chart .axis { stroke: #cfc8b8; stroke-width: 1; }
.chart .grid-line { stroke: #ece6d8; stroke-width: 1; }
.chart text { font-family: var(--font-body); font-size: 12px; fill: var(--muted); }
.chart .val { font-family: var(--font-head); font-size: 13px; fill: var(--navy); }
.chart-tip {
  position: absolute; pointer-events: none; background: var(--navy); color: #fff; padding: 6px 10px;
  border-radius: 6px; font-size: .85rem; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .15s;
}
.chart-tip.on { opacity: 1; }

/* ---------- Flip cards (myth vs fact) ---------- */
.flip { perspective: 1200px; cursor: pointer; }
.flip-inner { position: relative; display: grid; width: 100%; height: 100%; min-height: 260px; transition: transform .6s; transform-style: preserve-3d; }
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.flip-front { background: var(--paper); border: 1px solid var(--line); }
.flip-back { background: var(--navy); color: #e8edf5; transform: rotateY(180deg); overflow: auto; }
.flip-tag { font-family: var(--font-head); letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 12px; }
.flip-front .flip-tag { color: var(--red); }
.flip-back .flip-tag { color: var(--gold); }
.flip-front p { font-family: var(--font-serif); font-size: 1.1rem; flex: 1; }
.flip-back p { font-size: .98rem; }
.flip-hint { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Plan list ---------- */
.plan { counter-reset: plan; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.plan li {
  counter-increment: plan; position: relative; background: var(--paper); border-radius: var(--radius);
  padding: 22px 24px 22px 86px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.plan li::before {
  content: counter(plan, decimal-leading-zero); position: absolute; left: 22px; top: 20px;
  font-family: var(--font-head); font-size: 2rem; color: var(--red); line-height: 1;
}
.plan li h3 { font-size: 1.15rem; margin-bottom: .3em; }
.plan li p { margin: 0; color: var(--muted); }
.section.navy .plan li { background: var(--navy-2); border-color: rgba(255,255,255,.08); }
.section.navy .plan li p { color: #b9c4d6; }

/* ---------- Accordion / timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(var(--red), var(--navy)); border-radius: 3px; }
.timeline details {
  position: relative; background: var(--paper); border-radius: var(--radius); margin-bottom: 14px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.timeline details::before {
  content: ""; position: absolute; left: -31px; top: 22px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--red);
}
.timeline details[open]::before { background: var(--red); }
.timeline summary {
  cursor: pointer; list-style: none; padding: 18px 22px; display: flex; gap: 16px; align-items: baseline;
}
.timeline summary::-webkit-details-marker { display: none; }
.timeline summary .yr { font-family: var(--font-head); color: var(--red); font-size: 1.2rem; min-width: 92px; }
@media (max-width: 560px) { .timeline summary { flex-wrap: wrap; gap: 2px 12px; } .timeline summary .yr { min-width: 0; width: 100%; } .timeline summary .ttl { flex: 1; } }
.timeline summary .ttl { font-weight: 700; color: var(--navy); flex: 1; }
.timeline summary::after { content: "+"; font-family: var(--font-head); font-size: 1.4rem; color: var(--muted); }
.timeline details[open] summary::after { content: "–"; }
.timeline .body { padding: 0 22px 20px; color: var(--muted); }
.timeline .body p:last-child { margin-bottom: 0; }

.faq details { background: var(--paper); border-radius: 12px; margin-bottom: 12px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--navy); }
.faq .body { padding: 0 22px 18px; color: var(--muted); }

/* ---------- Tabs ---------- */
.tabs-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs-nav button {
  border: 2px solid var(--navy); background: transparent; color: var(--navy); padding: 10px 18px; border-radius: 999px;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; cursor: pointer; font-size: .9rem;
}
.tabs-nav button.on { background: var(--navy); color: #fff; }
.tab-panel { display: none; }
.tab-panel.on { display: block; animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Forms & calculators ---------- */
.calc { background: var(--paper); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.calc label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.calc input[type="range"] { width: 100%; accent-color: var(--red); }
.calc select, .calc input[type="number"], .calc input[type="text"], .calc input[type="email"], .calc textarea, .field {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--ink);
}
.calc select:focus, .calc input:not([type=range]):focus, .calc textarea:focus, .field:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(178,34,52,.45); }
.calc input[type=range]:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; border-radius: 4px; }
.calc-out {
  margin-top: 20px; padding: 20px; border-radius: 12px; background: var(--cream); border: 2px dashed var(--line);
}
.calc-out .big { font-family: var(--font-head); font-size: 2.4rem; color: var(--red); line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 16px; }
@media (max-width: 560px) { .calc-row { grid-template-columns: 1fr; } }
.equiv { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.equiv li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.equiv li b { font-family: var(--font-head); color: var(--navy); font-size: 1.1rem; font-variant-numeric: tabular-nums; }

/* ---------- Budget bars ---------- */
.budget { display: grid; gap: 12px; }
.budget-row { display: grid; grid-template-columns: 170px 1fr 80px; gap: 12px; align-items: center; cursor: pointer; }
.budget-row .name { font-weight: 700; color: var(--navy); font-size: .95rem; }
.budget-row .track { height: 26px; background: #ece6d8; border-radius: 6px; overflow: hidden; }
.budget-row .fill { display: block; height: 100%; width: 0; background: var(--navy-3); border-radius: 6px; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.budget-row.hl .fill { background: var(--red); }
.budget-row .amt { font-family: var(--font-head); text-align: right; color: var(--navy); }
.budget-detail { margin-top: 18px; padding: 16px 18px; background: var(--cream); border-radius: 10px; color: var(--muted); min-height: 60px; }
@media (max-width: 560px) { .budget-row { grid-template-columns: 110px 1fr 60px; } .budget-row .name { font-size: .82rem; } }

/* ---------- Clips ---------- */
.clip {
  background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.clip-media {
  position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy), var(--navy-3));
  display: grid; place-items: center; color: #fff; cursor: pointer; overflow: hidden;
}
.clip-media .play {
  width: 70px; height: 70px; border-radius: 50%; background: var(--red); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(178,34,52,.25); transition: transform .2s ease;
}
.clip-media:hover .play { transform: scale(1.1); }
.clip-media .play svg { width: 28px; height: 28px; margin-left: 4px; }
.clip-media .tag {
  position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.45); padding: 4px 10px; border-radius: 6px;
  font-family: var(--font-head); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
}
.clip-media .yr { position: absolute; bottom: 10px; right: 14px; font-family: var(--font-head); font-size: 2.6rem; color: rgba(255,255,255,.18); }
.clip-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.clip-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.clip-body h3 { font-size: 1.1rem; }
.clip-body q { font-family: var(--font-serif); color: var(--muted); font-size: .98rem; flex: 1; display: block; margin-bottom: 14px; }
.clip-body a { font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }

/* ---------- Quiz ---------- */
.quiz-wrap { max-width: 820px; margin: 0 auto; }
.quiz-progress { height: 8px; background: #e6dfcf; border-radius: 99px; overflow: hidden; margin-bottom: 26px; }
.quiz-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--navy)); transition: width .4s ease; }
.quiz-card { background: var(--paper); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.quiz-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .9rem; margin-bottom: 10px; font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
.quiz-q { font-family: var(--font-serif); font-size: 1.45rem; color: var(--navy); margin-bottom: 24px; line-height: 1.4; }
.likert { display: grid; gap: 10px; }
.likert button {
  text-align: left; padding: 14px 18px; border: 2px solid var(--line); background: #fff; border-radius: 10px;
  font: inherit; cursor: pointer; transition: all .15s ease; color: var(--ink);
}
.likert button:hover { border-color: var(--navy); }
.likert button.picked { border-color: var(--red); background: #fdf1f2; font-weight: 700; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 24px; }
.result-bars { display: grid; gap: 16px; margin: 26px 0; }
.result-bar .top { display: flex; justify-content: space-between; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.result-bar .track { height: 16px; background: #ece6d8; border-radius: 99px; overflow: hidden; }
.result-bar .fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--navy-3), var(--red)); transition: width 1s ease; }
.score-ring { width: 180px; height: 180px; margin: 0 auto 10px; display: block; }

/* ---------- Pledge / call script ---------- */
.script-box {
  background: var(--cream); border: 2px dashed var(--line); border-radius: 12px; padding: 20px; white-space: pre-wrap;
  font-family: var(--font-serif); font-size: 1rem; line-height: 1.7; min-height: 160px;
}
.pledge-count { font-family: var(--font-head); font-size: 3rem; color: var(--gold); line-height: 1; }
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px); background: var(--navy); color: #fff;
  padding: 14px 22px; border-radius: 10px; box-shadow: var(--shadow); z-index: 300; transition: transform .3s ease;
}
.toast.on { transform: translate(-50%, 0); }

/* ---------- Sources ---------- */
.sources { font-size: .92rem; color: var(--muted); }
.sources ol { padding-left: 20px; }
.sources li { margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: #071426; color: #9fb0c8; padding: 60px 0 30px; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .14em; }
.site-footer a { color: #c6d0e0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

#to-top {
  position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--red); color: #fff; cursor: pointer; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90;
}
#to-top.on { opacity: 1; pointer-events: auto; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.pill { display: inline-block; background: var(--navy); color: #fff; font-size: .75rem; padding: 3px 10px; border-radius: 99px; font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
.pill.red { background: var(--red); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
hr.flag { border: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--red) 0 40px, #fff 40px 80px, var(--navy) 80px 120px); margin: 0; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 400; background: var(--red); color: #fff;
  padding: 10px 16px; border-radius: 8px; font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase;
}
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.section.navy :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .quote-banner :focus-visible, .facts :focus-visible, .up-next :focus-visible, .ticker-card :focus-visible { outline-color: var(--gold); }

/* ---------- Share bar ---------- */
.share-bar { background: var(--paper); border-top: 1px solid var(--line); padding: 28px 0; }
.share-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.share-bar .btn { padding: 10px 18px; font-size: .85rem; }

/* ---------- Did you know ---------- */
.facts {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 34px 36px; box-shadow: var(--shadow);
  border-left: 8px solid var(--red);
}
.facts .q { font-family: var(--font-head); font-size: 3.4rem; color: var(--gold); line-height: 1; }
.facts .label { font-family: var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-size: .85rem; }
.fact-text { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.5; margin: 8px 0 10px; min-height: 3em; }
.fact-text.in { animation: fade .45s ease; }
.facts .meta { display: flex; gap: 16px; align-items: center; font-size: .85rem; color: #9fb0c8; }
.facts .meta a { color: var(--gold); font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.facts .actions { display: grid; gap: 10px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; padding: 26px; } .facts .q { display: none; } .facts .actions { grid-template-columns: 1fr 1fr; } }

/* ---------- Confetti ---------- */
canvas.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 500; }

/* ---------- True / False game ---------- */
.tf {
  max-width: 820px; margin: 30px auto 0; background: var(--paper); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 360px;
}
.tf-top { display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-size: .9rem; }
.tf-top b { color: var(--navy); }
.tf-streak.hot b { color: var(--red); }
.tf-streak.hot { animation: pulse 1s ease infinite; }
@keyframes pulse { 50% { transform: scale(1.08); } }
.tf-bar { height: 6px; background: #ece6d8; border-radius: 99px; margin: 14px 0 24px; overflow: hidden; }
.tf-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--navy)); transition: width .4s ease; }
.tf-q { font-family: var(--font-serif); font-size: clamp(1.2rem, 2.6vw, 1.6rem); color: var(--navy); line-height: 1.45; min-height: 3em; animation: fade .35s ease; }
.tf-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.tf-btn {
  padding: 20px; border-radius: 12px; border: 3px solid var(--line); background: #fff; cursor: pointer;
  font-family: var(--font-head); font-size: 1.5rem; letter-spacing: .1em; text-transform: uppercase; transition: all .15s ease;
}
.tf-true { color: var(--navy); } .tf-false { color: var(--red); }
.tf-btn:hover:not(:disabled) { transform: translateY(-3px); border-color: currentColor; }
.tf-btn.right { background: #e8f5e9; border-color: #2e7d32; color: #2e7d32; }
.tf-btn.wrong { background: #fdecee; border-color: var(--red); color: var(--red); animation: shake .4s ease; }
.tf-btn:disabled { cursor: default; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.tf-why { margin-top: 20px; color: var(--muted); }
.tf-why b.ok { color: #2e7d32; } .tf-why b.no { color: var(--red); }
.tf-final { font-family: var(--font-head); font-size: 6rem; line-height: 1; color: var(--red); margin: 14px 0 6px; }
.tf-final small { font-size: 2.4rem; color: var(--muted); }
@media (max-width: 560px) { .tf { padding: 22px; } .tf-btn { font-size: 1.2rem; padding: 16px; } .tf-top { font-size: .75rem; } }

/* ---------- 1980 vs Today ---------- */
.tn-toggle { display: inline-flex; background: var(--navy-2); border-radius: 999px; padding: 5px; margin: 10px 0 34px; }
.tn-toggle button {
  border: 0; background: transparent; color: #b9c4d6; padding: 12px 28px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-head); font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase; transition: all .25s ease;
}
.tn-toggle button.on { background: var(--red); color: #fff; }
.tn-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.tn-grid .tn-card { flex: 1 1 180px; max-width: 260px; }
@media (max-width: 420px) { .tn-grid .tn-card { flex-basis: 140px; } }
.tn-card { background: var(--navy-2); border-radius: var(--radius); padding: 24px 20px; border-top: 4px solid var(--gold); transition: border-color .4s ease; }
[data-then-now].is-now .tn-card { border-top-color: var(--red); }
.tn-card .tn-val { font-family: var(--font-head); font-size: 2.2rem; color: #fff; line-height: 1.05; font-variant-numeric: tabular-nums; }
.tn-card .tn-yr { font-family: var(--font-head); letter-spacing: .14em; font-size: .75rem; color: var(--gold); margin-top: 4px; }
[data-then-now].is-now .tn-card .tn-yr { color: #ff9aa6; }
.tn-card .tn-label { color: #b9c4d6; font-size: .95rem; margin-top: 10px; line-height: 1.4; }

/* ---------- Budget game ---------- */
.bg-wrap { display: grid; grid-template-columns: 1fr 1fr 340px; gap: 24px; align-items: start; }
@media (max-width: 1080px) { .bg-wrap { grid-template-columns: 1fr 1fr; } .bg-side { grid-column: 1 / -1; } }
@media (max-width: 700px) { .bg-wrap { grid-template-columns: 1fr; } }
.bg-col h3 { display: flex; justify-content: space-between; align-items: baseline; }
.bg-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.bg-row:last-child { border-bottom: 0; }
.bg-row.locked { opacity: .75; }
.bg-head { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.bg-head b { font-family: var(--font-head); font-weight: 500; white-space: nowrap; }
.bg-pct { font-family: var(--font-body); font-size: .8rem; color: var(--muted); margin-left: 4px; }
.bg-pct.down { color: var(--red); } .bg-pct.up { color: #2e7d32; }
.bg-row input[type=range] { width: 100%; accent-color: var(--red); }
.bg-hint { min-height: 1.2em; margin-top: 4px; }
.bg-side { position: sticky; top: 90px; }
.bg-meter { height: 14px; background: #ece6d8; border-radius: 99px; overflow: hidden; margin: 14px 0 6px; }
.bg-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--gold)); transition: width .3s ease, background .3s ease; }

/* ---------- Quiz share card ---------- */
.share-card-preview { width: 100%; max-width: 540px; border-radius: 12px; box-shadow: var(--shadow); margin: 18px auto 0; display: block; }
.bg-float {
  display: none; position: fixed; left: 12px; right: 80px; bottom: 16px; z-index: 150;
  background: var(--navy); color: #fff; border-radius: 12px; padding: 12px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.35);
  align-items: center; gap: 12px; border-left: 6px solid var(--red);
}
.bg-float .lbl { font-family: var(--font-head); letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--gold); }
.bg-float .val { font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; flex: 1; }
.bg-float a { color: #fff; font-size: .85rem; }
.bg-float.good { border-left-color: #2e7d32; }
.bg-float.good .val { color: #81c784; }
@media (max-width: 1080px) { .bg-float.on { display: flex; } }

/* ---------- Progress button & panel ---------- */
.prog-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 10px;
  background: rgba(201,162,39,.14); color: var(--gold); border: 1px solid rgba(201,162,39,.45);
  border-radius: 999px; padding: 7px 12px; cursor: pointer; font-family: var(--font-head); letter-spacing: .06em; font-size: .95rem;
}
.prog-btn svg { width: 16px; height: 16px; }
.prog-btn:hover { background: rgba(201,162,39,.25); }
.prog-btn.pop { animation: pop .6s ease; }
@keyframes pop { 30% { transform: scale(1.3); background: var(--gold); color: var(--navy); } }
@media (min-width: 1101px) { .nav .prog-btn { order: 3; margin: 0 0 0 10px; } .nav .nav-links { margin-left: auto; } }
#prog-panel {
  position: fixed; top: 84px; right: 16px; width: min(380px, calc(100vw - 32px)); max-height: calc(100vh - 110px); overflow: auto;
  background: var(--paper); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(11,31,58,.35); border-top: 5px solid var(--gold);
  padding: 22px; z-index: 250; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .22s ease;
}
#prog-panel.open { transform: none; opacity: 1; pointer-events: auto; }
.pp-head { display: flex; justify-content: space-between; align-items: flex-start; }
.pp-rank { font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); text-transform: uppercase; line-height: 1.1; }
.pp-close { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 4px; }
.pp-bar { height: 10px; background: #ece6d8; border-radius: 99px; overflow: hidden; margin: 14px 0 6px; }
.pp-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--red)); transition: width .5s ease; }
.pp-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.pp-list li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--cream); }
.pp-list li.got { opacity: 1; background: #fff8e1; border: 1px solid rgba(201,162,39,.5); }
.pp-list li:not(.got) .pp-icon { filter: grayscale(1); }
.pp-icon { font-size: 1.4rem; width: 32px; text-align: center; }
.pp-list b { display: block; color: var(--navy); font-size: .95rem; }
.pp-list small { color: var(--muted); font-size: .82rem; }
.pp-list small a { color: var(--red); }

/* ---------- Up next ---------- */
.up-next { background: var(--cream); padding: 50px 0 20px; }
.up-next-card {
  display: grid; gap: 6px; text-decoration: none; background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 30px 34px; box-shadow: var(--shadow); border-left: 8px solid var(--red); transition: transform .2s ease;
}
.up-next-card:hover { transform: translateX(6px); color: #fff; }
.up-next-card .kicker { color: var(--gold); margin: 0; }
.up-next-title { font-family: var(--font-head); font-size: clamp(1.6rem, 3.4vw, 2.4rem); text-transform: uppercase; line-height: 1.1; }
.up-next-desc { color: #b9c4d6; }

/* ---------- Badge grid (Take Action) ---------- */
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 44%), 1fr)); gap: 12px; }
.badge-tile {
  display: grid; justify-items: center; text-align: center; gap: 4px; padding: 20px 14px; border-radius: var(--radius);
  background: var(--cream); border: 2px dashed var(--line); text-decoration: none; color: var(--muted); transition: transform .2s ease;
}
.badge-tile:hover { transform: translateY(-4px); color: var(--muted); }
.badge-tile .bt-icon { font-size: 2.2rem; filter: grayscale(1); opacity: .5; }
.badge-tile b { color: var(--navy); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; font-weight: 500; }
.badge-tile small { font-size: .8rem; }
.badge-tile.got { background: #fff8e1; border: 2px solid var(--gold); }
.badge-tile.got .bt-icon { filter: none; opacity: 1; }
.badge-tile.got small { color: #8a6d0b; font-weight: 700; }

/* ---------- Page header artwork ---------- */
.page-hero .container.has-art { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 40px; align-items: center; }
.page-hero .has-art h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.ph-art { width: 100%; height: auto; display: block; animation: artIn .9s ease both .15s; filter: drop-shadow(0 20px 40px rgba(0,0,0,.25)); }
@keyframes artIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
  .page-hero .container.has-art { grid-template-columns: 1fr; }
  .ph-art { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ph-art { animation: none; } }

/* ---------- QA fixes ---------- */
.section.navy .chart-card h3 { color: var(--navy); }
.flip-face { position: relative; inset: auto; grid-area: 1 / 1; }
#prog-panel { visibility: hidden; transition: all .22s ease, visibility 0s linear .22s; }
#prog-panel.open { visibility: visible; transition: all .22s ease; }
button.budget-row { width: 100%; background: none; border: 0; padding: 4px 0; font: inherit; text-align: left; color: inherit; border-radius: 6px; }
button.budget-row:hover .name { color: var(--red); }
.facts .btn, .quiz-nav .btn, .bg-side .btn, .tf-why .btn { white-space: nowrap; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; justify-content: center; } }
.quiz-nav { gap: 14px; align-items: center; }
.toast { width: max-content; max-width: calc(100vw - 32px); text-align: center; }
.nav-links .mobile-only { display: none; }
@media (max-width: 1100px) { .nav-links .mobile-only { display: block; } }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: inline; }
main:focus { outline: none; }
.clip-media .play.doc { background: var(--gold); box-shadow: 0 0 0 10px rgba(201,162,39,.25); }
.chart text.val { font-size: 12px; }
@media (max-width: 420px) {
  .brand { font-size: 1.15rem; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .prog-btn { padding: 6px 9px; font-size: .85rem; margin-right: 6px; }
}

/* ---------- Media Record ---------- */
.mfilters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 26px 0 30px; }
.mfilters button {
  border: 2px solid var(--navy); background: transparent; color: var(--navy); padding: 8px 16px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem;
}
.mfilters button.on { background: var(--navy); color: #fff; }
.mcases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
@media (max-width: 860px) { .mcases { grid-template-columns: 1fr; } }
.mcase { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 28px; position: relative; overflow: hidden; }
.mcase::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(var(--red), var(--navy)); }
.mcase-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 10px; }
.mcase-date { font-family: var(--font-head); letter-spacing: .1em; color: var(--muted); font-size: .85rem; text-transform: uppercase; }
.mcase h3 { font-size: 1.4rem; }
.mcase-label { display: block; font-family: var(--font-head); letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; margin-bottom: 6px; }
.mcase-col { border-radius: 10px; padding: 16px 18px; margin: 14px 0; }
.mcase-col p:last-child { margin-bottom: 0; }
.mcase-col.narrative { background: #fdf1f2; border-left: 4px solid var(--red); }
.mcase-col.narrative .mcase-label { color: var(--red); }
.mcase-col.narrative p { font-family: var(--font-serif); font-size: 1.02rem; }
.mcase-col.record { background: #eef3fa; border-left: 4px solid var(--navy); animation: fade .4s ease; }
.mcase-col.record .mcase-label { color: var(--navy); }
.mcase-why { color: var(--navy); }
.mcase-caveat { font-size: .92rem; color: var(--muted); border-top: 1px dashed #c9d3e3; padding-top: 10px; }
.mcase-src { margin: 10px 0 14px; font-size: .9rem; }
.mcase-src summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.mcase-src ol { padding-left: 20px; margin: 8px 0 0; }
.mcase-src li { margin-bottom: 4px; }
.trust-gauge { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; }
@media (max-width: 700px) { .trust-gauge { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.trust-big { font-family: var(--font-head); font-size: clamp(5rem, 14vw, 8rem); line-height: .9; color: var(--gold); }
.trust-big small { font-size: .35em; color: #b9c4d6; display: block; letter-spacing: .1em; }
.toolkit { display: grid; gap: 12px; max-width: 760px; margin: 30px auto 0; }
.toolkit label {
  display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; cursor: pointer; box-shadow: var(--shadow);
}
.toolkit input { width: 22px; height: 22px; accent-color: var(--red); margin-top: 3px; flex: none; }
.toolkit b { display: block; color: var(--navy); }
.toolkit span span { color: var(--muted); font-size: .95rem; }
.tk-score { text-align: center; font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-top: 10px; }
.jefferson { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .jefferson { grid-template-columns: 1fr; } }
.jefferson blockquote { margin: 0; background: rgba(255,255,255,.08); border-radius: var(--radius); padding: 26px; font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.6; }
.jefferson cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--font-head); letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: #ffd9de; }

/* ---------- Home: Media Record feature ---------- */
.media-feature { background: linear-gradient(135deg, var(--navy) 0%, #14294a 55%, #3a0f18 100%); color: #fff; }
.media-feature h2 { color: #fff; }
.media-feature .lead { color: #d5dcea; }
.mf-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .mf-grid { grid-template-columns: 1fr; } }
.mf-card { background: #fff; color: var(--ink, #1b2333); border-radius: var(--radius); padding: 28px; border-top: 6px solid var(--red); box-shadow: 0 20px 50px rgba(0,0,0,.35); min-height: 240px; }
.mf-card h3 { margin: 6px 0 10px; color: var(--navy); }
.mf-card p { color: #3d4759; }
.mf-link { font-weight: 700; color: var(--red); text-decoration: none; }
.mf-link:hover { text-decoration: underline; }

/* Header: tighten between the menu breakpoint and wide desktop so the longer
   "America First Record" wordmark never collides with the nav. */
.brand { flex-shrink: 0; }
@media (min-width: 1101px) and (max-width: 1320px) {
  .brand { font-size: 1.2rem; letter-spacing: .05em; gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .nav-links a { padding: 10px 8px; font-size: .88rem; letter-spacing: .06em; }
}
@media (max-width: 480px) { .brand { font-size: 1.05rem; letter-spacing: .04em; } }
@media (max-width: 380px) { .brand { font-size: .92rem; letter-spacing: .03em; gap: 6px; } .brand-mark { width: 28px; height: 28px; } }
@media (max-width: 340px) { .brand { font-size: .8rem; } .site-header .brand-mark, header .brand-mark { width: 24px; height: 24px; } .brand { gap: 5px; } .prog-btn { padding: 5px 7px; margin-right: 4px; } }
