/* ─────────────────────────────────────────────
   The Alberta Disability System Breakdown
   Navy + gold · Atkinson Hyperlegible body · Fraunces display
   Wild rose motif from the Alberta provincial flower
   ───────────────────────────────────────────── */

:root {
  /* Navy spectrum (Alberta provincial blue) */
  --navy-950: #050d1c;
  --navy-900: #081a36;
  --navy-800: #0d2c54;
  --navy-700: #14406d;
  --navy-600: #1d5489;
  --navy-500: #2c6ba8;
  --navy-100: #e8eef7;

  /* Gold (Alberta provincial accent) */
  --gold-700: #a37410;
  --gold-600: #c89313;
  --gold-500: #d4a017;
  --gold-400: #f5b942;
  --gold-300: #fbd370;

  /* Wild rose (decorative only) */
  --rose-400: #e89bb1;
  --rose-300: #f0b1c4;
  --leaf-600: #5e8b4a;
  --leaf-700: #3d6a30;

  /* Cream surface (matches her brand cards) */
  --cream-50: #faf6f0;
  --cream-100: #f5f1e8;
  --cream-200: #ebe5d6;

  /* Neutral */
  --ink: #f5f1e8;
  --ink-soft: #c8c2b3;
  --ink-mute: #8a8478;
  --line: rgba(255, 246, 215, 0.12);
  --line-strong: rgba(255, 246, 215, 0.24);

  /* System */
  --bg: var(--navy-950);
  --surface: var(--navy-900);
  --surface-2: var(--navy-800);
  --max: 1240px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);

  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino', Georgia, serif;
  --font-body: 'Atkinson Hyperlegible', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 0 rgba(255, 246, 215, 0.04) inset, 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 1px 0 rgba(255, 246, 215, 0.05) inset, 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--gold-400); text-decoration: none; }
a:hover { color: var(--gold-300); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 6px;
}

img, svg { display: block; max-width: 100%; }
em { color: var(--gold-300); font-style: italic; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold-400); color: var(--navy-900);
  padding: 12px 20px; font-weight: 700;
  border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; z-index: 9999; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ─────────── HEADER / NAV ─────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 13, 28, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 14px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink); font-weight: 700;
}
.brand-mark {
  filter: drop-shadow(0 4px 10px rgba(245, 185, 66, 0.25));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 500;
}
.brand-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.primary-nav {
  display: flex; gap: 0.35rem; align-items: center;
}
.primary-nav a {
  color: var(--ink-soft);
  font-size: 0.93rem;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 400;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
@media (max-width: 1100px) and (min-width: 941px) {
  .primary-nav a { padding: 8px 10px; font-size: 0.86rem; }
  .brand-title { font-size: 0.88rem; }
}
.primary-nav a:hover {
  color: var(--ink);
  background: rgba(255, 246, 215, 0.06);
}
.primary-nav a.cta {
  background: var(--gold-400);
  color: var(--navy-900);
  font-weight: 700;
}
.primary-nav a.cta:hover { background: var(--gold-300); }
.primary-nav a.current:not(.cta) {
  color: var(--gold-300);
  background: rgba(245, 185, 66, 0.08);
}

.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--line-strong);
  width: 44px; height: 44px; border-radius: 10px;
  cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--ink);
  width: 18px; margin: 4px auto;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--navy-950);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 12px var(--gutter) 18px;
    transform: translateY(-120%);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.2s ease, visibility 0.25s;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .primary-nav a {
    padding: 12px 14px; border-radius: 8px;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }
  .primary-nav a:last-child { border-bottom: none; }
  .nav-open .primary-nav {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ─────────── HERO ─────────── */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(4rem, 10vw, 7.5rem) clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(212, 160, 23, 0.12), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(232, 155, 177, 0.08), transparent 50%),
    var(--navy-950);
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute; top: -10%; right: -10%;
  width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.18), transparent 60%);
  filter: blur(40px);
}
.hero-rose {
  position: absolute; opacity: 0.06;
  filter: drop-shadow(0 0 30px rgba(245, 185, 66, 0.3));
}
.hero-rose-1 {
  width: 420px; right: -50px; top: 8%;
  transform: rotate(15deg);
}
.hero-rose-2 {
  width: 280px; left: -60px; bottom: -40px;
  transform: rotate(-25deg);
  opacity: 0.04;
}

