/* dv-site.css - Disciples' Village site stylesheet (GENERATION_BRIEF 5, 7; PR-2 lane).
   PORT PROVENANCE: docs/design/mockups/dv-stage-c/site.css (the locked Stage C package) with: the tokens moved to the
   generated assets/dv-tokens.css (T3); the review-only rules removed (stage banner, N-6 stand-in, editor specimens,
   review switches, the Example tag); motion on the individual scale/translate properties, never the transform
   shorthand (CAT-062, CN-12); the feedback transitions gated under reduce (INTERACTIONS 6 Q4); one token for the
   give-bar pair (G-4/G-5). PR-2 additions are at the end, after "PR-2 ADDITIONS". Class names are the package's: the
   composition (PR-3) uses the package markup (SEAM.md). */
/* Disciples' Village, Stage C working mockup: the selected theme (Direction A "The road in" as the core; B's region
   schematic; C's Hope and a Future page re-set in A's tokens). One stylesheet for every page. No library, no external
   request. Tokens: tokens.json (schema v2), generated into dv-tokens.css. All blue: the logo pair, white, #F5F5F5, and recorded
   tints/shades of the two blues. */



/* Tokens: assets/dv-tokens.css (GENERATED from tokens.json by tools/dv-tokens/build.mjs; loaded first). */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); scroll-padding-bottom: calc(var(--give-bar) + 12px); }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(32px, 5.2vw, 64px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
h4 { font-size: 19px; }
p { margin: 0 0 1em; }
.light, .meta, figcaption, .give-note, time { font-weight: 300; }
:is(h1, h2, h3, dd, .when, .cal-week) time { font-weight: inherit; }   /* a date inside a Montserrat line stays Montserrat Bold (A4) */
em, i:not([aria-hidden]) { font-style: normal; font-weight: 300; }      /* A4: the client's italics read as Open Sans Light, upright */
strong, b, th { font-family: var(--head); font-weight: 700; }           /* A4: bold is Montserrat Bold (callouts), never Open Sans 700 */
code { font: 400 .92em/1.4 var(--body); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

/* Focus: always visible, never under the header or the give bar (scroll-padding above). */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible, .act--mission :focus-visible, .site-footer :focus-visible, .give-bar :focus-visible { outline-color: var(--white); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; font: 700 15px/1.2 var(--head); }
.skip:focus { top: 12px; }


/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; padding: 8px 0; }
.brand img { width: 62px; height: auto; }
.brand .wordmark { font: 700 15px/1.1 var(--head); letter-spacing: .04em; text-transform: uppercase; }
.brand .wordmark b { color: var(--blue); font-weight: 700; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; gap: 2px; align-items: center; }
.nav a, .nav .sub-toggle { display: block; padding: 10px 12px; font: 700 15px/1.2 var(--head); color: var(--navy); text-decoration: none; border-radius: 8px; background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav .sub-toggle:hover { background: var(--blue-tint); }
.nav a[aria-current="page"] { color: var(--blue-deep); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 3px; text-underline-offset: 7px; text-decoration-skip-ink: none; }
.sub-toggle::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.sub-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.has-sub { position: relative; }
.sub { position: absolute; left: 0; top: 100%; min-width: 240px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(27,36,102,.14); padding: 8px; display: none; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }  /* no-JS path */
.js .has-sub:hover > .sub, .js .has-sub:focus-within > .sub { display: none; }
.js .has-sub.open > .sub { display: block; }
.sub a { font-weight: 700; }
.sub .sub-new { font: 300 12px/1 var(--body); color: var(--blue-deep); margin-left: 6px; }
.head-give { white-space: nowrap; order: 3; }
.nav { order: 2; }
.nav a, .nav .sub-toggle { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 1081px) { .nav a, .nav .sub-toggle { padding: 10px 8px; font-size: 14px; } }
.nav-toggle { display: none; align-items: center; gap: 8px; background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: 999px; padding: 8px 14px; font: 700 14px/1 var(--head); cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -5px; } .nav-toggle .bars::after { top: 5px; }

@media (max-width: 1080px) {
  .js .nav-toggle { display: inline-flex; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav { flex-basis: 100%; order: 4; }
  .head-give { order: 2; }
  .nav-toggle { order: 3; }
  .nav a, .nav .sub-toggle { white-space: normal; }
  .nav > ul { flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
  .js .nav { display: none; }
  .js .nav.open { display: block; position: fixed; left: 0; right: 0; top: var(--menu-top, var(--header-h)); bottom: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--white); padding: 0 var(--gutter) 24px; border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(27,36,102,.14); z-index: 55; }
  .sub { position: static; box-shadow: none; border: 0; border-left: 3px solid var(--blue-tint); border-radius: 0; margin-left: 12px; padding: 0 0 0 4px; display: block; }
  .js .sub { display: none; }
  .no-js .nav > ul { flex-direction: row; flex-wrap: wrap; }
  .no-js .sub { display: none; }
  .brand .wordmark { font-size: 13px; }
}
@media (max-width: 520px) {
  .brand .wordmark { display: none; }
  .brand img { width: 54px; }
  .site-header .wrap { gap: 10px; }
  .nav-toggle { padding: 8px 12px; }
}

/* ---------- Buttons: one give language, no third hue ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 700 16px/1.2 var(--head); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) { .btn { transition: translate .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; } }  /* N-1: feedback is instant under reduce (Q4) */
.btn--give { background: var(--navy); color: var(--white); box-shadow: 0 6px 0 var(--navy-deep); }
.btn--give:hover { color: var(--white); background: var(--navy-deep); translate: 0 -2px; box-shadow: 0 8px 0 var(--step-hover); }
.btn--give:active { translate: 0 3px; box-shadow: 0 2px 0 var(--navy-deep); }
.btn--give .arrow { width: 18px; height: 18px; }
.btn--big { min-height: 58px; padding: 16px 30px; font-size: 18px; }
.btn--line { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn--line:hover { background: var(--blue-tint); color: var(--navy); }
.on-navy .btn--give, .act--mission .btn--give, .give-bar .btn--give { background: var(--white); color: var(--navy); box-shadow: 0 6px 0 var(--blue-on-dark); }
.on-navy .btn--give:hover, .act--mission .btn--give:hover, .give-bar .btn--give:hover { background: var(--blue-tint); color: var(--navy); }
.on-navy .btn--line, .act--mission .btn--line { background: transparent; color: var(--white); border-color: var(--white); }
.btn--small { min-height: 44px; padding: 9px 18px; font-size: 15px; }
.btn[aria-disabled="true"] { background: var(--blue-tint); color: var(--navy); box-shadow: none; border: 2px dashed var(--blue); cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }
.text-link { font: 700 16px/1.3 var(--head); color: var(--blue-deep); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.text-link::after { content: " \2192"; }
.give-note { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 14px 0 0; max-width: 60ch; }
.give-note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--blue-deep); }
.on-navy .give-note, .act--mission .give-note { color: var(--ink-on-dark); }
.on-navy .give-note svg { color: var(--blue-on-dark); }

/* ---------- Flags and slots: blue, dashed, always labelled ---------- */
.flag { display: block; font-size: 14px; line-height: 1.5; color: var(--ink); background: var(--blue-tint); border-left: 4px solid var(--blue); border-radius: 0 8px 8px 0; padding: 8px 12px; margin: 12px 0 0; max-width: 72ch; }
.flag b { font: 700 11px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-right: 8px; }
.slot { border: 2px dashed var(--blue); background: var(--blue-tint); color: var(--ink); border-radius: var(--radius); padding: 20px; }
.slot .slot-label { display: inline-block; font: 700 12px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: var(--navy); padding: 6px 9px; border-radius: 6px; margin-bottom: 10px; }
.eyebrow { font: 700 13px/1.3 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); margin: 0 0 12px; }
.on-navy .eyebrow, .act--mission .eyebrow { color: var(--blue-on-dark); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; }

/* ---------- Photos (stand-in when the off-repo file is missing) ---------- */
.ph { margin: 0; position: relative; background: var(--blue-tint); overflow: hidden; border-radius: var(--radius); }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ======================================================================
   HOME — the route card (first screen)
   ====================================================================== */
.route { padding: clamp(24px, 4vw, 48px) 0 0; text-align: center; }
.route .eyebrow { margin-bottom: 18px; }
.route h1 { max-width: 22ch; margin: 0 auto 20px; font-size: clamp(32px, 4.4vw, 56px); }
.route .lead { max-width: 52ch; margin: 0 auto 26px; color: var(--ink); }
.route .actions { justify-content: center; }
.route .give-note { margin-left: auto; margin-right: auto; justify-content: center; text-align: left; }
.route .flag { margin-left: auto; margin-right: auto; text-align: left; }
.route-plate { position: relative; margin: clamp(28px, 4vw, 48px) auto 0; max-width: 1400px; padding: 0 var(--gutter); }
.route-plate .ph { aspect-ratio: 1600 / 600; border-radius: 22px; }
.route-plate .ph img { object-position: 50% 40%; }
@media (prefers-reduced-motion: no-preference) {
  .route-plate .ph img { animation: settle 1.4s var(--ease) both; }
  @keyframes settle { from { scale: 1.06; } to { scale: 1; } }
}
.stops { list-style: none; margin: -46px auto 0; padding: 0; position: relative; z-index: 2; max-width: 1080px; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); background: var(--white); border-radius: 18px; box-shadow: 0 20px 50px rgba(27,36,102,.16); counter-reset: stop; }
.stops::before { content: ""; position: absolute; left: 10%; right: 10%; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 18px); }
.stops li { position: relative; }
.stops a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px 18px; text-decoration: none; color: var(--navy); font: 700 15px/1.25 var(--head); text-align: center; border-radius: 14px; }
.stops a:hover { background: var(--blue-tint); }
.stops .n { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); color: var(--blue-deep); font: 700 14px/1 var(--head); }
.stops li:last-child .n { background: var(--navy); border-color: var(--navy); color: var(--white); }
@media (max-width: 760px) {
  .route { text-align: left; }
  .route h1, .route .lead { margin-left: 0; }
  .route .actions { justify-content: flex-start; }
  .route .actions .btn { width: 100%; }
  .route .give-note { justify-content: flex-start; }
  .route-plate .ph { aspect-ratio: 4 / 3; }
  .stops { margin: -28px 12px 0; grid-template-columns: 1fr; }
  .stops::before { left: 32px; right: auto; top: 18px; bottom: 18px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--blue) 0 8px, transparent 8px 14px); }
  .stops a { flex-direction: row; justify-content: flex-start; text-align: left; padding: 10px 14px; gap: 14px; }
}

/* ---------- The journey: rail + road ---------- */
.journey { position: relative; }
.rail { display: none; }
@media (min-width: 1240px) {
  .rail { display: block; position: absolute; left: 20px; top: 0; bottom: 0; width: 44px; z-index: 5; }
  .rail nav { position: sticky; top: calc(var(--header-h) + 36vh - 120px); padding: 0; }
  .rail-track { position: relative; }
  .rail ol { list-style: none; margin: 0; padding: 0; position: relative; }
  .rail ol::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: var(--line); }
  .rail .road { position: absolute; left: 15px; top: 16px; width: 2px; height: calc(100% - 32px); background: var(--blue); transform-origin: top; scale: 1 var(--road, 1); z-index: 1; }
  .rail li { position: relative; margin: 0 0 22px; z-index: 2; }
  .rail a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); color: var(--blue-deep); font: 700 13px/1 var(--head); text-decoration: none; position: relative; }
  .rail a .lbl { position: absolute; left: 42px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--navy); color: var(--white); font: 700 13px/1 var(--head); padding: 8px 10px; border-radius: 8px; clip-path: inset(50%); pointer-events: none; }
  .rail a:hover .lbl, .rail a:focus-visible .lbl { clip-path: none; }
  /* N-3: at rest the label is clipped, not opacity 0: it stays in the link's accessible name, and a rest state is not a
     hidden reveal (VERIFY G counted opacity-0 labels when the rail is in the first screen). Instant (feedback). */
  .rail a[aria-current="step"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
}
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; background: var(--blue); transform-origin: left; scale: var(--road, 0) 1; pointer-events: none; }
@media (min-width: 1240px) { .progress { display: none; } }
.no-js .progress { display: none; }

