/* =========================================================
   Bennington School Board Campaign — District-inspired blues
   Royal blue / navy (Bennington Badgers & community blue)
   ========================================================= */

:root {
  /* District-inspired blues */
  --navy: #0c2d5a;
  --navy-deep: #071f42;
  --navy-soft: #1a4a85;
  --royal: #1e4d9c;
  --royal-bright: #2a5fad;

  /* Primary accent (was green) — royal blue CTAs */
  --green: #1e4d9c;
  --green-hover: #163a78;
  --green-soft: #e8f0fa;

  --gold: #c9a84c;
  --silver: #c5ced8;
  --cream: #eef3f9;
  --page-bg: #e4edf7;
  --white: #ffffff;
  --text: #14233a;
  --text-muted: #4d5f75;
  --border: #c9d6e6;
  --shadow: 0 8px 30px rgba(12, 45, 90, 0.1);
  --shadow-lg: 0 16px 48px rgba(12, 45, 90, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --max: 1120px;
  --header-h: 72px;
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-hover);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4vw, 2.85rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}

.brand:hover { color: var(--navy); }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy-soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--green);
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  color: var(--navy);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  border-radius: 1px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  line-height: 1.2;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-hover);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-light:hover {
  background: var(--green-soft);
  color: var(--navy);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, #071f42 0%, #0c2d5a 42%, #1e4d9c 100%);
  color: var(--white);
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 80%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.2), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e8f0e9;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.hero-line {
  display: block;
}

.nowrap {
  white-space: nowrap;
  text-wrap: nowrap;
}

@media (min-width: 400px) {
  .hero-office {
    white-space: nowrap;
  }
}

.hero-lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}

.hero-card h2 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-card li {
  margin-bottom: 0.5rem;
}

.hero-card li strong {
  color: #fff;
}

.hero-card a {
  color: #fff;
  text-decoration: none;
}

.hero-card a:hover,
.hero-card a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, #f4f8fc 0%, #eaf1f9 100%);
}