.hero-content { position: relative; z-index: 1; max-width: 880px; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 1.5rem;
  font-weight: 500;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 28px; height: 1px; background: var(--gold-500);
  vertical-align: middle; margin-right: 12px;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(2.4rem, 6.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0 0 1.5rem;
  color: var(--cream-50);
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-300);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  margin: 0 0 2rem;
  max-width: 60ch;
  line-height: 1.6;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.7rem;
  margin-bottom: 2rem;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s, border-color 0.15s;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gold-400); color: var(--navy-900);
}
.btn-primary:hover { background: var(--gold-300); color: var(--navy-900); }
.btn-ghost {
  background: rgba(255, 246, 215, 0.04);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(255, 246, 215, 0.08);
  border-color: var(--gold-500);
  color: var(--ink);
}
.btn-ghost-sm {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--line-strong);
}
.btn-ghost-sm:hover { color: var(--gold-400); }

.hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; }
.meta-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}

/* ─────────── SECTION COMMON ─────────── */
section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  position: relative;
}
section + section { border-top: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 0.9rem;
  font-weight: 500;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--cream-50);
  margin: 0 0 1.1rem;
}
.section-lede {
  font-size: 1.07rem;
  color: var(--ink-soft);
  max-width: 65ch;
  margin: 0;
}
.subhead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  margin: 3rem 0 1.5rem;
  color: var(--cream-50);
}
.lede-sm {
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  max-width: 65ch;
}

/* ─────────── NUMBERS ─────────── */
.numbers { background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--navy-900);
  padding: 2.2rem 2rem;
  position: relative;
  transition: background 0.2s;
}
.stat:hover { background: var(--navy-800); }
.stat::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--gold-500), transparent);
  opacity: 0.5;
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  letter-spacing: -0.02em;
  color: var(--gold-400);
  line-height: 1;
  margin: 0 0 0.8rem;
}
.stat-label {
  font-size: 1rem;
  color: var(--ink);
  margin: 0 0 0.9rem;
  line-height: 1.45;
}
.stat-source {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-mute);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ─────────── SYSTEM / PILLARS ─────────── */
.system { background: var(--navy-950); }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}
.pillar {
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.pillar:hover {
  border-color: var(--gold-500);
  transform: translateY(-3px);
}
.pillar-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 2.4rem;
  color: var(--gold-400);
  margin: 0 0 0.4rem;
  line-height: 1;
}
.pillar-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--cream-50);
  margin: 0 0 0.8rem;
}
.pillar p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin: 0 0 1.1rem;
  line-height: 1.55;
}
.pillar-link {
  display: inline-block;
  font-weight: 700;
  color: var(--gold-400);
  font-size: 0.9rem;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--gold-700);
}
.pillar-link:hover { color: var(--gold-300); border-color: var(--gold-400); }

/* ─────────── CALLOUTS ─────────── */
.callout {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}
.callout::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--gold-400);
}
.callout.primary {
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 100%);
  border-color: var(--gold-700);
}
.callout.secondary {
  background: var(--navy-900);
}
.callout-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 0.6rem;
  font-weight: 500;
}
.callout h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin: 0 0 0.8rem;
  color: var(--cream-50);
  letter-spacing: -0.01em;
}
.callout p {
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
  max-width: 65ch;
}
.callout-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* ─────────── APPEALS / TWO-COL ─────────── */
.appeals { background: var(--navy-900); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}
.two-col h2.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-top: 0.9rem; }
.two-col p { color: var(--ink-soft); margin: 0 0 1rem; }

.link-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 0;
  color: var(--ink);
  font-weight: 400;
  transition: padding 0.2s, color 0.2s;
}
.link-list a:hover { padding-left: 12px; color: var(--gold-400); }
.link-list .ext {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  border: 1px solid var(--gold-700);
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0; margin-left: 1rem;
}

/* ─────────── FLYERS ─────────── */
.flyers { background: var(--navy-950); }
.flyer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.flyer {
  display: block;
  position: relative;
  background: var(--cream-50);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 8.5 / 11;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.5);
}
.flyer:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: 0 16px 40px -12px rgba(245, 185, 66, 0.25);
}
.flyer img {
  width: 100%; height: 100%; object-fit: cover;
}
.flyer-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13, 44, 84, 0.96), transparent);
  color: var(--cream-50);
  padding: 1.5rem 0.9rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.flyer-actions {
  display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.5rem;
}