.act { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.act-kicker { display: flex; align-items: center; gap: 12px; font: 700 13px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); margin: 0 0 18px; }
.act-kicker .n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid currentColor; font-size: 13px; letter-spacing: 0; }
.act--mission .act-kicker { color: var(--blue-on-dark); }
.act--gray { background: var(--gray); }
.act--gray .act-kicker, .act--gray .eyebrow { color: var(--blue-deep); }

/* Act 1 — the photo plate unmasks */
.plate { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 0; align-items: center; }
.plate .ph { aspect-ratio: 4 / 3; border-radius: 22px; }
.plate-quote { position: relative; z-index: 1; margin: 0 0 0 -8%; background: var(--white); border-radius: 22px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 24px 60px rgba(27,36,102,.14); }
.plate-quote blockquote { margin: 0; font: 700 clamp(17px, 1.35vw, 20px)/1.55 var(--head); color: var(--navy); }
.plate-quote blockquote p::before { content: "\201C"; display: block; font: 700 64px/0.6 var(--head); color: var(--blue); margin-bottom: 10px; }
.plate-quote figcaption { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.why-more { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 860px) {
  .plate { grid-template-columns: 1fr; }
  .plate-quote { margin: -48px 12px 0; }
  .why-more { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .plate .ph { clip-path: inset(0 0 0 0 round 22px); transition: clip-path 1.1s var(--ease); }
  .js .plate:not(.is-in) .ph { clip-path: inset(8% 14% 8% 0 round 22px); }
}

/* Act 2 — leaders (tabs) */
.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.role { background: var(--white); border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--blue); }
.role h4 { margin-bottom: 10px; }
.role ul { margin: 0; padding-left: 18px; font-size: 16px; }
.role li { margin-bottom: 6px; }
.tabs-list { display: none; }
.js .roles.is-tabs { display: block; }
.js .roles.is-tabs .tabs-list { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.tabs-list button { font: 700 15px/1.2 var(--head); color: var(--navy); background: var(--white); border: 2px solid var(--line); border-radius: 999px; padding: 11px 18px; min-height: 44px; cursor: pointer; }
.tabs-list button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.js .roles.is-tabs .role[hidden] { display: none; }
.js .roles.is-tabs .role { border-top-width: 0; box-shadow: 0 14px 34px rgba(27,36,102,.08); }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .js .roles.is-tabs .role:not([hidden]) { animation: rise .35s var(--ease) both; }
}

/* Act 2 — the villages, a scroll stack */
.villages-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin: clamp(56px, 7vw, 96px) 0 24px; }
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.vcard { background: var(--white); border-radius: 22px; box-shadow: 0 18px 46px rgba(27,36,102,.12); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); overflow: hidden; border: 1px solid var(--line); }
.vcard .ph { border-radius: 0; aspect-ratio: 5 / 3; }
.vcard-body { padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; justify-content: center; }
.vcard .count { font: 700 13px/1 var(--head); letter-spacing: .1em; color: var(--blue-deep); margin: 0 0 10px; }
.vcard h4 { font-size: clamp(22px, 2.2vw, 30px); }
.vcard .meta { font-size: 15px; color: var(--ink-2); }
@media (max-width: 760px) { .vcard { grid-template-columns: 1fr; } .vcard .ph { aspect-ratio: 16 / 9; } }
@media (prefers-reduced-motion: no-preference) and (min-height: 700px) {
  .stack { gap: 28px; }
  .stack > li { position: sticky; top: calc(var(--header-h) + 24px + var(--i) * 14px); }
  @supports (animation-timeline: view()) {
    .stack > li:not(:last-child) .vcard { animation: recede linear both; animation-timeline: view(); animation-range: exit-crossing 0% exit-crossing 100%; transform-origin: top center; }
    @keyframes recede { to { scale: .93; filter: brightness(.92); } }
  }
}

/* Act 3 — the mission (navy) */
.act--mission { background: var(--navy-deep); color: var(--white); }
.act--mission h2, .act--mission h3 { color: var(--white); }
.mission-line { font-size: clamp(30px, 4.4vw, 58px); max-width: 22ch; line-height: 1.12; }
@media (prefers-reduced-motion: no-preference) {
  .js .mission-line .w { transition: opacity .4s var(--ease), color .4s; }
  .js .mission-line:not(.is-in) .w { opacity: .22; }
  .js .mission-line.is-in .w { transition-delay: calc(var(--i) * 40ms); }
}
.scripture { margin: clamp(36px, 5vw, 64px) 0 0; padding-left: clamp(18px, 3vw, 32px); border-left: 4px solid var(--blue-on-dark); max-width: 60ch; }
.scripture blockquote { margin: 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.7; color: var(--white); }
.scripture figcaption { margin-top: 12px; color: var(--blue-on-dark); font-size: 15px; }
.act--mission .prose { color: var(--ink-on-dark); max-width: 62ch; margin-top: 32px; }
.act--mission a:not(.btn) { color: var(--white); }

/* Act 4 — why now: the road timeline */
.tl { position: relative; margin: 32px 0 0; max-width: 820px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 44px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 3px; background: var(--line); border-radius: 3px; }
.timeline .fill { position: absolute; left: 13px; top: 8px; width: 3px; height: calc(100% - 16px); background: var(--blue); border-radius: 3px; transform-origin: top; scale: 1 var(--fill, 1); }
.timeline > li { position: relative; padding: 0 0 34px; }
.timeline > li::before { content: ""; position: absolute; left: -38px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue); }
.timeline .when { font: 700 15px/1.2 var(--head); color: var(--blue-deep); letter-spacing: .04em; margin: 0 0 6px; }
.timeline .slot { padding: 14px 16px; }
.timeline .now::before { background: var(--navy); border-color: var(--navy); width: 22px; height: 22px; left: -41px; top: 2px; }
.appeal { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px 28px; align-items: center; background: var(--navy); color: var(--white); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.appeal h3 { color: var(--white); margin: 0 0 6px; }
.appeal p { color: var(--ink-on-dark); margin: 0; }
@media (max-width: 700px) { .appeal { grid-template-columns: 1fr; } }
.pulse { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-on-dark); margin-bottom: 10px; }
.pulse i { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-on-dark); position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .pulse i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue-on-dark); opacity: 0; }
  .no-js .pulse i::after, .pulse.is-in i::after { animation: ping 1.2s ease-out 3; }
  @keyframes ping { from { scale: 1; opacity: .9; } to { scale: 2.8; opacity: 0; } }
}

/* Act 5 — give or come */
.choices { list-style: none; margin: 32px 0 0; padding: 0; border-top: 2px solid var(--navy); }
.choice { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.choice .ph { aspect-ratio: 4 / 3; border-radius: 12px; }
.choice .kicker { font: 700 12px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); margin: 0 0 8px; }
.choice h3 { margin-bottom: 6px; }
.choice h3 a { color: var(--navy); text-decoration: none; }
.choice h3 a:hover { text-decoration: underline; }
.choice .unit { font: 700 15px/1.3 var(--head); color: var(--navy); margin: 0 0 8px; }
.choice p:last-child { margin: 0; }
.choice--primary { background: var(--blue-tint); border-radius: 0 0 16px 16px; padding: 24px 20px; margin: 0 -20px; }
@media (max-width: 860px) {
  .choice { grid-template-columns: 120px minmax(0,1fr); }
  .choice .actions { grid-column: 1 / -1; }
  .choice .actions .btn { width: 100%; }
  .choice--primary { margin: 0 -12px; padding: 20px 12px; }
}
.use-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(48px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .use-grid { grid-template-columns: 1fr; } }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 0 0 16px 36px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-tint); border: 2px solid var(--blue); }
.checks li::after { content: ""; position: absolute; left: 8px; top: 9px; width: 6px; height: 10px; border: solid var(--navy); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.fee-card { background: var(--gray); border-radius: 18px; padding: clamp(20px, 3vw, 30px); }
.fee-card h3 { font-size: 22px; }
.come { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; margin-top: clamp(56px, 7vw, 96px); background: var(--navy); color: var(--white); border-radius: 24px; overflow: hidden; }
.come .ph { border-radius: 0; height: 100%; min-height: 260px; }
.come-body { padding: clamp(24px, 4vw, 48px); }
.come h3 { color: var(--white); font-size: clamp(24px, 2.6vw, 34px); }
.come p { color: var(--ink-on-dark); }
.weeks { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 8px; }
.weeks li { display: flex; flex-wrap: wrap; gap: 4px 12px; background: rgba(255,255,255,.08); border-radius: 10px; padding: 10px 14px; }
.weeks .when { font: 700 15px/1.4 var(--head); color: var(--white); }
.weeks .what { color: var(--ink-on-dark); font-size: 15px; }
.price { font: 700 30px/1 var(--head); color: var(--white); margin: 0 0 4px; }
@media (max-width: 860px) { .come { grid-template-columns: 1fr; } .come .ph { min-height: 0; aspect-ratio: 8 / 7; } }
.partners { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.partner { border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.partner .kicker { font: 700 12px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); margin: 0 0 10px; }
.partner h4 a { color: var(--navy); text-decoration: none; }
@media (max-width: 700px) { .partners { grid-template-columns: 1fr; } }

/* After the road: updates + newsletter */
.band { padding: clamp(56px, 7vw, 96px) 0; }
.band--gray { background: var(--gray); }
.updates { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.updates li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.updates time { color: var(--ink-2); font-size: 15px; }
.updates h3 { font-size: 19px; margin: 0 0 6px; }
.updates h3 a { color: var(--navy); text-decoration: none; }
.updates h3 a:hover { text-decoration: underline; }
.updates p { margin: 0; }
@media (max-width: 700px) { .updates li { grid-template-columns: 1fr; } }

/* Reveal (enter viewport, once). Reduced motion: no hidden state at all, so every act is its complete frame. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { transition: opacity .7s var(--ease), translate .7s var(--ease); }
  .js [data-reveal]:not(.is-in) { opacity: 0; translate: 0 18px; }
  html { scroll-behavior: smooth; }
  @keyframes rise { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
}

/* ---------- Give bar (phones and zoomed views; appears after the mission act) ---------- */
.give-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--navy); color: var(--white); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -10px 30px rgba(27,36,102,.25); }
.give-bar[hidden] { display: none; }
.give-bar p { margin: 0; font: 700 14px/1.3 var(--head); }
.give-bar p span { display: block; font: 300 13px/1.3 var(--body); color: var(--ink-on-dark); }
@media (min-width: 1081px) { .give-bar { display: none !important; } }
@media (prefers-reduced-motion: no-preference) { .give-bar.is-shown { animation: barIn .35s var(--ease) both; } @keyframes barIn { from { translate: 0 100%; } to { translate: 0 0; } } }
body.has-bar { padding-bottom: var(--give-bar); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--ink-on-dark); padding: 64px 0 28px; font-size: 15px; }
.site-footer h2 { color: var(--white); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer a { color: var(--white); }
.f-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 32px; }
.f-brand .logo-chip { display: inline-block; background: var(--white); border-radius: 12px; padding: 10px 12px; }
.f-brand .logo-chip img { width: 90px; }
.f-links { list-style: none; margin: 0; padding: 0; }
.f-links li { margin: 0 0 8px; }
.site-footer address { font-style: normal; }
.f-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.site-footer .flag { background: rgba(255,255,255,.08); color: var(--ink-on-dark); border-left-color: var(--blue-on-dark); }
.site-footer .flag b { color: var(--white); }
@media (max-width: 900px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } }


/* ======================================================================
   STAGE C ADDITIONS — the interior pages in A's language (type-first heads, photo plates below, rows not card grids)
   ====================================================================== */
.page-head { padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); }
.page-head h1 { max-width: 24ch; font-size: clamp(32px, 4.2vw, 54px); }
.page-head .lead { max-width: 62ch; }
.page-head .back { display: inline-block; margin-bottom: 14px; font: 700 14px/1.2 var(--head); color: var(--blue-deep); text-decoration: none; }
.page-head .back::before { content: "\2190  "; }
.page-plate { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
.page-plate .ph { aspect-ratio: 16 / 6; border-radius: 22px; }
@media (max-width: 760px) { .page-plate .ph { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: no-preference) {
  .page-plate .ph img { animation: settle 1.4s var(--ease) both; }
}
.crumbs { font: 700 14px/1.3 var(--head); color: var(--ink-2); margin: 0 0 12px; }
.crumbs a { color: var(--blue-deep); }
.hf-plate .crumbs, .hf-plate .crumbs a { color: var(--ink-on-dark); }
.prose { max-width: 70ch; }
.prose > * + h2, .prose > * + h3 { margin-top: 1.4em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px clamp(16px, 2.5vw, 28px); border-left: 4px solid var(--blue); font: 700 clamp(19px, 1.8vw, 24px)/1.45 var(--head); color: var(--navy); }
.prose blockquote p { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
.split--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; } }
.section-head { max-width: 72ch; margin-bottom: clamp(24px, 3vw, 40px); }
.small { font-size: 15px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 30px); }
.band--gray .panel { border-color: transparent; }
.band--navy { background: var(--navy-deep); color: var(--white); }
.band--navy h2, .band--navy h3 { color: var(--white); }
.band--navy p, .band--navy li { color: var(--ink-on-dark); }
.band--navy a:not(.btn) { color: var(--white); }
.band--navy .eyebrow { color: var(--blue-on-dark); }
.band--navy :focus-visible { outline-color: var(--white); }
.band--navy .btn--give { background: var(--white); color: var(--navy); box-shadow: 0 6px 0 var(--blue-on-dark); }
.band--navy .btn--give:hover { background: var(--blue-tint); color: var(--navy); }
.band--navy .btn--line { background: transparent; color: var(--white); border-color: var(--white); }
.band--navy .give-note { color: var(--ink-on-dark); }
.band--navy .give-note svg { color: var(--blue-on-dark); }
.band--navy .flag, .hf-plate .flag { background: rgba(255,255,255,.08); color: var(--ink-on-dark); border-left-color: var(--blue-on-dark); }
.band--navy .flag b, .hf-plate .flag b { color: var(--white); }
.band--navy .slot, .hf-plate .slot { background: rgba(255,255,255,.07); color: var(--white); border-color: var(--blue-on-dark); }
.band--navy .slot .slot-label, .hf-plate .slot .slot-label { background: var(--white); color: var(--navy); }
.band--navy .scripture { margin-top: 0; }
.redact { background: var(--blue-tint); color: var(--navy); border-radius: 4px; padding: 0 5px; font-family: var(--head); font-weight: 700; box-shadow: inset 0 -2px 0 var(--blue); }

/* Numbered index (Our Mission benchmarks, DR ministries) */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); counter-reset: ix; }
.index-list > li { counter-increment: ix; display: grid; grid-template-columns: 4.2ch minmax(0, 1fr); gap: 4px 18px; align-items: baseline; padding: 16px 8px; border-bottom: 1px solid var(--line); font: 700 clamp(19px, 2vw, 24px)/1.25 var(--head); color: var(--navy); }
.index-list > li::before { content: counter(ix, decimal-leading-zero); font: 700 14px/1 var(--head); letter-spacing: .08em; color: var(--blue-deep); }
.index-list--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
@media (max-width: 700px) { .index-list--2 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .js .index-list.bench-lit.is-in > li { animation: spotRow 1s var(--ease) both; animation-delay: calc(var(--i) * 130ms); }
  @keyframes spotRow { 0% { background: transparent; } 30% { background: var(--blue-tint); box-shadow: inset 4px 0 0 var(--blue); } 100% { background: transparent; } }
}
.ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.ways > li { border-top: 3px solid var(--navy); padding: 18px 0 0; }
.ways h3 { display: flex; align-items: center; gap: 12px; font-size: 21px; }
.ways .n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--white); font: 700 14px/1 var(--head); flex: none; }
.ways address { font-style: normal; }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } }

/* Region schematic (from Direction B, I-5; re-set in A's tokens). No points at any stage. */
.region { margin: 0; }
.region svg { width: 100%; height: auto; display: block; border-radius: 18px; }
.region .sea { fill: var(--gray); }
.region .land { fill: var(--white); stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; }
.region .border { fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-dasharray: 5 5; }
.region .area { fill: var(--blue); fill-opacity: .32; stroke: var(--blue); stroke-width: 2; }
.region .area-label { font: 700 19px var(--head); fill: var(--navy); }
.region .area-sub { font: 300 15px var(--body); fill: var(--ink); }
.region .country { font: 700 15px var(--head); letter-spacing: .3em; fill: var(--blue-deep); }
.region figcaption { font-size: 14px; color: var(--ink-2); margin-top: 10px; font-weight: 300; }
.where { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 900px) { .where { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .js .region[data-svg-reveal] .land { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; transition: stroke-dashoffset 1.6s var(--ease), fill-opacity .6s 1.3s; }
  .js .region[data-svg-reveal] .border { opacity: 0; transition: opacity .5s 1.4s; }
  .js .region[data-svg-reveal] .area, .js .region[data-svg-reveal] text { opacity: 0; transition: opacity .6s 1.7s; }
  .js .region[data-svg-reveal].is-in .land { stroke-dashoffset: 0; fill-opacity: 1; }
  .js .region[data-svg-reveal].is-in .border, .js .region[data-svg-reveal].is-in .area, .js .region[data-svg-reveal].is-in text { opacity: 1; }
}
.roles h3 { font-size: 19px; margin-bottom: 10px; }

/* Rows of link-out choices (Special Projects; Give hub) */
.projects { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.project { display: grid; grid-template-columns: 240px minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.project .ph { aspect-ratio: 4 / 3; border-radius: 12px; }
.project .kicker { font: 700 12px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); margin: 0 0 8px; }
.project h3 { margin-bottom: 6px; }
.project p:last-child { margin-bottom: 0; }
.project--primary { background: var(--blue-tint); border-radius: 0 0 16px 16px; padding: 24px 20px; margin: 0 -20px; }
.project .num { font: 700 13px/1 var(--head); letter-spacing: .1em; color: var(--blue-deep); margin: 0 0 10px; }
@media (max-width: 860px) {
  .project { grid-template-columns: 120px minmax(0, 1fr); }
  .project .actions { grid-column: 1 / -1; }
  .project .actions .btn { width: 100%; }
  .project--primary { margin: 0 -12px; padding: 20px 12px; }
}

/* Embed placeholder + the six checkouts beside it (A6) */
.embed-wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .embed-wrap { grid-template-columns: 1fr; } }
.embed-ph { min-height: 640px; border: 2px dashed var(--blue); background: var(--blue-tint); border-radius: var(--radius); display: grid; place-items: center; padding: 24px; text-align: center; }
.embed-ph strong { display: block; font: 700 18px/1.3 var(--head); color: var(--navy); margin-bottom: 8px; }
.embed-ph p { max-width: 46ch; margin: 0 auto; }
@media (max-width: 760px) { .embed-ph { min-height: 420px; } }
.checkout-list { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--line); }
.checkout-list li { border-bottom: 1px solid var(--line); }
.checkout-list a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px; font: 700 16px/1.3 var(--head); color: var(--navy); text-decoration: none; min-height: 48px; align-items: center; }
.checkout-list a::after { content: "\2192"; color: var(--blue-deep); }
.checkout-list a:hover { background: var(--blue-tint); }
.video-ph { aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--navy-deep); border-radius: 18px; color: var(--white); text-align: center; padding: 24px; }
.video-ph .play { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--white); color: var(--navy); margin: 0 auto 16px; border: 0; cursor: pointer; }
.video-ph .play svg { width: 30px; height: 30px; margin-left: 5px; }
.video-ph p { color: var(--ink-on-dark); max-width: 52ch; margin: 0 auto; font-size: 15px; }
.video-ph strong { color: var(--white); display: block; font: 700 18px/1.3 var(--head); margin-bottom: 6px; }
.video-ph :focus-visible { outline-color: var(--white); }
@media (max-width: 520px) { .video-ph { aspect-ratio: auto; } }

/* Logos side by side (the Alex's House rule: its logo only with the DV logo) */
.logo-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 0 0 22px; }
.logo-pair img { width: 96px; height: auto; }
.logo-pair .ah-slot { width: 128px; height: 99px; border: 2px dashed var(--blue); border-radius: 10px; background: var(--blue-tint); display: grid; place-items: center; text-align: center; font: 700 11px/1.25 var(--head); color: var(--navy); padding: 6px; }

