/* =============================================
   UNCAMPAIGN — Site Stylesheet
   Don Scott for Bedford Town Supervisor
   ============================================= */

/* --- Design Tokens --- */
:root {
  --cream:      #F8F5EF;
  --white:      #FFFFFF;
  --sage:       #7B8C79;
  --moss:       #3E5240;
  --charcoal:   #2B2B2B;
  --warm:       #6B5043;
  --muted:      #6A655E;
  --border:     #E0DBD3;
  --shadow-sm:  0 1px 3px rgba(43, 43, 43, 0.08);
  --shadow-md:  0 4px 16px rgba(43, 43, 43, 0.10);

  --serif: Georgia, 'Times New Roman', serif;
  --sans:  system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 4px;
  --max-w:  1100px;

  /* Spending thermometer fill — update to reflect actual spend percentage */
  --spend-pct: 26.25%;
}

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

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

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { color: var(--warm); }

ul { list-style: none; }

/* --- Typography Scale --- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: normal;
  line-height: 1.25;
  color: var(--charcoal);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.0625rem, 2vw, 1.375rem); }
h4 { font-size: 1.0625rem; }

p { max-width: 68ch; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding-block: 3rem; }
.section--alt { background: var(--white); }
@media (min-width: 768px) { .section { padding-block: 4.5rem; } }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
  min-height: 48px;
  line-height: 1.2;
}

.btn--primary {
  background: var(--moss);
  color: var(--white);
  border-color: var(--moss);
}
.btn--primary:hover {
  background: #2d3e2f;
  border-color: #2d3e2f;
  color: var(--white);
}

.btn--secondary {
  background: transparent;
  color: var(--moss);
  border-color: var(--moss);
}
.btn--secondary:hover {
  background: var(--moss);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn--subscribe {
  background: var(--warm);
  color: var(--white);
  border-color: var(--warm);
  font-size: 0.875rem;
  padding: 0.5rem 1.125rem;
  min-height: 40px;
}
.btn--subscribe:hover {
  background: #573f31;
  border-color: #573f31;
  color: var(--white);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .site-header .container { height: 64px; }
}

/* Logo */
.site-logo {
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1.2;
}
.site-logo__name {
  font-family: var(--serif);
  font-size: 1.0625rem;
  color: var(--charcoal);
  display: block;
}
.site-logo__race {
  font-size: 0.6875rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav__links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.site-nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.site-nav__links a:hover { color: var(--moss); }
.site-nav__links a[aria-current="page"] {
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

@media (min-width: 768px) {
  .site-nav__links { display: flex; }
  .nav-toggle { display: none; }
}

/* Hamburger — hidden by default (desktop); shown only on mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .nav-toggle { display: flex; }
}
.nav-toggle:hover { background: rgba(0, 0, 0, 0.05); }

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.site-nav__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  z-index: 99;
}
.site-nav__mobile.is-open { display: block; }
.site-nav__mobile a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  padding-block: 0.625rem;
  border-bottom: 1px solid var(--border);
}
.site-nav__mobile a:last-of-type { border-bottom: none; }
.site-nav__mobile a:hover { color: var(--moss); }
.site-nav__mobile a[aria-current="page"] { color: var(--moss); font-weight: 600; }
.site-nav__mobile .btn { width: 100%; margin-top: 1rem; }

/* =============================================
   HERO
   ============================================= */
.hero {
  padding-block: 4rem 3.5rem;
}

/* Mobile: 3 grid items stack in DOM order — text-top, image, text-bottom */
.hero__inner {
  display: grid;
  gap: 1.75rem;
}

/* Desktop: 2-column layout via named grid areas */
@media (min-width: 768px) {
  .hero { padding-block: 6rem 5rem; }
  .hero__inner {
    grid-template-columns: 1fr 340px;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "top   image"
      "bot   image";
    column-gap: 5rem;
    row-gap: 0;
    align-items: start;
  }
  .hero__text-top    { grid-area: top; padding-bottom: 1.25rem; }
  .hero__text-bottom { grid-area: bot; }
  .hero__image       { grid-area: image; margin-inline: 0; }
}

.hero__eyebrow  { margin-bottom: 0.875rem; }
.hero__headline { margin-bottom: 0; }

.hero__body {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 54ch;
}

/* Portrait column — soft ambient shape anchors image to hero composition on desktop */
.hero__image {
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  position: relative;
}
.hero__image::before {
  content: '';
  position: absolute;
  inset: -3rem -2.5rem -2rem -2rem;
  background: radial-gradient(
    ellipse at 58% 44%,
    rgba(123, 140, 121, 0.13) 0%,
    rgba(248, 245, 239, 0) 65%
  );
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 767px) {
  .hero__image::before { display: none; }
}

/* Portrait frame — swap src to update photo without touching layout */
.hero__image-frame {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #E8E4DC;
  box-shadow: 0 4px 24px rgba(43, 43, 43, 0.07);
  aspect-ratio: 5 / 6;
}
.hero__image-frame img,
.hero__image-frame svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   BEHAVES DIFFERENTLY — CARDS
   ============================================= */
.different__header {
  margin-bottom: 3rem;
}
.different__header h2 { margin-top: 0.5rem; }
.different__header p {
  color: var(--muted);
  margin-top: 0.75rem;
  max-width: none;
}

.cards-grid {
  display: grid;
  gap: 1.125rem;
  grid-template-columns: 1fr;
}
@media (min-width: 540px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  padding-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.card__icon {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.card__title {
  font-family: var(--serif);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.card__body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: none;
}
.card__indicator {
  position: absolute;
  bottom: 0.875rem;
  right: 1rem;
  font-size: 1.25rem;
  color: var(--moss);
  opacity: 0.65;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.card:focus-within .card__indicator {
  opacity: 1;
  transform: translateX(4px);
}

/* =============================================
   SPENDING THERMOMETER
   ============================================= */
.spending { text-align: center; }

.spending__header { margin-bottom: 2.5rem; }
.spending__header h2 { margin-top: 0.5rem; }
.spending__header p {
  color: var(--muted);
  margin-inline: auto;
  margin-top: 0.75rem;
}

.thermometer {
  max-width: 600px;
  margin-inline: auto;
}
.thermometer__track {
  height: 20px;
  background: var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.thermometer__fill {
  height: 100%;
  width: var(--spend-pct);
  min-width: 6px; /* visible sliver even at $0 */
  background: var(--sage);
  border-radius: 10px;
  transition: width 0.8s ease;
}
.thermometer__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.thermometer__summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.spend-stat { text-align: center; }
.spend-stat__value {
  font-family: var(--serif);
  font-size: 2.25rem;
  color: var(--charcoal);
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.spend-stat__label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.spending__note {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: none;
}
.spending__note a { color: var(--moss); }

/* =============================================
   AI TRANSPARENCY
   ============================================= */
.ai-section {
  background: var(--moss);
  color: var(--white);
}

.ai-section__inner {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 768px) {
  .ai-section__inner { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.ai-section .eyebrow { color: rgba(255, 255, 255, 0.55); }
.ai-section h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}
.ai-section p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
}
.ai-section p + p { margin-top: 0.875rem; }

.ai-points {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}
.ai-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.ai-point__icon {
  font-style: normal;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.15em;
  color: var(--sage);
  font-weight: 700;
}
.ai-point__text {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  max-width: none;
}
.ai-point__text strong { color: var(--white); }

/* =============================================
   FAQ ACCORDION
   ============================================= */
.faq__header { margin-bottom: 2.5rem; }
.faq__header h2 { margin-top: 0.5rem; }
.faq__header p { color: var(--muted); margin-top: 0.75rem; }

.faq-list { max-width: 680px; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.125rem;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.4;
}
.faq-item__question:hover { color: var(--moss); }

.faq-item__icon {
  font-style: normal;
  font-size: 1.375rem;
  line-height: 1;
  flex-shrink: 0;
  color: var(--sage);
  transition: transform 0.22s ease;
  user-select: none;
}
.faq-item__question[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq-item__answer-inner {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
}
.faq-item__answer-inner p + p { margin-top: 0.75rem; }
.faq-item__answer-inner a { color: var(--moss); }

.faq__more { margin-top: 2rem; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 1.75rem 1.5rem;
}

.site-footer p { max-width: none; }

.site-footer__inner {
  display: grid;
  gap: 1.25rem;
}
/* Mobile: compact 2-row footer — brand row + utility row */
@media (max-width: 767px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "nav   cta";
    align-items: start;
  }
  .footer-brand {
    grid-area: brand;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .footer-brand__tagline {
    margin-top: 0;
    font-size: 0.875rem;
    text-align: right;
    flex-shrink: 1;
    min-width: 0;
  }
  .footer-nav  { grid-area: nav; }
  .footer-cta  { grid-area: cta; }
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.footer-brand .site-logo__name { color: var(--white); }
.footer-brand .site-logo__race { color: var(--sage); }

.footer-brand__tagline {
  font-family: var(--serif);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.875rem;
  font-style: italic;
}

.footer-nav__label {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.875rem;
  font-weight: 600;
}
.footer-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  padding-block: 0.3rem;
}
.footer-nav a:hover { color: var(--white); }

.footer-cta p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.125rem;
}

.footer-social {
  display: flex;
  gap: 0.875rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  line-height: 1;
}
.footer-social a:hover { color: var(--white); }
.footer-social svg { display: block; }

/* Mobile: allow social icons to wrap below logo+tagline in the brand cell */
@media (max-width: 767px) {
  .footer-brand { flex-wrap: wrap; }
  .footer-brand .footer-social { width: 100%; margin-top: 0.75rem; }
}


/* =============================================
   INNER PAGE STYLES (template.html)
   ============================================= */
.page-hero {
  background: var(--moss);
  padding-block: 4rem 3.5rem;
}
.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
}
.page-hero h1 { color: var(--white); }
.page-hero__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.125rem;
  margin-top: 1rem;
  max-width: 58ch;
}

.page-content { padding-block: 4rem; }
.page-content h2 { margin-top: 2.5rem; margin-bottom: 0.875rem; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.625rem;
  color: var(--moss);
  font-size: 1.125rem;
}
.page-content p {
  color: var(--muted);
  margin-bottom: 1rem;
}
.page-content ul,
.page-content ol {
  padding-left: 1.375rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.page-content ul li { list-style: disc; margin-bottom: 0.375rem; }
.page-content ol li { list-style: decimal; margin-bottom: 0.375rem; }

.callout {
  border-left: 3px solid var(--sage);
  background: rgba(123, 140, 121, 0.07);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin-block: 2rem;
}
.callout p {
  color: var(--charcoal);
  margin: 0;
  max-width: none;
}
.callout p + p { margin-top: 0.5rem; }

/* =============================================
   ISSUES PAGE — SHARED SECTION HEADER
   ============================================= */
.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-top: 0.5rem; }
.section-header__lead {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 0.75rem;
  max-width: 60ch;
}

/* Personas section — wider, single-column intro */
.personas-intro { margin-bottom: 3rem; }
.personas-intro h2 { margin-top: 0.5rem; margin-bottom: 0.75rem; }
.personas-intro__lead {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: none;
}

/* =============================================
   ISSUES HERO
   ============================================= */
.issues-hero {
  background: var(--moss);
  padding-block: 2.5rem 2rem;
}
.issues-hero .eyebrow { color: rgba(255,255,255,0.55); margin-bottom: 0.875rem; }
.issues-hero h1 { color: var(--white); max-width: 22ch; margin-bottom: 0; }

/* Mobile-first: flex column in DOM order — eyebrow/h1 → image → deck → disclosure */
.issues-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.issues-hero__visual {
  display: block;
  width: 100%;     /* needed when element is <button> */
  padding: 0;      /* button reset */
  background: none;/* button reset */
  border: none;    /* button reset */
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  transition: box-shadow 0.18s ease;
}
.issues-hero__visual:hover {
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.36);
}
.issues-hero__visual:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 4px;
}
.issues-hero__visual img {
  width: 100%;
  height: auto;
  display: block;
}

.issues-hero__copy-bot {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.issues-hero__deck {
  color: rgba(255,255,255,0.85);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 52ch;
}

.roundtable-disclosure {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  border-left: 2px solid rgba(255,255,255,0.18);
  padding-left: 0.875rem;
  line-height: 1.6;
  max-width: 52ch;
}

/* Desktop: editorial two-column split */
@media (min-width: 768px) {
  .issues-hero { padding-block: 3.5rem 3rem; }
  .issues-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "top  img"
      "bot  img";
    gap: 0 3.5rem;
  }
  .issues-hero__copy-top {
    grid-area: top;
    align-self: end;
    padding-bottom: 1rem;
  }
  .issues-hero__copy-bot {
    grid-area: bot;
    align-self: start;
    padding-top: 1rem;
  }
  .issues-hero__visual {
    grid-area: img;
    align-self: center;
  }
  .issues-hero__visual img {
    width: 100%;
    height: auto;
  }
  .issues-hero__deck { max-width: none; }
  .roundtable-disclosure { max-width: none; }
}

@media (min-width: 960px) {
  .issues-hero__inner {
    grid-template-columns: 1fr 1.15fr;
    gap: 0 4.5rem;
  }
}

/* =============================================
   ISSUES EXPLAINER — COMBINED WHY + OFFERS
   ============================================= */
.issues-explainer {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .issues-explainer { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .issues-explainer__offers { align-self: center; }
}
.issues-explainer__why h2 { margin-top: 0.5rem; margin-bottom: 1rem; }
.issues-explainer__why p { color: var(--muted); margin-bottom: 0.875rem; max-width: 52ch; }
.issues-explainer__offers .eyebrow { margin-bottom: 1rem; display: block; }

.explainer-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.explainer-points li {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 1rem;
  border-left: 2px solid var(--sage);
  line-height: 1.6;
}
.explainer-points li strong { color: var(--charcoal); }

/* =============================================
   ROUNDTABLE IMAGE MODAL / LIGHTBOX
   ============================================= */
.rt-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.rt-modal[hidden] { display: none; }

.rt-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.88);
  cursor: pointer;
}

.rt-modal__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(92vw, 1100px);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
@media (prefers-reduced-motion: no-preference) {
  .rt-modal__frame { animation: rt-in 0.2s ease; }
}
@keyframes rt-in {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
.rt-modal__frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
}

.rt-modal__close {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.0625rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.rt-modal__close:hover { background: rgba(0, 0, 0, 0.88); }
.rt-modal__close:focus-visible { outline: 2px solid rgba(255,255,255,0.8); outline-offset: 2px; }

/* =============================================
   PERSONA GALLERY — CARD FLIP SYSTEM
   ============================================= */
.persona-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  padding: 0;
  margin-top: 2.5rem;
}
@media (min-width: 700px) {
  .persona-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .persona-gallery { grid-template-columns: repeat(4, 1fr); }
}

/* Card wrapper — no transform context needed since we use opacity swap */
.persona-card-wrapper { display: block; }

.persona-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s, transform 0.18s;
  outline-offset: 3px;
}
.persona-card:hover:not(.is-flipped) {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.persona-card:focus-visible { outline: 2px solid var(--moss); }

/* Front face — in flow, sets card height */
.persona-card__front {
  display: flex;
  flex-direction: column;
  transition: opacity 0.22s ease;
}
.persona-card.is-flipped .persona-card__front {
  opacity: 0;
  pointer-events: none;
}

/* Portrait container — 1:1 square */
.persona-card__portrait {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #EDE8DF;
  flex-shrink: 0;
}
.persona-card__portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  z-index: 1;
}
.persona-card__portrait-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  z-index: 0;
}
.persona-card__portrait-placeholder span {
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
  max-width: 12ch;
  line-height: 1.4;
}

