/* ============================================================
   WBBS — We Build Big Sky
   Shared stylesheet. Brand tokens pulled from the Squarespace
   build guide so the whole site stays consistent.
   ============================================================ */

:root {
  /* Brand palette */
  --navy:  #133B85;
  --navy-deep: #0d2a60;
  --gold:  #D4A017;
  --gold-bright: #e8b426;
  --red:   #C0392B;
  --cream: #FAF8F0;
  --ink:   #1C1C1E;
  --white: #ffffff;

  /* Typography */
  --font-head: "Oswald", "Archivo", "Helvetica Neue", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 86px;

  --shadow: 0 10px 40px rgba(19, 59, 133, 0.12);
  --shadow-card: 0 6px 24px rgba(28, 28, 30, 0.10);
  --radius: 14px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold   { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-bright); }
.btn--red    { background: var(--red); color: var(--white); }
.btn--red:hover { background: #d0463a; }
.btn--navy   { background: var(--navy); color: var(--white); }
.btn--outline {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,.6);
}
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ============================================================
   HEADER  (injected by main.js)
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.brand { display: flex; align-items: center; gap: .65rem; }
.brand img { height: 58px; width: auto; background: #fff; border-radius: 9px; padding: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.brand strong {
  font-family: var(--font-head); text-transform: uppercase;
  color: var(--white); font-size: 1.05rem; letter-spacing: .04em;
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .05em; font-size: .92rem; color: var(--white);
  opacity: .9; transition: opacity .15s ease, color .15s ease;
  padding-block: .3rem; border-bottom: 2px solid transparent;
}
.nav a:hover { opacity: 1; }
.nav a.active { color: var(--gold); border-bottom-color: var(--gold); opacity: 1; }

.nav-toggle {
  display: none; background: none; border: 0; padding: .4rem;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: .25s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex; align-items: center;
  background:
    radial-gradient(120% 90% at 72% 8%, rgba(212,160,23,.16), transparent 55%),
    linear-gradient(160deg, rgba(19,59,133,.80) 0%, rgba(13,42,96,.87) 100%),
    url('assets/route-map.png') center / cover no-repeat,
    var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: calc(var(--header-h) + 1.5rem) 0 4.5rem;
  text-align: center;
}
.hero::after { /* subtle mountain silhouette */
  content: ""; position: absolute; inset: auto 0 0 0; height: 38%;
  background: linear-gradient(to top, rgba(13,42,96,.9), transparent);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; max-width: 820px; }
.hero__logo {
  display: block;
  width: min(660px, 86vw); height: auto;
  margin: 0 auto 1.8rem;
  filter: drop-shadow(0 14px 32px rgba(0,0,0,.45));
}
.hero h1 {
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: .92;
  margin-bottom: 1.1rem;
}
.hero h1 .accent { color: var(--gold); }
.hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  max-width: 42ch; opacity: .92; margin: 0 auto 2rem;
  font-weight: 400;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; max-width: 660px; margin-inline: auto; }
.hero__cta .btn { min-width: 210px; justify-content: center; }

/* ============================================================
   PROBLEM BAND
   ============================================================ */
.band--problem {
  background: var(--red); color: var(--white); text-align: center;
}
.band--problem p {
  font-family: var(--font-head); text-transform: uppercase;
  font-size: clamp(1.3rem, 3.4vw, 2.2rem); line-height: 1.15;
  max-width: 22ch; margin-inline: auto; font-weight: 600;
}

/* ============================================================
   NETWORK / ROUTE MAP
   ============================================================ */