.facts { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { display: inline-flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font: 700 15px/1.3 var(--head); color: var(--navy); background: var(--blue-tint); border-radius: 999px; padding: 10px 16px; }
.facts small { font: 300 13px/1.3 var(--body); color: var(--ink-2); }
.cta-panel { background: var(--navy); color: var(--white); border-radius: 22px; padding: clamp(22px, 3vw, 36px); }
.cta-panel h2, .cta-panel h3 { color: var(--white); }
.cta-panel p { color: var(--ink-on-dark); }
.cta-panel .btn--give { background: var(--white); color: var(--navy); box-shadow: 0 6px 0 var(--blue-on-dark); }
.cta-panel .btn--give:hover { background: var(--blue-tint); color: var(--navy); }
.cta-panel .btn--line { background: transparent; color: var(--white); border-color: var(--white); }
.cta-panel :focus-visible { outline-color: var(--white); }
.cta-panel .give-note { color: var(--ink-on-dark); }
.cta-panel .give-note svg { color: var(--blue-on-dark); }
.cta-panel .flag { background: rgba(255,255,255,.08); color: var(--ink-on-dark); border-left-color: var(--blue-on-dark); }
.cta-panel .flag b { color: var(--white); }
.cta-panel a:not(.btn) { color: var(--white); }

/* Galleries */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.gallery .ph { aspect-ratio: 4 / 3; }
.strip-track { list-style: none; margin: 0; padding: 0 0 12px; display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
@media (min-width: 760px) { .strip-track { grid-auto-columns: calc((100% - 28px) / 2.4); } }
.strip-track > li { scroll-snap-align: start; }
.strip-track .ph { aspect-ratio: 4 / 3; }
.strip-track figure { margin: 0; }
.strip-track figcaption { font-size: 14px; font-weight: 300; color: var(--ink-2); margin-top: 8px; }
.strip-ctrl { display: none; gap: 10px; margin: 0 0 14px; align-items: center; }
.js .strip-ctrl { display: flex; }
.strip-ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--navy); background: var(--white); color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.strip-ctrl button:disabled { opacity: .35; cursor: default; }
.strip-ctrl button svg { width: 20px; height: 20px; }
.strip-ctrl .count { font: 700 14px/1 var(--head); color: var(--ink-2); margin-left: 6px; }
@media (prefers-reduced-motion: no-preference) { .strip-track { scroll-behavior: smooth; } }
@media (max-width: 860px) { .trip-card { grid-template-columns: 1fr; } }


/* Trip calendar (public) */
.cal { display: grid; gap: 10px; }
.cal-year { font: 700 14px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); margin: 18px 0 4px; }
.cal-week { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 6px 20px; align-items: center; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: 14px 18px; }
.cal-week .when { font: 700 17px/1.3 var(--head); color: var(--navy); }
.cal-week .tag { font: 700 12px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: var(--blue-tint); border-radius: 999px; padding: 7px 10px; white-space: nowrap; justify-self: start; }
.cal-week.is-new { border-left-color: var(--navy); box-shadow: inset 0 0 0 2px var(--blue); }
@media (max-width: 700px) { .cal-week { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) { .cal-week.is-new { animation: rise .35s var(--ease) both; } }

/* Accordion (Pre-Trip) */
.acc { border-top: 2px solid var(--navy); margin-top: 22px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-h { margin: 0; font-size: inherit; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; background: none; border: 0; padding: 18px 4px; font: 700 19px/1.3 var(--head); color: var(--navy); cursor: pointer; min-height: 56px; }
.acc-btn::after { content: ""; width: 10px; height: 10px; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); flex: none; margin-right: 6px; }
.acc-btn[aria-expanded="true"]::after { transform: rotate(-135deg); }
.acc-panel { padding: 0 4px 20px; }
.docs { list-style: none; margin: 0; padding: 0; }
.docs li { padding: 8px 0 8px 30px; position: relative; }
.docs li svg { position: absolute; left: 0; top: 11px; width: 20px; height: 20px; color: var(--blue-deep); }

/* Forms (CF7 + Turnstile at build; the mock does not submit) */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font: 700 15px/1.3 var(--head); color: var(--navy); margin-bottom: 6px; }
.field .opt, .field .hint { font: 300 14px/1.3 var(--body); color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; font: inherit; min-height: 48px; border: 2px solid var(--ink-2); border-radius: 10px; padding: 10px 14px; background: var(--white); color: var(--ink); }
.field textarea { min-height: 140px; }
.field [aria-invalid="true"] { border-color: var(--navy); box-shadow: 0 0 0 3px var(--blue-tint); }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 24px; height: 24px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.field-error { font: 700 14px/1.3 var(--head); color: var(--navy); margin: 6px 0 0; padding-left: 10px; border-left: 3px solid var(--navy); }
.form-summary { border: 2px solid var(--navy); border-radius: 12px; padding: 14px 18px; background: var(--blue-tint); }
.form-summary h3 { font-size: 17px; }
.form-status:empty { display: none; }
.form-status.is-ok { font: 700 15px/1.4 var(--head); color: var(--navy); background: var(--blue-tint); border-radius: 10px; padding: 12px 14px; }
.turnstile-ph { display: inline-block; border: 2px dashed var(--blue); border-radius: 8px; padding: 12px 16px; font: 700 13px/1.2 var(--head); color: var(--navy); background: var(--blue-tint); }

/* Team (US-based) */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.team .ph { aspect-ratio: 1; border-radius: 16px; }
.team h2 { font-size: 18px; margin: 12px 0 2px; }
.team .role-t { font-weight: 300; color: var(--ink-2); margin: 0; font-size: 15px; }
.team .slot { aspect-ratio: 1; display: grid; place-content: center; text-align: center; padding: 12px; font-size: 13px; line-height: 1.4; }

/* Sponsors (text list pending consent) */
.sponsors { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.sponsors li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sponsors strong { display: block; font: 700 15px/1.3 var(--head); color: var(--navy); letter-spacing: .02em; }
.sponsors span { font-weight: 300; font-size: 15px; color: var(--ink-2); }
@media (max-width: 700px) { .sponsors { columns: 1; } }
.tier-price { font: 700 clamp(20px, 2.2vw, 26px)/1.25 var(--head); color: var(--navy); }
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }

/* Updates (dated list) + post */
@media (min-width: 701px) { .updates--index li { grid-template-columns: 200px minmax(0, 1fr); } }
.post-figure { margin: 0; }
.post-figure .ph { aspect-ratio: 4 / 3; border-radius: 18px; }
.fresh { display: inline-block; font: 700 12px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: var(--navy); border-radius: 999px; padding: 7px 11px; margin-left: 10px; vertical-align: middle; }

.state-tag { display: block; font: 700 12px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-deep); margin: 0 0 8px; }

/* ======================================================================
   HOPE AND A FUTURE — Direction C's page, re-set in A's tokens and chrome
   ====================================================================== */
.hf-plate { position: relative; background: var(--navy-deep); color: var(--white); overflow: hidden; padding: clamp(40px, 6vw, 88px) 0 clamp(110px, 12vw, 160px); }
.hf-plate__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hf-plate .wrap { position: relative; }
.hf-plate h1 { color: var(--white); font-size: clamp(38px, 6vw, 78px); line-height: 1.02; max-width: 12ch; }
.hf-plate .eyebrow { color: var(--blue-on-dark); }
.hf-plate .slot { max-width: 640px; margin-top: 14px; }
.hf-tracker-wrap { margin-top: clamp(-110px, -9vw, -72px); position: relative; z-index: 2; padding-bottom: clamp(40px, 5vw, 64px); }
.tracker { background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 60px rgba(27,36,102,.16); padding: clamp(20px, 3.4vw, 40px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px clamp(24px, 4vw, 48px); align-items: center; }
.tracker > .tracker-head, .tracker > .bar-line, .tracker > .give-row, .tracker > .flag { grid-column: 1 / -1; }
.tracker-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.tracker-head h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 0; }
.ring { width: clamp(140px, 16vw, 190px); height: auto; display: block; }
.ring .track { stroke: var(--blue-tint); }
.ring .bar { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: calc(100 - var(--pct, 0)); transform: rotate(-90deg); transform-origin: 50% 50%; }
.ring text { font: 700 9px/1 var(--head); fill: var(--navy); }
@media (prefers-reduced-motion: no-preference) {
  .js .tracker[data-draw] .ring .bar { transition: stroke-dashoffset 1.2s var(--ease); }
  .js .tracker[data-draw]:not(.is-in) .ring .bar { stroke-dashoffset: 100; }
  .js .tracker[data-draw] .bar-line span { transition: width 1.2s var(--ease); }
  .js .tracker[data-draw]:not(.is-in) .bar-line span { width: 0; }
}
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.figs div { border-left: 3px solid var(--blue); padding-left: 14px; }
.figs dt { font: 700 12px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); margin: 0 0 8px; }
.figs dd { margin: 0; font: 700 clamp(24px, 2.6vw, 34px)/1.1 var(--head); color: var(--navy); }
.figs dd.asof { font: 700 clamp(17px, 1.6vw, 21px)/1.3 var(--head); }
.bar-line { height: 12px; border-radius: 999px; background: var(--blue-tint); overflow: hidden; }
.bar-line span { display: block; height: 100%; width: calc(var(--pct, 0) * 1%); background: linear-gradient(90deg, var(--navy), var(--blue)); border-radius: inherit; }
.give-row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.give-row .give-note { margin: 0; flex-basis: 100%; }
.stale-line { display: inline-block; font: 700 11px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: var(--navy); padding: 5px 7px; border-radius: 4px; margin-bottom: 6px; }
.tracker--stale dd.asof { font-size: clamp(19px, 2vw, 24px); }
.tracker--before .figs dd { color: var(--ink-2); font-size: 20px; }
@media (max-width: 760px) {
  .tracker { grid-template-columns: 1fr; justify-items: start; }
  .tracker > * { width: 100%; }
  .tracker .ring { width: 140px; }
  .figs { grid-template-columns: 1fr 1fr; }
  .figs div:last-child { grid-column: 1 / -1; }
  .give-row .btn { width: 100%; }
}
.states { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; align-items: start; }
.states .tracker { grid-template-columns: 1fr; box-shadow: none; padding: 20px; gap: 14px; justify-items: start; }
.states .tracker > * { width: 100%; }
.states .ring { width: 104px; }
.states .figs { grid-template-columns: 1fr 1fr; }
.states .figs div:last-child { grid-column: 1 / -1; }
.states .figs dd { font-size: 21px; }
.state-desc { font-size: 15px; margin: 0; }
@media (max-width: 960px) { .states { grid-template-columns: 1fr; } }
.paths { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.path { border: 1.5px solid var(--line); border-radius: 18px; padding: 24px 22px; display: flex; flex-direction: column; align-items: flex-start; }
.path p { flex: 1 0 auto; }
.path .kicker { flex: 0 0 auto; font: 700 12px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: .6em; }
.path--primary { background: var(--navy); border-color: var(--navy); color: var(--white); }
.path--primary h3 { color: var(--white); }
.path--primary p { color: var(--ink-on-dark); }
.path--primary .kicker { color: var(--blue-on-dark); }
.path--primary .btn--give { background: var(--white); color: var(--navy); box-shadow: 0 6px 0 var(--blue-on-dark); }
.path--primary :focus-visible { outline-color: var(--white); }
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; } }

/* ======================================================================
   STYLEGUIDE PAGE (A15)
   ====================================================================== */
.swatch { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14px; margin: 0; }
.swatch .chip { height: 84px; display: flex; align-items: flex-end; padding: 10px; font: 700 13px/1 var(--head); }
.swatch .meta { padding: 10px 12px; }
.btn--give.is-hover { background: var(--navy-deep); translate: 0 -2px; box-shadow: 0 8px 0 var(--step-hover); }
.btn--line.is-hover { background: var(--blue-tint); }
.is-focus { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn--give.is-active { translate: 0 3px; box-shadow: 0 2px 0 var(--navy-deep); }
.table-wrap { overflow-x: auto; }


/* small additions */
.vcard h3.h4like { font-size: clamp(22px, 2.2vw, 30px); }
.updates h2.h3like { font-size: 19px; margin: 0 0 6px; }
.updates h2.h3like a { color: var(--navy); text-decoration: none; }
.updates h2.h3like a:hover { text-decoration: underline; }
.updates .flag { margin-top: 10px; }
.muted { color: var(--ink-2); }
.has-sub:has([aria-current="page"]) > .sub-toggle { color: var(--blue-deep); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 3px; text-underline-offset: 7px; text-decoration-skip-ink: none; }
.head-give[aria-current="page"] { box-shadow: 0 6px 0 var(--navy-deep), 0 0 0 3px var(--blue-tint); }
.index-list a { color: var(--navy); text-decoration-color: var(--blue); }
.choices .ph:not(:has(img)) { background: var(--blue-tint); }
code { font-size: .92em; background: var(--gray); border-radius: 4px; padding: 1px 5px; }

.hf-slots { display: grid; gap: 14px; max-width: 1100px; }
.hf-slots .slot { margin: 0; max-width: none; }
@media (min-width: 900px) { .hf-slots { grid-template-columns: 1fr 1fr; } }
ul.cal { list-style: none; margin: 0; padding: 0; }
.cal-week { grid-template-columns: minmax(0, 1fr) auto; }
.cal-week .what { grid-column: 1 / -1; grid-row: 2; color: var(--ink); }
.cal-week .tag { grid-column: 2; grid-row: 1; }
.cal-split > * { min-width: 0; }
.cal-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .cal-split { grid-template-columns: 1fr; } }
/* ======================================================================
   FIX ROUND 1 (2026-11-07) — FIX_ROUND_1.md. Placed last so each rule wins its cascade on purpose.
   ====================================================================== */