/* Front text area */
.persona-card__front-text {
  padding: 1rem 1.125rem 1.125rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.persona-card__name {
  font-family: var(--serif);
  font-size: 0.9375rem;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.persona-card__subtitle {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.4;
  max-width: none;
  flex: 1;
}
.persona-card__hint { display: none; } /* replaced by portrait overlay */

/* Interactive hint — overlay at top of portrait */
.persona-card__portrait::after {
  content: "Tap to learn more";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.4rem 0.75rem;
  background: rgba(25, 25, 25, 0.5);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  z-index: 2;
}
@media (hover: hover) and (pointer: fine) {
  .persona-card__portrait::after { content: "Click to learn more"; }
}
.persona-card.is-flipped .persona-card__portrait::after { display: none; }

/* Back face — absolutely positioned, fades in on flip */
.persona-card__back {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  background: var(--cream);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.persona-card.is-flipped .persona-card__back {
  opacity: 1;
  pointer-events: auto;
}

.persona-card__back-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.persona-card__back-inner .persona-card__name { display: none; }

.persona-card__back-role {
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--sage);
  max-width: none;
  margin-bottom: 0.125rem;
}
.persona-card--chair .persona-card__back-role { color: rgba(255,255,255,0.45); }

.persona-card__back-name {
  font-family: var(--serif);
  font-size: 0.875rem;
  font-weight: bold;
  text-align: center;
  color: var(--charcoal);
  text-decoration: none;
  max-width: none;
  line-height: 1.3;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.125rem;
}
.persona-card--chair .persona-card__back-name { color: var(--white); border-color: rgba(255,255,255,0.2); }

.persona-card__back-inner p {
  font-size: 0.8125rem;
  color: var(--muted);
  max-width: none;
  line-height: 1.6;
}
.persona-card__back-label {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: none;
  line-height: 1.55;
}
.persona-card__back-label strong { color: var(--charcoal); }

.persona-card__back-btn {
  margin-top: auto;
  padding-top: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--sage);
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-left: 0;
}
.persona-card__back-btn:hover { color: var(--moss); }
.persona-card__back-btn:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }

