/* =========================================================================
   Bella Sláinte · Shared design system
   Equitable care through trusted AI
   ========================================================================= */

:root {
  /* Palette · WCAG 2.2 AA verified */
  --ink: #0A1F3C;
  --ink-soft: #1F2F4A;
  --warm-white: #FAF6F0;
  --sage: #6B8E7F;
  --sage-deep: #4A6B5E;
  --coral: #E8766D;        /* brand coral · heart accent · warmth · care */
  --coral-deep: #A04E32;   /* 5.32:1 on warm-white · safe for body/links */
  --slate: #4F5565;
  --tagline: #6B7A8C;
  --sand: #EDE6D8;
  --rule: #D6D0C2;

  --max-width: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem; /* sticky header */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--warm-white);
  padding: 12px 20px; text-decoration: none; font-weight: 500;
  border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

.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;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.0rem); line-height: 1.05; margin: 0 0 1.25rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.2; margin: 0 0 1rem; }
h3 { font-size: 1.3rem; line-height: 1.35; margin: 0 0 0.5rem; }
h4 { font-size: 1.05rem; line-height: 1.35; margin: 0 0 0.4rem; font-weight: 500; }

p { margin: 0 0 1rem; max-width: 62ch; }

a {
  color: var(--coral-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover, a:focus { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--coral-deep); outline-offset: 2px; border-radius: 2px; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* Shamrock mark */
.shamrock {
  display: inline-block;
  vertical-align: middle;
  color: var(--coral);
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.shamrock path {
  fill: none;
  stroke: currentColor;
  stroke-width: 12;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.shamrock.on-dark { color: var(--coral); }

/* Navigation */
header.site-header {
  position: sticky; top: 0;
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 0.5px solid var(--rule);
  z-index: 10;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.1rem 0;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.3rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  letter-spacing: -0.5px;
}
.wordmark .slainte { font-weight: 400; }

/* Tagline (Inter 400, brand-aligned) · reusable class */
.tagline {
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: var(--tagline);
}
.wordmark:hover, .wordmark:focus { text-decoration: none; }

.nav-links { display: flex; gap: clamp(0.9rem, 1.5vw, 1.5rem); align-items: center; flex-wrap: nowrap; justify-content: flex-end; }
.nav-links a {
  color: var(--slate); text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem; font-weight: 500; padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--coral-deep); }
.nav-links a.nav-cta {
  background: var(--ink); color: var(--warm-white);
  padding: 8px 18px; border-radius: 999px; border: none;
}
.nav-links a.nav-cta:hover { background: var(--ink-soft); color: var(--warm-white); }

/* Hero section */
.hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 5vw, 4.5rem); }
.hero.dark { background: var(--ink); color: var(--warm-white); }
.hero.dark h1 { color: var(--warm-white); }
.hero.sand { background: var(--sand); }

/* Last child's margin must not stack on the hero's own bottom padding. */
.hero .container > :last-child { margin-bottom: 0; }
.hero + .section { padding-top: clamp(2.5rem, 5vw, 3.5rem); }

.hero-shamrock { width: 72px; height: 72px; margin-bottom: 2rem; display: block; }
.hero-shamrock.lg { width: 96px; height: 96px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; color: var(--sage-deep);
  margin-bottom: 1.25rem; padding: 6px 14px;
  background: rgba(107, 142, 127, 0.12);
  border-radius: 999px; font-weight: 500;
  letter-spacing: 0.02em;
}
.eyebrow .dot {
  width: 6px; height: 6px; background: var(--sage-deep);
  border-radius: 50%;
}
.hero.dark .eyebrow { background: rgba(217, 119, 87, 0.15); color: var(--coral); }
.hero.dark .eyebrow .dot { background: var(--coral); }

.pronounce {
  display: block; margin-top: 0.75rem;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic; font-size: 1rem;
  color: var(--slate); font-weight: 400;
}
.hero.dark .pronounce { color: #B8B3A8; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--slate);
  max-width: 58ch; margin: 1.5rem 0 2rem;
  line-height: 1.55;
}
.hero.dark .lede { color: #C8C4BA; }

/* Buttons */
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 0.5rem; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-size: 0.95rem; font-weight: 500;
  padding: 13px 24px; border-radius: 999px;
  text-decoration: none; transition: all 0.2s ease;
  border: 1.5px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--warm-white); }