.section-header {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.eyebrow {
  display: inline-block;
  color: var(--green);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* ---------- Cards / grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.section-alt .card {
  background: #f7fafd;
}

.card-share-wrap .share-url-field {
  display: block;
  width: 100%;
  margin: 0.75rem 0 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  box-sizing: border-box;
}

.card-share-wrap .btn {
  width: 100%;
}

.share-feedback {
  margin: 0.75rem 0 0;
  min-height: 1.4em;
  font-weight: 700;
  font-size: 0.95rem;
}

.share-feedback.is-success {
  color: var(--green-hover);
}

.share-feedback.is-error {
  color: #9a3412;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

/* ---------- About layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.photo-placeholder {
  aspect-ratio: 4 / 5;
  max-height: 480px;
  background:
    linear-gradient(160deg, #d6e4f5, #eef3f9);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-weight: 600;
}

.photo-placeholder span {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.candidate-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--navy-deep);
}

.candidate-photo img {
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.candidate-photo figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.checklist {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.85rem;
  border-bottom: 1px solid var(--border);
  text-wrap: pretty;
}

.checklist li:last-child { border-bottom: none; }

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* ---------- Why I'm running (home) ---------- */
.why-running-body {
  max-width: 720px;
  margin: 0 auto;
}

.why-running-body > p:first-of-type {
  font-size: 1.1rem;
}

.why-point {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin: 1rem 0;
  box-shadow: var(--shadow);
}

.why-point h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.why-point p:last-child {
  margin-bottom: 0;
}

.more-detail {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.more-detail p:last-child {
  margin-bottom: 0;
}

.more-detail-toggle {
  margin-top: 1rem;
}

/* ---------- Priority detail ---------- */
.priority-feature {
  margin: 1rem 0 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #0c2d5a;
  /* Keep photo from dominating the priority block */
  max-width: min(100%, 480px);
}

.priority-feature img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  max-height: 240px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center center;
  background: #0c2d5a;
}

.priority-feature figcaption {
  margin: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(120deg, #071f42 0%, #1e4d9c 100%);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.45;
}

.priority-feature figcaption strong {
  color: #fff;
  display: inline;
}

@media (max-width: 900px) {
  .priority-feature {
    margin-top: 0.75rem;
    max-width: 100%;
  }

  .priority-feature img {
    max-height: 200px;
  }
}

.priority-list {
  display: grid;
  gap: 1.25rem;
}

.priority-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.priority-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #071f42 0%, #0c2d5a 45%, #1e4d9c 100%);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow);
  max-width: 640px;
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.form-row .hint {
  display: block;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--text);
  background: #f0f5fb;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(30, 77, 156, 0.18);
  background: var(--white);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  background: var(--green-soft);
  border: 1px solid #b8cce8;
  color: var(--green-hover);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

.contact-details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-details dt {
  font-weight: 700;
  color: var(--navy);
  margin-top: 0.85rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-details dt:first-child { margin-top: 0; }

.contact-details dd {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
}

/* ---------- Placeholder callouts ---------- */
.placeholder-note {
  display: inline-block;
  background: #fff8e6;
  border: 1px solid #f0d78c;
  color: #7a5b10;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  margin: 0 0.15rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li { margin-bottom: 0.45rem; }

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.65);
}

.paid-for {
  font-style: italic;
}

/* ---------- Debt clock ---------- */
.debt-clock-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.debt-clock-panel {
  background: linear-gradient(145deg, #071f42 0%, #0c2d5a 50%, #1a4a85 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.debt-clock-panel-future {
  background: linear-gradient(145deg, #1a1028 0%, #2a1848 45%, #3d2466 100%);
  border-color: rgba(201, 168, 76, 0.35);
}

.debt-clock-badge {
  display: inline-block;
  align-self: center;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.debt-clock-badge-future {
  background: rgba(201, 168, 76, 0.22);
  border-color: rgba(201, 168, 76, 0.45);
  color: #f5e6b8;
}

.debt-clock-panel .debt-label {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
  margin: 0 0 0.6rem;
  font-weight: 600;
}

.debt-clock-panel .debt-amount {
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fee2e2;
  margin: 0.15rem 0 0.55rem;
  line-height: 1.15;
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}

.debt-clock-panel-future .debt-amount {
  color: #fde68a;
}

.debt-clock-panel .debt-rate {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

.debt-clock-panel .debt-rate-live {
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: #fecaca;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.debt-clock-panel-future .debt-rate-live {
  color: #fde68a;
}

.debt-clock-panel .debt-note {
  margin: 1rem 0 0;
  font-size: 0.84rem;
  opacity: 0.85;
  line-height: 1.45;
  text-align: left;
}

.debt-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.debt-stats-shared {
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.debt-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1rem 0.85rem;
  color: var(--white);
}

.debt-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.debt-stat span {
  font-size: 0.88rem;
  opacity: 0.85;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

.debt-pair-source {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 900px) {
  .debt-clock-pair {
    grid-template-columns: 1fr;
  }
}

.debt-disclaimer {
  background: #fff8e6;
  border: 1px solid #f0d78c;
  color: #5c4710;
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

.debt-disclaimer strong {
  color: #7a5b10;
}

/* Levy / homeowner impact */
.levy-panel {
  margin-top: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--royal);
}

.levy-panel h2 {
  margin-bottom: 0.75rem;
}

.levy-highlight {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 1.25rem;
  align-items: start;
  margin: 1.25rem 0;
  padding: 1.25rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.levy-rate-figure {
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0.25rem 0 0.15rem;
  line-height: 1.1;
}

.levy-rate-unit {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.levy-breakdown p {
  margin: 0 0 0.45rem;
  color: var(--text);
  font-size: 0.98rem;
}

.levy-breakdown p:last-child {
  margin-bottom: 0;
}

.levy-held {
  margin-top: 0.75rem !important;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted) !important;
  font-size: 0.92rem !important;
}

.levy-blurb {
  color: var(--text);
  margin: 0 0 1rem;
  max-width: 48rem;
  line-height: 1.65;
}

.levy-blurb:last-child {
  margin-bottom: 0;
}

.levy-blurb-note {
  background: var(--green-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.levy-math {
  color: var(--text-muted);
  font-size: 0.9em;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .levy-highlight {
    grid-template-columns: 1fr;
  }

  .levy-math {
    white-space: normal;
  }
}

/* Compact teaser on home page */
.debt-teaser {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.debt-teaser .debt-clock-panel {
  padding: 1.5rem 1.25rem;
}

.debt-teaser .debt-amount {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
}

/* Future debt (authorized but phased issuance) */
.future-debt-panel {
  margin-top: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}

.future-debt-panel h2 {
  margin-bottom: 0.5rem;
}

.future-debt-header p {
  color: var(--text-muted);
  max-width: 48rem;
}

.future-debt-amount-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.future-debt-figure {
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0.35rem 0 0;
  line-height: 1.15;
}

.future-debt-meta p {
  margin: 0 0 0.55rem;
  color: var(--text);
  font-size: 0.98rem;
}

.future-debt-meta p:last-child {
  margin-bottom: 0;
}

.future-debt-facts {
  margin: 1.25rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.future-debt-facts li {
  margin-bottom: 0.5rem;
}

.future-debt-facts strong {
  color: var(--navy);
}

.debt-disclaimer a {
  color: #7a5b10;
  font-weight: 600;
}

@media (max-width: 900px) {
  .debt-stats {
    grid-template-columns: 1fr;
  }

  .debt-teaser {
    grid-template-columns: 1fr;
  }

  .future-debt-amount-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-muted { color: var(--text-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
    display: none;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.5rem;
    border-bottom: none;
    border-radius: 8px;
  }

  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    background: var(--green-soft);
    border-bottom-color: transparent;
  }

  .nav-cta {
    margin: 0.5rem 0 0;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .priority-item {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}