/* Chair card variant — Don Scott */
.persona-card--chair { border-color: var(--moss); }
.persona-card--chair .persona-card__front { background: var(--moss); }
.persona-card--chair .persona-card__front-text { background: var(--moss); }
.persona-card--chair .persona-card__name { color: var(--white); }
.persona-card--chair .persona-card__subtitle { color: rgba(255,255,255,0.72); }
.persona-card--chair .persona-card__hint { color: rgba(255,255,255,0.5); }
.persona-card--chair .persona-card__back {
  background: #2d3e2f;
}
.persona-card--chair .persona-card__back .persona-card__name { color: var(--white); }
.persona-card--chair .persona-card__back-inner p { color: rgba(255,255,255,0.75); }
.persona-card--chair .persona-card__back-label { color: rgba(255,255,255,0.75); }
.persona-card--chair .persona-card__back-label strong { color: var(--white); }
.persona-card--chair .persona-card__back-btn { color: rgba(255,255,255,0.55); }
.persona-card--chair .persona-card__back-btn:hover { color: var(--white); }

/* Reduced motion — instant swap, no fade */
@media (prefers-reduced-motion: reduce) {
  .persona-card,
  .persona-card__front,
  .persona-card__back { transition: none; }
}

/* =============================================
   PERSONA GALLERY — MOBILE COMPACT ACCORDION
   ============================================= */

