@import url('colors_and_type.css');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-1);
  color: var(--hb-ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* ============ READING PROGRESS BAR ============ */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--hb-gold-gradient);
  z-index: 200;
  transition: width 80ms linear;
  box-shadow: 0 0 12px rgba(212,175,55,0.5);
}

/* ============ EDITORIAL HEADER ============ */
.editorial-bar {
  background: var(--hb-ink);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 10px 0;
}
.editorial-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.editorial-bar .left { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.editorial-bar .left .dot { width: 4px; height: 4px; border-radius: 999px; background: var(--hb-gold); }
.editorial-bar a { color: var(--hb-gold); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-1);
}
.site-header nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand-lockup {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; text-decoration: none;
}
.brand-lockup .harv { color: var(--hb-ink); }
.brand-lockup .realtor { color: var(--hb-gold-dark); }
.brand-lockup .dom { color: var(--fg-3); font-size: 16px; font-weight: 500; }
.nav-links { display: none; gap: 28px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-link { font-size: 13px; font-weight: 500; color: var(--fg-2); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.nav-link:hover { color: var(--hb-gold-dark); }
.nav-link.active { color: var(--hb-ink); border-bottom: 2px solid var(--hb-gold); padding-bottom: 4px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hb-ink);
  color: #fff;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/hero-bay-area.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: grayscale(0.2) brightness(0.55) contrast(1.05);
  will-change: transform;
  transform: translate3d(0,0,0) scale(1.08);
  z-index: -2;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 80%, rgba(212,175,55,0.20) 0%, transparent 55%),
    linear-gradient(180deg, rgba(20,20,18,0.72) 0%, rgba(20,20,18,0.85) 100%);
  z-index: -1;
}
.hero-inner {
  max-width: 880px; margin: 0 auto;
  padding: 88px 24px 96px;
  text-align: left;
  position: relative;
}
@media (min-width: 768px) { .hero-inner { padding: 120px 24px 140px; } }

.eyebrow-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--hb-gold);
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.45);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: var(--hb-gold); box-shadow: 0 0 10px var(--hb-gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.3); } }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 24px 0 28px;
  max-width: 16ch;
}
.hero h1 .accent { color: var(--hb-gold); font-style: italic; font-weight: 700; }
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400; font-style: italic;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  max-width: 60ch;
  margin: 0 0 36px;
}
.hero-byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  font-size: 13px; color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.18);
  max-width: 600px;
}
.hero-byline .author {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 600;
}
.hero-byline .author img {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1.5px solid var(--hb-gold);
  object-fit: cover;
}
.hero-byline .sep { width: 3px; height: 3px; background: rgba(255,255,255,0.4); border-radius: 999px; }

/* ============ ARTICLE LAYOUT WITH TOC ============ */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
@media (min-width: 1180px) {
  .article-grid {
    grid-template-columns: 220px minmax(0, 760px);
    justify-content: center;
    gap: 64px;
  }
}

.article-body { min-width: 0; }
.article-body > * + * { margin-top: 28px; }

.toc {
  position: sticky; top: 88px;
  align-self: start;
  font-size: 13px;
  display: none;
}
@media (min-width: 1180px) { .toc { display: block; } }
.toc-label {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-1);
}
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: 12px; }
.toc a {
  display: flex; gap: 12px;
  color: var(--fg-2); text-decoration: none;
  line-height: 1.4;
  font-size: 12.5px;
  padding: 4px 0 4px 12px;
  border-left: 2px solid var(--border-1);
  transition: all var(--dur-fast) var(--ease-out);
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  color: var(--fg-3);
  font-weight: 600;
}
.toc a:hover { color: var(--hb-ink); border-left-color: var(--hb-gold); }
.toc a.active {
  color: var(--hb-ink);
  border-left-color: var(--hb-gold);
  font-weight: 600;
}
.toc a.active::before { color: var(--hb-gold-dark); }

