/* ═══════════════════════════════════════════════════════════════
   Legally Brief: New York — Sunday Edition, March 22, 2026
   Theme: Albany on the Clock — Budget Countdown + Judicial Clarity
   Palette: Deep legislative amber-charcoal, warm gold, urgent crimson
═══════════════════════════════════════════════════════════════ */

:root {
  --bg-primary: #080b07;
  --bg-secondary: #0f140d;
  --bg-surface: #161d12;
  --bg-elevated: #1e2818;
  --text-primary: #f0e8d5;
  --text-secondary: #b8a87e;
  --text-muted: #6a5e42;
  --accent-red: #c94040;
  --accent-red-dim: rgba(201, 64, 64, 0.14);
  --accent-green: #3dba7a;
  --accent-green-dim: rgba(61, 186, 122, 0.14);
  --accent-gold: #c8860a;
  --accent-gold-dim: rgba(200, 134, 10, 0.14);
  --accent-blue: #5a8fd4;
  --glass: rgba(200, 134, 10, 0.05);
  --glass-border: rgba(200, 134, 10, 0.18);
  --glass-highlight: rgba(200, 134, 10, 0.45);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-tap-highlight-color: transparent;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  overflow-x: hidden;
}

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

/* ─── Ticker ─── */
.tk {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 46px;
  background: rgba(8, 11, 7, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.tk__track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 65s linear infinite;
  will-change: transform;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tk__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  padding: 0 2.5rem;
  border-right: 1px solid rgba(200, 134, 10, 0.2);
}

.tk__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tk__dot--green  { background: var(--accent-green); box-shadow: 0 0 6px var(--accent-green); }
.tk__dot--red    { background: var(--accent-red);   box-shadow: 0 0 6px var(--accent-red); }
.tk__dot--gold   { background: var(--accent-gold);  box-shadow: 0 0 6px var(--accent-gold); }
.tk__dot--blue   { background: var(--accent-blue);  box-shadow: 0 0 6px var(--accent-blue); }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(46px + env(safe-area-inset-top) + 4rem) 2rem 4rem;
  overflow: hidden;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200, 134, 10, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(201, 64, 64, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-primary) 0%, #060a04 100%);
}

.hero__lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(200, 134, 10, 0.04) 0px, rgba(200, 134, 10, 0.04) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(90deg, rgba(200, 134, 10, 0.03) 0px, rgba(200, 134, 10, 0.03) 1px, transparent 1px, transparent 80px);
}

.hero__stamp {
  position: absolute;
  font-family: var(--font-mono);
  font-size: clamp(12rem, 35vw, 28rem);
  font-weight: 800;
  color: rgba(200, 134, 10, 0.04);
  letter-spacing: -0.05em;
  line-height: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  opacity: 0;
}

.hero__countdown {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  opacity: 0;
}

.hero__t {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
}

.hero__days-num {
  font-family: var(--font-mono);
  font-size: clamp(7rem, 20vw, 16rem);
  font-weight: 800;
  line-height: 0.85;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

.hero__days-label {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-self: center;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  opacity: 0;
}

.hero__accent { color: var(--accent-gold); }
.hero__accent--red { color: var(--accent-red); }

.hero__subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  opacity: 0;
}

.hero__divider {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  margin: 2rem auto;
  opacity: 0;
}

.hero__battlelines {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  opacity: 0;
}

.hero__battleline {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  text-align: left;
  flex: 1;
  min-width: 180px;
  max-width: 220px;
}

.hero__battleline-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.4rem;
}

.hero__battleline-value {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.hero__date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  opacity: 0;
}

/* ─── General Section ─── */
.ed-section {
  padding: 6rem 2rem;
  border-top: 1px solid rgba(200, 134, 10, 0.1);
}

.ed-section__inner {
  max-width: 900px;
  margin: 0 auto;
}

.ed-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  margin-bottom: 1.8rem;
}

.ed-label--gold  { background: var(--accent-gold-dim);  color: var(--accent-gold);  border: 1px solid rgba(200,134,10,0.35); }
.ed-label--red   { background: var(--accent-red-dim);   color: var(--accent-red);   border: 1px solid rgba(201,64,64,0.35); }
.ed-label--green { background: var(--accent-green-dim); color: var(--accent-green); border: 1px solid rgba(61,186,122,0.35); }
.ed-label--blue  { background: rgba(90,143,212,0.1);    color: var(--accent-blue);  border: 1px solid rgba(90,143,212,0.35); }