/* Compact row trigger — desktop hidden by default, shown on mobile */
.persona-row-trigger {
  display: none;
  width: 100%;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.125rem;
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
  min-height: 60px;
  transition: background 0.15s;
}
.persona-row-trigger:hover { background: var(--cream); }
.persona-row-trigger:focus-visible { outline: 2px solid var(--moss); outline-offset: -2px; }

.persona-row-trigger__text { flex: 1; min-width: 0; }
.persona-row-trigger__name {
  font-family: var(--serif);
  font-size: 0.9375rem;
  color: var(--charcoal);
  display: block;
  line-height: 1.3;
}
.persona-row-trigger__subtitle {
  font-size: 0.8rem;
  color: var(--muted);
  display: block;
  margin-top: 0.125rem;
  line-height: 1.4;
}
.persona-row-trigger__icon {
  font-size: 1.375rem;
  color: var(--sage);
  line-height: 1;
  flex-shrink: 0;
  font-style: normal;
  transition: transform 0.22s ease;
}
.persona-card-wrapper.is-expanded .persona-row-trigger__icon {
  transform: rotate(45deg);
}

/* Chair row trigger — subtle moss tint */
.persona-row-trigger--chair { background: rgba(62, 82, 64, 0.06); }
.persona-row-trigger--chair .persona-row-trigger__name { color: var(--moss); }
.persona-row-trigger--chair:hover { background: rgba(62, 82, 64, 0.12); }
.persona-card-wrapper.is-expanded .persona-row-trigger--chair { background: rgba(62, 82, 64, 0.1); }

/* Expandable card panel */
.persona-card-expandable { display: block; }

/* Mobile: compact stacked list */
@media (max-width: 699px) {
  .persona-row-trigger { display: flex; }

  .persona-gallery {
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-top: 2rem;
  }
  .persona-card-wrapper { border-bottom: 1px solid var(--border); }
  .persona-card-wrapper:last-child { border-bottom: none; }

  .persona-card-expandable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .persona-card-wrapper.is-expanded .persona-card-expandable {
    max-height: 700px;
  }

  /* Card inside expandable: flatten edges to merge with list */
  .persona-card-expandable .persona-card {
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--border);
    box-shadow: none;
  }
  .persona-card-expandable .persona-card:hover {
    transform: none;
    box-shadow: none;
  }
  /* Hide name/subtitle on mobile — row trigger already shows them */
  .persona-card__front-text { display: none; }
}

/* Desktop: expandable always open; tighten card typography for even grid */
@media (min-width: 700px) {
  .persona-card-expandable {
    max-height: none;
    overflow: visible;
  }
  .persona-card__name { font-size: 0.875rem; }
  .persona-card__subtitle { min-height: 2.5rem; }
  .persona-card__front-text { min-height: 5.25rem; }
  .persona-card__back { overflow-y: hidden; }
}

/* Reduced motion — disable accordion + icon transitions */
@media (max-width: 699px) and (prefers-reduced-motion: reduce) {
  .persona-card-expandable,
  .persona-row-trigger__icon { transition: none; }
}

/* =============================================
   WHAT THE ROUNDTABLE OFFERS
   ============================================= */
.offers-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  padding: 0;
  margin-top: 0;
}
@media (min-width: 560px) {
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .offers-grid { grid-template-columns: repeat(3, 1fr); }
}

.offer-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.375rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.offer-card__title {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.offer-card p {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: none;
  line-height: 1.65;
}

/* =============================================
   HOW WE BUILT IT — PROCESS STEPS
   ============================================= */
.process-steps {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
}

.process-step {
  display: flex;
  gap: 1.125rem;
  align-items: flex-start;
}
.process-step__number {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.process-step__content h3 {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 0.375rem;
}
.process-step__content p {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: none;
  line-height: 1.65;
}

/* =============================================
   ISSUE CARD GRID
   ============================================= */
.issue-grid {
  display: grid;
  gap: 0.875rem;
  grid-template-columns: 1fr;
  padding: 0;
  margin-top: 2.5rem;
}
@media (min-width: 600px) {
  .issue-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .issue-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Wide lead — let body copy span section width */
.section-header__lead--wide { max-width: none; }

.issue-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon title"
    ".    cta";
  column-gap: 0.625rem;
  row-gap: 0.5rem;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}
.issue-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--sage);
}
.issue-card__icon {
  grid-area: icon;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--sage);
  align-self: start;
  margin-top: 0.1em;
}
.issue-card__icon svg { width: 100%; height: 100%; display: block; }
.issue-card__title {
  grid-area: title;
  font-family: var(--serif);
  font-size: 0.875rem;
  color: var(--charcoal);
  line-height: 1.35;
  display: block;
}
.issue-card__explore {
  grid-area: cta;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  text-align: left;
}
.issue-card:hover .issue-card__explore { color: #2d3e2f; }

/* How This Was Built — CTA groups */
.cta-row--centered { justify-content: center; }
.howbuilt-cta-group { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.howbuilt-cta-group p { font-size: 0.875rem; color: var(--muted); text-align: center; max-width: 24ch; font-style: italic; }
.howbuilt-cta-group .btn--secondary:hover {
  background: rgba(123, 140, 121, 0.12);
  color: var(--moss);
  border-color: var(--moss);
}

/* =============================================
   ISSUES CTA SECTION
   ============================================= */
.issues-cta { background: var(--white); border-top: 1px solid var(--border); }
.issues-cta .eyebrow { color: var(--sage); }
.issues-cta h2 {
  color: var(--charcoal);
  margin-top: 0.5rem;
  max-width: 28ch;
}
.issues-cta p {
  color: var(--muted);
  margin-top: 1rem;
  max-width: none;
}

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

/* =============================================
   ISSUE DETAIL PAGE — Shared styles for all
   individual issue Roundtable pages
   ============================================= */

/* Back link — eyebrow-style uppercase, inside .issues-hero */
.issue-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-bottom: 1.125rem;
  transition: color 0.15s;
}
.issue-back:hover { color: rgba(255,255,255,0.88); }

/* Hero image placeholder — matches .issues-hero__visual treatment */
.issues-hero__visual--placeholder {
  cursor: default;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14) !important;
  box-shadow: none !important;
}
.issues-hero__visual--placeholder:hover { box-shadow: none !important; }
.issues-hero__visual--placeholder span {
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

/* Don's neutral framing — single column with speaker byline */
.don-framing { margin-top: 1.25rem; }

/* Speaker byline — light-background variant matching dons-view__speaker */
.don-framing__speaker {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.375rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid var(--border);
}
.don-framing__speaker-name {
  font-family: var(--serif);
  color: var(--charcoal);
  font-size: 1rem;
  display: block;
  line-height: 1.3;
  max-width: none;
}
.don-framing__speaker-role {
  font-size: 0.8rem;
  color: var(--sage);
  display: block;
  margin-top: 0.1875rem;
  max-width: none;
}

.don-framing__text p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: none;
}
.don-framing__text p:last-child { margin-bottom: 0; }