/* A5 + A12: one on-dark context. Every dark ground (navy, navy-deep) gets the white focus ring, blue-on-dark eyebrows
   and kickers, and the on-dark flag and slot. :is() keeps one list; placed after the band roles so .act--gray .eyebrow
   (the Home trip-panel defect, 1.55:1) can no longer win inside a navy panel. */
:is(.on-navy, .act--mission, .site-footer, .give-bar, .sg-givebar, .band--navy, .cta-panel, .video-ph, .path--primary, .hf-plate, .appeal, .come, .editor-bar, .region-stage) :focus-visible { outline-color: var(--white); }
:is(.on-navy, .act--mission, .band--navy, .cta-panel, .hf-plate, .appeal, .come, .path--primary) :is(.eyebrow, .act-kicker, .kicker) { color: var(--blue-on-dark); }
:is(.on-navy, .act--mission, .cta-panel, .appeal, .come, .path--primary) .flag { background: rgba(255,255,255,.08); color: var(--ink-on-dark); border-left-color: var(--blue-on-dark); }
:is(.on-navy, .act--mission, .cta-panel, .appeal, .come, .path--primary) .flag b { color: var(--white); }
:is(.on-navy, .act--mission, .cta-panel, .appeal, .come, .path--primary) .slot { background: rgba(255,255,255,.07); color: var(--white); border-color: var(--blue-on-dark); }
:is(.on-navy, .act--mission, .cta-panel, .appeal, .come, .path--primary) .slot .slot-label { background: var(--white); color: var(--navy); }
:is(.on-navy, .act--mission, .cta-panel, .appeal, .come, .path--primary, .band--navy) .slot a { color: var(--white); }

/* B8: the OQ-2 flag sits in flow wherever the first General Budget link is */
.actions > .flag, .give-row > .flag { flex-basis: 100%; }
.choice > .flag, .project > .flag { grid-column: 1 / -1; margin-top: 0; }
.path > .flag { margin-top: 14px; }

/* A12-1 (PS-9): with the Home Updates block hidden, the newsletter band turns white so two grey bands never meet */

/* B4: tracker states — six specimens, goal reached, closed, nothing entered */
.states { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .states { grid-template-columns: 1fr; } }
.state-chip { display: inline-block; font: 700 11px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: var(--navy); padding: 5px 7px; border-radius: 4px; }
.tracker--closed dd.asof { font-size: clamp(19px, 2vw, 24px); }
.tracker--before .figs { grid-template-columns: 1fr; }
.tracker--empty { grid-template-columns: 1fr; }
.launch-line { font: 700 17px/1.4 var(--head); color: var(--navy); margin: 0; }
.thanks-slot { grid-column: 1 / -1; padding: 12px 14px; }
.tracker > .thanks-slot { grid-column: 1 / -1; }

/* B23: the region approach — the NASA crops under the schematic (assets/nasa/, MANIFEST.json). The island crop is the
   schematic's own lon/lat box, so it sits 1:1 under the outline. The wide crop is laid out so that, at scale 1, the same
   box (x 744.64–879.36 of 1480, y 485.86–555.92 of 1000) fills the stage: width 1480/134.72, height 1000/70.06, offset by
   the box's corner; transform-origin is the box centre, so scaling it never moves the island off centre. */
.region-stage { position: relative; aspect-ratio: 800 / 440; border-radius: 18px; overflow: hidden; background: var(--navy-deep); }
.region-stage svg { position: relative; z-index: 1; border-radius: 0; }
.approach-photos { position: absolute; inset: 0; }
.approach-island { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: fill; }
.approach-wide { display: none; position: absolute; max-width: none; width: 1098.6%; height: 1427.3%; left: -552.7%; top: -693.5%; transform-origin: 54.86% 52.09%; }
.region--photo .sea { fill: none; }
.region--photo .land { fill: none; stroke: var(--white); stroke-width: 2; }
.region--photo .border { stroke: var(--white); stroke-width: 1.6; }
.region--photo .area { fill: var(--blue-on-dark); fill-opacity: .4; stroke: var(--white); stroke-width: 2; }
.region--photo :is(.area-label, .area-sub, .country) { fill: var(--white); stroke: var(--navy-deep); stroke-width: 5px; paint-order: stroke fill; stroke-linejoin: round; }
.region--photo .area-sub { font-weight: 400; }
.region .credit { display: block; margin-top: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .js .region--approach .approach-wide { display: block; transition: scale 2s cubic-bezier(.45,0,.2,1); }
  .js .region--approach:not(.is-in) .approach-wide { scale: .1047; }
  .js .region--approach .approach-island { transition: opacity .5s 1.8s; }
  .js .region--approach:not(.is-in) .approach-island { opacity: 0; }
  .js .region--approach[data-svg-reveal] .land { transition: stroke-dashoffset 1.6s var(--ease) 2.2s; }
  .js .region--approach[data-svg-reveal] .border { transition: opacity .5s 3.6s; }
  .js .region--approach[data-svg-reveal] .area, .js .region--approach[data-svg-reveal] text { transition: opacity .6s 3.9s; }
}

/* A11-3 / B6: the cover and the empty state */
.cover-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--blue-tint); max-width: 260px; }
.cover-frame > img { width: 100%; height: 100%; object-fit: cover; }
.cover-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: var(--blue-tint); }
.cover-fallback[hidden] { display: none; }
.cover-fallback img { width: 46%; height: auto; background: var(--white); border-radius: 10px; padding: 8px; }
.strip-empty { margin: 0; }
.strip-ctrl[hidden], .strip-track[hidden] { display: none; }

/* B1: the trip calendar's empty state (calendar, Home panel, the form's menu) */
.cal-empty { margin-top: 12px; }
.cal-empty[hidden] { display: none; }
.weeks-empty { margin: 18px 0; }
.weeks-empty .slot { margin: 0; }

/* B5: server responses in the status line */
.form-status.is-problem { font: 700 15px/1.4 var(--head); color: var(--navy); background: var(--white); border: 2px dashed var(--navy); border-radius: 10px; padding: 12px 14px; }

/* A2: styleguide specimens */
.btn--line.is-active { translate: 0 3px; background: var(--blue-tint); }
.text-link.is-hover { color: var(--navy); }
.is-focus.btn, .field .is-focus { outline: 3px solid var(--blue); outline-offset: 3px; }
.cta-panel .is-focus { outline-color: var(--white); }
.cta-panel .btn--give.is-hover { background: var(--blue-tint); color: var(--navy); translate: 0 -2px; }
.cta-panel .btn--line.is-hover { background: rgba(255,255,255,.12); }
.roles--static { display: grid; }
.pulse.sg-static i::after { display: none; }

@media print { .give-bar, .progress, .rail { display: none !important; } }

/* Our Story plate: the 1024x837 photo is nearly square; a taller frame positioned on Bill (white shirt, left) keeps his face in view (owner review 2026-11-07) */
.page-plate--story .ph { aspect-ratio: 16 / 9; }
.page-plate--story .ph img { object-position: 30% 22%; }
@media (max-width: 720px) { .page-plate--story .ph { aspect-ratio: 4 / 3; } .page-plate--story .ph img { object-position: 28% 15%; } }

/* Updates index: a thumbnail above the date and author in the left column (owner review 2026-11-07). Decorative: the title is the link; the image is aria-hidden and out of the tab order. Consent-flagged posts and posts without a photo show the logo tile. Build: a 400px-wide rendition / srcset, never the full file. */
.updates--index .post-meta { display: grid; gap: 10px; align-content: start; }
.updates--index .thumb { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--blue-tint); }
.updates--index .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.updates--index .thumb--slot { display: grid; place-items: center; gap: 6px; padding: 12px; border: 1px dashed var(--blue); }
.updates--index .thumb--slot img { width: 56px; height: auto; object-fit: contain; }
.updates--index .thumb--slot span { font: 700 12px/1.2 var(--head); color: var(--blue-deep); text-align: center; }
@media (max-width: 700px) { .updates--index .thumb--slot { padding: 8px; gap: 4px; } .updates--index .thumb--slot span { font-size: 10px; } .updates--index .thumb--slot img { width: 40px; } }
@media (max-width: 700px) { .updates--index .post-meta { grid-template-columns: 120px 1fr; align-items: center; } }

/* Footer credit, bottom right (owner, 2026-11-07): the one external link in the chrome besides the give links */
.f-base .f-credit { margin-left: auto; color: var(--ink-on-dark); text-decoration: none; font-size: 14px; }
.f-base .f-credit b { color: var(--white); font-weight: 700; }
.f-base .f-credit:hover, .f-base .f-credit:focus-visible { text-decoration: underline; color: var(--white); }
@media (max-width: 560px) { .f-base .f-credit { margin-left: 0; width: 100%; } }

/* Footer logo links home (owner, 2026-11-07) */
.f-brand a.logo-chip { line-height: 0; }
.f-brand a.logo-chip:hover, .f-brand a.logo-chip:focus-visible { box-shadow: 0 0 0 3px var(--blue-on-dark); }

/* ======================================================================
   PR-2 ADDITIONS (GENERATION_BRIEF 5, 6 T5, 7). Not in the package's site.css.
   ====================================================================== */

/* T5: the CAT-S00 3.2 focus halo. The ring stays (3px, offset 3px): blue on light grounds, white on every dark ground
   (the :is() list above). A halo in the colour of the element's own ground fills the 3px offset gap, so the ring never
   sits on a photograph or a mixed edge. --focus-ground is that ground; buttons keep their step shadow. */
:root { --focus-ground: var(--white); --btn-step: var(--navy-deep); }
:is(.band--gray, .act--gray, .fee-card) { --focus-ground: var(--gray); }
:is(.choice--primary, .project--primary, .slot, .flag, .form-summary, .facts li) { --focus-ground: var(--blue-tint); }
:is(.act--mission, .site-footer, .band--navy, .hf-plate, .video-ph, .region-stage) { --focus-ground: var(--navy-deep); }
:is(.on-navy, .give-bar, .sg-givebar, .cta-panel, .path--primary, .appeal, .come) { --focus-ground: var(--navy); }
:is(.on-navy, .act--mission, .give-bar, .sg-givebar, .band--navy, .cta-panel, .path--primary, .hf-plate) { --btn-step: var(--blue-on-dark); }
:focus-visible { box-shadow: 0 0 0 3px var(--focus-ground); }
.btn--give:focus-visible { box-shadow: 0 0 0 3px var(--focus-ground), 0 6px 0 var(--btn-step); }

/* PS-3: the trigger is composed (dv_bar_trigger); the bar itself is printed by dv_bar_render() */
#bar-trigger { display: block; height: 0; }

/* PS-5: the Wistia facade swaps to the player on press (nothing is requested before) */
.video-ph[data-wistia] { position: relative; }
.video-ph.is-playing { display: block; padding: 0; overflow: hidden; }
.video-ph.is-playing iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 520px) { .video-ph.is-playing { aspect-ratio: 16 / 9; } }

/* PS-8: Contact Form 7 in the package's form language. CF7's own stylesheet is not loaded (inc/forms.php): it paints
   red, green and orange states, a third hue the brand does not have (DECISIONS: all blue). These are the structural
   rules it carried, re-set in tokens. */