.btn-primary:hover { background: var(--ink-soft); color: var(--warm-white); transform: translateY(-1px); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--warm-white); text-decoration: none; }
.hero.dark .btn-primary { background: var(--coral); color: var(--ink); }
.hero.dark .btn-primary:hover { background: var(--coral-deep); color: var(--warm-white); }
.hero.dark .btn-secondary { color: var(--warm-white); border-color: var(--warm-white); }
.hero.dark .btn-secondary:hover { background: var(--warm-white); color: var(--ink); }

/* Trust strip */
.trust {
  padding: 2.25rem 0;
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
}
.trust-label {
  font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--slate);
  margin-bottom: 1.25rem; font-weight: 500;
}
.trust-items {
  display: flex; gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap; align-items: flex-start;
}
.trust-item {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem; color: var(--ink); font-weight: 500;
}
.trust-item span {
  display: block; font-family: "Inter", sans-serif;
  font-size: 0.78rem; color: var(--slate); font-weight: 400;
  margin-top: 2px; letter-spacing: 0; text-transform: none;
}

/* Generic section wrappers */
.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section.sand { background: var(--sand); }

/* Two bands of the same colour in a row read as one region, so the seam
   between them needs one gap and not two. Where the colour changes, the
   change is the separator and both paddings stay. */
.section + .section { padding-top: 0; }
.section.sand + .section:not(.sand),
.section.ink + .section:not(.ink),
.section:not(.sand):not(.ink) + .section.sand,
.section:not(.sand):not(.ink) + .section.ink,
.section.sand + .section.ink,
.section.ink + .section.sand { padding-top: clamp(4rem, 8vw, 6rem); }
.section.ink { background: var(--ink); color: var(--warm-white); }
.section.ink h2, .section.ink h3, .section.ink h4 { color: var(--warm-white); }
.section.ink p { color: #C8C4BA; }
.section.ink a { color: var(--coral); }

.section-header { max-width: 58ch; margin-bottom: 3rem; }
.section-header p { color: var(--slate); font-size: 1.1rem; }
.section-kicker {
  font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--sage-deep);
  margin-bottom: 1rem; font-weight: 500;
}
.section.ink .section-kicker { color: var(--sage); }
.section.ink .card--quiet .card__label { color: var(--sage); }

/* Card grids */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }

/* Solution cards (three audiences) */
.solution-card {
  background: var(--warm-white);
  border: 0.5px solid var(--rule);
  border-radius: var(--radius); padding: 2rem 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(14, 31, 58, 0.08);
  border-color: var(--slate);
  text-decoration: none;
}
.solution-card .eyebrow-sm {
  font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--coral-deep);
  margin-bottom: 1rem; font-weight: 600;
}
.solution-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.solution-card p { color: var(--slate); font-size: 0.98rem; margin-bottom: 1.25rem; flex-grow: 1; }
.solution-card .arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--coral-deep); font-weight: 500; font-size: 0.95rem;
}
.solution-card:hover .arrow { gap: 10px; }
.section.sand .solution-card { background: var(--warm-white); }

/* Principle cards */
.principle {
  padding: 1.75rem;
  border: 0.5px solid rgba(248, 245, 239, 0.15);
  border-radius: var(--radius);
  background: rgba(248, 245, 239, 0.03);
}

/* Team cards */
.team-card {
  background: var(--warm-white);
  border: 0.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.team-card .avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sage-deep);
  color: var(--warm-white);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem; font-weight: 500;
  margin-bottom: 1rem;
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 0.15rem; }
.team-card .role {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic; color: var(--coral-deep);
  font-size: 0.98rem; margin-bottom: 0.9rem;
}
.team-card p {
  font-size: 0.92rem; color: var(--slate);
  line-height: 1.6; margin: 0 0 0.75rem 0;
  max-width: none;
}
.team-card .team-links {
  font-size: 0.85rem; margin-top: 0.5rem;
}
.section.sand .team-card { background: var(--warm-white); }

/* Bullet lists · content lists on pages */
.ul-clean { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ul-clean li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}
.ul-clean li::before {
  content: ""; position: absolute; left: 0; top: 0.75rem;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral-deep);
}