/* ============ TL;DR CARD ============ */
.tldr {
  background: linear-gradient(180deg, var(--hb-paper) 0%, #fff 100%);
  border: 1px solid var(--border-1);
  border-left: 4px solid var(--hb-gold);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}
.tldr-label {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--hb-gold-dark);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.tldr-label::after {
  content: ''; flex: 1; height: 1px; background: var(--border-1);
}
.tldr h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  color: var(--hb-ink);
}
.tldr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tldr li {
  font-size: 15px; line-height: 1.6;
  color: var(--hb-ink);
  padding-left: 32px;
  position: relative;
}
.tldr li .mark {
  position: absolute; left: 0; top: 1px;
  font-size: 16px;
  width: 22px; text-align: center;
}
.tldr li b { color: var(--hb-ink); font-weight: 700; }

/* ============ INTRO PROSE ============ */
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--hb-ink);
  margin: 56px 0 16px;
  max-width: 24ch;
}
.prose h2 .num {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--hb-gold-dark);
  margin-bottom: 8px;
}
.prose p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--hb-ink);
  margin: 0 0 18px;
  font-weight: 400;
}
.prose p.lead {
  font-size: 19px;
  line-height: 1.7;
  color: var(--fg-2);
}
.prose p.lead::first-letter,
.prose p.dropcap::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4.5em;
  float: left;
  line-height: 0.86;
  margin: 8px 12px 0 0;
  color: var(--hb-gold-dark);
}
.prose strong { color: var(--hb-ink); font-weight: 700; }
.prose em { font-family: var(--font-display); font-style: italic; }

/* ============ AFFORDABILITY GRID ============ */
.affordability {
  background: var(--hb-paper);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 720px) {
  .affordability { grid-template-columns: 1fr 1.1fr; }
}
.afford-copy h3 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
  color: var(--hb-ink);
}
.afford-copy .big {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--hb-gold-dark);
  line-height: 0.9;
  margin: 4px 0;
}
.afford-copy p { font-size: 14px; color: var(--fg-2); line-height: 1.6; margin: 12px 0 0; }
.afford-copy .src { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); margin-top: 16px; display: block; }
.afford-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 5px;
  aspect-ratio: 1 / 1;
  max-width: 380px;
  margin-left: auto;
}
.afford-cell {
  aspect-ratio: 1;
  background: var(--border-1);
  border-radius: 3px;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 500ms var(--ease-out), opacity 500ms var(--ease-out), background 500ms var(--ease-out);
}
.afford-cell.shown { transform: scale(1); opacity: 1; }
.afford-cell.gold { background: var(--hb-gold); box-shadow: 0 0 8px rgba(212,175,55,0.4); }

/* ============ STAT TILES ============ */
.stat-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 8px 0;
}
@media (min-width: 720px) { .stat-tiles { grid-template-columns: repeat(3, 1fr); } }
.stat-tile {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--dur-med) var(--ease-out);
}
.stat-tile::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--hb-gold-gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 600ms var(--ease-out);
}
.stat-tile.in-view::before { transform: scaleX(1); }
.stat-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 16px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--hb-ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-delta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  font-size: 13px; font-weight: 600;
  color: var(--status-success);
  background: rgba(47,122,58,0.08);
  padding: 4px 10px; border-radius: 999px;
}
.stat-cap {
  font-size: 13px; color: var(--fg-2);
  margin-top: 14px;
  line-height: 1.5;
}
.stat-source {
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-1);
}

/* ============ PERSONA TOGGLE ============ */
.persona-toggle {
  background: var(--hb-ink);
  border-radius: var(--radius-lg);
  padding: 24px 24px 22px;
  color: #fff;
  margin: 8px 0 32px;
}
.persona-toggle .label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--hb-gold);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.persona-toggle .label::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.15);
}
.persona-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.persona-chip {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-family: inherit;
  font-size: 13px; font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.persona-chip:hover { border-color: var(--hb-gold); color: #fff; }
.persona-chip.active {
  background: var(--hb-gold);
  border-color: var(--hb-gold);
  color: var(--hb-ink);
  font-weight: 600;
}

/* ============ BILL CARDS ============ */
.bill-card {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 32px 32px 28px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--dur-med) var(--ease-out);
}
.bill-card:hover { box-shadow: var(--shadow-md); }
.bill-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 6px;
}
.bill-card.oppose::before { background: var(--status-error); }
.bill-card.support::before { background: var(--status-success); }
.bill-card.ballot::before { background: var(--hb-gold); }