.wpcf7 .screen-reader-response { position: absolute; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; word-wrap: normal !important; }
.wpcf7-form-control-wrap { position: relative; display: block; }
.wpcf7 form { display: grid; gap: 16px; }
.wpcf7 form p { margin: 0; }
.wpcf7-not-valid-tip { display: block; font: 700 14px/1.3 var(--head); color: var(--navy); margin: 6px 0 0; padding-left: 10px; border-left: 3px solid var(--navy); }
.wpcf7 [aria-invalid="true"] { border-color: var(--navy); box-shadow: 0 0 0 3px var(--blue-tint); }
.wpcf7 .wpcf7-list-item { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.wpcf7 .wpcf7-list-item label { display: flex; gap: 10px; align-items: flex-start; font: 400 17px/1.5 var(--body); color: var(--ink); }
.wpcf7 .wpcf7-list-item input[type="checkbox"] { width: 24px; height: 24px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.wpcf7 form .wpcf7-response-output { margin: 0; font: 700 15px/1.4 var(--head); color: var(--navy); background: var(--white); border: 2px dashed var(--navy); border-radius: 10px; padding: 12px 14px; }
.wpcf7 form.sent .wpcf7-response-output { background: var(--blue-tint); border: 0; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7-spinner { visibility: hidden; display: inline-block; width: 24px; height: 24px; margin: 0 12px; border-radius: 50%; border: 3px solid var(--blue-tint); border-top-color: var(--navy); vertical-align: middle; }
.wpcf7 form.submitting .wpcf7-spinner { visibility: visible; }  /* static: nothing loops (brief 7.5) */
.wpcf7 [inert] { opacity: .5; }
.actions > .cf7-cf-turnstile { flex-basis: 100%; margin: 0 !important; }
.actions > br { display: none; }
.wpcf7 .form-summary[hidden] { display: none; }
.wpcf7 .form-summary h3 { font-size: 17px; }

/* PS-6 / B6: the Disciples' Village logo tile (cover fallback, Updates thumbnail slot) */
.dv-logo-tile { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--blue-tint); border-radius: 12px; }
.dv-logo-tile img { width: 46%; height: auto; background: var(--white); border-radius: 10px; padding: 8px; }

/* A12-1: Home's Updates block when shown; the newsletter placeholder (B5) never submits */
/* H1 guard (A1-4): an element focused while still at a hidden start state is forced to its end state */
.dv-shown { opacity: 1 !important; visibility: visible !important; }
/* the styleguide's tracker specimens keep the package's Example tag (never on the live tracker) */
.example { display: inline-block; font: 700 10px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: var(--white); border: 1.5px solid var(--navy); border-radius: 4px; padding: 3px 5px; vertical-align: middle; margin-left: 8px; }
/* PS-2 / H1 on Bricks start animations: Bricks hides an "enter viewport → start animation" element with
   [data-interaction-hidden-on-load]{opacity:0} (measured, Bricks 2.4.5): invisible but still focusable, and invisible
   forever without JS. The hidden start exists only under no-preference with JS; dv-site.js forces it shown on focus. */
.no-js [data-interaction-hidden-on-load] { opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) { [data-interaction-hidden-on-load] { opacity: 1 !important; } }

/* .dv-reveal = [data-reveal], for a builder that sets a class more easily than an attribute (A1-4; SEAM 3) */
@media (prefers-reduced-motion: no-preference) {
  .js .dv-reveal { transition: opacity .7s var(--ease), translate .7s var(--ease); }
  .js .dv-reveal:not(.is-in) { opacity: 0; translate: 0 18px; }
}

/* T6 corporate sponsors: two columns read top to bottom, rows = ceil(n/2) (dv-site.js sets --rows; no JS: columns) */
@media (min-width: 701px) { .sponsors.is-grid { columns: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows, 1), auto); grid-auto-flow: column; column-gap: 40px; } }

/* G-1 / G-2 on Bricks' Nav Menu element (bound to the WordPress menus): the package's nav language on its markup.
   Built from Bricks 2.4.5's nav-menu.php class names; proven only when PR-3's composed header renders it. */
.brxe-nav-menu .bricks-nav-menu { gap: 2px; align-items: center; }
.brxe-nav-menu .bricks-nav-menu > li > a, .brxe-nav-menu .brx-submenu-toggle > a, .brxe-nav-menu .brx-submenu-toggle > span { padding: 10px 12px; font: 700 15px/1.2 var(--head); color: var(--navy); text-decoration: none; border-radius: 8px; }
.brxe-nav-menu .bricks-nav-menu > li > a:hover, .brxe-nav-menu .brx-submenu-toggle:hover { background: var(--blue-tint); }
.brxe-nav-menu .brx-submenu-toggle button { color: var(--navy); }
.brxe-nav-menu .current-menu-item > a, .brxe-nav-menu .current-menu-ancestor > .brx-submenu-toggle > *, .brxe-nav-menu a[aria-current="page"] { color: var(--blue-deep); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 3px; text-underline-offset: 7px; text-decoration-skip-ink: none; }
.brxe-nav-menu .bricks-nav-menu .sub-menu { min-width: 240px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(27,36,102,.14); padding: 8px; }
.brxe-nav-menu .bricks-nav-menu .sub-menu a { display: block; padding: 10px 12px; font: 700 15px/1.2 var(--head); color: var(--navy); text-decoration: none; border-radius: 8px; }
.brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-wrapper { top: var(--menu-top, var(--header-h)); bottom: 0; left: 0; right: 0; width: auto; overflow-y: auto; overscroll-behavior: contain; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(27,36,102,.14); }
.brxe-nav-menu .bricks-mobile-menu a { font: 700 15px/1.2 var(--head); color: var(--navy); }
.brxe-nav-menu .bricks-mobile-menu .sub-menu { border-left: 3px solid var(--blue-tint); margin-left: 12px; }
.brxe-nav-menu .bricks-mobile-menu-overlay { display: none; }  /* non-modal (CAT-012): no scrim, no scroll lock */

/* ── PR-3 hotfixes (TL rulings on PR #9) ─────────────────────────────────────────────────────────────────────── */
/* CT: the footer menus are Bricks Nav Menus; their links take the footer's white, current item included. */
.site-footer .brxe-nav-menu .bricks-nav-menu a,
.site-footer .brxe-nav-menu .current-menu-item > a { color: var(--white); }
.site-footer .brxe-nav-menu .bricks-nav-menu { gap: 0; }
.site-footer .brxe-nav-menu .bricks-nav-menu > li { margin: 0 0 8px; }
/* W: Bricks' frontend CSS sets blockquote in Georgia; every quote here takes the site's faces. */
blockquote { font-family: inherit; }
/* I / A10-3: without JS every Pre-Trip accordion panel is open (INTERACTIONS: "no JS: every panel open"). */
.no-js .brxe-accordion-nested .accordion-content-wrapper { display: block; }
/* CT: Bricks' frontend CSS greys every figcaption (2.46:1 on the styleguide's gray band); the package's
   captions inherit the ink unless a component sets its own colour (PR #9 fix pass). */
figcaption, label { color: inherit; }   /* label: the same Bricks grey on the privacy checkbox (finding 14) */
/* Header current-page underline (owner review 26c9439; PR #9 finding 9, confirm): the reset at the Nav Menu link rule
   above (text-decoration:none, specificity 0,3,2) outranked the underline; this rule outranks it for the top-level
   current item, the current dropdown parent and its current child, under the text as the package has it. */
.site-header .brxe-nav-menu .bricks-nav-menu li.current-menu-item > a,
.site-header .brxe-nav-menu .bricks-nav-menu li.current-menu-ancestor > .brx-submenu-toggle > *,
.site-header .brxe-nav-menu .bricks-nav-menu li.current-menu-parent > .brx-submenu-toggle > *,
.site-header .brxe-nav-menu .bricks-nav-menu a[aria-current="page"] { color: var(--blue-deep); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 3px; text-underline-offset: 7px; text-decoration-skip-ink: none; }
/* Header row (PR #9 confirm): every nav label stays on one line, as the package's nav does. */
.site-header .brxe-nav-menu .bricks-nav-menu > li > a,
.site-header .brxe-nav-menu .brx-submenu-toggle > * { white-space: nowrap; }
/* Bricks' Nav Menu puts a 30 px left margin on every top-level item (6 x 30 = 180 px): the row overflowed the 1180 px
   wrap at 1440 and scrolled at 1280. The package spaces items by the 2 px gap only (LAYOUT_TRUTH §1.5; package nav 845 px). */
.site-header .brxe-nav-menu .bricks-nav-menu > li { margin: 0; }

/* ── Fidelity pass (owner's look on PR #9; docs/generation/geometry/): Bricks' element and Nav Menu defaults no longer
   override the package. Measured package vs build with tools/dv-compose/fidelity.mjs. ──────────────────────────── */
/* Bricks' base layer restyles bare elements the package leaves to the browser (figcaption centred and smaller, a
   bordered, padded, Georgia blockquote). Zero specificity: every package rule still wins; only Bricks' layer loses. */
:where(figcaption) { font-size: revert; margin: revert; text-align: revert; }
:where(blockquote) { border-left: revert; font-size: revert; margin: revert; padding: revert; position: revert; }
/* Footer: the Explore / Give-and-serve / legal lists are Bricks Nav Menus; they take the package's .f-links shape —
   a plain list, the footer's Open Sans, underlined white links, 8 px between items, left-aligned. */
.site-footer .brxe-nav-menu, .site-footer .brxe-nav-menu .bricks-nav-menu-wrapper { display: block; width: auto; }
.site-footer .brxe-nav-menu .bricks-nav-menu { display: block; margin: 0; padding: 0; list-style: none; }
.site-footer .brxe-nav-menu .bricks-nav-menu > li { margin: 0 0 8px; padding: 0; }
.site-footer .brxe-nav-menu .bricks-nav-menu > li > a,
.site-footer .brxe-nav-menu .bricks-nav-menu > li.current-menu-item > a { display: inline; padding: 0; border-radius: 0; font: inherit; color: var(--white); text-decoration: underline; text-decoration-thickness: auto; text-underline-offset: auto; white-space: normal; background: none; }
/* the bottom row: name · Privacy Policy · social slot · credit, one row, the credit at the right edge */
.site-footer .f-base .brxe-nav-menu { flex: 0 0 auto; }
.site-footer .f-base .brxe-nav-menu .bricks-nav-menu > li { margin: 0; }
/* Bricks caps every element at max-width:100% ([class*="brxe-"]), so the package's negative-margin bleeds (the choice
   rows' tinted -20 px, the act-1 quote card's -44 px overlap) were clipped 40-44 px narrow and the buttons sat 40 px
   left of the package. Images keep their cap; everything else is as the package's CSS sets it. */
:where([class*="brxe-"]:not(img)) { max-width: revert; }
/* Bricks un-underlines every link (:where(a) in its layer); the package keeps the browser's underline wherever it does
   not set one (inline links in captions, prose, the footer). */
:where(a) { text-decoration: revert; }
:where(button) { text-align: revert; }
.site-footer .f-base .brxe-nav-menu .bricks-nav-menu > li > a { display: inline-block; }
/* Header dropdown parents: Bricks renders a link + a separate icon button; the package renders one control, "About ▾",
   the 7 px chevron 8 px after the label (dv-site.css .sub-toggle::after). Same box: 12 px | label | 8 px | chevron | 12 px. */
