:root {
  --canvas: #0a1024;
  --night: #16212e;
  --night-2: #1d2a3a;
  --paper: #f4ebd7;
  --paper-2: #efe4ca;
  --ink: #231f1a;
  --ink-2: #4d453c;
  --ink-3: #776e62;
  --cream: #f0e6cf;
  --gold: #d4a25a;
  --gold-bright: #f4c45a;
  --barn: #a64b3b;
  --olive: #859160;
  --indigo: #2b4563;
  --rule: rgba(240, 230, 207, 0.16);
  --rule-ink: rgba(35, 31, 26, 0.12);

  --disp: "Libre Caslon Text", Georgia, serif;
  --body: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --ui: "Public Sans", system-ui, -apple-system, Segoe UI, sans-serif;

  --w-content: min(100%, 1140px);
  --w-essay: min(72ch, 720px);
  --pad-x: clamp(1.1rem, 0.6rem + 2vw, 2.2rem);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;
}

/* Self-hosted, subset (latin) woff2. Fraunces is intentionally DROPPED:
   the wordmark is an SVG, so we avoid the heavy Fraunces italic load. */
@font-face { font-family: "Libre Caslon Text"; src: url("/assets/fonts/libre-caslon-text-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("/assets/fonts/libre-caslon-text-latin-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("/assets/fonts/libre-caslon-text-latin-italic-400.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* BeargrassAI.com — OPEN-mode display + paper-mode Learn.
   Hero kept (image + color wash + typewriter chat). Sections below the hero carry
   the page with alternating brand colors + a breathing dot-matrix or a workshop grid. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--canvas);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--disp); font-weight: 600; line-height: 1.12; margin: 0 0 0.5em; }
p { margin: 0 0 1rem; }
.wrap { width: var(--w-content); margin-inline: auto; padding-inline: var(--pad-x); }
.eyebrow {
  font-family: var(--ui); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright);
  margin: 0 0 0.6rem;
}
.center { text-align: center; }