.don-framing__transition {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.7;
  border-left: 3px solid var(--sage);
  padding-left: 1.125rem;
  margin-top: 1.75rem;
  max-width: none;
}

/* Voice stack — Roundtable responses */
.voice-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  list-style: none;
  padding: 0;
}

.voice-panel {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.voice-panel:last-child { border-bottom: none; }

/* Alternating cream/white rhythm — keeps the section readable voice-by-voice */
.voice-panel:nth-child(even) { background: var(--cream); }
.voice-panel:nth-child(even) .voice-panel__trigger:hover { background: var(--border); }

/* Mobile trigger row */
.voice-panel__trigger {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 1rem 1.25rem;
  min-height: 64px;
  transition: background 0.15s;
}
.voice-panel__trigger:hover { background: var(--cream); }
.voice-panel__trigger:focus-visible { outline: 2px solid var(--moss); outline-offset: -2px; }

.voice-panel__meta { flex: 1; min-width: 0; }
.voice-panel__name {
  font-family: var(--serif);
  font-size: 0.9375rem;
  color: var(--charcoal);
  display: block;
  line-height: 1.3;
}
.voice-panel__role {
  font-size: 0.8rem;
  color: var(--sage);
  display: block;
  margin-top: 0.1875rem;
  letter-spacing: 0.03em;
  max-width: none;
}
.voice-panel__caret {
  font-style: normal;
  font-size: 1.375rem;
  color: var(--sage);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.22s ease;
  align-self: flex-start;
  margin-top: 0.25rem;
}
.voice-panel.is-open .voice-panel__caret { transform: rotate(45deg); }

/* Collapsible body */
.voice-panel__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.voice-panel.is-open .voice-panel__body { max-height: 1400px; }

.voice-panel__inner { padding: 0 1.25rem 1.375rem; }

/* Persona portrait — square, matching /issues card treatment */
.voice-panel__portrait {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  display: block;
}

/* Voice panel header — portrait + name/role, always in DOM (inside collapsible body) */
.voice-panel__header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--border);
}

/* Name/role text: hidden on mobile (trigger already shows them) */
.voice-panel__header-text { display: none; }
.voice-panel__header .voice-panel__name { font-size: 1rem; }

.voice-panel__pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--charcoal);
  line-height: 1.65;
  border-left: 3px solid var(--sage);
  padding-left: 1rem;
  margin-bottom: 1rem;
  max-width: none;
}
.voice-panel__inner p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.875rem;
  max-width: none;
}
.voice-panel__inner p:last-child { margin-bottom: 0; }

/* Mobile: portrait lives in the trigger row — hide duplicate header inside body */
@media (max-width: 767px) {
  .voice-panel__header { display: none; }
  .voice-panel__inner { padding-top: 1rem; }
}

/* Desktop: always-visible editorial layout */
@media (min-width: 768px) {
  .voice-panel__portrait { width: 60px; height: 60px; }
  .voice-panel__header-text { display: block; }

  .voice-stack {
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    gap: 0.875rem;
  }
  .voice-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
  }
  .voice-panel__trigger { display: none; }
  .voice-panel__body { max-height: none !important; overflow: visible; }
  .voice-panel__inner { padding: 1.5rem; }
}

/* Don's View — closing platform section */
.dons-view { background: var(--moss); }
.dons-view .eyebrow { color: rgba(255,255,255,0.55); }
.dons-view h2 { color: var(--white); margin-top: 0.5rem; margin-bottom: 1.75rem; }

.dons-view__layout {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .dons-view__layout { grid-template-columns: 3fr 2fr; gap: 4rem; align-items: start; }
}

/* Don speaker byline with portrait */
.dons-view__speaker {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.375rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.dons-view__speaker-name {
  font-family: var(--serif);
  color: var(--white);
  font-size: 1rem;
  display: block;
  line-height: 1.3;
  max-width: none;
}
.dons-view__speaker-role {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-top: 0.1875rem;
  max-width: none;
}
.dons-view .voice-panel__portrait { border: 1px solid rgba(255,255,255,0.18); }

.dons-view__prose p {
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: none;
}
.dons-view__prose p:last-child { margin-bottom: 0; }

.dons-view__commitment {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 1.5rem 1.625rem;
}
.dons-view__commitment-eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.875rem;
  font-weight: 600;
  display: block;
}
.dons-view__commitment p {
  font-family: var(--serif);
  font-size: 1rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.7;
  margin-bottom: 0;
  max-width: none;
}

@media (prefers-reduced-motion: reduce) {
  .voice-panel__body,
  .voice-panel__caret { transition: none; }
}

/* =============================================
   INSTRUCTION SET REVEAL PANEL
   ============================================= */
.instr-panel {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-align: left;
}

.instr-panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 1.25rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.instr-panel__title {
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage);
}

.instr-panel__copy {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.3125rem 0.75rem;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--moss);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.instr-panel__copy:hover,
.instr-panel__copy.is-copied {
  background: var(--moss);
  color: var(--white);
  border-color: var(--moss);
}
.instr-panel__copy:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 2px;
}

.instr-panel__controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.instr-panel__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.3125rem 0.625rem;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--moss);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.instr-panel__close:hover {
  background: var(--moss);
  color: var(--white);
  border-color: var(--moss);
}
.instr-panel__close:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 2px;
}