/* ─────────── REPORTS / CARD GRID ─────────── */
.reports { background: var(--navy-900); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--navy-950);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, transform 0.15s;
  position: relative;
}
.card:hover {
  border-color: var(--gold-700);
  transform: translateY(-2px);
}
.card-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--gold-400);
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}
.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.005em;
  margin: 0 0 0.7rem;
  color: var(--cream-50);
  line-height: 1.25;
}
.card-desc {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0 0 1.2rem;
  flex: 1;
  line-height: 1.5;
}
.card-actions {
  display: flex; gap: 0.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem; margin-top: auto;
}
.card-actions a {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.card-actions a:hover { background: rgba(245, 185, 66, 0.1); color: var(--gold-400); }
.card-actions .view { color: var(--gold-400); }

/* ─────────── DOCUMENTS / FILTERED ─────────── */
.documents { background: var(--navy-950); }
.ministerial { background: var(--navy-900); }
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.chip:hover { color: var(--ink); border-color: var(--gold-700); }
.chip.active {
  background: var(--gold-400);
  color: var(--navy-900);
  border-color: var(--gold-400);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 0.9rem;
}

/* ─────────── TAKE ACTION ─────────── */
.take-action { background: var(--navy-900); }
.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.action-card {
  background: var(--navy-950);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color 0.2s;
}
.action-card:hover { border-color: var(--gold-500); }
.action-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
  color: var(--cream-50);
}
.action-card p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  margin: 0 0 1.2rem;
  flex: 1;
}
.action-card .btn { align-self: start; }

.prov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.7rem;
}
.prov {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.2rem;
  background: var(--navy-950);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: all 0.15s;
}
.prov:hover {
  border-color: var(--gold-500);
  background: var(--navy-800);
  color: var(--gold-300);
}
.prov-name { font-weight: 700; font-size: 0.95rem; }
.prov-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold-400);
  letter-spacing: 0.1em;
}

/* ─────────── FOOTER ─────────── */
.site-footer {
  background: var(--navy-950);
  border-top: 1px solid var(--line);
  padding-block: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0.4;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-rose { margin-bottom: 1rem; }
.footer-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--cream-50);
  margin: 0 0 0.3rem;
  line-height: 1.2;
}
.footer-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  margin: 0;
}
.footer-head {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-400);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  font-weight: 500;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 0.5rem; }
.footer-list a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
}
.footer-list a:hover { color: var(--gold-400); border-color: var(--gold-700); }
.footer-about {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ─────────── AUDIO SECTION ─────────── */
.audio {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(212, 160, 23, 0.05), transparent 50%),
    var(--navy-950);
  padding-block: 5rem;
  border-top: 1px solid var(--line);
}
.audio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -1rem 0 2.5rem;
  justify-content: center;
}
.audio-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}
.audio-series {
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem clamp(1rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}
.audio-series-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.5rem 1.5rem;
}
@media (max-width: 640px) {
  .audio-series-head {
    grid-template-columns: 1fr;
  }
}
.audio-series-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  color: var(--gold-300);
  margin: 0 0 0.25rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  grid-column: 1;
}
.audio-series-blurb {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
  grid-column: 1;
  max-width: 70ch;
}
.audio-series-count {
  margin: 0;
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: start;
}
@media (max-width: 640px) {
  .audio-series-count {
    grid-row: auto;
    grid-column: 1;
    margin-top: 0.5rem;
  }
}
.audio-count-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: var(--navy-800);
  border: 1px solid var(--line-strong);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.audio-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  counter-reset: audio;
}
.audio-row {
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "meta actions"
    "player player";
  align-items: center;
  gap: 0.75rem 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.audio-row:hover {
  border-color: var(--line-strong);
  background: var(--navy-700);
}
.audio-meta-line {
  grid-area: meta;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.audio-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-400);
  letter-spacing: 0.06em;
  background: var(--navy-900);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  flex-shrink: 0;
  min-width: 2.4rem;
  text-align: center;
}
.audio-title {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--cream-50);
  font-size: 0.98rem;
  line-height: 1.35;
  word-break: break-word;
}
.audio-player {
  grid-area: player;
  width: 100%;
  height: 38px;
  border-radius: 8px;
  background: var(--navy-900);
}
/* Subtle filter to bring native audio controls toward the navy/gold canon */
.audio-player::-webkit-media-controls-panel {
  background-color: var(--navy-900);
}

/* Rows that carry a YouTube video — extend the grid with a "video" area
   sitting between the meta/actions header and the audio player below. */
.audio-row-video {
  grid-template-areas:
    "meta actions"
    "video video"
    "player player";
}
.audio-video {
  grid-area: video;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.55);
}
.audio-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
}

.audio-actions {
  grid-area: actions;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}