.site-header .brxe-nav-menu .brx-submenu-toggle { display: flex; align-items: center; border-radius: 8px; }
.site-header .brxe-nav-menu .brx-submenu-toggle > a { padding-right: 0; }
.site-header .brxe-nav-menu .brx-submenu-toggle > button { display: inline-flex; align-items: center; align-self: stretch; padding: 0 12px 0 8px; margin: 0; background: none; color: var(--navy); }
.site-header .brxe-nav-menu .brx-submenu-toggle > button > * { display: none; }
.site-header .brxe-nav-menu .brx-submenu-toggle > button::after { content: ""; display: inline-block; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.site-header .brxe-nav-menu .brx-submenu-toggle > button[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.site-header .brxe-nav-menu .brx-submenu-toggle:hover { background: var(--blue-tint); }
.site-header .brxe-nav-menu .brx-submenu-toggle:hover > a { background: none; }
/* WordPress/Bricks ship a .gallery class (flex, margin 0 -10px) that collides with the package's village photo grid. */
main .gallery { margin: 0; }   /* Bricks ships this WordPress rule unlayered (.gallery, 0,1,0), so it is outranked, not reverted */
/* Header order as the package: logo | nav | Give above 1080; logo | Give | Menu at <= 1080 (.nav{order:2},
   .head-give{order:3}; then .head-give{order:2}, .nav-toggle{order:3}). The Nav Menu carries the package's nav order. */
.site-header .brxe-nav-menu.dv-nav { order: 2; }
@media (max-width: 1080px) { .site-header .brxe-nav-menu.dv-nav { order: 3; } }
/* The phone toggle as the package's "Menu" pill (.nav-toggle): navy 2 px border, 999 px radius, 8 / 14 px, Montserrat
   700 14 px, the three bars before the label. Bricks' accessible name (aria-label) is unchanged. */
/* Only where the toggle shows (<= 1080; Bricks hides it above): the pill must never force it visible on desktop. */
@media (max-width: 1080px) {
  .site-header .brxe-nav-menu .bricks-mobile-menu-toggle { position: relative; display: inline-flex; align-items: center; gap: 8px; width: auto; height: auto; border: 2px solid var(--navy); border-radius: 999px; padding: 8px 14px 8px 38px; color: var(--navy); background: none; font: 700 14px/1 var(--head); }
  .site-header .brxe-nav-menu .bricks-mobile-menu-toggle::after { content: "Menu"; }
  .site-header .brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-toggle::after { content: "Close"; }
  .site-header .brxe-nav-menu .bricks-mobile-menu-toggle > span { left: 14px; width: 16px; height: 2px; background: currentColor; }
}
@media (max-width: 520px) { .site-header .brxe-nav-menu .bricks-mobile-menu-toggle { padding: 8px 12px 8px 36px; } }
/* Pre-Trip: Bricks Accordion (Nested) in the package's .acc shape (18 / 4 px rows, Montserrat 700 19 px, the 10 px
   chevron at the right, a line between items, the panel 0 / 4 / 20 px). */
.acc .accordion-title-wrapper { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 4px; cursor: pointer; background: none; }
.acc .accordion-title-wrapper .acc-h { margin: 0; font: 700 19px/1.3 var(--head); color: var(--navy); }
.acc .accordion-title-wrapper::after { content: ""; width: 10px; height: 10px; border: solid var(--navy); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); flex: none; margin-right: 6px; }
.acc .brx-open > .accordion-title-wrapper::after { transform: rotate(-135deg); }
.acc .accordion-content-wrapper { padding: 0 4px 20px; }
/* CF7 in the package's form geometry: its hidden-fields fieldset takes no row (21 px + a 16 px gap otherwise; the
   hidden inputs still submit), and its textarea keeps the package's 140 px (CF7 writes rows="10": 313 px). */
.wpcf7 .hidden-fields-container { display: none; }
.form .field textarea { height: 140px; }
/* 1081-1240 px: the package's nav steps down (padding 10/8, 14 px) so logo | nav | Give fit the 1,180 px row — the Bricks
   Nav Menu takes the same step (Give overflowed the row by 8 px at 1100). */
@media (max-width: 1240px) and (min-width: 1081px) { .site-header .brxe-nav-menu .bricks-nav-menu > li > a, .site-header .brxe-nav-menu .brx-submenu-toggle > a { padding: 10px 8px; font-size: 14px; } .site-header .brxe-nav-menu .brx-submenu-toggle > a { padding-right: 0; } .site-header .brxe-nav-menu .brx-submenu-toggle > button { padding: 0 8px 0 6px; } }
/* The Sponsor a Village School parent is a link + caret like About; its current state (on a child page) underlines the
   link, as the package's .has-sub--link does. */
.site-header .brxe-nav-menu .bricks-nav-menu li.current-menu-item > .brx-submenu-toggle > a,
.site-header .brxe-nav-menu .bricks-nav-menu li.current-menu-parent > .brx-submenu-toggle > a,
.site-header .brxe-nav-menu .bricks-nav-menu li.current-menu-ancestor > .brx-submenu-toggle > a { color: var(--blue-deep); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 3px; text-underline-offset: 7px; text-decoration-skip-ink: none; }


/* ── Phone menu (owner report 2026-11-08: "all kinds of messed up" on a Galaxy S25 and an iPhone 16) ──────────────
   No media query on purpose: the rules address only the wrapper Bricks shows at ≤ 1080 (its toggle is display: none
   above that and the wrapper stays visibility: hidden until the toggle opens it), so nothing here reaches the desktop
   nav or the footer Nav Menu (review of PR #13, finding 1).
   Bricks paints its own dark panel through .bricks-mobile-menu-wrapper::before (its dark grey, rgb 35 40 45; inset 0, z-index -1) ABOVE
   the white background the site set on the wrapper, sets the wrapper's color to #fff, gives it height 100vh from
   under the header (so its bottom runs 73 px past the viewport), 60 px line-height on every link, 30 / 45 px side
   indents, and display: flex. The battery had proven the panel only by the 720 × 450 keyboard walk; at 390 it checked
   the closed header. The package's panel (site.css `.js .nav.open`): white, from under the header to the bottom,
   0 gutter 24px padding, rows 700 15px/1.2 with 10px 12px padding and no underline, subs collapsed behind the caret
   with a 3 px tint rule and a 12 px indent. VERIFY row PM proves this state at 390 × 844. */
.site-header .brxe-nav-menu.dv-nav .bricks-mobile-menu-wrapper::before { display: none; }
.site-header .brxe-nav-menu.dv-nav .bricks-mobile-menu-wrapper { color: var(--navy); display: block; height: auto; max-height: none; }
.site-header .brxe-nav-menu.dv-nav.show-mobile-menu .bricks-mobile-menu-wrapper { top: var(--menu-top, var(--header-h)); bottom: 0; height: auto; padding: 8px var(--gutter) 24px; background: var(--white); }
.site-header .brxe-nav-menu.dv-nav .bricks-mobile-menu { position: static; overflow: visible; }
.site-header .brxe-nav-menu.dv-nav .bricks-mobile-menu li a,
.site-header .brxe-nav-menu.dv-nav .bricks-mobile-menu > li > a,
.site-header .brxe-nav-menu.dv-nav .bricks-mobile-menu .sub-menu li > a,
.site-header .brxe-nav-menu.dv-nav .bricks-mobile-menu > li > .brx-submenu-toggle > a { display: block; width: auto; padding: 10px 12px; font: 700 15px/1.2 var(--head); line-height: 1.2; color: var(--navy); text-decoration: none; border-radius: 8px; white-space: normal; }
.site-header .brxe-nav-menu.dv-nav .bricks-mobile-menu a:hover,
.site-header .brxe-nav-menu.dv-nav .bricks-mobile-menu .brx-submenu-toggle:hover { background: var(--blue-tint); }
.site-header .brxe-nav-menu.dv-nav .bricks-mobile-menu .brx-submenu-toggle { display: flex; align-items: center; width: auto; padding: 0; color: var(--navy); border-radius: 8px; }
.site-header .brxe-nav-menu.dv-nav .bricks-mobile-menu .brx-submenu-toggle > a { padding-right: 0; }
.site-header .brxe-nav-menu.dv-nav .bricks-mobile-menu .brx-submenu-toggle > button { margin: 0; padding: 10px 12px 10px 8px; color: var(--navy); }
.site-header .brxe-nav-menu.dv-nav .bricks-mobile-menu .sub-menu { border-left: 3px solid var(--blue-tint); margin: 0 0 4px 12px; padding: 0 0 0 4px; line-height: 1.2; }
.site-header .brxe-nav-menu.dv-nav .bricks-mobile-menu .current-menu-item > a,
.site-header .brxe-nav-menu.dv-nav .bricks-mobile-menu a[aria-current="page"] { color: var(--blue-deep); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 3px; text-underline-offset: 7px; text-decoration-skip-ink: none; }

/* The hamburger's three bars, closed state (owner report 2026-11-08, second look: the X centres, the bars did not).
   Bricks positions the bars absolutely from the TOP of its 16 px toggle (0 / 7 / 14 px); inside the package's 34 px pill
   that left the group 7 px high. Centred on the pill with the package's 5 px pitch; the open state keeps Bricks' own
   `top: 50%` + rotate, so the X is untouched (the rule applies only while the menu is closed). VERIFY PM asserts it. */
.site-header .brxe-nav-menu:not(.show-mobile-menu) .bricks-mobile-menu-toggle .bar-top { top: calc(50% - 6px); }
.site-header .brxe-nav-menu:not(.show-mobile-menu) .bricks-mobile-menu-toggle .bar-center { top: calc(50% - 1px); }
.site-header .brxe-nav-menu:not(.show-mobile-menu) .bricks-mobile-menu-toggle .bar-bottom { top: calc(50% + 4px); }

/* ── Hope and a Future: the five year-end projects (client change request 2026-11-10; package site.css, the same
   breakpoints). Two wide cards, then three; one column at ≤ 900 px. Mapped to the composition: the cards are
   ol.hf-projects > li.path; each "Give here" <a> sits in a display:contents span.dv-give (so the button is the card's
   grid item, reached as .path > .dv-give > .btn); "Read the full story" is a Bricks Accordion (Nested) carrying the
   package's "acc hf-more" (title wrapper = the package's .acc-btn, content wrapper = its .acc-panel). ─────────────── */
.hf-projects-band { padding-top: 0; }
.hf-projects { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.hf-projects > .path { grid-column: span 2; }
.hf-projects > .path:nth-child(-n+2) { grid-column: span 3; }
.hf-projects .path > .hf-goal { flex: 0 0 auto; font: 700 18px/1.2 var(--head); margin: 0 0 .7em; }
.hf-projects .hf-photo { flex: 0 0 auto; align-self: stretch; margin: 4px 0 18px; aspect-ratio: 3 / 2; }
.hf-projects .hf-photo img { object-position: 50% 30%; }
.hf-projects .path:nth-child(2) .hf-photo img { object-position: 50% 12%; }
.hf-projects .hf-more { align-self: stretch; margin-top: 22px; border-top-width: 1px; border-top-color: var(--line); }
.hf-projects .hf-more .acc-item { border-bottom: 0; }
.hf-projects .hf-more .accordion-title-wrapper { padding: 12px 4px; min-height: 48px; }
.hf-projects .hf-more .accordion-title-wrapper .acc-h { font-size: 16px; }
.hf-projects .hf-more .accordion-content-wrapper { padding-bottom: 4px; }
.hf-projects .path > .dv-give > .btn { margin-top: auto; }
.hf-projects .slot { flex: 0 0 auto; align-self: stretch; margin: 4px 0 18px; }
.hf-projects .path > .flag { margin: -6px 0 18px; }
.hf-projects + .give-note { margin-top: 20px; }
@media (max-width: 900px) { .hf-projects { grid-template-columns: 1fr; } .hf-projects > .path, .hf-projects > .path:nth-child(-n+2) { grid-column: auto; } }
/* The cards align row by row (owner, 2026-11-10): every card is a subgrid of the list, so the title, goal, photo, opening
   paragraph, give button and "Read the full story" each start on the same line across a row, whatever their length.
   Seven rows: kicker, title, goal, photo, body, button, accordion. Without subgrid: the column layout above. */
.hf-body { align-self: stretch; }
.hf-body > .hf-lead { margin: 0 0 18px; }
.hf-body > .flag { margin: -6px 0 18px; }
@supports (grid-template-rows: subgrid) {
  .hf-projects { row-gap: 0; }
  .hf-projects > .path { display: grid; grid-template-rows: subgrid; grid-row: span 7; row-gap: 0; margin-bottom: 16px; align-items: start; justify-items: start; }
  .hf-projects > .path > .hf-photo, .hf-projects > .path > .slot, .hf-projects > .path > .hf-body, .hf-projects > .path > .hf-more { justify-self: stretch; }
  .hf-projects > .path > .slot { align-self: stretch; }
  .hf-projects > .path > .dv-give > .btn { margin-top: 0; }
}
/* The tracker switched off (no goal entered; DECISIONS 2026-11-10, dv_tracker_on()): nothing overlaps the plate's foot,
   so the plate closes with its top padding and the tracker wrap no longer pulls up over it (it keeps only what it
   still holds: the OQ-2 flag). With a goal entered the tracker and its overlap return as designed.
   Read from the tracker's own seam (span.dv-seam, empty while off): :has() cannot nest :has(). */
.hf-tracker-wrap:has(> .dv-seam:empty) { margin-top: 0; padding-top: clamp(24px, 3vw, 40px); }
.dv-hero:has(+ .hf-tracker-wrap > .dv-seam:empty) .hf-plate { padding-bottom: clamp(40px, 6vw, 88px); }

/* ── "Read the full story" opens a modal (owner change request 2026-11-17; dv-site.js A2; package site.css, the same
   rules): the ERI bio modal in E&H Steel's bio layout, in DV's tokens. Without script the Bricks accordion above stays.
   The trigger (button.acc-btn.hf-story-btn in a div.acc.hf-more, in the accordion's place) keeps the accordion row's
   geometry and look (12 / 4 px, Montserrat 700 16 px, 48 px); its chevron points right (it opens, it does not expand).
   The dialog: white, the bright-blue top rule, a navy-deep backdrop (rgb 27 36 102, the site's shadow colour, at .72);
   eyebrow (the card's kicker), the title as the display head, the goal; the story in a text column on the left, the
   photo in its own 352 px column on the right (uncropped, never above its natural size) with the card's Give here under
   it, the column sticky while the story scrolls (2026-11-17, amended). Widths in px, not the package's rem (66rem / 22rem): Bricks sets the root to 62.5 %, so a rem is
   10 px here (VERIFY HP: the photo at least 320 px wide at 1440). The dialog itself scrolls; the 48 px close button
   stays in view (sticky). Phones (< 760 px) stack: close, head, photo (4:3 on the card's own focal point, carried by
   dv-site.js), Give here, story. Open: a short rise (none under reduced motion). Page scroll locked while open (dv-site.js adds html.dv-modal-open; the gutter stays, so nothing
   shifts). In the top layer, so the phone give bar can never sit over it. ───────────────────────────────────────── */
.hf-projects .hf-more .hf-story-btn { font-size: 16px; padding: 12px 4px; min-height: 48px; }
.hf-projects .hf-more .hf-story-btn::after { transform: rotate(-45deg); }
html.dv-modal-open { overflow: hidden; scrollbar-gutter: stable; }
.hf-story { width: min(calc(100% - 32px), 1056px); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0;
  border: 0; border-top: 6px solid var(--blue); border-radius: var(--radius); background: var(--white); color: var(--ink);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 24px 60px rgba(27,36,102,.3); }
.hf-story::backdrop { background: rgba(27,36,102,.72); }
.hf-story__in { display: grid; grid-template-columns: minmax(0, 1fr) 352px; grid-template-areas: "close close" "head side" "text side";
  column-gap: clamp(24px, 4vw, 56px); padding: 0 clamp(20px, 4vw, 48px); }
.hf-story__close { grid-area: close; justify-self: end; position: sticky; top: 0; z-index: 1; display: inline-grid; place-items: center;
  width: 48px; height: 48px; margin: 12px calc(-1 * clamp(4px, 2vw, 28px)) 4px 0; padding: 0; background: var(--white); color: var(--navy);
  border: 2px solid var(--navy); border-radius: 50%; cursor: pointer; }
.hf-story__close:hover { background: var(--blue-tint); }
.hf-story__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.hf-story__head { grid-area: head; min-width: 0; }
.hf-story__head .eyebrow { margin: 0 0 10px; }
.hf-story__head h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); overflow-wrap: break-word; }
.hf-story__head .hf-goal { margin: 14px 0 0; font: 700 18px/1.2 var(--head); }
/* the right column: the photo, then the card's Give here as the primary give button at the column's full width (owner,
   2026-11-17, after the demo: "move the give button to the right under the photo so it stands out while people are
   reading"). Where it fits (>= 480 px tall) the column sticks under the close row while the story scrolls. A photo
   narrower than the column (a capped portrait, the 300 px Trouforban placeholder) is centred over the full-width button. */