.network { background: var(--cream); text-align: center; }
.network h2 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--navy); margin: .4rem 0 2rem; }
.network__map {
  border-radius: var(--radius); box-shadow: var(--shadow);
  margin-inline: auto; border: 1px solid rgba(19,59,133,.1);
}
.stat-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  margin: 2.5rem 0;
}
.chip {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: 1.1rem 1.6rem; min-width: 150px;
}
.chip b { display: block; font-family: var(--font-head); color: var(--gold); font-size: 1.9rem; line-height: 1; }
.chip span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars { background: var(--white); }
.pillars__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem;
}
.pillar {
  background: var(--cream); border-radius: var(--radius); padding: 2rem 1.8rem;
  box-shadow: var(--shadow-card); border-top: 5px solid var(--gold);
}
.pillar .icon { font-size: 2rem; margin-bottom: .6rem; }
.pillar h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: .6rem; }
.pillar p { color: #4a4a4f; }

/* ============================================================
   PHOTO STRIP
   ============================================================ */
.photostrip { background: var(--navy); color: var(--white); text-align: center; }
.photostrip h2 { color: var(--gold); font-size: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 2rem; }
.photostrip__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: .9rem;
}
.photo-tile {
  aspect-ratio: 3 / 4; border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px dashed rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  opacity: .8; padding: .5rem;
}

/* ============================================================
   FARES TEASER
   ============================================================ */
.fares { background: var(--cream); text-align: center; }
.fares h2 { color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.fares__list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em;
  color: var(--ink); font-size: 1.1rem; margin-bottom: 1.8rem;
}
.fares__list span::after { content: "·"; color: var(--gold); margin-left: 1.4rem; }
.fares__list span:last-child::after { content: ""; }

/* ============================================================
   EMAIL CAPTURE
   ============================================================ */
.email-capture { background: var(--gold); color: var(--ink); text-align: center; }
.email-capture h2 { font-size: clamp(1.8rem, 4.4vw, 3rem); margin-bottom: .6rem; }
.email-capture p { margin-bottom: 1.8rem; font-size: 1.05rem; }
.signup {
  display: flex; gap: .6rem; max-width: 480px; margin-inline: auto; flex-wrap: wrap;
  justify-content: center;
}
.signup input {
  flex: 1 1 240px; padding: .9rem 1.1rem; border-radius: 999px;
  border: 2px solid var(--ink); font-size: 1rem; font-family: var(--font-body);
}
.signup .form-note { flex-basis: 100%; font-size: .82rem; opacity: .7; margin-top: .7rem; }
.signup.ok .form-note { color: var(--navy-deep); font-weight: 600; opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); }
.site-footer .container { padding-block: 3.5rem; }
.footer__top { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between; }
.footer__brand img { height: 56px; margin-bottom: .8rem; }
.footer__brand p { max-width: 30ch; font-size: .9rem; opacity: .7; }
.footer__cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer__col h4 { color: var(--gold); font-size: .85rem; letter-spacing: .12em; margin-bottom: .8rem; }
.footer__col a { display: block; font-size: .92rem; padding: .25rem 0; opacity: .8; }
.footer__col a:hover { opacity: 1; color: var(--gold); }
.footer__fine {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .82rem; opacity: .6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}

/* ============================================================
   TOAST (for not-yet-built links)
   ============================================================ */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--navy); color: var(--white); padding: .9rem 1.5rem;
  border-radius: 999px; box-shadow: var(--shadow); z-index: 200;
  font-size: .95rem; transition: transform .3s ease; border: 1px solid rgba(255,255,255,.15);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--navy); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 1rem var(--gutter) 1.5rem;
    box-shadow: 0 12px 24px rgba(0,0,0,.3);
    transform: translateY(-130%); transition: transform .3s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-toggle { display: flex; }
  .pillars__grid { grid-template-columns: 1fr; }
  .photostrip__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SUBPAGE COMPONENTS
   (shared by /the-ride, /why, /trains, /get-in, /financials,
    /pledge, /culture, /faq, /updates, /contact)
   ============================================================ */