.bill-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.bill-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.bill-badge.oppose { background: rgba(163,38,31,0.08); color: var(--status-error); }
.bill-badge.support { background: rgba(47,122,58,0.08); color: var(--status-success); }
.bill-badge.ballot { background: var(--hb-gold-light); color: var(--hb-gold-dark); }
.bill-id {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600;
  color: var(--fg-3);
  letter-spacing: 0.04em;
}
.bill-card h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--hb-ink);
  margin: 0 0 18px;
}
.bill-section {
  margin-top: 20px;
}
.bill-section h4 {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 10px;
}
.bill-section p { font-size: 15px; line-height: 1.65; color: var(--hb-ink); margin: 0; }
.bill-section ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.bill-section ul li {
  font-size: 14.5px; line-height: 1.6;
  color: var(--fg-2);
  padding-left: 22px;
  position: relative;
}
.bill-section ul li::before {
  content: ''; position: absolute; left: 4px; top: 11px;
  width: 6px; height: 6px;
  background: var(--hb-gold);
  border-radius: 999px;
}
.bill-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  color: var(--fg-2);
  background: var(--hb-paper);
  padding: 6px 12px;
  border-radius: 6px;
  margin-top: 18px;
}
.bill-status .pip { width: 6px; height: 6px; background: var(--hb-gold); border-radius: 999px; }

.persona-line {
  margin-top: 22px;
  padding: 18px 22px;
  background: var(--hb-paper);
  border-left: 3px solid var(--hb-gold);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--hb-ink);
  position: relative;
}
.persona-line .who {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--hb-gold-dark);
  margin-bottom: 6px;
}
.persona-line.fade {
  animation: lineFade 280ms var(--ease-out);
}
@keyframes lineFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ YOUTUBE EMBED ============ */
.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--hb-ink);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 22px 0 8px;
  cursor: pointer;
}
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-poster {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #2D2D2D 0%, #1A1A18 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.video-play {
  width: 72px; height: 72px;
  border-radius: 999px;
  background: var(--hb-gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--hb-ink);
  box-shadow: 0 12px 32px rgba(212,175,55,0.4);
  transition: transform var(--dur-med) var(--ease-out);
}
.video-embed:hover .video-play { transform: scale(1.08); }
.video-play svg { margin-left: 4px; }

/* ============ DREAM FOR ALL ============ */
.dream-card {
  background: linear-gradient(135deg, #fff 0%, var(--hb-paper) 100%);
  border: 2px solid var(--hb-gold);
  border-radius: var(--radius-xl);
  padding: 36px 36px 32px;
  position: relative;
  box-shadow: var(--shadow-md);
}
.dream-card::after {
  content: '';
  position: absolute; inset: 6px;
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: calc(var(--radius-xl) - 6px);
  pointer-events: none;
}
.dream-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--hb-gold-dark);
  background: var(--hb-gold-light);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.dream-card h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--hb-ink);
  margin: 0 0 8px;
}
.dream-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: 22px 0 4px;
}
@media (min-width: 720px) { .dream-grid { grid-template-columns: 1.2fr 1fr; gap: 32px; } }
.dream-stat-block {
  background: var(--hb-ink);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.dream-stat-block h5 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--hb-gold);
  margin: 0 0 14px;
}
.dream-bar-row { margin: 12px 0 4px; }
.dream-bar-row + .dream-bar-row { margin-top: 18px; }
.dream-bar-row .label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}
.dream-bar-row .label strong {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.dream-bar {
  height: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
}
.dream-bar .fill {
  display: block;
  height: 100%;
  background: var(--hb-gold-gradient);
  border-radius: 999px;
  width: 0%;
  transition: width 1200ms var(--ease-out);
}
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--hb-ink);
  letter-spacing: -0.01em;
  margin: 28px 0 0;
  padding: 24px 0 4px;
  border-top: 1px solid var(--border-1);
  position: relative;
}
.pull-quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--hb-gold);
  line-height: 0;
  position: absolute;
  top: 36px; left: -8px;
  opacity: 0.25;
}
.pull-quote .stats {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 14px;
  margin-top: 14px;
  color: var(--fg-2);
}
.pull-quote .stats span strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700;
  color: var(--hb-gold-dark);
  font-variant-numeric: tabular-nums;
}
.pull-quote cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 16px;
}