/* Pain + value table (audience pages) */
.paired-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2rem; }
@media (max-width: 760px) { .paired-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.paired-grid h3 {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem; letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 600;
  margin-bottom: 1rem;
}
.paired-grid .pain h3 { color: var(--slate); }
.paired-grid .value h3 { color: var(--sage-deep); }

/* Feature rows */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 0.5px solid var(--rule);
}
.feature-row:last-child { border-bottom: none; }
@media (max-width: 760px) { .feature-row { grid-template-columns: 1fr; gap: 0.5rem; } }
.feature-row .feature-label {
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.95rem; color: var(--coral-deep);
  font-style: italic;
  margin-bottom: 0.35rem;
}
.feature-row h3 { font-size: 1.4rem; margin-bottom: 0; }
.feature-row p { color: var(--slate); margin-top: 0.5rem; }

/* Pull quote */
.pullquote {
  background: var(--sand);
  padding: 2rem 2.25rem;
  border-radius: var(--radius);
  max-width: 56ch;
  margin: 2.5rem auto;
}
.pullquote p {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 1rem;
}
.pullquote cite {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--slate);
}

/* Story grid (founder section) */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 800px) { .story-grid { grid-template-columns: 1fr; } }
.story-grid .aside-shamrock { width: 160px; height: 160px; margin-bottom: 1.5rem; }
.story-grid .aside-shamrock path { stroke-width: 6; }
.story-grid .aside-caption {
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.95rem; color: var(--slate); line-height: 1.55;
  font-style: italic;
}
.story-grid p {
  font-size: 1.08rem; line-height: 1.75; color: var(--ink);
  max-width: none;
}
.signature {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic; color: var(--slate);
  font-size: 0.98rem; margin-top: 2rem;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.82rem; color: var(--slate);
  margin-bottom: 1.25rem; letter-spacing: 0.02em;
}
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--coral-deep); }
.breadcrumb-sep { margin: 0 0.5rem; color: var(--rule); }

/* Contact block */
.contact-block {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--ink); color: var(--warm-white);
}
.contact-block h2 { color: var(--warm-white); margin-bottom: 1.25rem; }
.contact-block p { color: #C8C4BA; font-size: 1.08rem; max-width: 56ch; margin-bottom: 2rem; }
.contact-block a { color: var(--coral); font-weight: 500; }
.contact-block a:hover { color: var(--warm-white); }
.contact-details {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; margin-top: 2rem; padding-top: 2rem;
  border-top: 0.5px solid rgba(248, 245, 239, 0.15);
}
.contact-details .label {
  font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: #B8B3A8;
  margin-bottom: 0.4rem; font-weight: 500;
}

/* Footer */
footer.site-footer {
  padding: 1.75rem 0;
  border-top: 0.5px solid rgba(248, 245, 239, 0.15);
  background: var(--ink);
  color: #B8B3A8;
  font-size: 0.82rem;
}
footer.site-footer .container {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 1rem; align-items: center;
}
footer.site-footer .foot-mark { display: inline-flex; align-items: center; gap: 10px; }
footer.site-footer .foot-mark .shamrock { width: 18px; height: 18px; }
footer.site-footer .foot-mark .shamrock { color: var(--coral); }
footer.site-footer a { color: #B8B3A8; }
footer.site-footer a:hover { color: var(--coral); }
footer.site-footer .foot-mark .foot-entities { line-height: 1.45; }
footer.site-footer .foot-links { display: inline-flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }

/* =========================================================================
   Participant page components (Movement 2 feature demos, Movement 5 CTAs)
   Also used on funding-your-plan.html for consistent patterns.
   ========================================================================= */

.feature-demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 820px) { .feature-demo { grid-template-columns: 1fr; } }
.feature-demo-video video {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  background: var(--sand);
  box-shadow: 0 10px 30px rgba(10, 31, 60, 0.08);
}
.feature-demo h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 1rem; }
.feature-demo p { max-width: 52ch; }

.what-it-builds {
  border-left: 4px solid var(--sage);
  background: rgba(232, 118, 109, 0.06);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.25rem 0 0.5rem;
  font-size: 0.98rem;
  color: var(--ink);
  max-width: 52ch;
}
.what-it-builds strong { color: var(--sage-deep); }