/* ---- Subpage header band ---- */
.subhero {
  background:
    radial-gradient(120% 120% at 80% -10%, rgba(212,160,23,.16), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: calc(var(--header-h) + 3.6rem) 0 3.2rem;
}
.subhero h1 { font-size: clamp(2.4rem, 6.5vw, 4.2rem); line-height: .98; }
.subhero h1 .accent { color: var(--gold); }
.subhero .lead { max-width: 56ch; opacity: .9; font-size: clamp(1.05rem, 2vw, 1.3rem); margin-top: 1rem; font-weight: 400; }

/* ---- Section background modifiers ---- */
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--navy  { background: var(--navy); color: var(--white); }
.section--ink   { background: var(--ink); color: var(--cream); }
.section h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); color: var(--navy); margin-bottom: 1.2rem; }
.section--navy h2, .section--ink h2 { color: var(--gold); }
.section__intro { max-width: 60ch; margin-bottom: 2rem; font-size: 1.08rem; }
.section--navy .section__intro { opacity: .9; }

/* ---- Prose ---- */
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.1rem; }
.prose h3 { color: var(--navy); font-size: 1.4rem; margin: 1.8rem 0 .6rem; }

/* ---- Generic card grid ---- */
.cards { display: grid; gap: 1.4rem; margin-top: 1.5rem; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow-card); border-top: 4px solid var(--gold);
}
.section--cream .card { background: var(--white); }
.card h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: .5rem; }
.card .tag { font-family: var(--font-head); letter-spacing: .1em; font-size: .75rem; color: var(--gold); text-transform: uppercase; }

/* ---- Lines / route table ---- */
.lines-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.lines-table th, .lines-table td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid #eee; font-size: .95rem; }
.lines-table th { background: var(--navy); color: var(--white); font-family: var(--font-head); letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; }
.lines-table tr:last-child td { border-bottom: 0; }
.line-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: .5rem; vertical-align: middle; }
.line-name { font-weight: 600; }