.dream-bullets { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.dream-bullets li {
  font-size: 14.5px; line-height: 1.6;
  color: var(--fg-2);
  padding-left: 28px;
  position: relative;
}
.dream-bullets li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--hb-gold);
  color: #fff;
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  font-weight: 700;
}

/* ============ ACCORDION (OTHER BILLS) ============ */
.accordion { border-top: 1px solid var(--border-1); }
.accordion-row {
  border-bottom: 1px solid var(--border-1);
}
.accordion-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 16px;
  align-items: center;
  background: transparent;
  border: 0;
  padding: 18px 4px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--hb-ink);
  transition: background var(--dur-fast) var(--ease-out);
}
.accordion-trigger:hover { background: var(--hb-paper); }
.acc-chip {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.acc-chip.oppose { background: rgba(163,38,31,0.08); color: var(--status-error); }
.acc-chip.support { background: rgba(47,122,58,0.08); color: var(--status-success); }
.acc-chip.thank { background: var(--hb-gold-light); color: var(--hb-gold-dark); }

.acc-id {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--hb-ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.acc-id .author {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 500;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.acc-summary {
  font-size: 14px; color: var(--fg-2);
  line-height: 1.5;
}
.acc-icon {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--hb-paper);
  color: var(--fg-2);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur-fast) var(--ease-out);
  flex-shrink: 0;
}
.accordion-trigger[aria-expanded="true"] .acc-icon {
  background: var(--hb-gold);
  color: #fff;
  transform: rotate(180deg);
}
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms var(--ease-out);
}
.accordion-panel > .inner { overflow: hidden; }
.accordion-trigger[aria-expanded="true"] + .accordion-panel {
  grid-template-rows: 1fr;
}
.accordion-panel .inner-pad {
  padding: 0 4px 22px 96px;
  font-size: 14.5px; line-height: 1.65;
  color: var(--fg-2);
}

@media (max-width: 600px) {
  .accordion-trigger { grid-template-columns: auto auto auto; grid-template-rows: auto auto; row-gap: 8px; }
  .acc-summary { grid-column: 1 / -1; }
  .accordion-panel .inner-pad { padding: 0 4px 22px 4px; }
}

/* ============ ACTION ITEMS ============ */
.actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) { .actions { grid-template-columns: repeat(3, 1fr); } }
.action-card {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--dur-med) var(--ease-out);
}
.action-card:hover { border-color: var(--hb-gold); box-shadow: var(--shadow-sm); }
.action-num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 800;
  color: var(--hb-gold);
  letter-spacing: -0.04em;
  line-height: 1;
}
.action-card h4 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700;
  color: var(--hb-ink);
  margin: 10px 0 8px;
  letter-spacing: -0.01em;
}
.action-card p { font-size: 14px; line-height: 1.6; color: var(--fg-2); margin: 0; }

/* ============ AUTHOR CARD ============ */
.author-card {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 600px) { .author-card { grid-template-columns: 140px 1fr; gap: 32px; } }
.author-photo {
  width: 140px; height: 140px;
  border-radius: 999px;
  object-fit: cover;
  outline: 2px solid var(--hb-gold);
  outline-offset: 4px;
  margin: 0 auto;
  display: block;
}
.author-card h4 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
  margin: 0;
  color: var(--hb-ink);
  letter-spacing: -0.02em;
}
.author-card .role { font-size: 13px; color: var(--fg-2); margin: 2px 0 8px; }
.author-card .bio { font-size: 15px; line-height: 1.65; color: var(--fg-2); margin: 8px 0 12px; }
.author-card .contact-row {
  display: flex; flex-wrap: wrap; gap: 14px 22px;
  font-size: 13px; color: var(--fg-2);
  padding-top: 14px;
  border-top: 1px solid var(--border-1);
}
.author-card .contact-row a { color: var(--hb-gold-dark); font-weight: 600; }
.author-card .contact-row .pill {
  display: inline-flex; align-items: center; gap: 6px;
}