.supports-goals {
  font-style: italic;
  color: var(--tagline);
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
  line-height: 1.55;
  max-width: 52ch;
}

.bridge-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--coral-deep); font-weight: 500;
}
.bridge-link:hover { gap: 8px; color: var(--ink); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 2rem; }
@media (max-width: 680px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }
}
.btn-coral {
  background: var(--coral); color: var(--ink); border-color: var(--coral);
}
.btn-coral:hover {
  background: var(--coral-deep); color: var(--warm-white); border-color: var(--coral-deep);
  transform: translateY(-1px); text-decoration: none;
}
.btn-tertiary {
  background: transparent; color: var(--coral-deep); border-color: transparent;
  padding: 13px 8px; text-decoration: underline; text-underline-offset: 4px;
}
.btn-tertiary:hover { color: var(--ink); text-decoration-thickness: 2px; }

/* Funding page · Section 4 download cards */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.section.sand .download-card { background: var(--warm-white); }

/* Leadership team headshots (team.html · .grid-2 cards) */
.team-headshot {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
  display: block;
}

/* Document control block · legal/policy pages */
.doc-control { margin: 1.75rem 0 0; padding: 1.25rem 1.5rem; background: var(--sand); border-radius: var(--radius); max-width: 62ch; }
.doc-control > div { display: flex; flex-wrap: wrap; gap: 0.15rem 1rem; padding: 0.4rem 0; border-top: 1px solid var(--rule); }
.doc-control > div:first-child { border-top: none; padding-top: 0; }
.doc-control dt { flex: 0 0 9.5rem; font-weight: 500; color: var(--ink); margin: 0; font-size: 0.9rem; }
.doc-control dd { margin: 0; color: var(--slate); font-size: 0.9rem; flex: 1 1 16rem; }

/* Get started · routes in, and the four-demo reel (2x2 on desktop) */
.route-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: 1.5rem; align-items: stretch; }

/* Frontline + partners · value-prop cards, claim lists, change timeline */
.vp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(24rem, 100%), 1fr)); gap: 1.5rem; }

@media (max-width: 640px) { .change-row { grid-template-columns: 1fr; } }

/* Homepage regimes · built / next / same-shape card treatments */
a.vp { text-decoration: none; display: block; color: var(--ink); transition: border-color 0.15s ease, transform 0.15s ease; }


/* Family voice: the pullquote and the three costs it names */
.pullquote { margin: 0 0 2.5rem; padding: 0 0 0 1.5rem; border-left: 3px solid var(--sage-deep); max-width: 40ch; }
.pullquote blockquote { margin: 0 0 0.75rem; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.8rem, 4.5vw, 2.6rem); line-height: 1.15; color: var(--ink); font-weight: 500; }
.pullquote figcaption { font-size: 0.9rem; color: var(--slate); }

/* =========================================================================
   Mobile nav, QR handoff and timeline, previously duplicated inline per page
   ========================================================================= */

/* Mobile nav · CSS-only fallback (hidden checkbox + label). JS layers
   ARIA / focus trap / scroll lock / Esc on top in /bella-nav.js. */