.ed-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.ed-headline--center { text-align: center; }
.ed-headline--mono {
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.ed-body {
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.ed-body--center { text-align: center; }
.ed-body--wide { max-width: 720px; margin-left: auto; margin-right: auto; }
.ed-body--muted { color: var(--text-muted); }

.ed-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.source {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 134, 10, 0.3);
  padding-bottom: 2px;
  letter-spacing: 0.05em;
  transition: color 0.2s, border-color 0.2s;
  min-height: 44px;
  align-items: flex-end;
}

.source:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

/* ─── Section 1: Tariff Coalition ─── */
.ed-tariff { background: var(--bg-secondary); }

.ed-coalition-hero {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.ed-coalition-num {
  flex-shrink: 0;
  text-align: center;
}

.ed-coalition-num__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 800;
  line-height: 0.85;
  color: var(--accent-gold);
  letter-spacing: -0.04em;
}

.ed-coalition-num__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.ed-coalition-content { flex: 1; min-width: 240px; }

.ed-state-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.5rem 0;
}

.ed-state-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-surface);
  border: 1px solid rgba(200, 134, 10, 0.2);
  color: var(--text-muted);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
}

.ed-state-tag--lead {
  background: var(--accent-gold-dim);
  border-color: rgba(200, 134, 10, 0.5);
  color: var(--accent-gold);
  font-weight: 700;
}

.ed-tariff-cost {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.ed-tariff-cost__card {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1.5rem;
}

.ed-tariff-cost__figure {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--accent-red);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.ed-tariff-cost__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── Section 2: Budget Battleground ─── */
.ed-budget { background: var(--bg-primary); }

.ed-budget-countdown {
  text-align: center;
  margin-bottom: 3rem;
}

.ed-budget-countdown__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 800;
  line-height: 0.85;
  color: var(--accent-gold);
}

.ed-budget-countdown__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.ed-budget-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9rem;
}

.ed-budget-table th {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--glass-border);
}

.ed-budget-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(200, 134, 10, 0.08);
  color: var(--text-secondary);
  vertical-align: top;
  line-height: 1.5;
}

.ed-budget-table td:first-child {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-primary);
  font-weight: 600;
  white-space: nowrap;
}

.ed-budget-table tr:hover td { background: rgba(200,134,10,0.03); }

.ed-budget-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-right: 0.3rem;
}

.ed-budget-tag--agree  { background: var(--accent-green-dim); color: var(--accent-green); }
.ed-budget-tag--dispute { background: var(--accent-red-dim); color: var(--accent-red); }
.ed-budget-tag--gap    { background: var(--accent-gold-dim); color: var(--accent-gold); }

/* ─── Section 3: COA People v Jones ─── */
.ed-jones { background: var(--bg-secondary); }

.ed-vote-ring-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.ed-vote-ring-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.ed-vote-ring-svg { width: 140px; height: 140px; }

.ed-vote-ring__track {
  fill: none;
  stroke: rgba(200,134,10,0.12);
  stroke-width: 10;
}

.ed-vote-ring__fill-majority {
  fill: none;
  stroke: var(--accent-red);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transform: rotate(-90deg);
  transform-origin: center;
}

.ed-vote-ring__fill-minority {
  fill: none;
  stroke: rgba(200,134,10,0.4);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transform: rotate(-90deg);
  transform-origin: center;
}

.ed-vote-ring__center {
  text-anchor: middle;
  dominant-baseline: middle;
  fill: var(--text-primary);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 2rem;
}

.ed-vote-ring__sub {
  text-anchor: middle;
  dominant-baseline: middle;
  fill: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.ed-vote-ring-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-align: center;
}

.ed-vote-content { flex: 1; min-width: 240px; }

.ed-opinion-block {
  background: var(--bg-surface);
  border-left: 3px solid var(--accent-red);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

.ed-opinion-block--dissent {
  border-left-color: var(--accent-gold);
  background: var(--bg-elevated);
}

.ed-opinion-block__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.6rem;
}

.ed-opinion-block__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── Section 4: COA Henderson ─── */
.ed-henderson { background: var(--bg-primary); }

.ed-quote-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
  margin: 2rem 0;
}

.ed-quote-aside {
  position: sticky;
  top: 60px;
}

.ed-quote-mark {
  font-size: 8rem;
  line-height: 0.6;
  color: var(--accent-gold);
  font-family: Georgia, serif;
  opacity: 0.4;
  margin-bottom: 1rem;
}

.ed-quote-attribution {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.ed-blockquote {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  position: relative;
}

.ed-blockquote::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent-gold);
}

.ed-cite-box {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.ed-cite-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-blue);
  letter-spacing: 0.05em;
}

/* ─── Section 5: AVOID Act ─── */
.ed-avoid { background: var(--bg-secondary); }