.instr-panel__body {
  padding: 1.5rem 1.25rem;
  overflow-x: hidden;
}

.instr-panel__text {
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--charcoal);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  max-width: none;
}

/* Rich HTML instruction panels — child element rules */
.instr-panel__text p  { max-width: none; margin-bottom: 0.5rem; }
.instr-panel__text ul,
.instr-panel__text ol { list-style: revert; padding-left: 1.5rem; margin: 0.5rem 0 0.75rem; }
.instr-panel__text li { margin-bottom: 0.35rem; }
.instr-panel__text li > p { margin-bottom: 0.35rem; }

@media (min-width: 768px) {
  .instr-panel__body { padding: 2rem; }
  .instr-panel__text { font-size: 0.9375rem; }
}

/* =============================================
   RULES PAGE — Card System
   ============================================= */

/* Intro */
.rules-intro p {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: none;
  margin-bottom: 1rem;
}
.rules-intro__standout {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  font-style: italic;
  color: var(--moss);
  line-height: 1.2;
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--sage);
  max-width: none;
}

/* Card list */
.rule-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

/* Card shell */
.rule-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Last rule — subtle shadow distinction only, no border override */
.rule-card--finale {
  box-shadow: 0 2px 12px rgba(62, 82, 64, 0.12);
}
.rule-card--finale .rule-card__cta {
  background: var(--moss);
  border-top-color: rgba(255, 255, 255, 0.15);
}
.rule-card--finale .rule-card__cta-label { color: rgba(255, 255, 255, 0.55); }
.rule-card--finale .rule-card__cta-heading { color: var(--white); }
.rule-card--finale .rule-card__cta-text { color: rgba(255, 255, 255, 0.72); }

/* Two-column inner grid: stacked on mobile, side-by-side on desktop */
.rule-card__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}

/* Rule content — left on desktop, top on mobile */
.rule-card .rule-card__content {
  padding: 1.5rem 1.5rem 1.75rem;
}

/* Oversized decorative number (legacy — superseded by .rule-card__icon) */
.rule-card .rule-card__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(4rem, 15vw, 6.5rem);
  line-height: 1;
  color: rgba(62, 82, 64, 0.09);
  letter-spacing: -0.02em;
  margin-bottom: -0.75rem;
  pointer-events: none;
  user-select: none;
}

/* Decorative icon — replaces oversized number, low-contrast, non-interactive */
.rule-card .rule-card__icon {
  display: block;
  width: clamp(2.25rem, 7vw, 3.5rem);
  height: clamp(2.25rem, 7vw, 3.5rem);
  color: rgba(62, 82, 64, 0.11);
  margin-bottom: 0.625rem;
  pointer-events: none;
  user-select: none;
}
.rule-card .rule-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke-width: 1.25;
}
.rule-card .rule-card__title {
  font-size: clamp(1.125rem, 3.5vw, 1.375rem);
  font-weight: normal;
  color: var(--charcoal);
  line-height: 1.3;
  margin: 0 0 0.625rem;
}
.rule-card .rule-card__desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0;
}

/* CTA module — right on desktop, bottom on mobile */
.rule-card .rule-card__cta {
  background: rgba(62, 82, 64, 0.035);
  border-top: 1px solid var(--border);
  padding: 1.375rem 1.5rem 1.625rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rule-card .rule-card__cta-label {
  font-family: var(--sans);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sage);
  margin: 0 0 0.5rem;
  max-width: none;
}
.rule-card .rule-card__cta-heading {
  font-family: var(--serif);
  font-size: 1.0625rem;
  color: var(--charcoal);
  line-height: 1.4;
  margin: 0 0 0.375rem;
}
.rule-card .rule-card__cta-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1rem;
  max-width: none;
}
.rule-card .cta-row {
  margin-top: 0;
  gap: 0.5rem;
}
.rule-card .btn {
  font-size: 0.875rem;
  padding: 0.5625rem 1.125rem;
}

/* Sign-off */
.rules-sign-off {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.rules-sign-off__line {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 3.5vw, 1.5rem);
  font-style: italic;
  color: var(--charcoal);
  max-width: none;
  line-height: 1.5;
  margin-inline: auto;
}

/* Desktop: side-by-side split */
@media (min-width: 768px) {
  .rule-card__inner {
    grid-template-columns: 3fr 2fr;
    align-items: stretch;
  }
  .rule-card .rule-card__content {
    padding: 1.5rem 2rem 1.75rem;
  }
  .rule-card .rule-card__num {
    margin-bottom: -1rem;
  }
  .rule-card .rule-card__desc {
    max-width: none;
  }
  .rule-card .rule-card__cta {
    border-top: none;
    border-left: 1px solid var(--border);
    padding: 1.5rem 2rem 1.75rem;
  }
  .rule-card--finale .rule-card__cta {
    border-left-color: rgba(255, 255, 255, 0.15);
  }
}
@media (min-width: 1024px) {
  .rule-card .rule-card__cta-heading { font-size: 1.125rem; }
}
.callout .cta-row {
  margin-top: 1rem;
  margin-bottom: 0;
}

/* =============================================
   SECTION COMPACT MODIFIER
   ============================================= */
.section--compact { padding-block: 1.75rem; }
@media (min-width: 768px) { .section--compact { padding-block: 2.25rem; } }

/* =============================================
   RULE CARDS — MOBILE ACCORDION
   Mirrors .persona-card-wrapper accordion on /issues
   ============================================= */

/* Toggle button — desktop hidden, mobile shown */
.rule-card__toggle { display: none; }

@media (max-width: 767px) {
  .rule-card__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    background: none;
    border: none;
    border-top: 1px solid var(--border);
    cursor: pointer;
    padding: 0.75rem 0 0;
    margin-top: 0.875rem;
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage);
    transition: color 0.15s;
  }
  .rule-card__toggle:hover { color: var(--moss); }
  .rule-card__toggle:focus-visible {
    outline: 2px solid var(--moss);
    outline-offset: 2px;
  }

  /* Chevron icon — rotates to × when expanded */
  .rule-card__toggle-icon {
    font-style: normal;
    font-size: 1.375rem;
    line-height: 1;
    flex-shrink: 0;
    color: var(--sage);
    transition: transform 0.22s ease;
  }
  .rule-card-wrapper.is-expanded .rule-card__toggle-icon {
    transform: rotate(45deg);
  }

  /* CTA panel — collapsed by default on mobile */
  .rule-card .rule-card__cta {
    border-top: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .rule-card-wrapper.is-expanded .rule-card .rule-card__cta {
    max-height: 600px;
    border-top: 1px solid var(--border);
    padding: 1.375rem 1.5rem 1.625rem;
  }
  /* Finale CTA border variant */
  .rule-card-wrapper.is-expanded .rule-card--finale .rule-card__cta {
    border-top-color: rgba(255, 255, 255, 0.15);
  }

  /* Hide repeated "Do this instead" eyebrow inside expanded panel —
     toggle button above already carries that label on mobile */
  .rule-card .rule-card__cta-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rule-card__toggle-icon,
  .rule-card .rule-card__cta { transition: none; }
}