/* ---------- chrome ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 16, 36, 0.72); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand .wm { height: 26px; width: auto; display: block; }
.brand .wm-light { display: none; }
body.paper .brand .wm-dark { display: none; }
body.paper .brand .wm-light { display: block; }
.site-foot .wm { height: 22px; }
.nav { display: flex; gap: 1.15rem; font-family: var(--ui); font-size: 0.92rem; }
.nav a { text-decoration: none; color: var(--cream); opacity: 0.82; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { opacity: 1; }
.nav a[aria-current="page"] { color: var(--gold-bright); opacity: 1; border-bottom-color: var(--gold-bright); }
.nav-group { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.6rem); }
/* compound selector so this wins over the later base .btn padding (source-order fix) */
.btn.nav-cta { padding: 0.42rem 1.1rem; font-size: 0.88rem; }
.nav-toggle { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.nav-burger { display: none; }
@media (max-width: 760px) {
  .hero-bg { object-position: 68% center; } .hero h1 { max-width: 100%; }
  .site-head { position: sticky; top: 0; }
  .nav-burger { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 42px; height: 42px; padding: 9px; cursor: pointer; }
  .nav-burger span { display: block; width: 22px; height: 2px; background: var(--cream); border-radius: 2px; }
  .nav { display: none; }
  #nav-toggle:checked ~ .nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,16,36,0.98); padding: 0.6rem 1.2rem 1.1rem; border-top: 1px solid var(--rule); box-shadow: 0 16px 36px rgba(0,0,0,0.45); z-index: 50; }
  #nav-toggle:checked ~ .nav a { padding: 0.7rem 0; border-bottom: 1px solid rgba(240,230,207,0.08); opacity: 0.95; }
  body.paper .nav-burger span { background: var(--ink); }
  body.paper #nav-toggle:checked ~ .nav { background: var(--paper); border-top-color: var(--rule-ink); }
}

/* ---------- hero (kept: image + wash + typewriter chat) ---------- */
.hero { position: relative; min-height: 72vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-wash { position: absolute; inset: 0;
  background: linear-gradient(102deg, rgba(10,16,36,0.94) 0%, rgba(10,16,36,0.62) 40%, rgba(10,16,36,0.12) 74%, rgba(10,16,36,0) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(3rem, 8vh, 6rem); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); color: var(--cream); max-width: 20ch; line-height: 1.08; text-shadow: 0 1px 2px rgba(0,0,0,0.88), 0 2px 14px rgba(10,16,36,0.88), 0 0 44px rgba(10,16,36,0.6); }
.hero-sub { font-family: var(--disp); font-weight: 600; font-size: clamp(1.2rem, 2.8vw, 1.7rem); color: var(--gold-bright); margin: 0.3rem 0 0.5rem; max-width: none; text-shadow: -1px -1px 0 rgba(0,0,0,0.9), 1px -1px 0 rgba(0,0,0,0.9), -1px 1px 0 rgba(0,0,0,0.9), 1px 1px 0 rgba(0,0,0,0.9), 0 1px 3px rgba(0,0,0,1), 0 2px 10px rgba(0,0,0,0.95), 0 0 24px rgba(0,0,0,0.85); }
.hero .lede { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: #f0e7d2; max-width: 54ch; text-shadow: -1px -1px 0 rgba(0,0,0,0.85), 1px -1px 0 rgba(0,0,0,0.85), -1px 1px 0 rgba(0,0,0,0.85), 1px 1px 0 rgba(0,0,0,0.85), 0 1px 3px rgba(0,0,0,1), 0 2px 11px rgba(0,0,0,0.95), 0 0 28px rgba(0,0,0,0.8); }
/* Orphan/widow control, site-wide: balance short/heading text so no lone last
   word; pretty bodies so the last line is never a single orphan word. */
h1, h2, h3, h4, .eyebrow, .lede, .sh, .scene-slogan, .scene-quote,
.lib-card h3, .learn-tile h3, .pillar h3, .tier h3, .icell h3, .proof .lab,
.bloom-result__band, figcaption, blockquote p { text-wrap: balance; }
.prose p, .prose li, .article p, .article li, .faq p, .bloom-actions__list li { text-wrap: pretty; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.btn { font-family: var(--ui); font-weight: 600; font-size: 0.95rem; text-decoration: none;
  padding: 0.7rem 1.3rem; border-radius: var(--r-pill); border: 1.5px solid transparent; display: inline-block; cursor: pointer; }
.btn-primary { background: var(--gold-bright); color: #3a2406; }
.btn-primary:hover { background: var(--gold); }
.btn-ghost { border-color: rgba(240,230,207,0.45); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.hero-chat { position: absolute; right: clamp(1rem, 4vw, 3rem); bottom: clamp(1rem, 5vh, 3rem);
  z-index: 2; width: min(330px, 70vw); background: rgba(14,23,34,0.86); backdrop-filter: blur(8px);
  border: 1px solid var(--rule); border-radius: var(--r-md); padding: 0.9rem 1rem; font-family: var(--ui); }
@media (max-width: 760px) { .hero-chat { display: none; } }
.hc-q { font-size: 0.82rem; color: var(--gold-bright); margin-bottom: 0.45rem; }
.hc-q::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); margin-right: 7px; vertical-align: middle; }
.hc-a { font-size: 0.92rem; color: var(--cream); min-height: 2.6em; }
.hc-cursor { display: inline-block; width: 2px; height: 1em; background: var(--gold-bright); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- bands (the section vocabulary) ---------- */
.band { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 5.5rem); }
.band > .wrap { position: relative; z-index: 2; }
.band-navy { background: linear-gradient(170deg, #16212e, #0c1420); color: var(--cream); }
.band-paper { background: linear-gradient(180deg, var(--paper), var(--paper-2)); color: var(--ink); }
.band-barn { background: linear-gradient(160deg, #a64b3b, #883c2f); color: var(--cream); }
.band-indigo { background: linear-gradient(170deg, #2b4563, #213750); color: var(--cream); }
.band-olive { background: linear-gradient(170deg, #859160, #6f7a4f); color: var(--cream); }
.band-paper .eyebrow { color: var(--barn); }
.band-paper h2 { color: var(--ink); }

/* breathing dot-matrix */
.band--dots::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: radial-gradient(circle, var(--dot, rgba(212,162,90,0.22)) 1px, transparent 1.3px);
  background-size: 26px 26px; opacity: 0.4; animation: breathe 7.5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 0.22; } 50% { opacity: 0.4; } }
.band-paper.band--dots::before { --dot: rgba(166,75,59,0.14); }

/* workshop-cut grid */
.band--grid::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(var(--grid, rgba(240,230,207,0.1)) 0.6px, transparent 0.6px),
    linear-gradient(90deg, var(--grid, rgba(240,230,207,0.1)) 0.6px, transparent 0.6px);
  background-size: 28px 28px; opacity: 0.7; }
.band-paper.band--grid::before { --grid: rgba(35,31,26,0.1); }


@media (prefers-reduced-motion: reduce) { .band--dots::before { animation: none; opacity: 0.5; } }

/* photo band: image + color overlay, ONE treatment (never with dots/grid) */
.band--photo { background-size: cover; background-position: center; color: var(--cream); }
.band--photo .band-wash { position: absolute; inset: 0; z-index: 1; }
.wash-navy { background: linear-gradient(180deg, rgba(10,16,36,0.82), rgba(10,16,36,0.66)); }
.wash-indigo { background: linear-gradient(165deg, rgba(43,69,99,0.84), rgba(16,33,52,0.7)); }
/* fixed/parallax variant: image pinned to the viewport, content washes over on scroll */
.band--fixed { background-attachment: fixed; }
@media (max-width: 760px) { .band--fixed { background-attachment: scroll; } }
.wash-soft { background: linear-gradient(180deg, rgba(10,16,36,0.32), rgba(10,16,36,0.58)); }
.photo-panel { max-width: 48ch; background: rgba(10,16,36,0.74); border: 1px solid rgba(240,230,207,0.16); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem); color: var(--cream); }

/* ===== card-on-canvas system: dark navy canvas + cream cards + breathing textures ===== */
.cardsec { position: relative; padding-block: clamp(2.6rem, 6vw, 4.6rem); }
.cardsec > .wrap { position: relative; z-index: 2; }
.cardsec::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.4; animation: breathe 8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .cardsec::before { animation: none; opacity: 0.3; } }
.tex-dot::before { background-image: radial-gradient(circle, rgba(212,162,90,0.20) 1px, transparent 1.3px); background-size: 26px 26px; }
.tex-grid::before { background-image: linear-gradient(rgba(212,162,90,0.12) 0.6px, transparent 0.6px), linear-gradient(90deg, rgba(212,162,90,0.12) 0.6px, transparent 0.6px); background-size: 30px 30px; }
.tex-topo::before { background-image: repeating-radial-gradient(circle at 72% 26%, transparent 0 21px, rgba(212,162,90,0.10) 21px 22.5px); }
/* default card = dark glass on the navy canvas (one step off the canvas, gold hairline) */
.card { background: linear-gradient(165deg, rgba(43,69,99,0.50), rgba(22,36,52,0.62)); border: 1px solid rgba(212,162,90,0.22); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.8rem); box-shadow: 0 16px 44px rgba(0,0,0,0.36); color: var(--cream); }
.card .eyebrow { color: var(--gold-bright); }
.card h2, .card h3, .card h4 { color: var(--cream); }
.card .prose { color: #dcd2bb; max-width: 64ch; }
.card a, .card .prose a { color: var(--gold-bright); }
.card .sh .wash { background-image: linear-gradient(transparent 62%, rgba(212,162,90,0.30) 62%); }
.card .faq details { border-top-color: rgba(240,230,207,0.16); }
.card .faq summary { color: var(--cream); }
.card .faq summary::after { color: var(--gold-bright); }
.card .locate address { color: #dcd2bb; }
.card.center { text-align: center; }
.card.center .prose { margin-inline: auto; }
/* Balanced two-column card body: heading column + wider body column, so a
   prose-only card fills the container width instead of lumping to the left. */
.cardgrid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(1.6rem, 4vw, 3.2rem); align-items: start; }
.cardgrid > .section-head { max-width: none; margin-bottom: 0; }
.cardgrid > .prose { max-width: none; }
@media (max-width: 800px) { .cardgrid { grid-template-columns: 1fr; gap: 1rem; } }
/* cream card = the reserved conversion surface (primary CTA) — scarce, so it pulls the eye */
.card--cream { background: var(--paper); border-color: rgba(35,31,26,0.10); color: var(--ink); box-shadow: 0 20px 54px rgba(0,0,0,0.42); }
.card--cream .eyebrow { color: var(--barn); }
.card--cream h2, .card--cream h3, .card--cream h4 { color: var(--ink); }
.card--cream .prose { color: var(--ink-2); }
.card--cream a, .card--cream .prose a { color: var(--barn); }
.card--cream .sh .wash { background-image: linear-gradient(transparent 62%, rgba(166,75,59,0.18) 62%); }
/* section heads on the bare dark canvas (tiles sections) read cream + gold */
.cardsec > .wrap > .section-head .eyebrow { color: var(--gold-bright); }
.cardsec > .wrap > .section-head .sh .wash { background-image: linear-gradient(transparent 62%, rgba(212,162,90,0.30) 62%); }
/* pillars (icon grid) */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.4rem; margin-top: 1.5rem; }
.pillar .ic { display: block; width: 32px; height: 32px; color: var(--barn); margin-bottom: 0.6rem; }
.pillar .ic svg { width: 100%; height: 100%; }
.pillar h3 { font-family: var(--ui); font-size: 1.05rem; font-weight: 600; margin: 0 0 0.3rem; }
.pillar p { font-size: 0.96rem; color: #dcd2bb; margin: 0; }
.card--cream .pillar p { color: var(--ink-2); }
/* full-bleed animated sunrise scene band (one per page) */
.scene { position: relative; height: clamp(240px, 32vw, 440px); overflow: hidden; background: var(--canvas); }
.scene-svg { position: absolute; inset: 0; display: flex; align-items: center; }
.scene-svg svg { width: 100%; height: auto; display: block; }
.scene-cap { position: relative; z-index: 2; height: 100%; width: var(--w-content); margin-inline: auto; display: flex; flex-direction: column; justify-content: center; padding-inline: var(--pad-x); }
.scene-slogan { font-family: var(--disp); font-weight: 600; font-size: clamp(1.7rem, 3.8vw, 3rem); line-height: 1.12; color: var(--cream); max-width: 22ch; margin: 0; text-shadow: 0 2px 20px rgba(10,16,36,0.85); }
.scene-quote { font-family: var(--disp); font-size: clamp(1.3rem, 2.8vw, 2.1rem); line-height: 1.28; color: var(--cream); max-width: 34ch; margin: 0; text-shadow: 0 2px 20px rgba(10,16,36,0.85); }
.scene-quote cite { display: block; font-family: var(--ui); font-size: 0.85rem; font-style: normal; color: var(--gold-bright); margin-top: 0.7rem; text-shadow: none; }
/* SPIM live-demo embed (the Beargrass Ranch showcase) */
.demo-frame { border: 1px solid rgba(212,162,90,0.3); border-radius: var(--r-lg); overflow: hidden; background: var(--canvas); box-shadow: 0 16px 44px rgba(0,0,0,0.42); aspect-ratio: 16 / 10; }
.demo-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 760px) { .demo-frame { aspect-ratio: 4 / 5; } }

/* ============ component kit ============ */
/* SplitFeature: copy + media, 50/50, alternating sides */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.split-media img { width: 100%; display: block; object-fit: cover; aspect-ratio: 4 / 3; border-radius: var(--r-lg); box-shadow: 0 16px 44px rgba(0,0,0,0.4); }
.split--sq .split-media img { aspect-ratio: 1 / 1; }
/* photo figure (e.g. the real About photo): show the whole frame, no crop, with a caption */
.split-figure { margin: 0; }
.split-figure img { aspect-ratio: 16 / 9; }
.split-figure figcaption { margin-top: 0.8rem; font-family: var(--ui); font-size: 0.9rem; font-style: italic; color: var(--cream); opacity: 0.86; text-align: center; }
.cardsec--cream .split-figure figcaption, .card--cream .split-figure figcaption { color: var(--ink-2); opacity: 1; }
.split-copy .prose { max-width: 52ch; }
.split--flip .split-copy { order: 2; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split--flip .split-copy { order: 0; } }

/* CompareScreens: two framed 4:3 screens (SPIM editor + live site) with an arrow */
.compare-screens { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(0.8rem, 2.5vw, 1.6rem); align-items: center; }
.compare-screens .screen { margin: 0; }
.screen-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(212,162,90,0.22); box-shadow: 0 16px 44px rgba(0,0,0,0.4); background: #0a1024; }
.screen-frame img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.compare-screens .screen figcaption { margin-top: 0.7rem; font-family: var(--ui); font-size: 0.85rem; color: var(--gold-bright); text-align: center; }
.compare-arrow { font-size: 1.7rem; color: var(--gold); }
@media (max-width: 760px) { .compare-screens { grid-template-columns: 1fr; } .compare-arrow { transform: rotate(90deg); justify-self: center; } }

/* ProcessRail: numbered, connected steps */
.prail { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.prail-step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; position: relative; }
.prail-num { position: relative; z-index: 1; width: 2.4rem; height: 2.4rem; flex: 0 0 auto; border-radius: 50%; background: var(--barn); color: var(--cream); font-family: var(--disp); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.prail-step:not(:last-child)::before { content: ""; position: absolute; left: 1.2rem; top: 2.6rem; bottom: -1.6rem; width: 2px; background: linear-gradient(rgba(212,162,90,0.5), rgba(212,162,90,0.08)); }
.prail-copy h3 { font-family: var(--ui); font-size: 1.12rem; margin: 0 0 0.3rem; color: var(--cream); }
.prail-copy p { color: #dcd2bb; margin: 0; }

/* IncludedMatrix: the "Always in the Build" panel */
.imatrix { border: 1px solid rgba(212,162,90,0.28); border-radius: var(--r-lg); padding: clamp(1.3rem, 3vw, 2.2rem); background: rgba(22,36,52,0.5); }
.imatrix-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.3rem; }
.icell { background: rgba(43,69,99,0.42); border: 1px solid rgba(212,162,90,0.18); border-radius: var(--r-md); padding: 1.1rem 1.2rem; }
.icell .ic { display: block; width: 26px; height: 26px; color: var(--gold-bright); margin-bottom: 0.55rem; }
.icell .ic svg { width: 100%; height: 100%; }
.icell h3 { font-family: var(--ui); font-size: 0.98rem; font-weight: 600; color: var(--cream); margin: 0 0 0.25rem; }
.icell p { font-size: 0.9rem; color: #c9bfa8; margin: 0; }

/* ProofBand: slim stat strip */
.proofband { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; border-block: 1px solid var(--rule); padding-block: 1.7rem; }
.proof { text-align: center; }
.proof .num { font-family: var(--disp); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--gold-bright); line-height: 1; }
.proof .lab { font-family: var(--ui); font-size: 0.82rem; color: #9fb0c6; margin-top: 0.35rem; }

/* ComparisonBlock: the old way vs BeargrassAI */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.compare-col { border-radius: var(--r-lg); padding: 1.3rem 1.4rem; }
.compare-old { background: rgba(255,255,255,0.04); border: 1px solid var(--rule); }
.compare-new { background: rgba(212,162,90,0.12); border: 1px solid rgba(212,162,90,0.42); }
.compare-col h3 { font-family: var(--ui); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin: 0; }
.compare-old h3 { color: #9fb0c6; }
.compare-new h3 { color: var(--gold-bright); }
.compare-col ul { list-style: none; padding: 0; margin: 0.8rem 0 0; }
.compare-col li { padding: 0.5rem 0; border-top: 1px solid var(--rule); font-size: 0.95rem; }
.compare-old li { color: #aeb9c7; }
.compare-new li { color: var(--cream); }
.compare-old li::before { content: "\2715\00a0\00a0"; color: #7f8a99; }
.compare-new li::before { content: "\2713\00a0\00a0"; color: var(--gold-bright); }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }

/* FAQ in two columns, on the cream card */
/* two-column FAQ must fill the cream card; the base .faq 64ch cap left it lumped */
.faq.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem 3rem; margin-top: 1.4rem; max-width: none; width: 100%; align-items: start; }
.faq.faq-cols .faq-col > details:first-child { border-top: 0; }
@media (max-width: 680px) { .faq.faq-cols { grid-template-columns: 1fr; gap: 0; } }
.card--cream .faq details { border-top-color: var(--rule-ink); }
.card--cream .faq summary { color: var(--ink); }
.card--cream .faq summary::after { color: var(--barn); }
.card--cream .faq p { color: var(--ink-2); }

/* Learn: cinematic light-mode hero + article + tiles */
.hero--learn { min-height: 54vh; }
.hero--learn h1, .hero--learn .eyebrow { color: var(--cream); }
body.paper .hero--learn .hero-wash { background: linear-gradient(160deg, rgba(10,16,36,0.62) 0%, rgba(10,16,36,0.22) 42%, rgba(244,235,215,0.92) 100%); }

/* Partner essays: logo sits in the hero, across from the title */
.hero--partner { min-height: 58vh; }
.hero-partner-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(9rem, 0.55fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: end;
  width: min(100%, 72rem);
}
.hero-partner-copy { max-width: 38rem; }
.hero-partner-logo {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 0.2rem;
}
.hero-partner-logo img {
  width: min(100%, 17rem);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.28));
}

/* Clear author credit on Learn / paper heroes */
.hero-author {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  margin: 1rem 0 0;
  font-family: var(--font-body, var(--ui));
  font-size: 1.02rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--cream) 78%, transparent);
}
.hero-author__by {
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.hero-author__role,
.hero-author__date {
  color: color-mix(in srgb, var(--cream) 72%, transparent);
}
.hero-author__sep {
  color: color-mix(in srgb, var(--cream) 45%, transparent);
  font-weight: 400;
}

@media (max-width: 720px) {
  .hero-partner-wrap {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.25rem;
  }
  .hero-partner-logo {
    justify-content: flex-start;
    order: -1;
  }
  .hero-partner-logo img { width: min(100%, 12.5rem); }
}

.article--flow { width: var(--w-essay); margin: 2.4rem auto 0; }
.learn-body { padding-block: clamp(1.5rem, 4vw, 3rem); }
.learn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.learn-tile { display: block; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--rule-ink); border-radius: var(--r-lg); padding: 1.3rem 1.4rem; box-shadow: 0 8px 24px rgba(35,31,26,0.08); }
.learn-tile h3 { font-size: 1.2rem; color: var(--ink); margin: 0 0 0.4rem; }
.learn-tile p { font-size: 0.95rem; color: var(--ink-2); margin: 0 0 0.7rem; }
.learn-tile .lib-go { color: var(--barn); }
body.paper .learn-body .eyebrow { color: var(--barn); }
body.paper .learn-body h2 { color: var(--ink); }
body.paper .learn-body .sh .wash { background-image: linear-gradient(transparent 62%, rgba(166,75,59,0.18) 62%); }

/* the sunrise SVG splash (interspersed, sparingly) */
.splash { line-height: 0; background: var(--canvas); }
.splash svg { display: block; width: 100%; }

/* Bloom Test banner above the nav (gold accent) */
.topbanner { display: block; text-align: center; text-decoration: none; background: var(--gold-bright); color: #3a2406; font-family: var(--ui); font-size: 0.85rem; font-weight: 600; padding: 0.55rem 1rem; }
.topbanner:hover { background: var(--gold); }

/* library tiles (replaces bullet lists of links) */
.lib-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.lib-card { display: block; text-decoration: none; color: inherit; background: rgba(255,255,255,0.06); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 1.1rem 1.2rem; }
.band-paper .lib-card { background: var(--paper); border-color: var(--rule-ink); box-shadow: 0 8px 24px rgba(0,0,0,0.10); }
.lib-card h3 { font-size: 1.12rem; margin: 0 0 0.35rem; }
.lib-card p { font-size: 0.95rem; opacity: 0.85; margin: 0 0 0.6rem; }
.lib-go { font-family: var(--ui); font-size: 0.8rem; color: var(--gold); }
.band-paper .lib-go { color: var(--barn); }

/* Cream-surface section (home Library tiles): a paper band on the navy canvas,
   used so no two navy sections ever touch. No breathing texture over paper. */
.cardsec--cream { background: var(--paper); color: var(--ink); }
.cardsec--cream::before { display: none; }
.cardsec--cream .eyebrow, .cardsec--cream > .wrap > .section-head .eyebrow { color: var(--barn); }
.cardsec--cream .sh .wash { background-image: linear-gradient(transparent 62%, rgba(166,75,59,0.18) 62%); }
.cardsec--cream h2, .cardsec--cream h3 { color: var(--ink); }
.cardsec--cream .prose { color: var(--ink-2); }
.cardsec--cream .prose a { color: var(--barn); }
/* ghost button (B2) on cream: the default light border + cream text is invisible on paper */
.cardsec--cream .btn-ghost, .card--cream .btn-ghost { border-color: rgba(35,31,26,0.28); color: var(--barn); }
.cardsec--cream .btn-ghost:hover, .card--cream .btn-ghost:hover { border-color: var(--barn); color: var(--barn); }
.cardsec--cream .lib-card { background: var(--paper); border-color: var(--rule-ink); color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,0.10); }
.cardsec--cream .lib-card p { color: var(--ink-2); opacity: 1; }
.cardsec--cream .lib-go { color: var(--barn); }

/* ===== Bloom Test tool (ported from the live site, restyled to two-blue/cream) ===== */
.bloom-card { max-width: var(--w-content); }
.bloom-input { margin: 1.4rem 0 0; }
.bloom-input__label { display: block; font-family: var(--ui); font-size: 0.82rem; letter-spacing: 0.02em; color: var(--ink-2); margin-bottom: 0.5rem; }
.bloom-input__row { display: flex; align-items: stretch; border: 1px solid var(--rule-ink); border-radius: var(--r-md); background: var(--paper); overflow: hidden; flex-wrap: wrap; }
.bloom-input__prefix { display: flex; align-items: center; padding: 0 0.4rem 0 0.9rem; color: var(--ink-3); font-family: var(--ui); font-size: 0.95rem; }
.bloom-input__field { flex: 1 1 12rem; min-width: 0; border: 0; outline: 0; padding: 0.95rem 0.6rem; font-size: 1.05rem; color: var(--ink); background: transparent; }
.bloom-input__submit { flex: 0 0 auto; border: 0; cursor: pointer; background: var(--barn); color: var(--cream); font-family: var(--ui); font-weight: 600; font-size: 0.95rem; padding: 0 1.4rem; }
.bloom-input__submit:hover { filter: brightness(1.06); }
.bloom-input__submit:disabled { opacity: 0.6; cursor: default; }
.form-note { margin: 0.7rem 0 0; font-size: 0.86rem; color: var(--ink-3); }
.bloom-results { margin-top: 2.2rem; margin-bottom: 0.6rem; }
.bloom-results:empty { display: none; }
/* the gateway form sitting in the hero (dark): label + note must read light */
.hero--form .bloom-input { max-width: 32rem; margin-top: 1.6rem; }
.hero .bloom-input__label { color: var(--cream); }
.hero .form-note { color: rgba(240,230,207,0.82); }
.bloom-results:not(:empty) { scroll-margin-top: 80px; }

/* loading: sunrise over Glacier + stepping checks */
.bloom-result--loading .bloom-loading { display: grid; grid-template-columns: minmax(0,1fr); gap: 1.25rem; }
@media (min-width: 620px) { .bloom-result--loading .bloom-loading { grid-template-columns: 220px 1fr; column-gap: 1.6rem; align-items: start; } }
.bloom-loading__sunrise { border-radius: var(--r-md); overflow: hidden; background: #0a1024; aspect-ratio: 16 / 9; width: 100%; align-self: start; }
.bloom-loading__sunrise object { display: block; width: 100%; height: 100%; pointer-events: none; }
.bloom-loading__eyebrow { font-family: var(--ui); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--barn); margin: 0 0 0.3rem; }
.bloom-loading__h { font-size: 1.2rem; margin: 0 0 0.3rem; color: var(--ink); }
.bloom-loading__deck { color: var(--ink-2); margin: 0 0 0.8rem; }
.bloom-loading__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.bloom-loading__step { display: flex; align-items: center; gap: 0.6rem; color: var(--ink-3); font-size: 0.92rem; transition: color .3s; }
.bloom-loading__dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--rule-ink); flex: 0 0 auto; transition: background .3s; }
.bloom-loading__step.is-active { color: var(--ink); }
.bloom-loading__step.is-active .bloom-loading__dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(212,162,90,0.18); }
.bloom-loading__step.is-done { color: var(--ink-2); }
.bloom-loading__step.is-done .bloom-loading__dot { background: var(--olive); }

/* result card: white panel with a band-colored top edge */
.bloom-result { background: var(--paper); color: var(--ink); border: 1px solid var(--rule-ink); border-top: 4px solid var(--ink-3); border-radius: var(--r-md); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: 0 16px 44px rgba(0,0,0,0.32); }
.bloom-result--loading { padding-block: clamp(1.6rem, 3.4vw, 2.1rem); }
.bloom-result p, .bloom-result li { color: var(--ink-2); }
.bloom-result--error p { color: var(--ink); font-size: 1rem; }
.bloom-result--bloom { border-top-color: var(--olive); }
.bloom-result--bud { border-top-color: var(--gold); }
.bloom-result--stem { border-top-color: var(--barn); }
.bloom-result--seed { border-top-color: var(--ink-3); }
.bloom-result--error { border-top-color: var(--barn); }
.bloom-result__eyebrow { font-family: var(--ui); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink-3); }
.bloom-result__band { font-size: 1.5rem; margin: 0.2rem 0 0.1rem; color: var(--ink); }
.bloom-result__score { font-family: var(--ui); color: var(--ink-2); margin: 0; }
.bloom-speed { display: inline-flex; align-items: baseline; gap: 0.5rem; margin: 0.5rem 0 1rem; }
.bloom-speed__score { font-size: 1.6rem; font-weight: 700; color: var(--olive); font-family: var(--disp); }
.bloom-speed__score--unavail { color: var(--ink-3); font-size: 1.1rem; }
.bloom-speed__label { font-family: var(--ui); font-size: 0.8rem; color: var(--ink-3); }
.bloom-tiers { display: grid; gap: 0.7rem; margin: 0.4rem 0 1.1rem; }
.bloom-tier__head { display: flex; justify-content: space-between; font-family: var(--ui); font-size: 0.84rem; color: var(--ink-2); margin-bottom: 0.25rem; }
.bloom-tier__bar { height: 0.5rem; background: var(--paper-2); border-radius: var(--r-pill); overflow: hidden; }
.bloom-tier__fill { height: 100%; background: var(--olive); border-radius: var(--r-pill); }
.bloom-actions { margin: 0.6rem 0; }
.bloom-actions h3 { font-size: 1rem; margin: 0 0 0.4rem; color: var(--ink); }
.bloom-actions__list { margin: 0; padding-left: 1.1rem; color: var(--ink-2); display: grid; gap: 0.3rem; }
.bloom-check-list { list-style: none; margin: 0.4rem 0; padding: 0; display: grid; gap: 0.4rem; }
.bloom-check { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 0.7rem; align-items: start; font-size: 0.92rem; color: var(--ink-2); }
.bloom-check__marker { font-family: var(--ui); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.12rem 0.45rem; border-radius: var(--r-sm); }
.bloom-check--ok .bloom-check__marker { background: rgba(133,145,96,0.18); color: var(--olive); }
.bloom-check--miss .bloom-check__marker { background: rgba(166,75,59,0.14); color: var(--barn); }
.bloom-check__detail { grid-column: 2; color: var(--ink-3); font-size: 0.84rem; }
.bloom-check-list-wrap { margin-top: 0.5rem; }
.bloom-check-list-wrap summary { cursor: pointer; font-family: var(--ui); font-size: 0.86rem; color: var(--barn); }
.bloom-result__foot { margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--rule-ink); font-size: 0.9rem; }
.bloom-result__foot a { color: var(--barn); }
.bloom-result--error h2 { color: var(--barn); font-size: 1.2rem; margin: 0 0 0.3rem; }