.mobile-nav-input{
  position: absolute; opacity: 0;
  width: 0; height: 0; margin: 0; padding: 0;
  pointer-events: none;
}
.hamburger{ display: none; }
.mobile-nav-backdrop{ display: none; }
.nav-links a.mobile-only{ display: none; }
@media (max-width: 1099px) {
  .hamburger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    color: var(--coral);
    background: transparent; border: 0;
    border-radius: 8px; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .hamburger:focus-visible {
    outline: 2px solid var(--coral-deep); outline-offset: 2px;
  }
  .hamburger .icon-close { display: none; }
  .mobile-nav-input:checked ~ .container .nav .hamburger { color: var(--tagline); }
  .mobile-nav-input:checked ~ .container .nav .hamburger .icon-open { display: none; }
  .mobile-nav-input:checked ~ .container .nav .hamburger .icon-close { display: inline-block; }

  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    margin: 0;
    background: var(--ink);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 0 16px;
    box-shadow: 0 12px 32px rgba(10, 31, 60, 0.16);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform 280ms ease, opacity 280ms ease, visibility 0s linear 280ms;
  }
  .mobile-nav-input:checked ~ .container .nav .nav-links {
    transform: translateY(0);
    opacity: 1; visibility: visible; pointer-events: auto;
    transition: transform 280ms ease, opacity 280ms ease, visibility 0s;
  }

  .nav-links a {
    color: var(--warm-white);
    padding: 14px clamp(1.25rem, 4vw, 2.5rem);
    font-size: 17px;
    border-bottom: none;
    min-height: 44px;
    display: flex; align-items: center;
  }
  .nav-links a:hover { color: var(--coral); }
  .nav-links a.active {
    color: var(--coral);
    border-bottom-color: transparent;
    border-left: 3px solid var(--coral);
    padding-left: calc(clamp(1.25rem, 4vw, 2.5rem) - 3px);
  }
  .nav-links a.nav-cta {
    background: transparent; color: var(--coral);
    border-radius: 0;
    padding: 14px clamp(1.25rem, 4vw, 2.5rem);
    margin-top: 4px;
    border-top: 0.5px solid rgba(248, 245, 239, 0.12);
  }
  .nav-links a.nav-cta:hover { background: transparent; color: var(--warm-white); }
  .nav-links a.mobile-only { display: flex; }

  .mobile-nav-backdrop {
    display: block;
    position: fixed; inset: 0;
    background: rgba(10, 31, 60, 0.45);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 280ms ease, visibility 0s linear 280ms;
    z-index: 8;
  }
  .mobile-nav-input:checked ~ .mobile-nav-backdrop {
    opacity: 1; visibility: visible; pointer-events: auto;
    transition: opacity 280ms ease, visibility 0s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links, .mobile-nav-backdrop { transition: none !important; }
}
.qr-frame{ background: #FFFFFF; border-radius: 10px; padding: 12px; line-height: 0; }
.qr-frame .qr{ width: 100%; height: auto; display: block; }
.qr-caption{
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #B8B3A8; margin: 0.85rem 0 0; text-align: center;
}
@media (max-width: 640px) {
  .qr-panel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .qr-panel .qr-holder { max-width: 200px; }
  .qr-panel p { margin-left: auto; margin-right: auto; }
}

.price-figure{
  font-family: "Fraunces", Georgia, serif; font-size: clamp(2.4rem, 6vw, 3.4rem);
  line-height: 1; color: var(--ink); display: block; margin-bottom: 0.35rem;
}
/* Reform hub: a dated timeline with a status marker per entry */
.tl{ margin: 0; padding: 0; list-style: none; }

@media (max-width: 700px) { .tl-item { grid-template-columns: 1fr; gap: 0.2rem; } }
.source-note{ font-size: 0.9rem; color: var(--slate); border-top: 1px solid var(--rule); padding-top: 1.25rem; margin-top: 2.5rem; }

/* =========================================================================
   Four primitives. Everything on the site is one of these, laid out by grid.
   Coral marks the one action on a view. Sage carries everything steadying.
   ========================================================================= */

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: 1.5rem; align-items: stretch; }
.grid--wide   { grid-template-columns: repeat(auto-fit, minmax(min(24rem, 100%), 1fr)); }
.grid--narrow { grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1.75rem; }