/* ---- Zone list ---- */
.zone { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.zone__num { font-family: var(--font-head); font-size: 1.6rem; color: var(--gold); line-height: 1; min-width: 2.4rem; }
.zone__body h4 { color: var(--navy); font-size: 1.1rem; margin-bottom: .2rem; }

/* ---- Pull quote ---- */
.pullquote { background: var(--navy); color: var(--white); text-align: center; }
.pullquote blockquote { font-family: var(--font-head); font-size: clamp(1.6rem, 4.5vw, 3rem); line-height: 1.1; max-width: 20ch; margin: 0 auto; }
.pullquote .accent { color: var(--gold); }
.pullquote--gold { background: var(--gold); color: var(--ink); }

/* ---- Disclaimer bands ---- */
.disclaimer {
  background: var(--red); color: var(--white); text-align: center;
  padding: .9rem var(--gutter); font-size: .9rem; font-weight: 500;
  position: sticky; top: var(--header-h); z-index: 50;
}
.disclaimer-soft {
  background: #fbf3d6; border: 1px solid #ecd98a; color: #5a4a12;
  border-radius: var(--radius); padding: 1.1rem 1.3rem; font-size: .95rem; line-height: 1.5;
}
.disclaimer-soft strong { color: var(--ink); }

/* ---- Trust cards ---- */
.trust-card { border-radius: var(--radius); padding: 1.8rem; color: var(--white); box-shadow: var(--shadow-card); }
.trust-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: .3rem; }
.trust-card .cap { font-size: .85rem; opacity: .85; margin-bottom: 1rem; font-family: var(--font-head); letter-spacing: .05em; }
.trust-card ul { list-style: none; display: grid; gap: .5rem; }
.trust-card li { padding-left: 1.3rem; position: relative; font-size: .95rem; }
.trust-card li::before { content: "→"; position: absolute; left: 0; opacity: .7; }
.trust-card .kicker { margin-top: 1rem; font-style: italic; opacity: .9; }
.trust--land { background: var(--navy); }
.trust--community { background: #1E7A3D; }
.trust--business { background: #8A5A1A; }

/* ---- Forms ---- */
.form { max-width: 560px; background: var(--white); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-card); }
.section--navy .form, .section--ink .form { color: var(--ink); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .92rem; }
.field .hint { font-weight: 400; color: #888; font-size: .82rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 2px solid #d8d6ce; border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.field-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.field-row .field { flex: 1 1 200px; }
.form .form-note { font-size: .85rem; color: #777; margin-top: .6rem; }
.form.ok .form-note { color: #1E7A3D; font-weight: 600; }
.seg { display: inline-flex; border: 2px solid var(--navy); border-radius: 999px; overflow: hidden; }
.seg button { background: transparent; color: var(--navy); border: 0; padding: .5rem 1.1rem; font-family: var(--font-head); letter-spacing: .04em; font-size: .85rem; }
.seg button.active { background: var(--navy); color: #fff; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-ask {
  background: var(--white); border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow); border-top: 5px solid var(--gold); margin-bottom: 2.5rem;
}
.faq-ask h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: .3rem; }
.faq-ask p { font-size: .92rem; color: #666; margin-bottom: 1rem; }
.faq-ask__row { display: flex; gap: .6rem; flex-wrap: wrap; }
.faq-ask__row input { flex: 1 1 260px; padding: .85rem 1.1rem; border: 2px solid #d8d6ce; border-radius: 999px; font-size: 1rem; font-family: var(--font-body); }
.faq-ask__answer { margin-top: 1rem; font-size: .95rem; color: var(--navy-deep); display: none; }
.faq-ask.answered .faq-ask__answer { display: block; }

.faq-section-title {
  font-family: var(--font-head); text-transform: uppercase; color: var(--navy);
  font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 2.6rem 0 1.2rem; letter-spacing: .03em;
  padding-bottom: .5rem; border-bottom: 3px solid var(--gold);
}
.faq-item { background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.7rem; margin-bottom: 1.4rem; box-shadow: var(--shadow-card); }
.faq-question { font-family: var(--font-head); color: var(--ink); font-size: 1.25rem; margin-bottom: .9rem; }
.faq-answer {
  background: var(--navy); color: var(--white); border-radius: 10px; padding: .9rem 1.1rem;
  margin-bottom: 1.1rem; font-size: 1rem;
}
.faq-answer .tag { display: block; color: var(--gold); font-family: var(--font-head); font-size: .72rem; letter-spacing: .14em; margin-bottom: .3rem; }
.dialects { display: grid; gap: .7rem; }
.dialect { padding: .6rem .9rem .6rem 1rem; border-left: 4px solid #ccc; background: var(--cream); border-radius: 0 8px 8px 0; font-size: .92rem; line-height: 1.55; }
.dialect__label { font-family: var(--font-head); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; display: inline-block; margin-bottom: .25rem; padding: 1px 7px; border-radius: 4px; color: #fff; }
.d-genz { border-left-color: var(--red); } .d-genz .dialect__label { background: var(--red); }
.d-jive { border-left-color: var(--gold); } .d-jive .dialect__label { background: var(--gold); color: var(--ink); }
.d-skibum { border-left-color: #2f6fd0; } .d-skibum .dialect__label { background: #2f6fd0; }
.d-boomer { border-left-color: var(--navy); } .d-boomer .dialect__label { background: var(--navy); }
.d-millennial { border-left-color: #1E7A3D; } .d-millennial .dialect__label { background: #1E7A3D; }
.d-lawyer { border-left-color: #6b6b70; } .d-lawyer .dialect__label { background: #6b6b70; }

/* ============================================================
   FINANCIALS CALCULATOR
   ============================================================ */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; background: var(--cream); border-radius: var(--radius); padding: 1.5rem; }
.calc__inputs { background: #fff; border: 1px solid #E8E6DE; border-radius: 10px; padding: 1.4rem; }
.calc__title { font-size: 1.25rem; font-weight: 800; color: var(--navy); font-family: var(--font-head); }
.calc__hint { font-size: .8rem; color: #888; margin-bottom: .5rem; }
.calc__group { color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 5px 10px; border-radius: 5px; display: inline-block; margin: 1rem 0 .4rem; }
.calc__group.g-comm { background: #1E7A3D; } .calc__group.g-land { background: var(--navy); } .calc__group.g-biz { background: #8A5A1A; }
.calc__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0; }
.calc__row label { font-size: .85rem; }
.calc__row input[type=number] { width: 120px; padding: 6px 8px; border: 1px solid #D2D0C8; border-radius: 5px; font-size: .9rem; text-align: right; font-family: var(--font-body); }
.calc__field { display: flex; gap: 8px; align-items: center; }
.mode-toggle, .yield-toggle { display: flex; gap: 4px; }
.mode-toggle span, .yield-toggle span { cursor: pointer; font-size: .7rem; font-weight: 700; padding: 4px 8px; border-radius: 4px; border: 1px solid var(--navy); color: var(--navy); }
.mode-toggle span.active, .yield-toggle span.active { background: var(--navy); color: #fff; }
.calc__outputs { display: flex; flex-direction: column; gap: 1rem; }
.panel-a { background: var(--gold); border-radius: 10px; padding: 1.3rem; }
.panel-a .plabel { font-size: .8rem; font-weight: 800; color: var(--ink); }
.panel-a .big { font-size: 2.1rem; font-weight: 800; color: var(--navy); }
.panel-a .big span { font-size: 1rem; font-weight: 600; }
.panel-a .mid { font-size: 1.6rem; font-weight: 800; color: var(--ink); margin-top: .6rem; }
.panel-a .sub { font-size: .78rem; color: #5a5a5a; }
.panel-b { background: var(--navy); border-radius: 10px; padding: 1.3rem; color: var(--cream); }
.panel-b .plabel { font-size: .8rem; font-weight: 800; color: var(--gold); }
.panel-b .ceiling { font-size: .72rem; color: #9fb4dc; margin-bottom: .7rem; }
.panel-b .brow { display: flex; justify-content: space-between; font-size: .85rem; margin: 5px 0; }
.panel-b .brow .out { color: #9fb4dc; }
.panel-b .btot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #2f5cb0; margin-top: .7rem; padding-top: .6rem; }
.panel-b .btot .l { font-size: 1rem; font-weight: 800; color: var(--gold); }
.panel-b .btot .v { font-size: 1.15rem; font-weight: 800; }
.calc__legal { font-size: .72rem; color: #888; line-height: 1.5; margin-top: .3rem; }

/* ============================================================
   PLEDGE COUNTER
   ============================================================ */
.counter { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 2.5rem; text-align: center; }
.counter .lock { font-size: 3rem; }
.counter .num { font-family: var(--font-head); font-size: clamp(2rem, 6vw, 3.5rem); color: var(--gold); }
.counter .cap { opacity: .85; margin-top: .5rem; }

/* ============================================================
   UPDATES / BLOG
   ============================================================ */
.post-card { display: block; background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-card); border-left: 5px solid var(--gold); transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card .date { font-family: var(--font-head); font-size: .78rem; letter-spacing: .1em; color: var(--gold); text-transform: uppercase; }
.post-card h3 { color: var(--navy); font-size: 1.35rem; margin: .3rem 0 .5rem; }
.post-card p { color: #555; font-size: .95rem; }
.post-card .soon { font-size: .72rem; color: #aaa; font-style: italic; }

/* ---- Icon list ---- */
.icon-list { list-style: none; display: grid; gap: 1rem; margin-top: 1rem; }
.icon-list li { display: flex; gap: .9rem; align-items: flex-start; }
.icon-list .ic { font-size: 1.4rem; line-height: 1.2; }
.icon-list b { color: var(--navy); }

/* ---- Responsive (subpages) ---- */
@media (max-width: 860px) {
  .cards--2, .cards--3 { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .lines-table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---- FAQ live filter + random featured ---- */
.faq-filter { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.6rem; }
.faq-filter input { flex: 1; padding: .85rem 1.2rem; border: 2px solid #d8d6ce; border-radius: 999px; font-size: 1rem; font-family: var(--font-body); background: #fff; }
.faq-filter input:focus { outline: none; border-color: var(--navy); }
.faq-filter__count { font-size: .85rem; color: #888; white-space: nowrap; }
.faq-featured { margin-bottom: 2.5rem; }
.faq-featured__label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-size: .82rem; margin-bottom: .6rem; display: block; }
.faq-featured .faq-item { border-top: 5px solid var(--gold); box-shadow: var(--shadow); }
.faq-group { margin-bottom: .5rem; }

/* ---- Train diagrams ---- */
.diagram-fig { margin: 0; }
.diagram { width: 100%; background: #fff; border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow-card); border: 1px solid rgba(19,59,133,.08); }
.diagram-fig figcaption { text-align: center; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; color: #666; margin-top: .6rem; }

/* ---- Lightbox / zoomable images ---- */
.zoomable { cursor: zoom-in; }
.map-hint { font-size: .82rem; color: #888; margin-top: .6rem; }
.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 2rem; background: rgba(13,42,96,.93); cursor: zoom-out; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.lightbox.show { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 96vw; max-height: 92vh; border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.55); background: #fff; }
.lightbox__close { position: absolute; top: 1.1rem; right: 1.6rem; color: #fff; font-size: 2rem; font-family: var(--font-head); line-height: 1; cursor: pointer; }

/* ============================================================
   BY THE NUMBERS — fact cards + Fossy hot-take
   (used by /by-the-numbers)
   ============================================================ */
.factgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.8rem; }
.factgrid--2 { grid-template-columns: repeat(2, 1fr); }
.factcard {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.3rem;
  box-shadow: var(--shadow-card); border-top: 4px solid var(--gold);
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.factcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.factcard__ic { font-size: 2.1rem; line-height: 1; margin-bottom: .7rem; }
.factcard__num { font-family: var(--font-head); color: var(--navy); font-size: 2.1rem; line-height: 1; letter-spacing: .01em; }
.factcard__num .u { color: var(--gold); font-size: .95rem; }
.factcard__label { font-family: var(--font-head); text-transform: uppercase; color: var(--ink); font-size: 1.02rem; letter-spacing: .02em; margin: .55rem 0 .45rem; line-height: 1.08; }
.factcard__detail { font-size: .92rem; color: #555; flex: 1 0 auto; }
.factcard__src { font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: #b1afa6; margin-top: .9rem; }
.section--navy .factcard, .section--ink .factcard { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); border-top: 4px solid var(--gold); }
.section--navy .factcard__num, .section--ink .factcard__num { color: var(--white); }
.section--navy .factcard__label, .section--ink .factcard__label { color: var(--cream); }
.section--navy .factcard__detail, .section--ink .factcard__detail { color: rgba(255,255,255,.80); }
.section--navy .factcard__src, .section--ink .factcard__src { color: rgba(255,255,255,.45); }

/* Fossy hot-take callout */
.fossy-take { display: flex; gap: 1.4rem; align-items: center; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.7rem 1.9rem; box-shadow: var(--shadow-card); }
.fossy-take img { width: 96px; height: 96px; border-radius: 10px; flex: 0 0 auto; background: #fff; }
.fossy-take blockquote { font-family: var(--font-head); text-transform: none; font-weight: 600; font-size: clamp(1.1rem, 2.4vw, 1.55rem); line-height: 1.2; }
.fossy-take blockquote .accent { color: var(--gold); }
.fossy-take .src { display: block; font-size: .78rem; color: var(--gold); letter-spacing: .08em; margin-top: .7rem; font-family: var(--font-head); text-transform: uppercase; }
@media (max-width: 860px) {
  .factgrid, .factgrid--2 { grid-template-columns: 1fr; }
  .fossy-take { flex-direction: column; text-align: center; }
}

