/* =====================================================================
   Redesign v2 · shared base (C · Daybreak shell + D · Ask LHA answers)
   Lexend throughout. Every color comes from a phase token set on
   <html data-phase="dawn|day|dusk|night">. Text never sits on a gradient
   except the headline, which is checked against every sky stop.
   ===================================================================== */

/* Animatable sky + landscape colors (smooth phase changes) */
@property --sky-a { syntax: "<color>"; inherits: true; initial-value: #4fa6e6; }
@property --sky-b { syntax: "<color>"; inherits: true; initial-value: #7cc3f0; }
@property --sky-c { syntax: "<color>"; inherits: true; initial-value: #b4def8; }
@property --sky-d { syntax: "<color>"; inherits: true; initial-value: #e2f3fd; }
@property --hill-back { syntax: "<color>"; inherits: true; initial-value: #8fd497; }
@property --hill-front { syntax: "<color>"; inherits: true; initial-value: #3a9a44; }
@property --hill-rim { syntax: "<color>"; inherits: true; initial-value: #c5edc9; }
@property --sun-a { syntax: "<color>"; inherits: true; initial-value: #ffd36a; }
@property --sun-b { syntax: "<color>"; inherits: true; initial-value: #f6a623; }
@property --beam { syntax: "<color>"; inherits: true; initial-value: #fff1bd; }

/* ---------- Phase tokens ---------- */
:root {
  --sky-a: #4fa6e6; --sky-b: #7cc3f0; --sky-c: #b4def8; --sky-d: #e2f3fd;
  --hill-back: #8fd497; --hill-front: #3a9a44; --hill-rim: #c5edc9;
  --sun-a: #ffd36a; --sun-b: #f6a623; --sun-glow: rgba(255, 196, 70, .55);
  --beam: #ffe39a; --beam-o: .72;
  --cloud: #ffffff; --cloud-2: #dcecf9; --cloud-o: .92;
  --hero-ink: #0f1a4a;
  --bg: #ffffff; --bg-alt: #eef5fc; --surface: #ffffff; --surface-2: #f4f8fd;
  --ink: #0f1a4a; --ink-soft: #3f4a73; --line: #d5deeb; --line-strong: #5c678f;
  --accent: #f6a623; --accent-ink: #8a4b00; --accent-soft: #fff1d6;
  --link: #1d3fa6;
  --primary: #c8202f; --primary-ink: #ffffff; --primary-hover: #a3182a;
  --ok: #17692c; --ok-soft: #e2f3e6;
  --alert: #b3261e; --alert-soft: #fdeceb;
  --focus: #0f1a4a; --focus-halo: #ffffff;
  --hdr-solid: #ffffff;
  --plate-line: rgba(15, 26, 74, .08);
  --pa-hill: #8fd497; --pa-hill2: #3a9a44;
  --shadow: 0 1px 2px rgba(15, 26, 74, .06), 0 12px 32px -16px rgba(15, 26, 74, .28);
  --shadow-lg: 0 2px 6px rgba(15, 26, 74, .08), 0 24px 48px -20px rgba(15, 26, 74, .4);
  --gutter: clamp(1rem, 4vw, 2rem);
  --dock-h: 3.75rem;
  --hdr-h: 4rem;
  color-scheme: light;
  transition: --sky-a 1.4s ease, --sky-b 1.4s ease, --sky-c 1.4s ease, --sky-d 1.4s ease,
    --hill-back 1.4s ease, --hill-front 1.4s ease, --hill-rim 1.4s ease, --sun-a 1.4s ease, --sun-b 1.4s ease, --beam 1.4s ease;
}
[data-phase="dawn"] {
  --sky-a: #8191e0; --sky-b: #b8a3dc; --sky-c: #ff9f7d; --sky-d: #ffd6ab;
  --hill-back: #a2cf9c; --hill-front: #4c9a57; --hill-rim: #ffe1c4;
  --sun-a: #ffc47a; --sun-b: #ff853d; --sun-glow: rgba(255, 140, 80, .5);
  --beam: #ffe9d2; --beam-o: .66;
  --cloud: #fff0ea; --cloud-2: #f5aea0; --cloud-o: .85;
  --hero-ink: #1a1846;
  --bg: #ffffff; --bg-alt: #f6f2fc; --surface: #ffffff; --surface-2: #faf7fe;
  --ink: #1a1846; --ink-soft: #49456f; --line: #e2dbef; --line-strong: #67628e;
  --accent: #ff8a5c; --accent-ink: #a23d18; --accent-soft: #ffeee6;
  --link: #3535a3;
  --focus: #1a1846;
  --pa-hill: #a2cf9c; --pa-hill2: #4c9a57;
}
[data-phase="dusk"] {
  --sky-a: #2d3383; --sky-b: #584897; --sky-c: #c3628a; --sky-d: #ffae5e;
  --hill-back: #56705f; --hill-front: #2c4c3f; --hill-rim: #ffb27c;
  --sun-a: #ffb067; --sun-b: #ff6b3a; --sun-glow: rgba(255, 112, 70, .55);
  --beam: #ffd0a0; --beam-o: .55;
  --cloud: #8f7cc4; --cloud-2: #f39a86; --cloud-o: .6;
  --hero-ink: #ffffff;
  --bg: #1b1946; --bg-alt: #221f55; --surface: #28255f; --surface-2: #2f2c6c;
  --ink: #fbf9ff; --ink-soft: #d4cfee; --line: #3f3b80; --line-strong: #a39ed0;
  --accent: #ffb35c; --accent-ink: #ffc98a; --accent-soft: #3a305f;
  --link: #c9d5ff;
  --primary: #ffb35c; --primary-ink: #1b1946; --primary-hover: #ffc581;
  --ok: #86e09d; --ok-soft: #203f40;
  --alert: #ffa08f; --alert-soft: #46264b;
  --focus: #ffd56b; --focus-halo: #1b1946;
  --hdr-solid: #1b1946;
  --plate-line: rgba(255, 255, 255, .1);
  --pa-hill: #56705f; --pa-hill2: #2c4c3f;
  --shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 14px 34px -16px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .25), 0 26px 50px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
[data-phase="night"] {
  --sky-a: #070e2c; --sky-b: #0d1743; --sky-c: #17235c; --sky-d: #243575;
  --hill-back: #1a3247; --hill-front: #10243a; --hill-rim: #4a6aa6;
  --sun-a: #ffd36a; --sun-b: #f6a623;
  --beam: #cfdcff; --beam-o: .36;
  --cloud: #2a3a7a; --cloud-2: #2a3a7a; --cloud-o: 0;
  --hero-ink: #ffffff;
  --bg: #0c1440; --bg-alt: #101a4d; --surface: #151f58; --surface-2: #1a2563;
  --ink: #f4f6ff; --ink-soft: #c4cae8; --line: #27336f; --line-strong: #8f99cb;
  --accent: #ffc94a; --accent-ink: #ffd773; --accent-soft: #212c68;
  --link: #b3c9ff;
  --primary: #ffc94a; --primary-ink: #0c1440; --primary-hover: #ffd773;
  --ok: #86e09d; --ok-soft: #163a3c;
  --alert: #ffa08f; --alert-soft: #3a2149;
  --focus: #ffc94a; --focus-halo: #0c1440;
  --hdr-solid: #0c1440;
  --plate-line: rgba(255, 255, 255, .1);
  --pa-hill: #2a4a63; --pa-hill2: #1a3550;
  --shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 14px 34px -16px rgba(0, 0, 0, .7);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 26px 50px -20px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 8rem; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.125rem; line-height: 1.65; font-weight: 400;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  transition: background-color .6s ease, color .6s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: .07em; }
a:hover { text-decoration-thickness: .12em; }
p { margin: 0 0 .9rem; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
h2 { font-size: clamp(1.875rem, 1.25rem + 2vw, 2.75rem); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.0625rem; }
ul, ol { margin: 0; padding: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
b, strong { font-weight: 600; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), 75rem); margin-inline: auto; }
.no-js .needs-js { display: none; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 7px var(--focus-halo); border-radius: .35rem; }
main:focus { outline: none; box-shadow: none; }

.skip {
  position: absolute; left: 1rem; top: 0; z-index: 200; padding: .75rem 1.1rem; border-radius: .75rem;
  background: #0f1a4a; color: #fff; font-weight: 600; text-decoration: none; transform: translateY(-120%);
}
.skip:focus { transform: translateY(1rem); outline: 3px solid #ffc94a; outline-offset: 2px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.25rem; border-radius: .9rem; border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 8px 18px -10px var(--primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--primary-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { min-height: 2.125rem; padding: .3rem .95rem; font-size: .875rem; border-radius: .7rem; }

/* =====================================================================
   HEADER (mobile first; desktop split nav with centered logo at 72em)
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; color: var(--hero-ink);
  transition: background-color .35s ease, box-shadow .35s ease, color .35s ease;
}
.menu-open .site-header { z-index: 130; }
.site-header.is-solid { background: var(--hdr-solid); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(0, 0, 0, .45); }
.utility { display: none; }
.mainbar-in { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: var(--hdr-h); }

.brand { display: inline-flex; align-items: center; text-decoration: none; border-radius: .9rem; }
.brand img { width: auto; }
.brand .logo-white { display: none; }
[data-phase="dusk"] .brand .logo-color, [data-phase="night"] .brand .logo-color { display: none; }
[data-phase="dusk"] .brand .logo-white, [data-phase="night"] .brand .logo-white { display: block; }
.brand-m { padding: .3rem .55rem; background: #fff; box-shadow: 0 6px 18px -10px rgba(15, 26, 74, .5); }
.brand-m img { height: 2.6rem; }
[data-phase="dusk"] .brand-m, [data-phase="night"] .brand-m { background: transparent; box-shadow: none; padding-inline: 0; }
.brand-d { display: none; }

.m-actions { display: flex; align-items: center; gap: .35rem; }
.m-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 2.75rem; min-height: 2.75rem;
  padding: .35rem .7rem; border-radius: .8rem; border: 1.5px solid currentColor; background: transparent;
  color: inherit; font-size: .9375rem; font-weight: 600; text-decoration: none;
}
.m-a11y { padding: .35rem; }
.m-btn .i { width: 1.25rem; height: 1.25rem; }
.site-header:not(.is-solid) .m-btn { background: rgba(255, 255, 255, .22); }
[data-phase="dusk"] .site-header:not(.is-solid) .m-btn, [data-phase="night"] .site-header:not(.is-solid) .m-btn { background: rgba(255, 255, 255, .08); }
@media (max-width: 26em) { .m-menu span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .m-menu { padding: .35rem; } }
@media (max-width: 22.5em) { .m-es span, .m-fr span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .m-es, .m-fr { padding: .35rem; } }

/* Menu panel (phones/tablets and large text) */
.primary { display: none; }
.menu-open .primary {
  display: block; position: fixed; inset: 0; z-index: 120; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); color: var(--ink); padding: 1rem var(--gutter) 3rem;
}
.no-js .primary { display: block; position: static; width: 100%; order: 3; background: var(--bg); color: var(--ink); padding: .5rem 0 1rem; }
/* Without JavaScript: the header flows, every link stays reachable, controls that need JS step aside */
@media (max-width: 71.99em) {
  .no-js .site-header { position: relative; background: var(--hdr-solid); color: var(--ink); }
  .no-js .mainbar-in { flex-wrap: wrap; }
  .no-js .menu-head, .no-js .m-menu { display: none; }
  .no-js .hero-grid { padding-top: 1.25rem; }
  .no-js .sky { margin-top: -1.25rem; }
}
.no-js .skyctl, .no-js .chips, .no-js .finder label, .no-js .finder select, .no-js .dock button { display: none; }
@media (max-width: 760px) { .no-js .dock { grid-template-columns: repeat(3, 1fr); } }
.menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.menu-title { margin: 0; font-size: 1.5rem; font-weight: 700; }
.menu-close { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: .4rem .9rem; border-radius: .8rem; border: 1.5px solid var(--line-strong); background: var(--surface); font-weight: 600; }
.menu-quick { display: grid; gap: .6rem; margin-bottom: 1.25rem; }
.menu-quick .btn { width: 100%; }
.nav-list { list-style: none; }
.nav-item { border-bottom: 1px solid var(--line); }
.nav-btn, .nav-link {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .5rem;
  min-height: 3.25rem; padding: .5rem .25rem; background: none; border: 0; text-align: left;
  font-size: 1.1875rem; font-weight: 600; color: inherit; text-decoration: none;
}
.nav-btn .chev { transition: transform .2s; }
.nav-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.dd ul { list-style: none; padding: 0 0 .75rem .5rem; }
.dd a { display: flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: .35rem .5rem; color: var(--ink); text-decoration: none; border-radius: .6rem; font-size: 1.0625rem; }
.dd a:hover { background: var(--surface-2); text-decoration: underline; }
.dd-cta a { font-weight: 600; color: var(--link); }
.dd-cta .i { width: 1rem; height: 1rem; }
.no-js .has-dd:focus-within .dd[hidden], .no-js .has-dd:hover .dd[hidden] { display: block !important; }
.menu-extra { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.menu-extra .u-link { min-height: 2.75rem; padding: .4rem .9rem; border: 1.5px solid var(--line-strong); border-radius: .8rem; }
.u-link {
  display: inline-flex; align-items: center; gap: .4rem; color: inherit; text-decoration: none; background: none; border: 0;
  font-size: .9375rem; font-weight: 500; padding: .25rem .4rem; border-radius: .5rem; min-height: 2rem;
}
.u-link:hover { text-decoration: underline; }
.u-link .i { width: 1.05rem; height: 1.05rem; }

@media (min-width: 72em) {
  html:not(.hdr-m) { --hdr-h: 6.5rem; }
  html:not(.hdr-m) .utility { display: block; height: 2.5rem; }
  html:not(.hdr-m) .utility-in { display: flex; align-items: center; justify-content: space-between; height: 100%; }
  html:not(.hdr-m) .utility-left { display: flex; gap: .75rem; margin: 0; }
  html:not(.hdr-m) .utility-right { display: flex; align-items: center; gap: .5rem; list-style: none; }
  html:not(.hdr-m) .mainbar-in { height: 4rem; min-height: 0; justify-content: center; }
  html:not(.hdr-m) .brand-m, html:not(.hdr-m) .m-actions { display: none; }
  html:not(.hdr-m) .primary {
    display: grid; grid-template-columns: 1fr 13rem 1fr; align-items: center; width: 100%;
    position: static; background: none; padding: 0; color: inherit; overflow: visible;
  }
  html:not(.hdr-m) .menu-head, html:not(.hdr-m) .menu-quick, html:not(.hdr-m) .menu-extra { display: none; }
  html:not(.hdr-m) .nav-list { display: flex; gap: .15rem; }
  html:not(.hdr-m) .nav-left { justify-self: end; grid-column: 1; }
  html:not(.hdr-m) .nav-right { justify-self: start; grid-column: 3; }
  html:not(.hdr-m) .nav-item { border: 0; position: relative; }
  html:not(.hdr-m) .nav-btn, html:not(.hdr-m) .nav-link {
    width: auto; min-height: 2.75rem; padding: .45rem .8rem; font-size: 1rem; font-weight: 500; border-radius: .8rem; gap: .3rem;
  }
  html:not(.hdr-m) .nav-btn .chev { width: 1rem; height: 1rem; }
  html:not(.hdr-m) .nav-btn:hover, html:not(.hdr-m) .nav-link:hover, html:not(.hdr-m) .nav-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .3); }
  html:not(.hdr-m) .site-header.is-solid .nav-btn:hover, html:not(.hdr-m) .site-header.is-solid .nav-link:hover,
  html:not(.hdr-m) .site-header.is-solid .nav-btn[aria-expanded="true"] { background: var(--surface-2); }
  html:not(.hdr-m) .dd {
    position: absolute; top: calc(100% + .6rem); left: 0; z-index: 5; min-width: 16rem;
    background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 1.25rem;
    box-shadow: var(--shadow-lg), inset 0 4px 0 var(--accent); padding: .7rem .5rem .5rem;
  }
  html:not(.hdr-m) .dd ul { padding: 0; }
  html:not(.hdr-m) .dd a { font-size: 1rem; min-height: 2.5rem; }
  html:not(.hdr-m) .dd-wide { min-width: 29rem; }
  html:not(.hdr-m) .dd-wide ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: .25rem; }
  html:not(.hdr-m) .dd-end { left: auto; right: 0; }
  html:not(.hdr-m) .dd-cta { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .35rem; grid-column: 1 / -1; }
  html:not(.hdr-m) .brand-d {
    display: flex; position: absolute; left: 50%; top: 0; transform: translateX(-50%); z-index: 3;
    flex-direction: column; align-items: center; justify-content: center;
    padding: .55rem 1.1rem .7rem; border-radius: 0 0 1.4rem 1.4rem; background: #fff;
    box-shadow: 0 14px 30px -18px rgba(15, 26, 74, .55);
    transition: padding .3s ease;
  }
  html:not(.hdr-m) .brand-d img { height: 5.15rem; transition: height .3s ease; }
  html:not(.hdr-m) .site-header.is-solid .brand-d { box-shadow: none; padding-block: .45rem .5rem; }
  html:not(.hdr-m) .site-header.is-solid .brand-d img { height: 4.9rem; }
}
/* phase selectors must sit on <html>, so rewrite the two rules above that need both */
@media (min-width: 72em) {
  html[data-phase="dusk"]:not(.hdr-m) .brand-d, html[data-phase="night"]:not(.hdr-m) .brand-d { background: transparent; box-shadow: none; }
  html[data-phase="dusk"]:not(.hdr-m) .site-header:not(.is-solid) .nav-btn:hover,
  html[data-phase="dusk"]:not(.hdr-m) .site-header:not(.is-solid) .nav-btn[aria-expanded="true"],
  html[data-phase="night"]:not(.hdr-m) .site-header:not(.is-solid) .nav-btn:hover,
  html[data-phase="night"]:not(.hdr-m) .site-header:not(.is-solid) .nav-btn[aria-expanded="true"],
  html[data-phase="dusk"]:not(.hdr-m) .site-header:not(.is-solid) .nav-link:hover,
  html[data-phase="night"]:not(.hdr-m) .site-header:not(.is-solid) .nav-link:hover { background: rgba(255, 255, 255, .12); }
}
@media (min-width: 72em) and (max-width: 84em) { html:not(.hdr-m) .u-addr { display: none; } }

/* =====================================================================
   HERO: sky, sun, rays, hills
   ===================================================================== */
main { display: block; container: page / inline-size; }
.hero { container: hero / inline-size; position: relative; color: var(--hero-ink); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy" "scene" "status" "fan" "ctl";
  padding-top: calc(var(--hdr-h) + 1.25rem);
}
.sky {
  grid-column: 1; grid-row: 1 / 3; z-index: 0; position: relative; overflow: hidden;
  margin-top: calc(-1 * (var(--hdr-h) + 1.25rem));
  background: linear-gradient(180deg, var(--sky-a) 0%, var(--sky-b) 42%, var(--sky-c) 76%, var(--sky-d) 100%);
}
.stars { position: absolute; inset: 0 0 auto 0; width: 100%; height: min(100%, 38rem); }
.stars circle { opacity: 0; transition: opacity 1.2s ease; }
[data-phase="night"] .stars circle { opacity: .85; }
[data-phase="dusk"] .stars .few { opacity: .75; }
[data-phase="dawn"] .stars .few { opacity: .4; }
.cloud { position: absolute; fill: url(#cloudGrad); opacity: var(--cloud-o); transition: opacity 1.2s ease; overflow: visible; }
.cg-a { stop-color: var(--cloud); }
.cg-b { stop-color: var(--cloud-2, var(--cloud)); }
.bg-0 { stop-color: var(--beam); stop-opacity: .95; }
.bg-1 { stop-color: var(--beam); stop-opacity: .55; }
.bg-2 { stop-color: var(--beam); stop-opacity: .16; }
.cloud-a { width: 11rem; left: 3%; top: 25%; }
.cloud-b { width: 8.5rem; right: 4%; top: 15%; }
.cloud-c { width: 6rem; right: 9%; top: 31%; opacity: calc(var(--cloud-o) * .8); }

.hero-copy { grid-area: copy; z-index: 4; text-align: center; padding: 1rem var(--gutter) 1.25rem; }
.greeting {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: .4rem .95rem .4rem .75rem;
  border-radius: 1rem; background: var(--surface); color: var(--ink); box-shadow: var(--shadow);
  font-size: .9375rem; font-weight: 500; line-height: 1.3;
}
.greet-i { color: var(--accent-ink); }
@container hero (max-width: 30rem) { .g-day { display: none; } }
@container hero (max-width: 40rem) {
  .cloud-c { display: none; }
  .cloud-a { top: auto; bottom: 9.5rem; left: -2.5rem; width: 8rem; }
  .cloud-b { top: 4.4rem; right: -2rem; width: 7.5rem; }
}
.hero h1 {
  font-size: clamp(2.35rem, 1.05rem + 4vw, 3.95rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 700;
  max-width: 21ch; margin: 0 auto; text-wrap: balance;
}

/* Status card */
.status {
  grid-area: status; z-index: 4; position: relative;
  width: min(100% - 2 * var(--gutter), 72rem); margin: 0 auto;
  display: grid; grid-template-columns: 1fr; background: var(--surface); color: var(--ink);
  border-radius: 1.5rem; box-shadow: var(--shadow-lg); border: 1px solid var(--plate-line);
  overflow: hidden;
}
.status::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent); z-index: 1; }
.st-col { padding: .9rem 1.3rem .85rem; }
.st-col + .st-col { border-top: 1px solid var(--line); }
.st-label { display: flex; align-items: center; gap: .35rem; margin: 0 0 .2rem; font-size: .8125rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .01em; }
.st-label .i { width: 1rem; height: 1rem; }
.st-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.st-dir { min-height: 1.5rem; }
.st-next { display: flex; align-items: flex-start; gap: .35rem; margin: .35rem 0 0; font-size: .8125rem; font-weight: 600; line-height: 1.4; color: var(--accent-ink); }
.st-next .i { width: .95rem; height: .95rem; margin-top: .1rem; }
.st-main { display: flex; align-items: baseline; gap: .5rem; margin: 0 0 .1rem; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.st-main .i { align-self: center; }
.st-602 { display: block; }
.st-602 a { color: inherit; font-weight: 700; }
.st-602 b { font-weight: 800; }
.st-detail { margin: 0 0 .1rem; font-size: .9375rem; color: var(--ink); }
.st-hours { margin: 0; font-size: .8125rem; color: var(--ink-soft); line-height: 1.5; }
.st-office .st-hours > span:not(.sr) { display: block; }
.st-dot { width: .8rem; height: .8rem; border-radius: 50%; background: var(--line-strong); flex: none; align-self: center; position: relative; }
.status.is-open .st-dot { background: #1f9a45; box-shadow: 0 0 0 4px rgba(31, 154, 69, .2); }
.status.is-closed .st-dot { background: var(--alert); }
.st-ok { color: var(--ok); }
.st-bad { color: var(--alert); }
.st-links { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 1.1rem; margin: .3rem 0 0; }
.st-apply { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: 1rem; color: var(--link); min-height: 2rem; }
.st-link { display: inline-flex; align-items: center; gap: .3rem; min-height: 2rem; font-size: .875rem; font-weight: 500; color: var(--link); }
.st-link .i { width: .95rem; height: .95rem; }
.st-apply .i { width: 1rem; height: 1rem; }
.status.is-after .st-emerg { background: var(--alert-soft); }
.status.is-after .st-emerg .st-label { color: var(--alert); }
.status.is-after .st-602 { font-size: 1.1875rem; }
.status.is-after .st-602 b { color: var(--alert); }

/* Rays (list layout by default) */
.fan { grid-area: fan; z-index: 4; padding: 1.25rem var(--gutter) .5rem; }
.fan-box { position: relative; }
.beams { display: none; }
.rays { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.rays li:first-child { grid-column: 1 / -1; }
.ray {
  display: flex; align-items: center; gap: .7rem; min-height: 4rem; height: 100%; padding: .6rem .8rem .6rem .6rem;
  border-radius: 1.1rem; background: var(--surface); color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); box-shadow: var(--shadow); position: relative;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, background-color .3s;
}
.ray::before { /* the ray's sun tick on list layout */
  content: ""; position: absolute; left: -1px; top: 18%; bottom: 18%; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent);
}
.ray:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.ray-i { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.ray-i .i { width: 1.3rem; height: 1.3rem; }
.ray-t { display: flex; flex-direction: column; min-width: 0; }
.ray-l { font-weight: 600; font-size: 1rem; line-height: 1.2; }
.ray-s { font-size: .8125rem; color: var(--ink-soft); line-height: 1.3; margin-top: .15rem; }
.ray-primary { background: var(--primary); color: var(--primary-ink); border-color: transparent; }
.ray-primary::before { display: none; }
.ray-primary .ray-i { background: rgba(255, 255, 255, .2); color: inherit; }
.ray-primary .ray-s { color: inherit; }
[data-phase="dusk"] .ray-primary .ray-i, [data-phase="night"] .ray-primary .ray-i { background: rgba(12, 20, 64, .12); }

/* Scene: sun, moon, hills */
.scene { grid-area: scene; position: relative; height: 10rem; z-index: 1; overflow: hidden; pointer-events: none; }
.hills { position: absolute; left: 50%; bottom: 0; width: max(100%, 54rem); height: 10rem; transform: translateX(-50%); z-index: 3; }
.hill-back { fill: var(--hill-back); }
.hill-front { fill: var(--hill-front); }
.hill-fore { fill: var(--bg); transition: fill .6s ease; }
.hill-rim, .hill-rim2 { stroke: var(--hill-rim); stroke-width: 2.5; opacity: .75; vector-effect: non-scaling-stroke; }
.sun, .moon { position: absolute; left: 50%; z-index: 2; transition: transform 1.6s cubic-bezier(.2, .7, .2, 1), opacity 1.2s ease; }
.sun { width: 6rem; height: 6rem; top: 5.8rem; transform: translate(-50%, -50%) translateY(calc(var(--lift, .55) * -3.4rem)); }
.sun-disc { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 42%, var(--sun-a) 0 38%, var(--sun-b) 100%); box-shadow: 0 0 0 .5rem rgba(255, 220, 140, .22); }
.sun-glow { position: absolute; inset: -5rem; border-radius: 50%; background: radial-gradient(closest-side, var(--sun-glow), rgba(255, 200, 100, 0)); }
.moon { width: 4.2rem; height: 4.2rem; top: 5.8rem; opacity: 0; transform: translate(-50%, -50%) translateY(2rem); }
.moon-disc { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 36% 38%, rgba(190, 182, 150, .32), rgba(190, 182, 150, 0) 16%),
              radial-gradient(ellipse 22% 16% at 63% 58%, rgba(190, 182, 150, .28), rgba(190, 182, 150, 0)),
              radial-gradient(circle at 56% 26%, rgba(190, 182, 150, .2), rgba(190, 182, 150, 0) 9%),
              radial-gradient(circle at 40% 38%, #fffef5, #f1ecd3 70%, #ddd6b6);
  box-shadow: 0 0 0 .45rem rgba(230, 236, 255, .08); }
.moon-glow { position: absolute; inset: -4rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(200, 215, 255, .35), rgba(200, 215, 255, 0)); }
[data-phase="night"] .sun { opacity: 0; transform: translate(-50%, -50%) translateY(3rem); }
[data-phase="night"] .moon { opacity: 1; transform: translate(-50%, -50%) translateY(-2.1rem); }
.burst { position: absolute; left: 50%; top: 5.8rem; width: 15rem; height: 15rem; transform: translate(-50%, -50%) translateY(calc(var(--lift, .55) * -3.4rem)); z-index: 1; fill: var(--beam); opacity: calc(var(--beam-o) * 1.1); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1), opacity 1.2s ease; }
[data-phase="night"] .burst { opacity: .2; transform: translate(-50%, -50%) translateY(-2.1rem) scale(.8); }

/* Sky control */
.skyctl { grid-area: ctl; z-index: 5; justify-self: center; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem .3rem;
  margin: 1rem var(--gutter) 1.5rem; padding: .3rem .3rem .3rem .9rem; border-radius: 1rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.skyctl-label { margin: 0 .35rem 0 0; font-size: .875rem; font-weight: 600; color: var(--ink-soft); }
.skyctl-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem; }
.skyctl button {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 2.5rem; padding: .3rem .7rem; border: 0; border-radius: .7rem;
  background: transparent; color: var(--ink); font-size: .875rem; font-weight: 500;
}
.skyctl button .i { width: 1.05rem; height: 1.05rem; color: var(--accent-ink); }
.skyctl button:hover { background: var(--surface-2); }
.skyctl button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.skyctl button[aria-pressed="true"] .i { color: inherit; }

/* ---------- Phones: compact hero ---------- */
@container hero (max-width: 39.99rem) {
  .hero-copy { padding-bottom: .9rem; }
  .scene { height: 10.75rem; }
  .hills { height: 10.75rem; }
  .skyctl { grid-area: scene; align-self: end; margin: 0 auto .6rem; padding: .25rem; gap: .15rem; }
  .skyctl-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .skyctl button { padding: .3rem .5rem; font-size: .8125rem; min-height: 2.75rem; gap: .25rem; }
  .st-col { padding: .75rem 1rem .7rem; }
  .st-office .st-link, .st-wait .st-label, .st-wait .st-link { display: none; }
  .fan { padding-top: .9rem; }
  .rays { gap: .5rem; }
  .ray { min-height: 3.6rem; padding: .45rem .5rem .45rem .45rem; gap: .45rem; }
  .ray-i { width: 2rem; height: 2rem; }
  .ray-i .i { width: 1.1rem; height: 1.1rem; }
  .ray-l { font-size: .9375rem; letter-spacing: -.01em; }
  .ray-s { font-size: .75rem; }
}

@container hero (max-width: 22.99rem) { .rays { grid-template-columns: 1fr; } }

/* ---------- Tablet list layout ---------- */
@container hero (min-width: 40rem) {
  .rays { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rays li:first-child { grid-column: 1 / -1; }
  .status { grid-template-columns: 1.12fr 1.12fr .9fr; }
  .st-col + .st-col { border-top: 0; border-left: 1px solid var(--line); }
  .scene { height: 11rem; }
  .hills { height: 11rem; }
  .sun, .moon, .burst { top: 6.4rem; }
}
@container hero (min-width: 52rem) {
  .rays { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rays li:first-child { grid-column: auto; }
}

/* ---------- Desktop: the sun-ray menu ---------- */
@container hero (min-width: 74rem) {
  .hero-grid { grid-template-areas: "copy" "status" "fan" "scene"; grid-template-rows: 1fr auto auto auto; padding-top: calc(var(--hdr-h) + .5rem); min-height: min(100svh - 3.5rem, 60rem); }
  .hero-copy { align-self: end; }
  .sky { grid-row: 1 / 5; margin-top: calc(-1 * (var(--hdr-h) + .5rem)); }
  .hero-copy { padding-top: .25rem; padding-bottom: 1.1rem; }
  .greeting { margin-bottom: .75rem; }
  .fan { padding: 1rem 0 0; }
  .fan-box { width: min(75rem, 100% - 3rem); aspect-ratio: 4 / 1; margin: 0 auto; }
  .beams { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; opacity: var(--beam-o); transition: opacity .8s ease; }
  .beam { transition: opacity .3s ease; opacity: .75; }
  .rays-nav { position: absolute; inset: 0; z-index: 4; }
  .rays { display: block; position: absolute; inset: 0; }
  .rays li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
  .ray { height: auto; white-space: nowrap; padding: .5rem 1.05rem .5rem .5rem; border-radius: 1.2rem; box-shadow: var(--shadow-lg); border-color: var(--plate-line); }
  .ray::before { display: none; }
  .ray-i { width: 2.5rem; height: 2.5rem; }
  .ray:hover, .ray:focus-visible { transform: translateY(-3px) scale(1.03); }
  .fan-box:has(.ray:hover) .beam, .fan-box:has(.ray:focus-visible) .beam { opacity: .35; }
  .fan-box:has(li:nth-child(1) .ray:is(:hover, :focus-visible)) .beam:nth-child(1),
  .fan-box:has(li:nth-child(2) .ray:is(:hover, :focus-visible)) .beam:nth-child(2),
  .fan-box:has(li:nth-child(3) .ray:is(:hover, :focus-visible)) .beam:nth-child(3),
  .fan-box:has(li:nth-child(4) .ray:is(:hover, :focus-visible)) .beam:nth-child(4),
  .fan-box:has(li:nth-child(5) .ray:is(:hover, :focus-visible)) .beam:nth-child(5),
  .fan-box:has(li:nth-child(6) .ray:is(:hover, :focus-visible)) .beam:nth-child(6),
  .fan-box:has(li:nth-child(7) .ray:is(:hover, :focus-visible)) .beam:nth-child(7) { opacity: 1; }
  .scene { margin-top: -7rem; height: 12.5rem; overflow: visible; }
  .hills { width: 100%; height: 12.5rem; left: 0; transform: none; }
  .sun, .moon, .burst { top: 7rem; }
  .sun { width: 7rem; height: 7rem; transform: translate(-50%, -50%) translateY(calc(var(--lift, .55) * -4.2rem)); }
  .burst { display: none; }
  .skyctl { grid-area: scene; align-self: end; margin: 0 0 2rem; }
  .st-office .st-hours > span:not(.sr) { display: inline; }
  .st-office .st-hours > span:last-child::before { content: " · "; content: " · " / ""; }
}
/* Night keeps the moon high enough to light the rays */
@container hero (min-width: 74rem) {
  [data-phase="night"] .sun { transform: translate(-50%, -50%) translateY(3rem); }
  [data-phase="night"] .moon { width: 5rem; height: 5rem; transform: translate(-50%, -50%) translateY(-2.6rem); }
}

/* Load choreography: sunrise, then the rays fan out (skipped for reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .sun { animation: sunrise 2.2s cubic-bezier(.2, .7, .2, 1) .1s backwards; }
  .burst { animation: fadeIn 1.6s ease .6s backwards; }
  @keyframes sunrise { from { transform: translate(-50%, -50%) translateY(4.5rem); } }
  @keyframes fadeIn { from { opacity: 0; } }
  .beam { transform-box: view-box; transform-origin: 600px 300px; animation: beamIn 1.1s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(.55s + var(--i) * 80ms); }
  @keyframes beamIn { from { transform: scale(.12); opacity: 0; } }
  .rays li { animation: plateIn .7s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(.85s + var(--i) * 80ms); }
  .rays li:first-child { animation: none; }
  @keyframes plateIn { from { opacity: 0; translate: 0 .6rem; scale: .9; } }
  .stars .tw { animation: twinkle 3.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
  @keyframes twinkle { 50% { opacity: .2; } }
  .cloud-a { animation: drift 70s ease-in-out infinite alternate; }
  .cloud-b { animation: drift 55s ease-in-out -20s infinite alternate-reverse; }
  .cloud-c { animation: drift 48s ease-in-out -8s infinite alternate; }
  @keyframes drift { from { transform: translateX(-1.5rem); } to { transform: translateX(1.5rem); } }
  .status.is-open .st-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #1f9a45; animation: pulse 2.4s ease-out infinite; }
  @keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(2); opacity: 0; } }
}

/* =====================================================================
   SECTIONS
   ===================================================================== */
.sec { padding-block: clamp(2.25rem, 1.25rem + 5vw, 6rem); background: var(--bg); transition: background-color .6s ease; }
.paths-sec, .comm-sec { background: var(--bg-alt); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.sec-head h2::before { /* the logo's sun, as a small mark on every section title */
  content: ""; display: inline-block; width: .38em; height: .38em; margin-right: .32em; border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, var(--sun-a), var(--sun-b)); vertical-align: .3em;
  box-shadow: 0 0 0 .1em var(--accent-soft);
}
.sec-head-c { justify-content: center; text-align: center; }
.sec-head-c .sec-sub { margin-inline: auto; }
.sec-sub { margin: .55rem 0 0; color: var(--ink-soft); font-size: 1.125rem; max-width: 42rem; }
.more { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; font-weight: 600; font-size: 1rem; color: var(--link); text-decoration: underline; }
.more .i { width: 1.05rem; height: 1.05rem; transition: transform .2s; }
.more:hover .i { transform: translateX(3px); }
.h-sm { font-size: 1.1875rem; margin-bottom: 1rem; }
.fine { font-size: .875rem; color: var(--ink-soft); line-height: 1.55; }
.card-base { background: var(--surface); border: 1px solid var(--line); border-radius: 1.5rem; box-shadow: var(--shadow); }

/* ---------- Today at LHA: the day line ---------- */
.dayline-card { background: var(--surface); border: 1px solid var(--line); border-radius: 1.5rem; box-shadow: inset 0 4px 0 var(--accent), var(--shadow); padding: 1.5rem clamp(1rem, 3vw, 2rem) 1.25rem; margin-bottom: 2.25rem; }
.dl { position: relative; height: 11.25rem; overflow: hidden; margin-inline: .25rem; }
.dl-evrow { position: absolute; left: 0; right: 0; top: 0; height: 3.4rem; }
.dl-ev { position: absolute; bottom: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.dl-ev span { white-space: nowrap; font-size: .8125rem; font-weight: 600; line-height: 1.2; padding: .25rem .55rem; border-radius: .55rem; background: var(--accent-soft); color: var(--ink); border: 1px solid var(--line); }
.dl-ev span small { font-weight: 400; color: var(--ink-soft); font-size: .8125rem; }
.dl-ev::after { content: ""; width: 2px; height: .7rem; background: var(--line-strong); }
.dl-ev.lane2 { bottom: 1.85rem; }
.dl-ev.lane2::after { height: 2.55rem; }
.dl-ev.is-past span { background: var(--surface-2); color: var(--ink-soft); }
.dl-ev.edge-l { transform: none; align-items: flex-start; }
.dl-ev.edge-r { transform: translateX(-100%); align-items: flex-end; }
.dl-track {
  position: absolute; left: 0; right: 0; top: 3.4rem; height: 1.6rem; border-radius: 1rem;
  background: linear-gradient(90deg, #7b8de0 0%, #ff9f7d 5.5%, #ffd6ab 10%, #9fd5f6 15%, #7cc3f0 45%, #8fcbf3 70%, #ffb35c 77%, #c3628a 84%, #3e3f8f 92%, #0d1743 100%);
  box-shadow: inset 0 0 0 1px rgba(15, 26, 74, .12);
}
[data-phase="dusk"] .dl-track, [data-phase="night"] .dl-track { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.dl-dot { position: absolute; top: 50%; width: .8rem; height: .8rem; border-radius: 50%; background: #fff; border: 3px solid var(--ink); transform: translate(-50%, -50%); }
.dl-dot.is-past { border-color: var(--line-strong); }
.dl-band { position: absolute; z-index: 4; height: 1.7rem; border-radius: .55rem; display: flex; align-items: center; padding: 0 .6rem; font-size: .8125rem; font-weight: 600; white-space: nowrap; overflow: hidden; }
.dl-office { top: 5.45rem; background: var(--ok-soft); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(23, 105, 44, .18); }
.dl-closed { background: var(--surface-2); color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); }
.dl-after { top: 7.4rem; background: var(--alert-soft); color: var(--alert); background-image: repeating-linear-gradient(135deg, transparent 0 8px, rgba(179, 38, 30, .06) 8px 16px); }
.dl-ticks { position: absolute; left: 0; right: 0; bottom: 0; height: 1.4rem; }
.dl-tick { position: absolute; bottom: 0; transform: translateX(-50%); font-size: .8125rem; color: var(--ink-soft); white-space: nowrap; }
.dl-tick:first-child { transform: none; }
.dl-tick:last-child { transform: translateX(-100%); }
.dl-now { position: absolute; top: 3.15rem; bottom: 1.6rem; width: 0; z-index: 3; }
.dl-now::before { content: ""; position: absolute; top: 1.9rem; bottom: 0; left: -1px; width: 2px; background: var(--ink); opacity: .55; }
.dl-now-chip {
  position: absolute; top: 0; left: 0; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .3rem;
  padding: .15rem .6rem .15rem .2rem; border-radius: 1rem; background: var(--ink); color: var(--bg);
  font-size: .8125rem; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6);
}
.dl-now-chip i { width: 1.35rem; height: 1.35rem; border-radius: 50%; background: radial-gradient(circle at 45% 40%, #ffd36a, #f6a623); box-shadow: 0 0 0 3px rgba(255, 201, 74, .35); }
.dl-now.edge-l .dl-now-chip { transform: translateX(-.6rem); }
.dl-now.edge-r .dl-now-chip { transform: translateX(calc(-100% + .6rem)); }
.dl-msg { position: absolute; left: 50%; top: 5.6rem; transform: translateX(-50%); font-size: .875rem; color: var(--ink-soft); }

.today-grid { display: grid; gap: 2.25rem; }
.agenda { list-style: none; display: grid; gap: .55rem; }
.ag { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; align-items: start; padding: .75rem 1rem; border-radius: 1rem; background: var(--surface); border: 1px solid var(--line); }
.ag-time { grid-column: 1; font-size: .875rem; font-weight: 600; color: var(--accent-ink); }
.ag-what { grid-column: 1; font-size: 1rem; line-height: 1.45; }
.ag-what small { display: block; font-size: .875rem; color: var(--ink-soft); }
.ag-state { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: .8125rem; font-weight: 600; padding: .2rem .6rem; border-radius: .6rem; background: var(--surface-2); color: var(--ink-soft); white-space: nowrap; }
.ag.is-now { border-color: var(--ok); box-shadow: inset 4px 0 0 var(--ok); }
.ag.is-now .ag-state { background: var(--ok-soft); color: var(--ok); }
.ag.is-later .ag-state { background: var(--accent-soft); color: var(--accent-ink); }
.ag.is-past { background: transparent; }
.ag.is-past .ag-what { color: var(--ink-soft); }
.ag.is-alert { box-shadow: inset 4px 0 0 var(--alert); }
.ag.is-alert.is-now { border-color: var(--alert); }
.ag.is-alert.is-now .ag-state { background: var(--alert-soft); color: var(--alert); }
.ag-static { display: grid; gap: .1rem; padding: .75rem 1rem; border-radius: 1rem; background: var(--surface); border: 1px solid var(--line); }
.ag-static .ag-time { font-size: .875rem; }
.agenda-next { margin-top: 1rem; padding: .9rem 1rem; border-radius: 1rem; background: var(--accent-soft); color: var(--ink); font-size: 1rem; }
.agenda-next b { font-weight: 600; }
.heads { margin-top: 1.75rem; }
.notices { list-style: none; display: grid; gap: .55rem; }
.notice { display: grid; grid-template-columns: auto 1fr; gap: .6rem; padding: .75rem .9rem; border-radius: 1rem; background: var(--accent-soft); border: 1px solid var(--line); font-size: .9375rem; line-height: 1.5; color: var(--ink); }
.notice .i { color: var(--accent-ink); margin-top: .2rem; }
.notice a { font-weight: 600; }

.upcoming { list-style: none; display: grid; gap: .75rem; }
.up { display: grid; grid-template-columns: 3.6rem 1fr; gap: .9rem; padding: .85rem 1rem .85rem .85rem; background: var(--surface); border: 1px solid var(--line); border-radius: 1.1rem; position: relative; transition: border-color .2s, transform .2s; }
.up:hover { border-color: var(--line-strong); }
.up-date { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: .9rem; background: var(--bg-alt); padding: .35rem 0; line-height: 1.1; align-self: start; box-shadow: inset 0 3px 0 var(--accent); }
.up-date span { font-size: .8125rem; color: var(--ink-soft); font-weight: 500; }
.up-date b { font-size: 1.375rem; font-weight: 700; }
.up-body p { margin: 0; }
.up-title { font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.up-title a { color: var(--ink); text-decoration: none; }
.up-title a::after { content: ""; position: absolute; inset: 0; border-radius: 1.1rem; }
.up-title a:hover { text-decoration: underline; }
.up-title a:focus-visible { box-shadow: none; outline: none; }
.up:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.up-meta { font-size: .9375rem; color: var(--ink-soft); line-height: 1.45; margin-top: .15rem !important; }
.up-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .4rem !important; }
.tag { font-size: .8125rem; font-weight: 500; padding: .1rem .55rem; border-radius: .5rem; background: var(--bg-alt); color: var(--ink-soft); border: 1px solid var(--line); }
.tag.rel { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; font-weight: 600; }

@container page (min-width: 60rem) {
  .today-grid { grid-template-columns: 5fr 7fr; gap: 2.5rem; }
  .upcoming { grid-template-columns: 1fr 1fr; }
}
@container page (max-width: 40rem) {
  .dl { height: 10.25rem; }
  .dl-evrow { display: none; }
  .dl-track { top: 2.4rem; }
  .dl-now { top: 2.15rem; }
  .dl-office { top: 4.45rem; }
  .dl-after { top: 6.4rem; }
  .dl-msg { top: 4.6rem; }
  .dl-tick:nth-child(even) { display: none; }
}

/* ---------- Three paths ---------- */
.paths { display: grid; gap: 1.5rem; align-items: start; }
.path { background: var(--surface); border: 1px solid var(--line); border-radius: 1.5rem; box-shadow: inset 0 4px 0 var(--accent), var(--shadow); padding: 1.6rem clamp(1.15rem, 2.5vw, 1.75rem) 1.75rem; }
.path-art { width: 7rem; height: auto; margin-bottom: .75rem; }
.path-toggle {
  display: none; width: 100%; align-items: center; justify-content: space-between; gap: .75rem; min-height: 3rem; margin-top: 1rem;
  padding: .6rem .9rem; border-radius: .9rem; border: 1.5px solid var(--line-strong); background: var(--surface-2); color: var(--ink);
  font-size: .9375rem; font-weight: 600; text-align: left;
}
.path-toggle .i { transition: transform .2s; }
.path-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.prog-sum { display: none; }
.pa-sun { fill: var(--accent); }
.pa-hill { fill: var(--pa-hill2); }
.pa-hill2 { fill: var(--pa-hill); }
.pa-sprout { fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.path h3 { font-size: 1.625rem; letter-spacing: -.02em; }
.path-lede { color: var(--ink-soft); font-size: 1rem; margin: .5rem 0 1rem; }
.open-note { display: flex; gap: .5rem; align-items: flex-start; padding: .65rem .85rem; border-radius: .9rem; background: var(--ok-soft); color: var(--ok); font-size: 1rem; font-weight: 500; line-height: 1.4; }
.open-note .i { margin-top: .1rem; }
.open-note strong { font-weight: 700; }
.closed-note { display: flex; gap: .5rem; align-items: flex-start; padding: .65rem .85rem; border-radius: .9rem; background: var(--alert-soft); color: var(--alert); font-size: 1rem; font-weight: 500; line-height: 1.4; }
.closed-note .i { margin-top: .1rem; }
.closed-note strong { font-weight: 700; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 .6rem; }
.path .btn-row .btn { padding: .65rem 1rem; font-size: .9375rem; }
.path h4 { display: flex; align-items: center; gap: .45rem; margin: 1.5rem 0 .6rem; font-size: 1.0625rem; }
.path h4 .i { color: var(--accent-ink); width: 1.15rem; height: 1.15rem; }
.steps { list-style: none; counter-reset: step; display: grid; gap: .6rem; }
.steps li { counter-increment: step; position: relative; padding-left: 2.4rem; font-size: .9375rem; line-height: 1.5; color: var(--ink-soft); }
.steps li b { color: var(--ink); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.05rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: .875rem; box-shadow: inset 0 0 0 2px var(--accent); }
.papers { margin-top: 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface-2); }
.papers summary { display: flex; align-items: center; gap: .5rem; min-height: 3rem; padding: .6rem .9rem; cursor: pointer; font-weight: 600; font-size: 1rem; list-style: none; border-radius: 1rem; }
.papers summary::-webkit-details-marker { display: none; }
.papers summary::after { content: ""; margin-left: auto; width: .55rem; height: .55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.papers[open] summary::after { transform: rotate(-135deg); }
.papers summary .i { color: var(--accent-ink); }
.papers > :not(summary) { margin-inline: .9rem; }
.papers p { font-size: .9375rem; margin-bottom: .9rem; }
.ticks { list-style: none; display: grid; gap: .35rem; margin-bottom: .9rem; }
.ticks li { position: relative; padding-left: 1.6rem; font-size: .9375rem; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .45rem; height: .8rem; border-right: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(40deg); }
.link-list { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin: 1.1rem 0 .9rem; }
.link-list a { display: inline-flex; align-items: center; min-height: 2.25rem; font-size: .9375rem; font-weight: 500; }
.block { border-top: 1px solid var(--line); margin-top: 1.25rem; padding-top: .1rem; }
.block p { font-size: .9375rem; line-height: 1.55; }
.block h4 { margin-top: 1.1rem; }
.emerg-line { display: flex; gap: .5rem; padding: .65rem .8rem; border-radius: .9rem; background: var(--alert-soft); color: var(--ink); }
.emerg-line .i { color: var(--alert); margin-top: .15rem; }
.emerg-line a { font-weight: 600; }
.emerg-line b { color: var(--alert); font-weight: 800; }
.block.is-after .emerg-line { box-shadow: inset 0 0 0 2px var(--alert); }
.finder label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .3rem; color: var(--ink-soft); }
.finder select {
  width: 100%; min-height: 3rem; padding: .55rem 2.5rem .55rem .85rem; border-radius: .8rem; border: 2px solid var(--line-strong);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c678f' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center / 1.1rem;
  color: var(--ink); font-size: 1rem; appearance: none; -webkit-appearance: none;
}
.finder-out { margin: .6rem 0 .5rem; padding: .7rem .85rem; border-radius: .9rem; background: var(--surface-2); border: 1px solid var(--line); font-size: .9375rem !important; }
.finder-out b { color: var(--accent-ink); font-weight: 700; font-size: 1.0625rem; }
.live-badge { margin-left: auto; font-size: .8125rem; font-weight: 600; padding: .15rem .55rem; border-radius: .55rem; background: var(--surface-2); color: var(--ink-soft); }
.live-badge.is-open { background: var(--ok-soft); color: var(--ok); }
.progs { list-style: none; display: grid; gap: .65rem; margin-bottom: 1rem; }
.prog { padding: .75rem .9rem; border-radius: 1rem; background: var(--surface-2); border: 1px solid var(--line); }
.prog p { margin: 0; }
.prog-name { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; font-weight: 600; font-size: 1rem; line-height: 1.35; }
.prog-who { font-size: .8125rem; font-weight: 500; padding: .05rem .5rem; border-radius: .5rem; background: var(--bg-alt); color: var(--ink-soft); border: 1px solid var(--line); }
.prog-when { font-size: .875rem; color: var(--ink-soft); line-height: 1.45; margin-top: .2rem !important; }
.prog-next { display: inline-block; margin-top: .4rem !important; font-size: .8125rem; font-weight: 600; padding: .1rem .55rem; border-radius: .5rem; background: var(--accent-soft); color: var(--accent-ink); }
.prog-next.is-today { background: var(--ok-soft); color: var(--ok); }
.ross p { font-size: .9375rem; }
.ross-contact { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.ross-contact a { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.5rem; font-weight: 600; font-size: .9375rem; overflow-wrap: anywhere; }
.ross-contact .i { width: 1rem; height: 1rem; }
.ross-areas { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: .55rem 0 0; }
.ross-areas li { font-size: .8125rem; line-height: 1.35; padding: .2rem .55rem; border-radius: .5rem; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-soft); }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.1rem; }
.mini-grid .mini { display: flex; flex-direction: column; gap: .4rem; padding: .85rem .9rem; border-radius: 1rem; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); text-decoration: none; font-size: .875rem; line-height: 1.4; transition: border-color .2s, transform .2s; }
.mini-grid .mini:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.mini-grid .mini .i { color: var(--accent-ink); }
.mini-grid .mini b { display: block; font-size: 1rem; color: var(--link); text-decoration: underline; text-underline-offset: .18em; }
.mini-grid .mini span { color: var(--ink-soft); }

@container page (min-width: 50rem) { .paths { grid-template-columns: 1fr 1fr; } .paths .path:last-child { grid-column: 1 / -1; } }
@container page (min-width: 70rem) { .paths { grid-template-columns: repeat(3, minmax(0, 1fr)); } .paths .path:last-child { grid-column: auto; } }

/* ---------- News ---------- */
.news { list-style: none; display: grid; gap: 1.25rem; }
.story { position: relative; display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: 1.4rem; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.story:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.story-vis { border-radius: 1rem; overflow: hidden; aspect-ratio: 1; background: var(--bg-alt); align-self: start; }
.story-vis img { width: 100%; height: 100%; object-fit: cover; }
.story-vis[class*="vis-"] { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: .5rem; gap: .1rem; }
.vis-closed { background: linear-gradient(160deg, #0d1743, #26357a) !important; color: #fff; }
.vis-closed .i { color: #ffd773; width: 1.2rem; height: 1.2rem; margin-bottom: .15rem; }
.vis-news { background: linear-gradient(160deg, #ffd6ab, #ff9f7d) !important; color: #3a1608; }
.v-k { font-size: .75rem; font-weight: 600; line-height: 1.2; }
.v-big { font-size: 1.6rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.v-s { font-size: .75rem; line-height: 1.2; }
.v-sm { display: none; }
.story-body p { margin: 0; }
.story-meta { font-size: .8125rem; color: var(--ink-soft); font-weight: 500; margin-bottom: .3rem !important; }
.story-meta .rel:not(:empty)::before { content: " · "; }
.story h3 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -.01em; margin-bottom: .4rem; }
.story h3 a { color: var(--ink); text-decoration: none; }
.story h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 1.4rem; }
.story h3 a:hover { text-decoration: underline; }
.story h3 a:focus-visible { box-shadow: none; outline: none; }
.story:has(h3 a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.story-body > p:last-child { font-size: .9375rem; color: var(--ink-soft); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@container page (min-width: 40rem) {
  .story { grid-template-columns: 10.5rem 1fr; padding: 1rem; gap: 1.25rem; }
  .story-vis { aspect-ratio: 4 / 3.4; }
  .v-k, .v-s { font-size: .8125rem; }
  .v-big { font-size: 2.1rem; }
}
@container page (min-width: 62rem) { .news { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

/* ---------- Ten neighborhoods ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: -0.5rem 0 2rem; }
.chip { min-height: 2.75rem; padding: .4rem 1rem; border-radius: .9rem; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: .9375rem; font-weight: 500; }
.chip:hover { background: var(--surface-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.comms { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
.comm { text-align: center; display: flex; flex-direction: column; align-items: center; }
.comm-ph { position: relative; width: min(100%, 8rem); aspect-ratio: 1; margin-bottom: 1rem; }
.comm-ph::before { /* sun rays ringing each photo */
  content: ""; position: absolute; inset: -14%; border-radius: 50%;
  background: repeating-conic-gradient(from 3deg, var(--accent) 0 1.4deg, transparent 1.4deg 12deg);
  -webkit-mask: radial-gradient(closest-side, transparent 83%, #000 84%, rgba(0, 0, 0, .35) 97%, transparent 98%);
          mask: radial-gradient(closest-side, transparent 83%, #000 84%, rgba(0, 0, 0, .35) 97%, transparent 98%);
  opacity: .5; transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .3s;
}
.comm-ph img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 4px var(--surface), 0 0 0 7px var(--accent), 0 14px 30px -14px rgba(0, 0, 0, .5); }
.comm:hover .comm-ph::before, .comm:focus-within .comm-ph::before { transform: rotate(12deg) scale(1.06); opacity: 1; }
.comm h3 { font-size: 1.125rem; margin-bottom: .2rem; }
.comm p { margin: 0; }
.comm-addr { font-size: .9375rem; }
.comm-meta { font-size: .8125rem; color: var(--ink-soft); margin-top: .15rem !important; }
.comm-note { font-size: .8125rem; color: var(--accent-ink); font-weight: 500; margin-top: .2rem !important; line-height: 1.35; }
.comm-dir { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; margin-top: .25rem; font-size: .9375rem; font-weight: 600; }
.comm-dir .i { width: 1rem; height: 1rem; }
@container page (min-width: 36rem) { .comms { grid-template-columns: repeat(3, minmax(0, 1fr)); } .comm-ph { width: 8.5rem; } }
@container page (min-width: 56rem) {
  .comms { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3rem 1.25rem; }
  .comm-ph { width: min(76%, 10.75rem); margin-bottom: 1.4rem; }
  .comm h3 { font-size: 1.25rem; }
  .comm-addr { font-size: 1rem; }
}

/* ---------- Director + who we are ---------- */
.about { display: grid; gap: 2.5rem; align-items: start; }
.dir-photo { position: relative; width: min(100%, 17rem); margin-inline: auto; }
.dir-photo img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 .5rem var(--bg), 0 24px 50px -24px rgba(0, 0, 0, .55); }
.dir-sun { position: absolute; width: 42%; aspect-ratio: 1; right: -5%; top: -6%; border-radius: 50%; background: radial-gradient(circle at 45% 40%, var(--sun-a), var(--sun-b)); box-shadow: 0 0 44px 10px var(--sun-glow); }
.dir-text h2 { margin-bottom: 1.25rem; }
.dir-quote { margin: 0 0 1.25rem; padding: 0; border: 0; }
.dir-quote p { font-size: clamp(1.2rem, 1rem + .6vw, 1.4rem); line-height: 1.55; font-weight: 400; color: var(--ink); margin-bottom: .9rem; }
.dir-quote .dir-q2 { font-size: 1.0625rem; color: var(--ink-soft); }
.dir-sig { display: flex; flex-direction: column; margin-bottom: .5rem; padding-left: 1rem; border-left: 4px solid var(--accent); }
.sig-name { font-weight: 700; font-size: 1.125rem; }
.sig-role { color: var(--ink-soft); font-size: .9375rem; }
.who { background: var(--surface-2); border: 1px solid var(--line); border-radius: 1.5rem; padding: 1.5rem clamp(1.15rem, 2.5vw, 1.75rem); }
.who h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.who h3 + p { font-size: 1rem; }
.who h3:not(:first-child) { margin-top: 1.4rem; }
.serving { display: flex; gap: .5rem; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: 1rem; }
.serving .i { color: var(--accent-ink); margin-top: .15rem; }
.mission { font-size: .9375rem !important; line-height: 1.65; color: var(--ink-soft); }
@container page (min-width: 50rem) {
  .about { grid-template-columns: 16rem 1fr; column-gap: 3rem; }
  .who { grid-column: 1 / -1; }
  .dir-photo { margin: .5rem 0 0; }
}
@container page (min-width: 72rem) {
  .about { grid-template-columns: 17rem minmax(0, 1.25fr) minmax(0, 1fr); }
  .who { grid-column: auto; }
}

/* ---------- Phones: same content, far less scrolling ---------- */
@container page (max-width: 49.99rem) {
  .sec-head { margin-bottom: 1.25rem; gap: .5rem 1rem; }
  .sec-sub { font-size: 1rem; margin-top: .35rem; }
  .sub-more, .sub-opt { display: none; }
  .sec-head .more { min-height: 2.5rem; }
  .h-sm { font-size: 1.125rem; margin-bottom: .75rem; }
  .today-grid { gap: 1.75rem; }
  .dayline-card { margin-bottom: 1.5rem; padding: 1rem .85rem .9rem; }
  .ag { padding: .55rem .75rem; }
  .ag-what { font-size: .9375rem; line-height: 1.35; }
  .ag-what small { font-size: .8125rem; }
  .ag:not(:has(a)) small { display: none; }
  .agenda { gap: .45rem; }
  .agenda-next { margin-top: .75rem; padding: .7rem .85rem; font-size: .9375rem; }
  .heads { margin-top: 1.4rem; }
  .notice { padding: .6rem .75rem; font-size: .875rem; gap: .5rem; }
  .upcoming > li:nth-child(n+5) { display: none; }
  .up { grid-template-columns: 3.1rem 1fr; gap: .75rem; padding: .7rem .8rem .7rem .7rem; }
  .up-date b { font-size: 1.2rem; }
  .up-title { font-size: 1rem; }
  .up-meta { font-size: .875rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .up-title { line-height: 1.3; }
  .up-tags { margin-top: .3rem !important; }
  .up-tags .tag:not(.rel) { display: none; }
  .upcoming { gap: .5rem; }

  .paths { gap: 1rem; }
  .path { padding: 1.2rem 1.1rem 1.15rem; }
  .path { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .75rem; }
  .path > * { grid-column: 1 / -1; }
  .path > .path-art { grid-column: 2; grid-row: 1; width: 4rem; margin: 0; align-self: center; }
  .path > h3 { grid-column: 1; grid-row: 1; align-self: center; font-size: 1.375rem; }
  .path-lede { margin-bottom: .8rem; }
  .path-toggle { display: flex; margin-top: .8rem; }
  .js .path.is-collapsed .path-more { display: none; }
  .prog-sum:not([hidden]) { display: block; margin: 0; padding: .65rem .85rem; border-radius: .9rem; background: var(--accent-soft); font-size: .9375rem; line-height: 1.45; }
  .prog-sum b { color: var(--accent-ink); }
  .path .btn-row { margin-bottom: 0; gap: .5rem; }
  .path .btn-row .btn { padding: .65rem .95rem; font-size: .9375rem; }
  #repairs { border-top: 0; margin-top: .25rem; }

  .news { gap: .75rem; }
  .story { grid-template-columns: 4.75rem 1fr; gap: .85rem; padding: .7rem; border-radius: 1.1rem; }
  .story h3 { font-size: 1rem; margin-bottom: 0; }
  .story h3 a::after { border-radius: 1.1rem; }
  .story-body > p:last-child { -webkit-line-clamp: 2; font-size: .875rem; margin-top: .25rem; }
  .v-big { font-size: 1.25rem; }
  .story-vis .i, .v-lg { display: none; }
  .v-sm { display: inline; }
  .story-vis[class*="vis-"] { padding: .25rem; }

  .chips { margin: -.25rem 0 1rem; gap: .4rem; }
  .chip { padding: .35rem .8rem; font-size: .875rem; }
  .comms { grid-template-columns: 1fr; gap: .5rem; }
  .comm { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; align-items: center; column-gap: .85rem; text-align: left;
    padding: .45rem .55rem .45rem .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; }
  .comm-ph { grid-row: 1 / span 3; width: 3.4rem; margin: 0; }
  .comm-ph::before { inset: -9%; }
  .comm-ph img { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent); }
  .comm h3 { grid-column: 2; font-size: 1rem; margin: 0; }
  .comm-addr { grid-column: 2; font-size: .875rem; line-height: 1.3; }
  .comm-meta { line-height: 1.3; }
  .comm-meta { grid-column: 2; margin-top: 0 !important; }
  .comm-note { display: none; }
  .comm-dir { grid-column: 3; grid-row: 1 / span 3; width: 2.9rem; height: 2.9rem; margin: 0; justify-content: center; border-radius: 50%; border: 1.5px solid var(--line-strong); }
  .comm-dir .i { width: 1.15rem; height: 1.15rem; }
  .comm-dir .dir-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  .about { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.25rem 1.1rem; }
  .dir-text { display: contents; }
  .dir-photo { grid-column: 1; grid-row: 1; width: 6.5rem; margin: 0; }
  .dir-photo img { box-shadow: 0 0 0 .3rem var(--bg); }
  .dir-text h2 { grid-column: 2; grid-row: 1; align-self: center; margin: 0; font-size: 1.75rem; }
  .dir-quote, .dir-sig, .dir-text > .more, .who { grid-column: 1 / -1; }
  .dir-quote { margin: 0; }
  .dir-quote p { font-size: 1.0625rem; line-height: 1.5; }

  .dir-q2 { display: none; }
  .who { padding: 1.15rem; }
  .who h3:not(:first-child) { margin-top: 1rem; }
}

/* =====================================================================
   FOOTER: always night
   ===================================================================== */
.site-footer {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #0b1437 0%, #08102d 55%, #060b22 100%); color: #e8ebff;
  padding: 4.5rem 0 5.5rem;
  --ink: #f4f6ff; --ink-soft: #c4cae8; --line: rgba(255, 255, 255, .14); --link: #b3c9ff; --focus: #ffc94a; --focus-halo: #0b1437;
}
.foot-sky { position: absolute; inset: 0 0 auto 0; height: 26rem; pointer-events: none; }
.foot-stars { width: 100%; height: 100%; opacity: .8; }
.foot-moon { position: absolute; right: 7%; top: 2.2rem; width: 3rem; height: 3rem; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fffdf0, #e9e3c6 75%); box-shadow: 0 0 40px 12px rgba(200, 215, 255, .18); }
.foot-moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset -.9rem -.35rem 0 0 rgba(11, 20, 55, .85); }
.foot-in { position: relative; container: foot / inline-size; }
.site-footer a { color: #fff; }
.after-hours { display: grid; gap: 2rem; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 1.75rem; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .14); margin-bottom: 3.5rem; }
.after-hours h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); color: #fff; max-width: 22ch; margin-bottom: 1.1rem; }
.ah-call { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 1rem; margin-bottom: 1rem; line-height: 1.25; }
.ah-call a { display: inline-flex; align-items: center; gap: .55rem; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; color: #ffd773; text-decoration: none; }
.ah-call a .i { width: 1.6rem; height: 1.6rem; }
.ah-call a:hover { text-decoration: underline; }
.ah-call span { font-size: 1.25rem; color: #fff; }
.ah-call b { color: #ffd773; font-size: 1.6rem; font-weight: 800; }
.ah-main > p:last-child { color: #c4cae8; font-size: 1rem; max-width: 40rem; }
.ah-list h3 { font-size: 1.125rem; color: #fff; margin-bottom: .75rem; }
.ah-list .ticks li { color: #e8ebff; }
.ah-list .ticks li::before { border: 0; transform: none; top: .55em; left: .3rem; width: .5rem; height: .5rem; border-radius: 50%; background: #ffd773; }
.ah-list .fine { color: #c4cae8; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.foot-brand { grid-column: 1 / -1; }
.foot-brand p { color: #c4cae8; font-size: .9375rem; max-width: 22rem; margin: 1rem 0 .75rem; }
.foot-logo { display: inline-block; border-radius: .5rem; }
.foot-logo img { height: 5rem; width: auto; }
.fb { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; font-weight: 600; font-size: .9375rem; }
.fb .i { width: 1.35rem; height: 1.35rem; }
.fh { font-size: 1rem; color: #ffd773; margin-bottom: .6rem; letter-spacing: 0; }
.foot-col p { margin: 0 0 .5rem; font-size: .9375rem; color: #e8ebff; }
.foot-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.5rem; font-size: .9375rem; font-weight: 500; }
.foot-link .i { width: 1rem; height: 1rem; }
.hours { margin: 0; display: grid; gap: .45rem; font-size: .9375rem; }
.hours div { display: grid; }
.hours dt { color: #c4cae8; font-size: .875rem; }
.hours dd { margin: 0; color: #fff; font-weight: 500; }
.foot-links { list-style: none; display: grid; gap: .1rem; }
.foot-links a { display: inline-flex; align-items: center; min-height: 2.25rem; font-size: .9375rem; }
.legal { display: grid; gap: 1rem; padding: 2rem 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.legal p { margin: 0; font-size: .8125rem; line-height: 1.6; color: #c4cae8; }
.eho { width: 4rem; height: auto; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.5rem; font-size: .875rem; color: #c4cae8; }
.foot-bottom p { margin: 0; }
@container foot (max-width: 39.99rem) {
  .after-hours { padding: 1.2rem 1.1rem; gap: 1.25rem; margin-bottom: 2.25rem; border-radius: 1.3rem; }
  .after-hours h2 { font-size: 1.35rem; margin-bottom: .6rem; }
  .ah-call { margin-bottom: .6rem; }
  .ah-main > p:last-child { font-size: .9375rem; margin: 0; }
  .ah-list .fine { margin: .75rem 0 0; }
  .ah-list .ticks { margin: 0; }
  .foot-grid { gap: 1.5rem 1rem; padding-bottom: 1.75rem; }
  .foot-brand { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .foot-brand p { display: none; }
  .foot-logo img { height: 3.6rem; }
  .foot-links a { min-height: 2rem; }
  .legal { padding: 1.5rem 0; gap: .8rem; }
  .legal p { font-size: .75rem; line-height: 1.55; }
  .eho { width: 3rem; }
}
@container foot (min-width: 40rem) {
  .after-hours { grid-template-columns: 1.15fr 1fr; gap: 2.5rem; }
  .foot-grid { grid-template-columns: repeat(4, 1fr); }
  .legal { grid-template-columns: 4.5rem 1fr 1fr; gap: 1.5rem; align-items: start; }
}
@container foot (min-width: 64rem) {
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
  .foot-brand { grid-column: auto; }
}

/* =====================================================================
   PHONE DOCK
   ===================================================================== */
.dock { display: none; }
@media (max-width: 760px) {
  .dock {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: var(--hdr-solid); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .5);
  }
  .dock a, .dock button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: var(--dock-h);
    border: 0; background: none; color: var(--ink); font-size: .8125rem; font-weight: 600; text-decoration: none; line-height: 1.2;
  }
  .dock .i { width: 1.4rem; height: 1.4rem; color: var(--accent-ink); }
  .dock a:nth-child(2) { background: var(--primary); color: var(--primary-ink); }
  .dock a:nth-child(2) .i { color: inherit; }
  body { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); }
  .a11y-launch { bottom: calc(var(--dock-h) + .75rem); }
  .a11y-panel { bottom: calc(var(--dock-h) + 4.75rem); }
  .site-footer { padding-bottom: 1.75rem; }
}

/* =====================================================================
   LARGE TEXT (EDS panel 150%+): simpler, roomier layouts
   ===================================================================== */
html.a11y-large .hero-grid { padding-top: 1.25rem; }
html.a11y-large .sky { margin-top: -1.25rem; }
html.a11y-large .site-header { background: var(--hdr-solid); color: var(--ink); }
html.a11y-large .dl-evrow { display: none; }
html.a11y-large .dl { height: 12rem; }
html.a11y-large .dl-band { font-size: .75rem; }
html.a11y-large .chips { gap: .4rem; }
html.a11y-large .m-btn span { white-space: nowrap; }
html.a11y-large .rays { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
html.a11y-large .rays li:first-child { grid-column: 1 / -1; }
html.a11y-large .ray-l { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: normal; word-break: normal; }
html.a11y-large .skyctl { grid-area: ctl; align-self: auto; margin: 1rem var(--gutter) 1.5rem; }
@media (max-width: 40em) {
  html.a11y-large .m-es span, html.a11y-large .m-fr span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  html.a11y-large .m-es, html.a11y-large .m-fr { padding: .35rem; }
}
/* the dock scrolls away at large text (EDS toolkit rule for sticky bars); nothing needs to clear it */
html.a11y-large body { padding-bottom: 0; }
html.a11y-large .a11y-launch { bottom: 1rem; }
html.a11y-large .a11y-panel { bottom: 5rem; }
html.a11y-contrast .sky, html.a11y-contrast .scene, html.a11y-contrast .beams, html.a11y-contrast .dl-track { display: none !important; }
html.a11y-contrast .hero-grid { padding-top: 1rem; }

/* =====================================================================
   v2 · TYPE PAIRING: Lexend display (from C) over Atkinson Hyperlegible Next text (from D)
   ===================================================================== */
h1, h2, h3, .ray-l, .menu-title, .ah-call a, .v-big, .sig-name, .btn, .skyctl-label { font-family: "Lexend", ui-sans-serif, system-ui, sans-serif; }
b, strong { font-weight: 700; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-strong); }

/* =====================================================================
   v2 · THE ASK BOX (from D), in the phase tokens so it lives in every sky
   ===================================================================== */
.ask-card {
  position: relative; text-align: left; margin: 1.4rem auto 0; width: min(100%, 48rem);
  background: var(--surface); color: var(--ink); border: 1px solid var(--plate-line);
  border-radius: 1.5rem; box-shadow: inset 0 4px 0 var(--accent), var(--shadow-lg);
  padding: 1.25rem clamp(1rem, 3vw, 1.75rem) 1.35rem;
}
.ask-lead { margin: 0 0 .9rem; font-size: 1.0625rem; color: var(--ink-soft); line-height: 1.5; }
.ask-label { display: block; margin-bottom: .45rem; font-weight: 700; font-size: 1.0625rem; line-height: 1.4; }
.ask-row { position: relative; display: flex; gap: 0; }
.ask-glyph { position: absolute; left: 1rem; top: 50%; z-index: 1; width: 1.65rem; height: 1.65rem; transform: translateY(-50%); fill: none; stroke: var(--ink); stroke-linecap: round; pointer-events: none; }
#ask-input {
  flex: 1; min-width: 0; height: 3.75rem; padding: 0 1rem 0 3.4rem;
  font: 500 1.25rem/1.2 "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;
  color: var(--ink); background: var(--bg);
  border: 3px solid var(--line-strong); border-right: 0; border-radius: 1rem 0 0 1rem;
  -webkit-appearance: none; appearance: none;
}
#ask-input::-webkit-search-cancel-button { -webkit-appearance: none; }
#ask-input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 7px var(--focus-halo); border-radius: 1rem 0 0 1rem; }
.ask-btn {
  flex: none; min-width: 6rem; padding: 0 1.5rem; border: 0; border-radius: 0 1rem 1rem 0;
  background: var(--primary); color: var(--primary-ink); font: 700 1.1875rem/1 "Lexend", system-ui, sans-serif;
}
.ask-btn:hover { background: var(--primary-hover); }
.ask-btn:focus-visible { border-radius: 0 1rem 1rem 0; }

.pop { margin-top: 1.1rem; }
.pop-h { margin: 0 0 .5rem; font-size: .9375rem; font-weight: 700; color: var(--ink-soft); letter-spacing: 0; font-family: inherit; }
.qchips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.qchip {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .4rem .85rem;
  border-radius: .9rem; border: 1.5px solid var(--line-strong); background: var(--surface-2); color: var(--ink);
  font: 600 .9375rem/1.25 inherit; text-align: left; text-decoration: none;
}
.qchip:hover { background: var(--accent-soft); border-color: var(--accent-ink); }
.qchip.is-current { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Results sheet */
.results { margin-top: 1rem; padding: 1rem 0 .25rem; border-top: 1px solid var(--line); }
.res-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.res-h { font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--ink-soft); font-family: inherit; }
.res-h:focus { outline: none; }
.res-note { margin: -.3rem 0 .9rem; font-size: 1rem; color: var(--ink-soft); }
.res-none p { font-size: 1.0625rem; }
.res-sep { margin: 1.25rem 0 .35rem; font-size: .9375rem; font-weight: 700; color: var(--ink-soft); }
.res-foot { margin: 1.1rem 0 0; padding-top: .85rem; border-top: 1px solid var(--line); font-size: 1rem; color: var(--ink-soft); }
.ans { border-left: 6px solid var(--accent); padding: .1rem 0 .1rem 1.1rem; border-radius: 0; }
.ans-q { margin-bottom: .65rem; font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem); color: var(--ink); }
.ans-more { border-left-color: var(--line-strong); }
.ans-more + .ans-more { margin-top: .4rem; }
.ans-more .ans-q { margin: 0; font-size: 1.0625rem; }
.ans-toggle, .rel-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 3rem; padding: .5rem 0;
  background: none; border: 0; color: var(--link); text-align: left; font: 700 1.0625rem/1.35 inherit;
}
.ans-toggle:hover span, .rel-btn:hover span { text-decoration: underline; text-underline-offset: .18em; }
.ans-toggle .i, .rel-btn .i { width: 1.2rem; height: 1.2rem; transition: transform .15s; }
.ans-toggle[aria-expanded="true"] .i, .rel-btn[aria-expanded="true"] .i { transform: rotate(180deg); }
.ans > .qa-a { margin: 0; padding: 0; border-left: 0; }
.link-btn, .res-clear {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; padding: 0 .4rem;
  background: none; border: 0; color: var(--link); font-weight: 700; font-size: 1rem;
  text-decoration: underline; text-underline-offset: .18em;
}

/* Answer bodies (shared by results, related questions and the bank) */
details:not([open]) > :not(summary) { display: none !important; }
.qa-a { margin: .2rem 0 1.15rem; padding: .1rem 0 .1rem 1rem; border-left: 5px solid var(--accent); font-size: 1.0625rem; line-height: 1.6; }
.qa-a p { margin: 0 0 .8rem; }
.qa-a ul, .qa-a ol { padding-left: 1.3rem; margin: 0 0 .8rem; }
.qa-a li { margin: .2rem 0; }
.qa-a li::marker { color: var(--accent-ink); }
.qa-a .sched { padding: 0; list-style: none; }
.qa-a .cols { columns: 2 13rem; column-gap: 1.5rem; }
.qa-a > :last-child { margin-bottom: 0; }
.qa-act { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 .9rem; }
.qa-act .btn { min-height: 2.75rem; padding: .55rem 1rem; font-size: .9375rem; }
.qa-src { margin: .9rem 0 0 !important; padding-top: .6rem; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--ink-soft); }
.qa-mini { margin: 0 0 .9rem; }
.qa-mini > summary { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--link); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }
.recert-table { width: 100%; max-width: 22rem; font-size: 1rem; border-collapse: collapse; }
.recert-table th, .recert-table td { padding: .3rem .5rem .3rem 0; border-bottom: 1px solid var(--line); text-align: left; }
.recert-table thead th { font-weight: 700; color: var(--ink-soft); }
.recert-table tbody th { font-weight: 500; }
.tool:empty { display: none; }
.tool { margin: 0 0 .9rem; padding: .9rem 1rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: 1rem; }
.tool-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.tool label { font-weight: 700; }
.tool select {
  min-height: 3rem; min-width: 14rem; max-width: 100%; padding: .45rem 2.6rem .45rem .8rem; border-radius: .8rem;
  color: var(--ink); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c678f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .75rem center / 1.1rem;
  border: 2px solid var(--line-strong); font-size: 1.0625rem; -webkit-appearance: none; appearance: none;
}
.tool-out { margin: .7rem 0 0 !important; font-size: 1.0625rem; line-height: 1.45; }
.tool-big { color: var(--accent-ink); font-size: 1.375rem; }
.live { display: flex; align-items: flex-start; gap: .6rem; margin: 0 0 .9rem; padding: .6rem .85rem; border-radius: .9rem; font-size: 1rem; line-height: 1.45; }
.dot { flex: none; width: .8rem; height: .8rem; margin-top: .35rem; border-radius: 50%; background: #1f9a45; box-shadow: 0 0 0 4px rgba(31, 154, 69, .2); }
.live.is-open { background: var(--ok-soft); }
.live.is-closed { background: var(--alert-soft); }
.live.is-closed .dot { background: var(--alert); box-shadow: none; }
.live.is-alert { background: var(--accent-soft); border-left: 4px solid var(--accent); }
.mini-ev { margin: 0; padding: 0; list-style: none; }
.mini-ev li { padding: .4rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.4; }
.mini-ev li:last-child { border-bottom: 0; }
.mini-ev span { color: var(--ink-soft); font-size: .9375rem; }

/* =====================================================================
   v2 · APPLY, STEP BY STEP (from D), drawn as a sunrise path
   ===================================================================== */
.apply-sec { background: var(--bg); }
.apply-grid { display: grid; gap: 2rem; align-items: start; }
.apply-steps { list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 0 0 2rem 4rem; }
.step::before { content: ""; position: absolute; left: 1.375rem; top: 3rem; bottom: .5rem; width: 3px; border-radius: 3px; background: linear-gradient(var(--accent), var(--line)); transform: translateX(-50%); }
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }
.step-n { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, var(--sun-a), var(--sun-b)); color: #2a1600; font: 800 1.2rem/1 "Lexend", sans-serif; box-shadow: 0 0 0 5px var(--accent-soft); }
.step h3 { margin: .4rem 0 .4rem; font-size: 1.375rem; }
.step > p { max-width: 36rem; margin-bottom: .35rem; color: var(--ink-soft); }
.step-more > summary { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; color: var(--link); font-weight: 700; font-size: 1rem; cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: .18em; border-radius: .5rem; }
.step-more > summary::-webkit-details-marker { display: none; }
.step-more > summary::before { content: ""; width: .5rem; height: .5rem; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg); margin-right: .2rem; }
.step-more[open] > summary::before { transform: rotate(45deg); }
.step-more-b { max-width: 36rem; margin: .4rem 0 0; padding: .85rem 1.1rem; background: var(--surface-2); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 0 1rem 1rem 0; font-size: 1rem; }
.step-more-b p:last-child { margin-bottom: 0; }
.docs { padding: 1.5rem clamp(1.1rem, 2.5vw, 1.75rem); background: var(--surface); border: 1px solid var(--line); border-radius: 1.5rem; box-shadow: inset 0 4px 0 var(--accent), var(--shadow); }
.docs h3 { margin-bottom: .5rem; font-size: 1.375rem; }
.docs h4 { margin: 1.25rem 0 .5rem; font-size: 1.0625rem; }
.docs > p { font-size: 1rem; }
.checks { margin: 0 0 1rem; padding: 0; border: 0; }
.check { display: flex; align-items: flex-start; gap: .8rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.check:first-of-type { border-top: 1px solid var(--line); }
.check input { flex: none; width: 1.6rem; height: 1.6rem; margin: .1rem 0 0; accent-color: var(--ok); cursor: pointer; }
.check label { font-size: 1rem; line-height: 1.45; cursor: pointer; }
.docs-progress { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; }
.docs-progress p { margin: 0; }
.bar { flex: 1 1 8rem; height: .6rem; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--sun-b), #1f9a45); transition: width .25s; }
.note { font-size: .9375rem; color: var(--ink-soft); }
.related { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.related-h { margin-bottom: .4rem; font-size: 1.25rem; }
.related-list { display: grid; gap: 0 2.5rem; margin: 0; padding: 0; list-style: none; }
.related-list li { border-bottom: 1px solid var(--line); }
.rel-q { display: flex; align-items: center; min-height: 3rem; padding: .5rem 0; font-weight: 700; font-size: 1.0625rem; }
.rel-ans { max-width: 50rem; margin: .25rem 0 1.15rem; }
@container page (min-width: 56rem) {
  .apply-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 4rem; }
  .related-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-list li.is-open { grid-column: 1 / -1; }
}

/* Two paths (Living here, Growing here) */
@container page (min-width: 50rem) { .paths.paths-2 { grid-template-columns: 1fr 1fr; } .paths.paths-2 .path:last-child { grid-column: auto; } }

/* =====================================================================
   v2 · EVERY ANSWER, BY TOPIC (from D)
   ===================================================================== */
.answers-sec { background: var(--bg-alt); }
.topics { display: grid; gap: 2.25rem; align-items: start; }
.topic + .topic { margin-top: 2.25rem; }
.topic h3 { margin-bottom: .2rem; padding-bottom: .5rem; border-bottom: 3px solid var(--accent); font-size: 1.25rem; }
.topic h3:has(.topic-btn) { padding-bottom: 0; }
.topic-btn { display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 2.75rem; padding: 0 0 .45rem; background: none; border: 0; color: var(--ink); font: 700 1.25rem/1.2 "Lexend", sans-serif; text-align: left; }
.topic-n { display: inline-grid; place-items: center; min-width: 1.75rem; height: 1.6rem; padding: 0 .4rem; border-radius: .5rem; background: var(--accent-soft); color: var(--accent-ink); font-size: .875rem; font-weight: 700; }
.topic-btn .i { margin-left: auto; width: 1.2rem; height: 1.2rem; transition: transform .15s; }
.topic-btn[aria-expanded="false"] .i { transform: rotate(-90deg); }
.qa { border-bottom: 1px solid var(--line); }
.qa > summary { display: flex; align-items: flex-start; justify-content: space-between; gap: .9rem; padding: .6rem 0; color: var(--link); font-weight: 700; font-size: 1.0625rem; line-height: 1.4; cursor: pointer; list-style: none; border-radius: .4rem; }
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary::after { content: ""; flex: none; width: .55rem; height: .55rem; margin: .4rem .3rem 0 0; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); }
.qa[open] > summary::after { transform: rotate(-135deg); margin-top: .65rem; }
.qa > summary:hover { text-decoration: underline; text-underline-offset: .18em; }
@container page (min-width: 56rem) { .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2.75rem; } }
@container page (min-width: 40rem) and (max-width: 55.99rem) { .topics { grid-template-columns: 1fr 1fr; } .topic-col:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; } .topic-col:last-child .topic + .topic { margin-top: 0; } }
.comms .comm.is-found { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 1rem; }
.comm:focus { outline: none; }

/* Large text + contrast for the new parts */
html.a11y-large .ask-row { flex-wrap: wrap; }
html.a11y-large #ask-input { flex-basis: 100%; border-right: 3px solid var(--line-strong); border-radius: 1rem 1rem 0 0; }
html.a11y-large .ask-btn { flex: 1 1 100%; min-height: 3.5rem; border-radius: 0 0 1rem 1rem; }
html.a11y-large .tool-row { display: block; }
html.a11y-large .tool select { display: block; width: 100%; min-width: 0; margin-top: .4rem; }
html.a11y-large .topics, html.a11y-large .related-list, html.a11y-large .apply-grid { grid-template-columns: minmax(0, 1fr); }
html.a11y-contrast .ans, html.a11y-contrast .qa-a, html.a11y-contrast .step-more-b { border-left-color: currentColor !important; }
@container page (max-width: 49.99rem) {
  .ask-card { border-radius: 1.2rem; padding: 1rem .9rem 1.05rem; margin-top: 1rem; }
  .ask-lead { font-size: .9375rem; margin-bottom: .7rem; }
  #ask-input { height: 3.4rem; padding-left: 2.9rem; font-size: 1.125rem; }
  .ask-glyph { left: .8rem; width: 1.4rem; height: 1.4rem; }
  .ask-btn { min-width: 0; padding: 0 1.05rem; font-size: 1.0625rem; }
  .qchips { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
  .qchip { width: 100%; height: 100%; font-size: .875rem; padding: .4rem .6rem; }
  .step { padding-left: 3.4rem; padding-bottom: 1.4rem; }
  .step-n { width: 2.3rem; height: 2.3rem; font-size: 1.05rem; }
  .step::before { left: 1.15rem; top: 2.7rem; }
  .step h3 { font-size: 1.2rem; margin-top: .2rem; }
  .ans { padding-left: .85rem; }
}
@media print { .site-header, .dock, .pop, .skyctl, .a11y-launch, .a11y-panel, .skip, .sky, .scene, .beams { display: none !important; } .qa:not([open]) { display: none; } }

/* five-slot phone dock (Ask added from D) */
@media (max-width: 760px) { .dock.dock-5 { grid-template-columns: repeat(5, 1fr); } .dock.dock-5 a:nth-child(2) { background: none; color: var(--ink); } .dock.dock-5 a:nth-child(2) .i { color: var(--accent-ink); } .dock.dock-5 a:nth-child(3) { background: var(--primary); color: var(--primary-ink); } .dock.dock-5 a:nth-child(3) .i { color: inherit; } }
@media (max-width: 760px) { .no-js .dock.dock-5 { grid-template-columns: repeat(4, 1fr); } }

/* Large text (judge fixes): one chip per row so words never break; the magnifier steps aside when the Ask row wraps */
html.a11y-large .qchips { display: grid; grid-template-columns: 1fr; }
html.a11y-large .qchip { width: 100%; }
html.a11y-large .ask-glyph { display: none; }
html.a11y-large #ask-input { padding-left: 1rem; }