/* =============================================
   CARD HOVER — DESKTOP / POINTER FINE ONLY
   ============================================= */
@media (hover: hover) and (pointer: fine) {
  .card {
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  }
  .card:hover {
    border-color: var(--sage);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
  .card:hover .card__indicator {
    opacity: 1;
    transform: translateX(4px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .card {
    transition: border-color 0.15s ease;
  }
  .card:hover { transform: none; }
  .card__indicator { transition: none; }
  .card:hover .card__indicator,
  .card:focus-within .card__indicator { transform: none; }
}

/* =============================================
   SPENDING — HOMEPAGE TWO-COLUMN REDESIGN
   ============================================= */

/* Override old centered default */
.spending { text-align: left; }

.spending__inner {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .spending__inner {
    grid-template-columns: 1fr 300px;
    gap: 4.5rem;
    align-items: start;
  }
}
@media (min-width: 960px) {
  .spending__inner { grid-template-columns: 1fr 320px; gap: 5rem; }
}

.spending__left .eyebrow { display: block; margin-bottom: 0.625rem; }
.spending__left h2 { margin-top: 0.375rem; margin-bottom: 1rem; }

.spending__body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 54ch;
}

/* Comparison bars */
.spend-compare {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.spend-compare-item__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}
.spend-compare-item__name {
  font-size: 0.875rem;
  color: var(--charcoal);
  font-weight: 500;
  max-width: none;
}
.spend-compare-item__amount {
  font-size: 0.8125rem;
  color: var(--muted);
  flex-shrink: 0;
  max-width: none;
  font-variant-numeric: tabular-nums;
}
.spend-compare-item__bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.spend-compare-item__fill {
  height: 100%;
  border-radius: 4px;
}
.spend-compare-item--typical .spend-compare-item__fill {
  background: #b8b0a6;
  width: 95%;
}
.spend-compare-item--this .spend-compare-item__fill {
  background: var(--sage);
  width: 4%;
  min-width: 6px;
}

/* Right column — meter card */
.spending__meter-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.875rem 1.625rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.spending__meter-eyebrow {
  display: block;
  margin-bottom: 0.75rem;
}
.spending__current-amount {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 8vw, 3.75rem);
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 0.25rem;
  display: block;
}
.spending__current-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  display: block;
  margin-bottom: 1.625rem;
}
/* Unset inherited centering constraints inside the card */
.spending__meter-card .thermometer {
  max-width: none;
  margin-inline: 0;
}
/* =============================================
   ISSUES-HERO — STATIC IMAGE VARIANT (homepage)
   Non-interactive image; no modal, no pointer cursor
   ============================================= */
div.issues-hero__visual--static {
  cursor: default;
  pointer-events: none;
}
div.issues-hero__visual--static:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
}

/* =============================================
   EXPENSE LIST — METER CARD (homepage spending)
   ============================================= */
.spending__expenses-label {
  display: block;
  margin-top: 1.5rem;
  margin-bottom: 0.625rem;
  text-align: left;
}
.expense-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.expense-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.expense-item:last-child { border-bottom: none; }
.expense-item__name {
  font-size: 0.875rem;
  color: var(--charcoal);
  max-width: none;
}
.expense-item__amount {
  font-size: 0.875rem;
  color: var(--muted);
  flex-shrink: 0;
  max-width: none;
  font-variant-numeric: tabular-nums;
}
.expense-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding-top: 0.625rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--border);
  text-align: left;
}
.expense-total__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--charcoal);
  max-width: none;
}
.expense-total__value {
  font-family: var(--serif);
  font-size: 1.0625rem;
  color: var(--charcoal);
  max-width: none;
  font-variant-numeric: tabular-nums;
}

/* =============================================
   HERO BUTTON VARIANTS
   White-background primary for dark hero sections
   ============================================= */
.btn--hero-primary {
  background: var(--white);
  color: var(--moss);
  border-color: var(--white);
}
.btn--hero-primary:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--moss);
}

/* =============================================
   MINUTES PAGE — PODCAST PLAYER + EPISODE CARDS
   ============================================= */

.minutes-section-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: none;
}
.minutes-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.minutes-player-section {
  margin-bottom: 3rem;
}

.minutes-player-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.minutes-player-wrap iframe {
  display: block;
  width: 100%;
  border: none;
}

.minutes-placeholder-player {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  padding: 2.5rem 2rem;
}
.minutes-placeholder-player p {
  max-width: none;
  text-align: center;
}

.minutes-coming-soon {
  font-family: var(--serif);
  font-size: 1.0625rem;
  color: var(--charcoal);
  font-style: italic;
  margin: 0;
}

.minutes-episodes {
  margin-top: 0;
}

/* =============================================
   EPISODE CARD GRID
   ============================================= */
.episode-grid {
  display: grid;
  gap: 0.875rem;
  grid-template-columns: 1fr;
  margin-top: 0;
}
@media (min-width: 600px) {
  .episode-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .episode-grid { grid-template-columns: repeat(3, 1fr); }
}

.episode-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.375rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.episode-card__date {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  max-width: none;
  margin: 0;
}

.episode-card__title {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.35;
  margin: 0.125rem 0 0.25rem;
}

.episode-card__desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  max-width: none;
  margin: 0;
}

.episode-card__meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--sage);
  font-weight: 500;
  max-width: none;
  margin-top: 0.375rem;
}
.episode-card__meta svg { flex-shrink: 0; }

.episode-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.625rem;
}

.episode-card__link {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--moss);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.3125rem 0.625rem;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.episode-card__link:hover {
  background: var(--moss);
  color: var(--white);
  border-color: var(--moss);
}