.audio-share-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold-400);
  letter-spacing: 0.05em;
  min-height: 1em;
  white-space: nowrap;
}
.audio-download,
.audio-share {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-weight: 500;
}
.audio-download:hover,
.audio-share:hover,
.audio-download:focus-visible,
.audio-share:focus-visible {
  color: var(--navy-950);
  background: var(--gold-400);
  border-color: var(--gold-400);
  outline: none;
}
.audio-share:active {
  transform: translateY(1px);
}
@media (max-width: 560px) {
  .audio-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "player"
      "actions";
  }
  .audio-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .audio-share-status {
    flex-basis: 100%;
  }
}

/* ─────────── JUST DROPPED ─────────── */
.just-dropped {
  background: var(--navy-900);
  position: relative;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.just-dropped::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-400), var(--gold-700));
  opacity: 0.7;
  pointer-events: none;
}
.section-count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 1rem 0 0;
}
.jd-empty {
  color: var(--ink-soft);
  font-style: italic;
  text-align: center;
  padding: 2rem 0;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  margin: 1rem 0;
}
.jd-grid {
  margin-top: 1.5rem;
}
.jd-card {
  position: relative;
  border-color: var(--gold-700);
  background: linear-gradient(155deg, var(--navy-800) 0%, var(--navy-950) 65%);
}
.jd-card:hover {
  border-color: var(--gold-400);
}
.jd-pill {
  display: inline-block;
  background: var(--gold-400);
  color: var(--navy-900);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 0.5rem;
  vertical-align: 1px;
}
.jd-callout {
  margin-top: 2.5rem;
}
.jd-status {
  margin: 0.8rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  min-height: 1.2em;
}

/* Nav "New" indicator — small gold dot on the Just Dropped nav link */
.primary-nav a.nav-new {
  position: relative;
}
.primary-nav a.nav-new::after {
  content: "";
  position: absolute;
  top: 6px;
  right: -10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 0 rgba(245, 185, 66, 0.55);
  animation: nav-new-pulse 2.4s ease-out infinite;
}
@keyframes nav-new-pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 185, 66, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(245, 185, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 185, 66, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .primary-nav a.nav-new::after { animation: none; }
}


/* ─────────── PODCAST ─────────── */
.podcast {
  background:
    radial-gradient(ellipse at 82% 0%, rgba(212, 160, 23, 0.05), transparent 50%),
    var(--navy-950);
  padding-block: 5rem;
  border-top: 1px solid var(--line);
}
.podcast-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -1rem 0 2.5rem;
  justify-content: center;
}
.podcast-stage {
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem clamp(1rem, 2vw, 1.5rem);
  box-shadow: var(--shadow-lg);
  margin-bottom: 2.5rem;
}
.podcast-frame {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
}
.podcast-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
}
.podcast-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-style: italic;
  margin: 1rem 0 0.25rem;
}
@media print {
  .podcast { display: none; }
}

/* ─────────── ALLIED VOICES ─────────── */
.allied-voices {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232, 155, 177, 0.04), transparent 50%),
    var(--navy-950);
  padding-block: 5rem;
  border-top: 1px solid var(--line);
}
.allied-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.allied-card {
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s, transform 0.15s;
}
.allied-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-2px);
}
.allied-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
  color: var(--cream-50);
  letter-spacing: -0.005em;
}
.allied-card p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.55;
  margin: 0 0 1.2rem;
  flex: 1;
}
.allied-link {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: var(--navy-800);
  border: 1px solid var(--line-strong);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.allied-link:hover {
  background: var(--gold-400);
  color: var(--navy-900);
  border-color: var(--gold-400);
}
.allied-footnote {
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-mute);
  font-style: italic;
  text-align: center;
  max-width: 70ch;
  margin-inline: auto;
}
.allied-footnote a {
  color: var(--gold-400);
}
@media print {
  .allied-voices { display: none; }
}
/* ─── Card extra-link line (used by /comic/ pointer on Access Gap plain-language card) ─── */
.card-extra {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(245, 185, 66, 0.18);
}
.card-extra a {
  color: var(--gold-400);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.card-extra a:hover {
  color: var(--gold-400);
  text-decoration: none;
}

/* ─────────── PRINT ─────────── */
@media print {
  .site-header, .nav-toggle, .hero-actions, .filter-bar, .flyer-actions, .footer-grid, .audio { display: none; }
  .just-dropped::before { display: none; }
  body { background: white; color: black; }
  .hero, section { padding-block: 1rem; }
  .hero-headline, .section-title, .pillar-title, .card-title { color: black; }
  a { color: black; text-decoration: underline; }
}