.hf-story__side { grid-area: side; align-self: start; display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
.hf-story__photo { width: fit-content; max-width: 100%; margin: 0;
  border-radius: var(--radius); overflow: hidden; background: var(--blue-tint); }
.hf-story__photo img { display: block; width: auto; max-width: 100%; height: auto; }
/* the foot's space is the story's own padding, not the grid's: a sticky column may not pass its grid's content box,
   so a grid padding would push a tall column up under the close button at the end of the scroll */
.hf-story__text { grid-area: text; min-width: 0; max-width: 68ch; margin-top: 24px; padding-bottom: clamp(28px, 4vw, 48px); }
.hf-story__give { align-self: stretch; margin: 0; }
.hf-story__give .btn { width: 100%; }
/* Sticky only where photo + button + close row fit the dialog's visible height: the scroll area is the viewport less
   38 px (the 16 px margins, the 6 px rule); the column sits 64 px down (the close row); 16 px gap, the 48 px button and
   its 6 px step, 24 px to spare: the photo is capped at 100vh - 196px (572 px on a 1366 x 768 viewport, where Stherline's
   portrait shows whole at 352 x 469; at 600 px tall a 404 px cap shrinks her, uncropped, to 303 px wide; at 480, 284 px).
   The column's foot is then always H - 62 px against a visible bottom of H - 38 px: 24 px to spare at every height.
   The gate is 480 px, not more (team lead, review of the change): Windows laptops at 125-150 % scaling give Chrome
   about 1280 x 600 or 1093 x 520 CSS px. Under 480 px tall the column scrolls with the story. */
@media (min-width: 760px) and (min-height: 480px) {
  .hf-story__side { position: sticky; top: 64px; }
  .hf-story__photo img { max-height: calc(100vh - 196px); max-height: calc(100dvh - 196px); }
}
@media (max-width: 759px) {
  .hf-story__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "close" "head" "side" "text"; }
  .hf-story__side { align-items: stretch; margin-top: 20px; }
  .hf-story__photo { width: 100%; }
  .hf-story__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .hf-story__text { margin-top: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hf-story[open] { animation: hfStoryIn var(--dur-enter) var(--ease); }
  @keyframes hfStoryIn { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
}

/* Client change requests, Karen Bradshaw 2026-11-24: the commented source is the package site.css (same rules). */
.stops { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 760px) { .stops { grid-template-columns: 1fr; } }
.act--verse { background: var(--white); color: var(--ink); }
.act--verse .mission-line { font-size: clamp(26px, 3.2vw, 40px); max-width: 30ch; line-height: 1.18; }
.act--verse .scripture { border-left-color: var(--blue); }
.act--verse .scripture blockquote { color: var(--navy); font-size: clamp(17px, 1.4vw, 19px); }
.act--verse .scripture figcaption { color: var(--blue-deep); }
.act--verse .prose { max-width: 62ch; margin-top: 32px; }
.index-list--dots > li { grid-template-columns: 1.4ch minmax(0, 1fr); gap: 4px 12px; }
.index-list--dots > li::before { content: "\2022"; font: 700 22px/1 var(--head); letter-spacing: 0; color: var(--blue-deep); }
.ways--5 h3 { font-size: 18px; }
@media (min-width: 1100px) { .ways--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.office-card h3 { margin-bottom: 10px; }
.office-card .office-line { display: flex; align-items: center; gap: 12px; margin: 0; font: 700 clamp(20px, 2.4vw, 30px)/1.25 var(--head); overflow-wrap: anywhere; }
.office-card .office-line a { color: var(--white); }
.office-card .office-line .ic { width: 1em; height: 1em; flex: none; }
.f-brand .logo-chip img { width: 150px; }
.site-header .wrap { max-width: 1300px; }
@media (max-width: 1320px) and (min-width: 1081px) {
  .nav a, .nav .sub-toggle,
  .site-header .brxe-nav-menu .bricks-nav-menu > li > a, .site-header .brxe-nav-menu .brx-submenu-toggle > a, .site-header .brxe-nav-menu .brx-submenu-toggle > span { padding: 10px 8px; font-size: 14px; }
}
@media (max-width: 1160px) and (min-width: 1081px) {
  .nav a, .nav .sub-toggle,
  .site-header .brxe-nav-menu .bricks-nav-menu > li > a, .site-header .brxe-nav-menu .brx-submenu-toggle > a, .site-header .brxe-nav-menu .brx-submenu-toggle > span { padding: 10px 6px; font-size: 13px; }
}
@supports (grid-template-rows: subgrid) { .hf-projects > .path { grid-row: span 6; } }
.team > li { min-width: 0; }
.team .small a { overflow-wrap: anywhere; }
.hf-plate h1 { color: var(--gold); font-family: var(--script); font-weight: 400; font-size: clamp(42px, 6.4vw, 84px); line-height: 1.1; max-width: 14ch; }
/* 2026-11-30 go-live review (DECISIONS) */
.hf-plate .wrap { text-align: center; }
.hf-plate h1 { font-size: clamp(50px, 9.4vw, 132px); line-height: 1.08; max-width: none; margin-left: auto; margin-right: auto; text-wrap: balance; }
.hf-plate .hf-slots { display: block; max-width: none; }
.hf-plate .scripture { max-width: none; margin: clamp(14px, 2.2vw, 28px) auto 0; padding-left: 0; border-left: 0; }
.hf-plate .scripture blockquote { font-size: clamp(18px, 1.9vw, 27px); line-height: 1.6; text-wrap: balance; }
.plate-quote blockquote p::before { display: inline; font: inherit; color: inherit; margin: 0; }
.plate-quote blockquote p::after { content: "\201D"; }
.sponsors strong { font-size: 19px; }
.sponsors span { font-size: 17px; }
.logo-pair img.ah-logo { width: 160px; }
.video-ph--poster { background: linear-gradient(rgba(27, 36, 102, .38), rgba(27, 36, 102, .74)), var(--navy-deep) url("brand/our-story-poster.jpg") center / cover no-repeat; }
.cal-empty { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.strip-empty { padding: 16px 0; }
.cal-week.is-full { background: var(--gray); }
.cal-week.is-full .tag { background: var(--navy); color: var(--white); }
.cal-week .cal-more { grid-column: 1 / -1; display: grid; gap: 8px; }
.cal-slots { display: flex; flex-wrap: wrap; gap: 2px 20px; margin: 0; font-size: 15px; color: var(--ink-2); }
.cal-slots b { font: 700 17px/1.3 var(--head); color: var(--navy); }
.cal-meter { height: 8px; border-radius: 999px; background: var(--blue-tint); overflow: hidden; }
.cal-meter span { display: block; height: 100%; border-radius: 999px; background: var(--blue); }
.cal-teams { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.cal-teams li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px solid var(--line); }
.cal-teams li span { color: var(--ink-2); text-align: right; }
body:has(#dr-h) .band { padding-top: clamp(36px, 4.5vw, 64px); padding-bottom: clamp(36px, 4.5vw, 64px); }
section[aria-labelledby="dr-h"] { background: var(--blue-tint); }
.f-social { display: inline-flex; gap: 18px; }