/* ===== Contact: zero-friction message form, sits in the hero ===== */
.hero--form .cform { max-width: 36rem; margin-top: 1.6rem; background: var(--paper); color: var(--ink); border: 1px solid var(--rule-ink); border-radius: var(--r-md); padding: clamp(1.1rem, 2.6vw, 1.5rem); box-shadow: 0 16px 44px rgba(0,0,0,0.32); text-align: left; }
.cform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 0.8rem; }
.cform-field { display: flex; flex-direction: column; gap: 0.3rem; font-family: var(--ui); font-size: 0.8rem; letter-spacing: 0.02em; color: var(--ink-2); }
.cform-field--full { grid-column: 1 / -1; }
.cform-field input, .cform-field textarea { font-family: var(--ui); font-size: 1rem; color: var(--ink); background: #fffefb; border: 1px solid var(--rule-ink); border-radius: var(--r-sm); padding: 0.62rem 0.72rem; width: 100%; box-sizing: border-box; }
.cform-field textarea { resize: vertical; min-height: 3.4rem; line-height: 1.45; }
.cform-field input:focus-visible, .cform-field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.cform-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.95rem; }
.cform-submit { min-height: 48px; }
/* ghost call button must stay visible on the light paper card */
.cform-actions .btn-ghost { min-height: 48px; color: var(--ink); border: 1px solid var(--ink-3); background: transparent; }
.cform-actions .btn-ghost:hover { background: rgba(20,33,46,0.06); border-color: var(--ink-2); }
.cform-status { margin: 0.7rem 0 0; font-size: 0.92rem; min-height: 1.2em; }
.cform-status.is-ok { color: var(--olive); }
.cform-status.is-err { color: var(--barn); }
.cform-alt { margin: 0.6rem 0 0; font-size: 0.86rem; color: var(--ink-3); }
.cform-alt a { color: var(--barn); }
@media (max-width: 460px) { .cform-grid { grid-template-columns: 1fr; } .cform-actions .btn { width: 100%; } }