.ed-statute-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 2.5rem 0;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  overflow: hidden;
}

.ed-statute-compare__col {
  padding: 2rem;
}

.ed-statute-compare__col--old {
  background: rgba(201, 64, 64, 0.06);
  border-right: 1px solid var(--glass-border);
}

.ed-statute-compare__col--new {
  background: rgba(61, 186, 122, 0.06);
}

.ed-statute-compare__heading {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.ed-statute-compare__col--old .ed-statute-compare__heading { color: var(--accent-red); }
.ed-statute-compare__col--new .ed-statute-compare__heading { color: var(--accent-green); }

.ed-statute-compare__rule {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.ed-statute-compare__rule strong { color: var(--text-primary); }

.ed-avoid-timeline {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
}

.ed-avoid-timeline__title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.ed-avoid-timeline__items {
  display: flex;
  gap: 0;
  position: relative;
}

.ed-avoid-timeline__items::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(200, 134, 10, 0.15);
  z-index: 0;
}

.ed-avoid-timeline__item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.ed-avoid-timeline__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--glass-border);
  margin: 0 auto 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
}

.ed-avoid-timeline__dot--active {
  background: var(--accent-gold-dim);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.ed-avoid-timeline__date {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 0.3rem;
}

.ed-avoid-timeline__desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ─── Section 6: Algorithmic Pricing ─── */
.ed-algo { background: var(--bg-primary); }

.ed-algo-disclosure {
  margin: 2rem 0;
  padding: 2rem;
  border: 2px solid var(--accent-red);
  border-radius: 8px;
  background: var(--accent-red-dim);
  text-align: center;
}

.ed-algo-disclosure__text {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ed-algo-disclosure__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-top: 0.8rem;
  display: block;
}

.ed-algo-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.ed-algo-detail {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1.5rem;
}

.ed-algo-detail__icon {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.ed-algo-detail__title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.ed-algo-detail__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Section 7: Rikers Deml ─── */
.ed-rikers { background: var(--bg-secondary); }

.ed-appointment-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
  margin: 2rem 0;
}

.ed-appointment-badge {
  flex-shrink: 0;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  min-width: 180px;
}

.ed-appointment-badge__num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-red);
  line-height: 1;
  display: block;
}

.ed-appointment-badge__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.ed-appointment-content {}

.ed-power-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.ed-power-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.ed-power-list li::before {
  content: '→';
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ─── Section 8: Prison Reform A8871 ─── */
.ed-prison { background: var(--bg-primary); }

.ed-bill-strip {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  overflow: hidden;
  margin: 2rem 0;
}

.ed-bill-strip__header {
  background: var(--bg-elevated);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ed-bill-strip__num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-green);
}