/* ============ CTA PANEL ============ */
.cta-panel {
  background: var(--hb-ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-panel::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(212,175,55,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 0%, rgba(212,175,55,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.cta-panel > * { position: relative; }
.cta-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--hb-gold);
  margin: 0 0 14px;
}
.cta-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 16px;
  max-width: 22ch;
  margin-inline: auto;
}
.cta-panel .body {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 56ch;
  margin: 0 auto 32px;
}
.cta-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--hb-gold-gradient);
  color: var(--hb-ink);
  font-weight: 700; font-size: 15px;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow-gold-md);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.cta-pill:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(212,175,55,0.45); }
.cta-phone {
  display: block;
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}
.cta-phone a { color: var(--hb-gold); font-weight: 600; }

/* ============ TAGS / DISCLAIMER ============ */
.tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 24px 0;
}
.tag-chip {
  font-size: 12px; font-weight: 500;
  color: var(--fg-2);
  background: var(--hb-paper);
  border: 1px solid var(--border-1);
  padding: 7px 14px;
  border-radius: 999px;
  transition: all var(--dur-fast) var(--ease-out);
  cursor: pointer;
}
.tag-chip:hover { border-color: var(--hb-gold); color: var(--hb-gold-dark); background: var(--hb-gold-light); }

.disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: var(--fg-3);
  padding: 24px 0 0;
  border-top: 1px solid var(--border-1);
  font-style: italic;
}

/* ============ FOOTER ============ */
.site-footer {
  margin-top: 80px;
  border-top: 2px solid rgba(212,175,55,0.3);
  background: var(--hb-warm-gray);
  padding: 32px 0;
}
.site-footer .container {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--fg-3);
}
.site-footer img { height: 32px; opacity: 0.7; }