/* ===== Go-live fixes: a11y + mobile (review 2026-06-16) ===== */
/* Bloom submit: keep a >=48px tap target; stack full-width on small phones */
.bloom-input__submit { min-height: 48px; }
@media (max-width: 430px) { .bloom-input__row { flex-direction: column; align-items: stretch; } .bloom-input__submit { width: 100%; padding: 0.95rem 1.4rem; } }
.bloom-input__row:focus-within { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
/* Visible focus, site-wide */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, .lib-card:focus-visible, .learn-tile:focus-visible, .nav-burger:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 3px; }
body.paper a:focus-visible, body.paper button:focus-visible, body.paper summary:focus-visible { outline-color: var(--barn); }
/* Hamburger: keyboard focus cue + open/close X morph, 44px target */
.nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--gold-bright); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 760px) {
  .nav-burger { width: 44px; height: 44px; }
  .nav-burger span { transition: transform 0.2s, opacity 0.2s; }
  #nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  #nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

.section-head { max-width: 52ch; margin-bottom: 1.6rem; }
.band h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.sh .wash { -webkit-box-decoration-break: clone; box-decoration-break: clone; background-image: linear-gradient(transparent 62%, rgba(212,162,90,0.30) 62%); padding: 0 0.05em; }
.band-paper .sh .wash { background-image: linear-gradient(transparent 62%, rgba(166,75,59,0.18) 62%); }
.prose { max-width: 60ch; font-size: 1.08rem; }
.prose a { color: var(--gold-bright); }
.band-paper .prose a { color: var(--barn); }

/* ---------- pricing tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.tier { background: rgba(255,255,255,0.08); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 1.3rem; font-family: var(--ui); }
.band-paper .tier { background: var(--paper); border-color: var(--rule-ink); }
.tier-featured { border: 2px solid var(--gold-bright); position: relative; background: var(--paper); color: var(--ink); }
.tier-featured h3 { color: var(--ink); }
.tier-featured .price { color: var(--barn); }
.tier-featured .price small { color: var(--ink-3); }
.tier-featured li { border-top-color: var(--rule-ink); }
.tier-featured .btn-ghost { border-color: rgba(35,31,26,0.28); color: var(--barn); }
.tier-featured .btn-ghost:hover { border-color: var(--barn); color: var(--barn); }
.tier-badge { position: absolute; top: -11px; left: 1.3rem; background: var(--gold-bright); color: #3a2406; font-size: 0.7rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: var(--r-sm); }
.tier h3 { font-family: var(--ui); font-size: 1rem; font-weight: 600; margin-bottom: 0.2rem; }
.tier .price { font-family: var(--disp); font-size: 2rem; color: var(--gold); }
.tier .price small { font-size: 0.85rem; color: var(--ink-3); }
.band-navy .tier .price small { color: #9fb0c6; }
.tier ul { list-style: none; padding: 0; margin: 0.8rem 0 0; font-size: 0.9rem; }
.tier li { padding: 0.25rem 0; border-top: 1px solid var(--rule); }
.band-paper .tier li { border-color: var(--rule-ink); }

/* ===== Pricing page: proper cards (driven by content/pricing.yaml) ===== */
.pcenter { max-width: 62ch; margin: 0 0 1.6rem; text-align: left; }
.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.pcard { background: var(--paper); color: var(--ink); border: 1px solid var(--rule-ink); border-radius: var(--r-md); padding: 1.5rem; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,0.18); }
.pcard h3 { font-family: var(--disp); font-size: 1.3rem; margin: 0 0 0.15rem; color: var(--ink); }
.pcard-tag { font-family: var(--ui); color: var(--ink-3); font-size: 0.9rem; margin: 0 0 0.9rem; }
.pcard-price { font-family: var(--disp); font-size: 2rem; color: var(--barn); margin-bottom: 0.9rem; }
.pcard-price small { font-family: var(--ui); font-size: 0.82rem; color: var(--ink-3); }
.pcard-list { list-style: none; padding: 0; margin: 0 0 1.3rem; font-size: 0.94rem; color: var(--ink-2); display: grid; gap: 0.45rem; }
.pcard-list li { padding-left: 1.25rem; position: relative; }
.pcard-list li::before { content: "+"; position: absolute; left: 0; color: var(--olive); font-weight: 700; }
.pcard .btn { margin-top: auto; align-self: flex-start; }
.pbase { margin-top: 1.3rem; display: flex; gap: 1.3rem; align-items: center; background: var(--paper); border: 1px solid var(--rule-ink); border-radius: var(--r-md); padding: 1.2rem 1.5rem; color: var(--ink-2); }
.pbase-price { font-family: var(--disp); font-size: 1.9rem; color: var(--ink); flex: 0 0 auto; }
.pbase-price small { font-family: var(--ui); font-size: 0.8rem; color: var(--ink-3); margin-left: 0.15rem; }
.pbase p { margin: 0; font-size: 0.94rem; }
.tiers--full .tier { display: flex; flex-direction: column; }
.tier-setup { font-family: var(--ui); font-size: 0.85rem; margin: 0.15rem 0 0; color: #9fb0c6; }
.tier-featured .tier-setup { color: var(--ink-3); }
.tiers--full .tier .btn { margin-top: 1.1rem; align-self: flex-start; }
.addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.addon { background: #fffefb; border: 1px solid var(--rule-ink); border-radius: var(--r-md); padding: 1.4rem; color: var(--ink-2); display: flex; flex-direction: column; }
.addon h3 { font-family: var(--disp); font-size: 1.15rem; color: var(--ink); margin: 0 0 0.3rem; }
.addon-price { font-family: var(--ui); font-weight: 600; color: var(--barn); margin-bottom: 0.5rem; }
.addon p { margin: 0 0 1.1rem; font-size: 0.92rem; }
.addon .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 560px) { .pbase { flex-direction: column; align-items: flex-start; gap: 0.6rem; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.quote { background: var(--paper); color: var(--ink); border: 1px solid rgba(35,31,26,0.1); border-radius: var(--r-lg); padding: 1.4rem; margin: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.28); }
.quote blockquote { margin: 0; }
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 0.5rem; }
.quote p { font-size: 1.04rem; color: var(--ink-2); }
.quote cite { font-family: var(--ui); font-size: 0.82rem; color: var(--barn); font-style: normal; }

/* ---------- faq ---------- */
.faq { max-width: 64ch; margin-top: 1.2rem; }
.faq details { border-top: 1px solid var(--rule); padding: 0.85rem 0; }
.band-paper .faq details { border-color: var(--rule-ink); }
.faq summary { font-family: var(--ui); font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--gold); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: 0.7rem 0 0; }