.ed-bill-strip__title {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.ed-bill-strip__status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-green);
  background: var(--accent-green-dim);
  border: 1px solid rgba(61,186,122,0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

.ed-bill-strip__provisions {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.ed-bill-provision {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: var(--bg-primary);
  border-radius: 6px;
  border-left: 3px solid transparent;
}

.ed-bill-provision--done { border-left-color: var(--accent-green); }
.ed-bill-provision--pending { border-left-color: var(--accent-gold); }

.ed-bill-provision__icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.ed-bill-provision__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── Section 9: Section 8 Follow-up ─── */
.ed-section8 { background: var(--bg-secondary); }

.ed-followup-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.ed-followup-col {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1.5rem;
}

.ed-followup-col__heading {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.ed-followup-col--last .ed-followup-col__heading { color: var(--accent-red); }
.ed-followup-col--next .ed-followup-col__heading { color: var(--accent-green); }

.ed-followup-col__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.ed-followup-options {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.ed-followup-option {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 0.8rem 1rem;
  background: var(--bg-primary);
  border-radius: 6px;
}

.ed-followup-option__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-gold);
  flex-shrink: 0;
  width: 20px;
}

/* ─── Section 10: Congestion Pricing Appeal ─── */
.ed-cong { background: var(--bg-primary); }

.ed-status-board {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  overflow: hidden;
  margin: 2rem 0;
}

.ed-status-board__header {
  background: var(--bg-elevated);
  padding: 1rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ed-status-row {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(200, 134, 10, 0.08);
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ed-status-row:last-child { border-bottom: none; }

.ed-status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ed-status-indicator--done    { background: var(--accent-green); }
.ed-status-indicator--pending { background: var(--accent-gold); animation: pulse-gold 2s ease-in-out infinite; }
.ed-status-indicator--tbd     { background: var(--text-muted); }

@keyframes pulse-gold {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(200,134,10,0.4); }
  50%       { opacity: 0.8; box-shadow: 0 0 0 6px rgba(200,134,10,0); }
}

.ed-status-step {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  flex: 1;
}

.ed-status-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.ed-status-outcome {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.ed-status-outcome--win    { background: var(--accent-green-dim); color: var(--accent-green); }
.ed-status-outcome--loss   { background: var(--accent-red-dim);   color: var(--accent-red); }
.ed-status-outcome--open   { background: var(--accent-gold-dim);  color: var(--accent-gold); }

/* ─── Section 11: NYHIPA ─── */
.ed-nyhipa { background: var(--bg-secondary); }

.ed-legis-track {
  margin: 2rem 0;
}

.ed-legis-steps {
  display: flex;
  gap: 0;
  position: relative;
  margin-bottom: 2rem;
}

.ed-legis-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(200, 134, 10, 0.12);
  z-index: 0;
}

.ed-legis-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.ed-legis-step__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 auto 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.ed-legis-step__dot--done    { background: var(--accent-green-dim); border: 2px solid var(--accent-green); color: var(--accent-green); }
.ed-legis-step__dot--veto    { background: var(--accent-red-dim);   border: 2px solid var(--accent-red);   color: var(--accent-red); }
.ed-legis-step__dot--active  { background: var(--accent-gold-dim);  border: 2px solid var(--accent-gold);  color: var(--accent-gold); }
.ed-legis-step__dot--future  { background: var(--bg-surface);       border: 2px solid rgba(200,134,10,0.2); color: var(--text-muted); }

.ed-legis-step__label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.ed-legis-step__date {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.ed-nyhipa-changes {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.ed-nyhipa-changes__title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.ed-nyhipa-change {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.7rem;
}

.ed-nyhipa-change::before {
  content: '✓';
  color: var(--accent-green);
  font-family: var(--font-mono);
  flex-shrink: 0;
}

/* ─── Week Ahead ─── */
.ed-ahead { background: var(--bg-secondary); }

.ed-week-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.ed-week-card {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.ed-week-card:hover { border-color: var(--glass-highlight); }

.ed-week-card--urgent { border-color: rgba(201, 64, 64, 0.4); }
.ed-week-card--urgent:hover { border-color: var(--accent-red); }

.ed-week-card__date {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 0.3rem;
}

.ed-week-card--urgent .ed-week-card__date { color: var(--accent-red); }

.ed-week-card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.8rem;
}

.ed-week-card__tag--gold   { background: var(--accent-gold-dim);  color: var(--accent-gold); }
.ed-week-card__tag--red    { background: var(--accent-red-dim);   color: var(--accent-red); }
.ed-week-card__tag--blue   { background: rgba(90,143,212,0.1);    color: var(--accent-blue); }
.ed-week-card__tag--green  { background: var(--accent-green-dim); color: var(--accent-green); }

.ed-week-card__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Story Nav ─── */
.sn-wrap { padding: 0 2rem; }

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 2rem calc(2rem + env(safe-area-inset-bottom));
  text-align: center;
  background: var(--bg-primary);
}

.site-footer__brand {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.site-footer__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.site-footer__regen {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.site-footer__session {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.4rem;
}

.site-footer__timestamp {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .ed-quote-layout { grid-template-columns: 1fr; }
  .ed-quote-aside  { display: none; }
  .ed-statute-compare { grid-template-columns: 1fr; }
  .ed-statute-compare__col--old { border-right: none; border-bottom: 1px solid var(--glass-border); }
  .ed-followup-split { grid-template-columns: 1fr; }
  .ed-appointment-layout { grid-template-columns: 1fr; }
  .ed-vote-ring-layout { flex-direction: column; }
  .ed-coalition-hero { flex-direction: column; gap: 1.5rem; }
  .ed-avoid-timeline__items { flex-direction: column; gap: 1rem; }
  .ed-avoid-timeline__items::before { display: none; }
  .hero__battlelines { flex-direction: column; align-items: center; }
  .hero__battleline { max-width: 100%; width: 100%; }
  .ed-budget-table { font-size: 0.8rem; }
  .ed-budget-table td, .ed-budget-table th { padding: 0.5rem 0.6rem; }
}

@media (max-width: 480px) {
  .ed-section { padding: 4rem 1.25rem; }
  .hero { padding-left: 1.25rem; padding-right: 1.25rem; }
  .ed-week-grid { grid-template-columns: 1fr; }
  .ed-tariff-cost { grid-template-columns: 1fr; }
  .ed-algo-details { grid-template-columns: 1fr; }
  .ed-legis-step__label { font-size: 0.5rem; }
}