/* Hero CTA row — for buttons inside issues-hero__copy-bot */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1rem;
}

/* =============================================
   SHARED — Chat Request Modal
   Used on /don-bot and /rules
   ============================================= */
.chat-req-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.chat-req-modal[hidden] { display: none; }

.chat-req-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.7);
  cursor: pointer;
}

.chat-req-modal__frame {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 8px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2.5rem);
  max-height: calc(100dvh - 2.5rem);
}

@media (prefers-reduced-motion: no-preference) {
  .chat-req-modal__frame { animation: chat-modal-in 0.2s ease; }
}
@keyframes chat-modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-req-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
  flex-shrink: 0;
  border-radius: 8px 8px 0 0;
}

.chat-req-modal__title {
  font-family: var(--serif);
  font-size: 1.0625rem;
  color: var(--charcoal);
}

.chat-req-modal__close {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  flex-shrink: 0;
  transition: background 0.15s;
}
.chat-req-modal__close:hover { background: rgba(0,0,0,0.14); }
.chat-req-modal__close:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }

.chat-req-modal__body {
  padding: 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.chat-step__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

.chat-step__prompt {
  font-family: var(--serif);
  font-size: 1.0625rem;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.chat-choice-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.chat-choice-btn {
  flex: 1;
  min-width: 120px;
  min-height: 54px;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
  box-shadow: var(--shadow-sm);
}
.chat-choice-btn:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-md);
}
.chat-choice-btn.is-selected {
  border-color: var(--moss);
  background: rgba(62,82,64,0.06);
  color: var(--moss);
  box-shadow: 0 0 0 3px rgba(62,82,64,0.18), var(--shadow-sm);
}
.chat-choice-btn:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 2px;
}

.chat-step__nav {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.chat-req-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.chat-req-form label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--charcoal);
  display: block;
  margin-bottom: 0.375rem;
}
.chat-req-form__optional {
  font-weight: 400;
  color: var(--muted);
}
.chat-req-form input,
.chat-req-form textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.chat-req-form input:focus,
.chat-req-form textarea:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 2px rgba(62,82,64,0.12);
}
.chat-req-form input.is-invalid,
.chat-req-form textarea.is-invalid {
  border-color: #b84040;
}
.chat-req-form textarea {
  resize: vertical;
  min-height: 70px;
}
.chat-req-form__error {
  font-size: 0.8125rem;
  color: #b84040;
  background: #fef2f2;
  border: 1px solid #f5c6c6;
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  line-height: 1.5;
}
.chat-req-form__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
  align-items: center;
  justify-content: center;
}
.chat-req-form__actions .btn {
  font-size: 0.875rem;
  padding: 0.5625rem 1.125rem;
}

.btn--chat-back {
  background: #2d3e2f;
  color: var(--white);
  border-color: #2d3e2f;
}
.btn--chat-back:hover {
  background: #1e2e20;
  border-color: #1e2e20;
  color: var(--white);
}
.btn--chat-back:focus-visible {
  outline: 3px solid #2d3e2f;
  outline-offset: 2px;
}

.chat-req-modal__confirm {
  text-align: center;
  padding: 2rem 1.5rem;
}
.chat-req-modal__confirm p {
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.chat-req-modal__confirm .btn {
  font-size: 0.875rem;
  padding: 0.5625rem 1.125rem;
}

@media (prefers-reduced-motion: reduce) {
  .chat-req-modal__frame { animation: none; }
  .chat-choice-btn { transition: none; }
  .chat-req-form input,
  .chat-req-form textarea { transition: none; }
}

/* =============================================
   BEGIN SUBSCRIBE MODAL
   ============================================= */

/* Backdrop overlay */
#subscribe-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(10, 10, 10, 0.55);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  padding-top: calc(1.25rem + env(safe-area-inset-top, 0px));
}
#subscribe-modal-overlay.is-open {
  display: flex;
}

/* Modal panel */
.subscribe-modal__panel {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(43, 43, 43, 0.22);
  width: 100%;
  max-width: 480px;
  padding: 2rem 1.5rem 1.75rem;
  max-height: calc(100dvh - 2.5rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}
@media (min-width: 480px) {
  .subscribe-modal__panel { padding: 2.25rem 2.25rem 2rem; }
}

/* Close button */
.subscribe-modal__close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.subscribe-modal__close:hover {
  background: var(--moss);
  color: var(--white);
  border-color: var(--moss);
}
.subscribe-modal__close:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 2px;
}

/* Eyebrow label */
.subscribe-modal__eyebrow { margin-bottom: 0.5rem; }

/* Headline */
.subscribe-modal__headline {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  margin-bottom: 0.875rem;
  padding-right: 2.5rem;
}

/* Body copy */
.subscribe-modal__body {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: none;
  margin-bottom: 1.25rem;
}

/* Form layout */
.subscribe-modal__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.subscribe-modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.subscribe-modal__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
}

.subscribe-modal__optional {
  font-weight: 400;
  color: var(--muted);
}

.subscribe-modal__input {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.9375rem;
  font-family: var(--sans);
  padding: 0.625rem 0.875rem;
  width: 100%;
  min-height: 44px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.subscribe-modal__input:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(62, 82, 64, 0.15);
}
.subscribe-modal__input.is-invalid {
  border-color: #b84040;
  background: #fef2f2;
}

/* Inline error */
.subscribe-modal__error {
  font-size: 0.875rem;
  color: #b84040;
  margin: 0;
  margin-top: -0.25rem;
}

/* Submit button */
.subscribe-modal__submit {
  width: 100%;
  margin-top: 0.25rem;
}

/* Fine print */
.subscribe-modal__fine-print {
  font-size: 0.75rem;
  color: var(--muted);
  max-width: none;
  opacity: 0.8;
  line-height: 1.6;
  margin-top: 0.75rem;
  text-align: center;
}

/* Success state */
.subscribe-modal__success-view {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}
.subscribe-modal__success-icon {
  font-size: 2.5rem;
  color: var(--moss);
  margin: 0 0 0.75rem;
  line-height: 1;
}
.subscribe-modal__success-headline {
  padding-right: 0;
}
.subscribe-modal__done {
  margin-top: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .subscribe-modal__close,
  .subscribe-modal__input { transition: none; }
}

/* =============================================
   END SUBSCRIBE MODAL
   ============================================= */