/* ============ FLOATING CTA ============ */
.floating-cta {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--hb-gold-gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold-md);
  z-index: 100; cursor: pointer; border: 0;
  transition: transform var(--dur-med) var(--ease-out);
}
.floating-cta:hover { transform: scale(1.06); }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out), filter 700ms var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ============ MOBILE REFINEMENTS ============ */
@media (max-width: 720px) {
  .container, .container-narrow { padding: 0 18px; }
  .editorial-bar { font-size: 11px; padding: 8px 0; }
  .editorial-bar .left { gap: 8px; }
  .site-header nav { height: 56px; }
  .brand-lockup { font-size: 19px; }
  .brand-lockup .dom { font-size: 14px; }

  .hero-inner { padding: 64px 18px 72px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.75rem); margin: 18px 0 20px; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .hero-byline { gap: 10px 14px; font-size: 12px; padding-top: 18px; }
  .hero-byline .author img { width: 30px; height: 30px; }
  .eyebrow-tag { font-size: 10px; padding: 6px 11px; }

  .article-grid { padding: 40px 18px 56px; gap: 32px; }
  .article-body > * + * { margin-top: 22px; }

  .tldr { padding: 22px 20px; border-radius: 12px; }
  .tldr h3 { font-size: 19px; margin-bottom: 14px; }
  .tldr li { font-size: 14.5px; padding-left: 28px; }

  .prose h2 { font-size: clamp(24px, 6vw, 30px); margin: 40px 0 14px; }
  .prose p { font-size: 16px; line-height: 1.7; }
  .prose p.lead, .prose p.dropcap { font-size: 16px; }
  .prose p.lead::first-letter, .prose p.dropcap::first-letter { font-size: 3.5em; margin: 6px 8px 0 0; }

  .affordability { padding: 22px 20px; gap: 24px; }
  .afford-copy h3 { font-size: 22px; }
  .afford-copy .big { font-size: clamp(48px, 14vw, 72px); }
  .afford-grid { max-width: 100%; gap: 4px; }

  .stat-tiles { gap: 14px; }
  .stat-tile { padding: 22px 20px; }
  .stat-value { font-size: clamp(34px, 9vw, 44px); }

  .persona-toggle { padding: 18px 18px 16px; }
  .persona-chips { gap: 6px; }
  .persona-chip { font-size: 12px; padding: 8px 13px; }

  .bill-card { padding: 24px 22px 22px; }
  .bill-card::before { width: 4px; }
  .bill-card h3 { font-size: 22px; margin-bottom: 14px; }
  .bill-header { gap: 10px; margin-bottom: 12px; }
  .bill-badge { font-size: 10px; padding: 5px 10px; }
  .bill-id { font-size: 11px; }
  .bill-section { margin-top: 16px; }
  .bill-section p { font-size: 14.5px; }
  .bill-section ul li { font-size: 14px; }
  .persona-line { padding: 14px 16px; font-size: 15px; margin-top: 18px; }

  .video-embed { margin: 18px 0 6px; border-radius: 10px; }
  .video-poster { font-size: 11px; gap: 12px; padding: 0 16px; text-align: center; }
  .video-play { width: 56px; height: 56px; }
  .video-play svg { width: 22px; height: 22px; }

  .dream-card { padding: 24px 22px 22px; border-radius: 14px; }
  .dream-card::after { inset: 4px; border-radius: 10px; }
  .dream-card h3 { font-size: 22px; }
  .dream-stat-block { padding: 18px 18px; }
  .dream-bar-row .label strong { font-size: 18px; }
  .pull-quote { font-size: 18px; padding: 22px 0 4px; }
  .pull-quote::before { font-size: 60px; top: 32px; left: -4px; }
  .pull-quote .stats { gap: 14px; font-size: 13px; }
  .pull-quote .stats span strong { font-size: 22px; }
  .dream-bullets li { font-size: 14px; padding-left: 26px; }

  .accordion-trigger { padding: 14px 4px; gap: 10px; }
  .acc-id { font-size: 16px; }
  .acc-id .author { font-size: 10px; }
  .acc-chip { font-size: 9.5px; padding: 4px 8px; letter-spacing: 0.1em; }
  .acc-summary { font-size: 13px; }
  .acc-icon { width: 24px; height: 24px; }

  .actions { gap: 14px; }
  .action-card { padding: 20px 20px; }
  .action-num { font-size: 30px; }
  .action-card h4 { font-size: 17px; }

  .author-card { padding: 24px 22px; gap: 18px; }
  .author-photo { width: 100px; height: 100px; }
  .author-card h4 { font-size: 23px; }
  .author-card .bio { font-size: 14px; }
  .author-card .contact-row { gap: 10px 16px; font-size: 12.5px; }

  .cta-panel { padding: 40px 24px; border-radius: 14px; }
  .cta-panel h3 { font-size: clamp(24px, 7vw, 32px); }
  .cta-panel .body { font-size: 15px; }
  .cta-pill { font-size: 14px; padding: 14px 24px; }

  .tags { gap: 6px; padding: 18px 0; }
  .tag-chip { font-size: 11.5px; padding: 6px 12px; }

  .floating-cta { width: 50px; height: 50px; bottom: 18px; right: 18px; }
  .floating-cta svg { width: 20px; height: 20px; }

  .site-footer { margin-top: 56px; padding: 24px 0; }
  .site-footer img { height: 26px; }
}

@media (max-width: 420px) {
  .accordion-trigger { grid-template-columns: auto 1fr auto; row-gap: 6px; }
  .acc-chip { grid-column: 1; }
  .acc-id { grid-column: 2; }
  .acc-icon { grid-column: 3; }
  .acc-summary { grid-column: 1 / -1; }
  .hero-byline .sep { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .afford-cell { opacity: 1; transform: none; }
}