/* -- card ---------------------------------------------------------------- */
.card {
  background: #FFFFFF; border: 1px solid var(--rule); border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.75rem);
  display: flex; flex-direction: column; gap: 0.55rem;
}
.card > h3 { margin: 0; font-size: 1.15rem; }
.card > p { margin: 0; color: var(--slate); font-size: 0.95rem; max-width: none; }
.card ol, .card ul { margin: 0; padding-left: 1.15rem; color: var(--slate); }
.card li { margin-bottom: 0.35rem; }
.card__label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--sage-deep); }
.card .route-actions, .card .card__actions { margin-top: auto; padding-top: 0.75rem; }
.card--lead { border-color: var(--coral); border-width: 2px; }
.card--lead .card__label { color: var(--coral-deep); }
.card--quiet { background: transparent; }
.card--quiet .card__label { color: var(--tagline); }
.card--bare { background: transparent; border: none; padding: 0; }
a.card { text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
a.card:hover { border-color: var(--coral); transform: translateY(-2px); }
a.card h3 { color: var(--ink); }
a.card p { color: var(--slate); }
.card .arrow { display: inline-block; margin-top: 0.9rem; font-size: 0.9rem; font-weight: 500; color: var(--coral-deep); }
.card video { width: 100%; height: auto; display: block; border-radius: var(--radius); background: var(--sand); box-shadow: 0 10px 30px rgba(10,31,60,0.08); }

/* -- claims: a bold lead with supporting text ---------------------------- */
.claims { list-style: none; padding: 0; margin: 0; max-width: 68ch; }
.claims li { padding: 1rem 0; border-top: 1px solid var(--rule); display: block; }
.claims li:first-child { border-top: none; }
.claims b { display: block; color: var(--ink); margin-bottom: 0.2rem; font-weight: 600; }
.claims span { color: var(--slate); }

/* -- dated: an entry anchored to a date ---------------------------------- */
.dated-list { margin: 0; padding: 0; list-style: none; }
.dated { display: grid; grid-template-columns: 12rem 1fr; gap: 0.5rem 2rem; padding: 1.5rem 0; border-top: 1px solid var(--rule); max-width: 78ch; }
.dated:first-child, .dated:first-of-type { border-top: 2px solid var(--ink); }
.dated__when { font-weight: 600; color: var(--sage-deep); font-size: 1rem; }
.dated__body h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.dated__body p, .dated p { margin: 0 0 0.6rem; }
.dated__body p:last-child, .dated p:last-child { margin-bottom: 0; }
.dated__status { display: inline-block; margin-top: 0.35rem; font-size: 0.68rem; letter-spacing: 0.11em; text-transform: uppercase; font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 999px; }
.dated__status.is-now { background: rgba(160,78,50,0.12); color: var(--coral-deep); }
.dated__status.is-soon { background: rgba(107,142,127,0.16); color: var(--sage-deep); }
@media (max-width: 700px) { .dated { grid-template-columns: 1fr; gap: 0.2rem; } }

/* -- aside: the steadying note under something --------------------------- */
.aside { font-size: 0.94rem; color: var(--slate); border-left: 2px solid var(--sage); padding-left: 0.9rem; margin-top: 0.8rem; }

/* -- panel: a lifted statement, usually the handoff ---------------------- */
.panel { display: grid; grid-template-columns: 200px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--ink); color: var(--warm-white); border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.75rem); }
.panel h2 { color: var(--warm-white); }
.panel p { color: #C8C4BA; }
.panel .btn-primary { background: var(--coral); color: var(--ink); }
.panel .btn-primary:hover { background: var(--warm-white); color: var(--ink); }
.panel .btn-secondary { color: var(--warm-white); border-color: var(--warm-white); }
.panel .btn-secondary:hover { background: var(--warm-white); color: var(--ink); }
@media (max-width: 640px) {
  .panel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .panel .qr-holder { max-width: 200px; }
  .panel p { margin-left: auto; margin-right: auto; }
}

/* Team photo: the people who build it, since we do not depict the people it serves */
.team-photo { margin: 0; }
.team-photo img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  background: var(--sand);
}
.team-photo figcaption {
  margin-top: 0.9rem; font-size: 0.9rem; color: var(--slate);
}

/* Question and answer pairs. Used on /faq, where the question is the
   structure and no other framing is needed around it. */
.qa {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0;
  max-width: 72ch;
}
.qa:first-child { border-top: 2px solid var(--ink); }
.qa__q {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}
.qa__a { margin: 0; color: var(--slate); }

/* Evidence findings: a figure that leads, and the source line that lets
   the reader check it. Extends .qa rather than forking a new component. */
.qa__fig {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1;
  color: var(--coral-deep);
  margin-bottom: 0.4rem;
}
.qa__src { display: block; margin-top: 0.6rem; font-size: 0.9rem; color: var(--ink-soft); }

/* Animated WebP demos. Still frame + pause control live in JS; CSS cannot pause an image. */
.demo-shot { margin: 1.75rem 0 0; max-width: 100%; }
.demo-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #FFF;
}
.demo-pause {
  display: inline-flex;
  align-items: center;
  margin-top: 0.6rem;
  padding: 6px 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}
.demo-pause[hidden] { display: none; }
.demo-pause:hover { background: var(--ink); color: var(--warm-white); }
.demo-shot figcaption {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--slate);
  max-width: 62ch;
}
.demo-shot figcaption b { color: var(--ink); font-weight: 600; }