/* ---------- locate / map ---------- */
.locate { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: stretch; margin-top: 1.2rem; }
@media (max-width: 720px) { .locate { grid-template-columns: 1fr; } }
.locate .map { border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden; min-height: 260px; }
.locate iframe { width: 100%; height: 100%; min-height: 260px; border: 0; filter: saturate(0.9) brightness(0.95); }
.locate address { font-style: normal; font-family: var(--ui); line-height: 1.9; }


/* ---------- footer ---------- */
.site-foot { background: var(--canvas); border-top: 1px solid var(--rule); padding-block: 2.4rem; font-family: var(--ui); font-size: 0.9rem; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: baseline; justify-content: space-between; }
.foot-motto { letter-spacing: 0.16em; text-transform: uppercase; color: #7f93ad; font-size: 0.78rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.foot-nav a { color: var(--cream); opacity: 0.8; text-decoration: none; }
.foot-bar { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--rule); color: #7f93ad; font-size: 0.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- paper mode: Learn reading surface ---------- */
body.paper { background: var(--paper); color: var(--ink); }
body.paper .site-head { background: rgba(244,235,215,0.82); border-bottom-color: var(--rule-ink); }
body.paper .brand, body.paper .nav a { color: var(--ink); }
body.paper .nav a[aria-current="page"] { color: var(--barn); border-bottom-color: var(--barn); }
body.paper .site-foot { background: var(--paper-2); border-top-color: var(--rule-ink); color: var(--ink-2); }
body.paper .foot-nav a { color: var(--ink); }
.article-hero { position: relative; height: 38vh; min-height: 240px; overflow: hidden; }
.article-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-hero .article-wash { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(244,235,215,0) 40%, rgba(244,235,215,0.85) 100%); }
.article { width: var(--w-essay); margin: -3rem auto 0; position: relative; z-index: 2; background: var(--paper);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 3rem); box-shadow: 0 -2px 30px rgba(35,31,26,0.08); }
.article .eyebrow { color: var(--barn); }
.article h1 { font-size: clamp(2rem, 5vw, 3rem); color: var(--ink); }
.article .lede, .article p { font-size: 1.18rem; line-height: 1.75; color: var(--ink-2); }
.article h2 { font-size: 1.5rem; color: var(--ink); margin-top: 2.2rem; }
.article > p:first-of-type::first-letter { font-family: var(--disp); font-size: 3.4rem; float: left; line-height: 0.8; padding: 0.1em 0.12em 0 0; color: var(--barn); }
.article a { color: var(--barn); }
.learn-list { width: var(--w-essay); margin: 2rem auto; display: grid; gap: 1rem; }
.learn-list a { display: block; text-decoration: none; background: var(--paper); border: 1px solid var(--rule-ink); border-radius: var(--r-md); padding: 1.1rem 1.3rem; color: var(--ink); }
.learn-list h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.learn-list p { color: var(--ink-2); margin: 0; font-size: 0.98rem; }

/* ---------- infrastructure partners ---------- */
.partner-mark { margin: 0 0 1.4rem; }
.partner-mark img { display: block; height: auto; max-width: 12rem; }
.partners-band { background: var(--navy-2, #0f1730); color: var(--cream, #f4ebd7); }
.partners-band .eyebrow { color: var(--gold-bright); }
.partners-band .prose { color: rgba(244,235,215,0.88); margin: 0 auto 1.6rem; }
.partners-band .prose a { color: var(--gold-bright); }
.partners-row { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; align-items: stretch; }
.partner-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
  min-width: 11rem; padding: 1.2rem 1.5rem; text-decoration: none; color: var(--cream, #f4ebd7);
  border: 1px solid rgba(244,235,215,0.18); border-radius: var(--r-lg); background: rgba(255,255,255,0.04);
}
.partner-link img { display: block; height: 2.2rem; width: auto; max-width: 10rem; object-fit: contain; }
.partner-link span { font-size: 0.92rem; letter-spacing: 0.02em; color: rgba(244,235,215,0.82); }
.partner-link:hover { border-color: rgba(212,162,90,0.55); background: rgba(255,255,255,0.07); }
@media (max-width: 520px) { .partner-link { width: 100%; } }

