/* GMBC concept — one idea, spent in one place: the logo's sun over five bands of sea.
   Palette sampled from the Collaborative's logo; type is Jost, the face their site already uses. */

@font-face {
  font-family: 'Jost';
  src: url('/media/fonts/jost-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #21295c;
  --ink-deep: #141a3f;
  --ocean: #135891;
  --teal: #16a9be;
  --sun: #fcba12;
  --orange: #f5961f;
  --coral: #f0634a;

  --bg: #f2f5f8;
  --surface: #ffffff;
  --text: #1b2150;
  --text-2: #4b5479;
  --rule: rgb(33 41 92 / 0.14);
  --head-bg: rgb(33 41 92 / 0.94);
  --band-navy: #21295c;

  --gut: clamp(16px, 4vw, 40px);
  --wrap: min(1240px, 100% - 2 * var(--gut));
  --head-h: 72px;
  --top-h: 120px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1230;
    --surface: #161b40;
    --text: #e8ebf6;
    --text-2: #a9b0cf;
    --rule: rgb(232 235 246 / 0.14);
    --band-navy: #3a4699;
  }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
  margin: 0;
  font-family: 'Jost', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.08; font-weight: 560; letter-spacing: -0.012em; text-wrap: balance; }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 100; background: var(--sun); color: var(--ink-deep); padding: 0.6em 1em; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 8px; }
.i-ext { display: inline-block; width: 0.78em; height: 0.78em; margin-left: 0.32em; vertical-align: -0.04em; flex: none; }
.textlink { font-weight: 550; display: inline-flex; align-items: center; color: var(--ocean); }
@media (prefers-color-scheme: dark) { .textlink { color: #7cc4ff; } }
.fine { font-size: 0.82rem; color: var(--text-2); margin-top: 1rem; }
.credit { font-size: 0.74rem; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0.45rem 0 0; }

/* page-to-page morph (Chromium); nothing happens elsewhere */
@view-transition { navigation: auto; }
.topstack { view-transition-name: topstack; }
::view-transition-old(root) { animation: 160ms ease-out both vt-out; }
::view-transition-new(root) { animation: 360ms var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  min-height: 48px; padding: 0 1.35rem; border-radius: 999px;
  font: 560 1rem/1 'Jost', sans-serif; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.btn-sun { background: var(--sun); color: var(--ink-deep); }
.btn-sun:hover { background: #ffcd45; }
.btn-ghost { color: #fff; border-color: rgb(255 255 255 / 0.62); background: rgb(255 255 255 / 0.05); }
.btn-ghost:hover { background: rgb(255 255 255 / 0.16); }
.btn-line { color: var(--text); border-color: currentColor; background: transparent; }
.btn-line:hover { background: color-mix(in oklab, var(--text) 8%, transparent); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0; max-width: none; }

/* ------------------------------------------------------- disclosure + head */
.topstack { position: sticky; top: 0; z-index: 40; }
.disclosure { background: var(--sun); color: var(--ink-deep); font-size: 0.8rem; line-height: 1.35; }
.disclosure p { margin: 0; padding: 0.42rem 0; max-width: none; }
.disclosure a.inline { font-weight: 650; display: inline-flex; align-items: center; }
.site-head { background: var(--head-bg); color: #fff; -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.head-in { display: flex; align-items: center; gap: 1.25rem; height: var(--head-h); }
.brand { flex: none; display: block; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: 0.15rem; margin-inline: auto; }
.nav a { color: rgb(255 255 255 / 0.86); text-decoration: none; padding: 0.5rem 0.8rem; font-weight: 500; font-size: 0.98rem; border-radius: 999px; }
.nav a:hover { color: #fff; background: rgb(255 255 255 / 0.09); }
.nav a[aria-current='page'] { color: #fff; box-shadow: inset 0 -2px 0 var(--sun); border-radius: 0; }
.head-act { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.nav + .head-act { margin-left: 0; }
.find {
  display: inline-flex; align-items: center; gap: 0.5rem; height: 42px; padding: 0 0.8rem;
  border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.26); background: transparent; color: #fff; cursor: pointer; font-size: 0.92rem;
}
.find:hover { background: rgb(255 255 255 / 0.1); }
.find svg { width: 18px; height: 18px; }
kbd { font: 500 0.74rem/1 'Jost', sans-serif; padding: 0.28em 0.45em; border-radius: 6px; background: rgb(255 255 255 / 0.14); }
.head-join { min-height: 42px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.26); background: transparent; cursor: pointer; place-content: center; gap: 6px; }
.menu-btn span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }

.page-home .site-head { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background-color 0.3s; }
.page-home .site-head.solid { background: var(--head-bg); }
@supports (animation-timeline: scroll()) {
  .page-home .site-head { animation: head-fill linear both; animation-timeline: scroll(root); animation-range: 25vh 65vh; }
}
@keyframes head-fill { to { background-color: var(--head-bg); } }

.mnav { inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: 5.5rem var(--gut) 2rem; background: var(--navy); color: #fff; }
.mnav nav { display: grid; }
.mnav a { color: #fff; text-decoration: none; font-size: clamp(1.6rem, 7vw, 2.2rem); font-weight: 520; padding: 0.55rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.mnav a[aria-current='page'] { color: var(--sun); }
.mnav-close { position: absolute; top: 1.1rem; right: var(--gut); background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / 0.3); border-radius: 999px; padding: 0.55rem 1rem; cursor: pointer; }
.mnav:popover-open { animation: fade-in 0.2s ease-out; }
@keyframes fade-in { from { opacity: 0; } }

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative; display: grid; grid-template-rows: 1fr auto auto;
  min-height: min(100svh, 1000px); margin-top: calc(-1 * var(--head-h));
  color: #fff; background: var(--bg); overflow: clip;
}
.hero-media, .hero-scrim { position: absolute; inset: 0; }
.hero-vid { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  background:
    linear-gradient(180deg, rgb(20 26 63 / 0.62) 0%, rgb(20 26 63 / 0.08) 28%, rgb(20 26 63 / 0) 55%, rgb(20 26 63 / 0.5) 100%),
    linear-gradient(90deg, rgb(20 26 63 / 0.55) 0%, rgb(20 26 63 / 0) 62%);
}
.hero-in { position: relative; align-self: center; padding: calc(var(--head-h) + 8vh) 0 3vh; }
.hero h1 { font-size: clamp(2.9rem, 8.4vw, 7.4rem); line-height: 0.92; letter-spacing: -0.028em; font-weight: 640; margin-bottom: 0.32em; }
.hero h1 span { display: block; }
.hero .lede { font-size: clamp(1.15rem, 1.65vw, 1.42rem); line-height: 1.42; max-width: 34ch; color: rgb(255 255 255 / 0.93); }
.hero-foot { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; }
.vidctl { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0.95rem 0.45rem 0.7rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.32); background: rgb(20 26 63 / 0.45); color: #fff; font-size: 0.84rem; cursor: pointer; }
.vidctl .vid-i { width: 12px; height: 12px; background: linear-gradient(90deg, #fff 0 35%, transparent 35% 65%, #fff 65%); }
.vidctl.paused .vid-i { background: #fff; clip-path: polygon(10% 0, 100% 50%, 10% 100%); }
.credit-hero { color: rgb(255 255 255 / 0.82); margin: 0 0 0 auto; }
.horizon { position: relative; width: 100%; height: clamp(54px, 8vw, 108px); }
.horizon.is-live { display: none; }
.horizon-live { position: relative; display: block; width: 100%; height: clamp(96px, 12.5vw, 176px); grid-row: 3; }
.hero-media { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .hero-media, .hero-scrim { animation: hero-window linear both; animation-timeline: scroll(root); animation-range: 0 90vh; transform-origin: 50% 35%; }
    .hero-in { animation: hero-lift linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
  }
}
@keyframes hero-window { to { scale: 0.88; border-radius: 36px; } }
@keyframes hero-lift { to { translate: 0 -9vh; opacity: 0.15; } }

/* --------------------------------------------------------- kinetic tagline */
.kinetic { overflow: clip; padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); background: var(--bg); }
.k-row { display: flex; gap: 0.32em; width: max-content; max-width: none; margin: 0; white-space: nowrap;
  font-size: clamp(3.4rem, 11vw, 10.5rem); line-height: 1.02; font-weight: 660; letter-spacing: -0.035em; color: var(--text); }
.k-out { color: transparent; -webkit-text-stroke: 2px currentColor; }
.k-row span:nth-child(3n+2) { color: var(--ocean); }
.k-row span.k-out:nth-child(3n+2) { color: transparent; -webkit-text-stroke-color: var(--coral); }
@media (prefers-color-scheme: dark) { .k-row span:nth-child(3n+2) { color: var(--sun); } }
.k-a { translate: -8% 0; }
.k-b { translate: -30% 0; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .k-a { animation: k-left linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .k-b { animation: k-right linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes k-left { from { translate: 0 0; } to { translate: -34% 0; } }
@keyframes k-right { from { translate: -40% 0; } to { translate: -6% 0; } }

/* ------------------------------------------------------------ scroll film */
.scrub { position: relative; background: var(--ink-deep); color: #fff; }
.scrub-sticky { position: relative; display: grid; min-height: 72vh; overflow: hidden; isolation: isolate; }
.scrub-poster, .scrub-cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.scrub-cv { display: none; }
.scrub-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(20 26 63 / 0.72) 0%, rgb(20 26 63 / 0.25) 55%, rgb(20 26 63 / 0) 80%), linear-gradient(0deg, rgb(20 26 63 / 0.55), rgb(20 26 63 / 0) 45%); }
.scrub-steps { list-style: none; width: var(--wrap); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) 0 4.5rem; display: grid; gap: 2.5rem; align-content: end; }
.s-k { margin: 0 0 0.55rem; font-size: 0.98rem; font-weight: 520; color: var(--sun); }
.s-q { margin: 0; max-width: 21ch; font-size: clamp(1.7rem, 3.6vw, 3.2rem); line-height: 1.1; font-weight: 540; letter-spacing: -0.018em; text-wrap: balance; }
.scrub-credit { position: absolute; right: var(--gut); bottom: 1.1rem; margin: 0; color: rgb(255 255 255 / 0.8); }
.scrub-bar { display: none; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgb(255 255 255 / 0.14); }
.scrub-bar span { display: block; height: 100%; transform-origin: left; scale: 0 1;
  background: linear-gradient(90deg, var(--coral) 0 20%, var(--orange) 20% 40%, var(--teal) 40% 60%, var(--ocean) 60% 80%, var(--sun) 80%); }
.scrub-live { height: 430vh; }
.scrub-live .scrub-sticky { position: sticky; top: var(--top-h); height: calc(100svh - var(--top-h)); min-height: 0; }
.scrub-live .scrub-cv, .scrub-live .scrub-bar { display: block; }
.scrub-live .scrub-steps { position: absolute; inset: 0; width: auto; padding: 0; display: block; }
.scrub-live .scrub-steps li { position: absolute; left: max(var(--gut), calc((100vw - 1240px) / 2)); right: var(--gut); bottom: 15%;
  opacity: 0; translate: 0 28px; filter: blur(6px); transition: opacity 0.7s var(--ease), translate 0.9s var(--ease), filter 0.7s var(--ease); }
.scrub-live .scrub-steps li.on { opacity: 1; translate: 0 0; filter: none; }
.scrub-live .scrub-steps li:last-child .s-q { font-size: clamp(2.6rem, 7vw, 6.2rem); max-width: none; line-height: 0.98; letter-spacing: -0.03em; font-weight: 640; }
.hz-coral { fill: var(--coral); } .hz-orange { fill: var(--orange); } .hz-teal { fill: var(--teal); }
.hz-ocean { fill: var(--ocean); } .hz-navy { fill: var(--band-navy); }

@media (prefers-reduced-motion: no-preference) {
  .hero h1 span { animation: grow-strong 1.5s var(--ease) both; }
  .hero h1 .h1b { animation-delay: 0.12s; }
  .hero .lede, .hero .actions { animation: rise 0.9s var(--ease) 0.55s both; }
  .hz { animation: hz-in 1.4s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 150ms); }
  .hz:nth-child(even) { --from: 420px; }
}
@keyframes grow-strong { from { font-weight: 220; opacity: 0; letter-spacing: 0.01em; } 35% { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes hz-in { from { translate: var(--from, -420px) 0; opacity: 0; } 40% { opacity: 1; } }

/* ----------------------------------------------- one organization: the bands */
.align { padding: clamp(4.5rem, 9vw, 8rem) 0 3.5rem; overflow-x: clip; }
.split-head, .align-head, .sec-head-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1.25rem 4rem; align-items: end; }
.align-head { margin-bottom: clamp(4.5rem, 9vw, 8.5rem); }
.align-head h2, .focus-head h2 { font-size: clamp(2.25rem, 4.8vw, 4.1rem); margin: 0; letter-spacing: -0.022em; }
.align-head p, .focus-head p { margin: 0; font-size: 1.12rem; color: var(--text-2); }
.align-stage { position: relative; }
.sun {
  position: absolute; z-index: 0; top: calc(-1 * clamp(56px, 7vw, 104px));
  right: max(var(--gut), calc((100vw - 1240px) / 2 + 40px));
  width: clamp(150px, 22vw, 300px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #ffd75a 0%, var(--sun) 55%, #f2a80c 100%);
}
.bands { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.band { position: relative; display: grid; align-items: center; min-height: clamp(108px, 11vw, 136px); color: var(--ink-deep); }
.band-shape { position: absolute; inset: 0; width: 100%; height: 100%; }
.band-shape path { fill: var(--c); }
.band-coral { --c: var(--coral); } .band-orange { --c: var(--orange); } .band-teal { --c: var(--teal); }
.band-ocean { --c: var(--ocean); color: #fff; } .band-navy { --c: var(--band-navy); color: #fff; }
.band-in { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; gap: 0.35rem 3rem; align-items: center; padding-block: 1.5rem; }
.band h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 620; }
.band p { margin: 0; font-size: 1.04rem; line-height: 1.4; font-weight: 450; }
.band-link { color: inherit; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; }
.align-note { font-size: 0.86rem; color: var(--text-2); margin-top: 1.4rem; }

/* ------------------------------------------- one organization: family of brands */
@property --s { syntax: '<number>'; inherits: false; initial-value: 1; }
.family { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2.5rem 4rem; align-items: center; margin-bottom: clamp(4.5rem, 9vw, 8.5rem); }
.family-text h2 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1; letter-spacing: -0.025em; margin: 0 0 1.25rem; }
.family-p { font-size: 1.16rem; line-height: 1.6; color: var(--text-2); }
.family-p a { color: var(--text); font-weight: 650; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
.family-p a:hover { text-decoration-color: var(--coral); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #2c3577; }
@media (prefers-color-scheme: dark) { .btn-navy { background: var(--sun); color: var(--ink-deep); } }
.orbit-fig { margin: 0; }
.orbit-fig .fine { text-align: center; max-width: 52ch; margin: 1.25rem auto 0; }
.orbit { position: relative; width: min(100%, 620px); aspect-ratio: 1; margin-inline: auto; margin-block: 1.5rem; }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-lines line { stroke: color-mix(in oklab, var(--text) 16%, transparent); stroke-width: 1.5px; transition: stroke 0.3s, stroke-width 0.3s; }
.orbit:has(.orb:nth-child(1):hover) .orbit-lines line:nth-child(1), .orbit:has(.orb:nth-child(1):focus-within) .orbit-lines line:nth-child(1) { stroke: var(--c); stroke-width: 3px; }
.orbit:has(.orb:nth-child(2):hover) .orbit-lines line:nth-child(2), .orbit:has(.orb:nth-child(2):focus-within) .orbit-lines line:nth-child(2) { stroke: var(--c); stroke-width: 3px; }
.orbit:has(.orb:nth-child(3):hover) .orbit-lines line:nth-child(3), .orbit:has(.orb:nth-child(3):focus-within) .orbit-lines line:nth-child(3) { stroke: var(--c); stroke-width: 3px; }
.orbit:has(.orb:nth-child(4):hover) .orbit-lines line:nth-child(4), .orbit:has(.orb:nth-child(4):focus-within) .orbit-lines line:nth-child(4) { stroke: var(--c); stroke-width: 3px; }
.orbit:has(.orb:nth-child(5):hover) .orbit-lines line:nth-child(5), .orbit:has(.orb:nth-child(5):focus-within) .orbit-lines line:nth-child(5) { stroke: var(--c); stroke-width: 3px; }
.orbit:has(.orb:nth-child(6):hover) .orbit-lines line:nth-child(6), .orbit:has(.orb:nth-child(6):focus-within) .orbit-lines line:nth-child(6) { stroke: var(--c); stroke-width: 3px; }
.orbit:has(.orb:nth-child(7):hover) .orbit-lines line:nth-child(7), .orbit:has(.orb:nth-child(7):focus-within) .orbit-lines line:nth-child(7) { stroke: var(--c); stroke-width: 3px; }
.orb-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 27%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: #fff;
  box-shadow: 0 0 0 12px color-mix(in oklab, var(--sun) 22%, transparent), 0 0 0 26px color-mix(in oklab, var(--sun) 9%, transparent), 0 24px 60px rgb(20 26 63 / 0.2); z-index: 1; }
.orb-core img { width: 80%; height: auto; }
.orb-core span { display: none; position: absolute; top: calc(100% + 34px); left: 50%; translate: -50% 0; width: 170%; text-align: center; font-size: 0.86rem; font-weight: 650; line-height: 1.15; color: var(--text); }
.orbs { position: absolute; inset: 0; z-index: 2; list-style: none; margin: 0; padding: 0; }
.orb { position: absolute; width: 24.5%; z-index: 2; left: calc((50 + (var(--px) - 50) * var(--s)) * 1%); top: calc((50 + (var(--py) - 50) * var(--s)) * 1%); translate: -50% -50%; }
.orb:hover, .orb:focus-within { z-index: 5; }
.orb-in { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 11%; border-radius: 18px; background: #fff; color: var(--ink-deep);
  box-shadow: 0 12px 32px rgb(20 26 63 / 0.13), 0 0 0 1px rgb(20 26 63 / 0.07); transition: scale 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.orb-in img { width: 100%; height: 100%; object-fit: contain; }
a.orb-in:hover, a.orb-in:focus-visible { scale: 1.08; box-shadow: 0 18px 44px rgb(20 26 63 / 0.24), 0 0 0 3px var(--c); }
.orb-tip { position: absolute; left: 50%; top: calc(100% + 0.6rem); translate: -50% 6px; width: max-content; max-width: 16rem; padding: 0.55rem 0.75rem; border-radius: 12px;
  background: var(--navy); color: #fff; font-size: 0.8rem; line-height: 1.35; text-align: center; opacity: 0; pointer-events: none; transition: opacity 0.25s, translate 0.25s; }
.orb-tip strong { display: block; font-weight: 650; margin-bottom: 0.15rem; }
.orb:hover .orb-tip, .orb:focus-within .orb-tip { opacity: 1; translate: -50% 0; }
/* the slow revolve: ring turns, each tile turns back the same amount so logos stay upright */
.orbit { --orbit-t: 140s; }
@media (prefers-reduced-motion: no-preference) {
  .orbs, .orbit-lines { animation: orbit-spin var(--orbit-t) linear infinite; animation-play-state: paused; }
  .orb { animation: orbit-counter var(--orbit-t) linear infinite; animation-play-state: paused; }
  .orbit.spinning .orbs, .orbit.spinning .orbit-lines, .orbit.spinning .orb { animation-play-state: running; }
  .orbit.spinning:hover .orbs, .orbit.spinning:hover .orbit-lines, .orbit.spinning:hover .orb,
  .orbit.spinning:focus-within .orbs, .orbit.spinning:focus-within .orbit-lines, .orbit.spinning:focus-within .orb { animation-play-state: paused; }
}
@keyframes orbit-spin { to { rotate: 360deg; } }
@keyframes orbit-counter { to { rotate: -360deg; } }
@media (prefers-reduced-motion: no-preference) {
  .orb-in { animation: bob 7s ease-in-out infinite; animation-delay: var(--d); }
  .orb-core { animation: glow 5s ease-in-out infinite; }
  @supports (animation-timeline: view()) {
    .orbit { view-timeline: --orbit block; }
    .orb { animation: gather linear both, orbit-counter var(--orbit-t) linear infinite; animation-timeline: --orbit, auto; animation-range: entry 5% cover 42%, normal; animation-play-state: running, paused; }
    .orbit.spinning .orb { animation-play-state: running, running; }
    .orbit.spinning:hover .orb, .orbit.spinning:focus-within .orb { animation-play-state: running, paused; }
    .orbit-lines line { stroke-dasharray: 100; animation: draw linear both; animation-timeline: --orbit; animation-range: cover 28% cover 50%; }
    .orb-core { animation: core-in linear both, glow 5s ease-in-out infinite; animation-timeline: --orbit, auto; animation-range: entry 0% cover 32%, normal; }
  }
}
@keyframes gather { from { --s: 1.8; opacity: 0; } 60% { opacity: 1; } to { --s: 1; opacity: 1; } }
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes core-in { from { scale: 0.55; opacity: 0; } }
@keyframes bob { 50% { translate: 0 -6px; } }
@keyframes glow { 50% { box-shadow: 0 0 0 16px color-mix(in oklab, var(--sun) 26%, transparent), 0 0 0 34px color-mix(in oklab, var(--sun) 8%, transparent), 0 24px 60px rgb(20 26 63 / 0.2); } }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .band { animation: band-align linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .band:nth-child(1) { --dx: -18vw; --rot: -1.6deg; }
    .band:nth-child(2) { --dx: 14vw;  --rot: 1.2deg; }
    .band:nth-child(3) { --dx: -10vw; --rot: -0.8deg; }
    .band:nth-child(4) { --dx: 16vw;  --rot: 1.4deg; }
    .band:nth-child(5) { --dx: -13vw; --rot: -1deg; }
    .sun { animation: sun-rise linear both; animation-timeline: view(); animation-range: entry 10% cover 50%; }
  }
}
@keyframes band-align { from { translate: var(--dx) 0; rotate: var(--rot); } to { translate: 0 0; rotate: 0deg; } }
@keyframes sun-rise { from { translate: 0 55%; scale: 0.82; } }

/* ------------------------------------------------------------- focus areas */
.focus { padding: clamp(4.5rem, 8vw, 7rem) 0; background: var(--surface); }
.focus-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem 4.5rem; }
.focus-head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1.25rem 4rem; align-items: end; }
.focus-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.focus-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.4rem 2rem; align-items: baseline; padding: 1.35rem 0 1.35rem 0; border-bottom: 1px solid var(--rule); }
.focus-row h3 { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2.15rem); font-weight: 430; transition: font-weight 0.35s var(--ease), color 0.35s; }
.focus-row p { margin: 0; color: var(--text-2); }
.focus-row::before { content: ''; position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--sun); transition: width 0.45s var(--ease); }
.focus-row:hover h3 { font-weight: 620; }
.focus-row:hover::before { width: 100%; }
.focus-stage { position: sticky; top: calc(var(--top-h) + 1.5rem); align-self: start; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--bg); }
.focus-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.04; transition: opacity 0.5s var(--ease), scale 0.9s var(--ease); }
.focus-stage img:first-child { opacity: 1; scale: 1; }
.focus-grid:has(.focus-row:hover) .focus-stage img:first-child { opacity: 0; }
.focus-grid:has(.focus-row:nth-child(1):hover) .focus-stage img:nth-child(1),
.focus-grid:has(.focus-row:nth-child(2):hover) .focus-stage img:nth-child(2),
.focus-grid:has(.focus-row:nth-child(3):hover) .focus-stage img:nth-child(3),
.focus-grid:has(.focus-row:nth-child(4):hover) .focus-stage img:nth-child(4),
.focus-grid:has(.focus-row:nth-child(5):hover) .focus-stage img:nth-child(5),
.focus-grid:has(.focus-row:nth-child(6):hover) .focus-stage img:nth-child(6) { opacity: 1; scale: 1; }
.focus-cap { grid-column: 2; margin: -2.2rem 0 0; }

/* ------------------------------------------------------------ program rail */
.rail-sec { padding: clamp(4.5rem, 8vw, 7rem) 0 2.5rem; timeline-scope: --rail; }
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.rail-head h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.rail-head p { color: var(--text-2); margin: 0; }
.rail-ctl { display: flex; gap: 0.5rem; flex: none; }
.rail-ctl button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--rule); background: var(--surface); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.rail-ctl button:hover { border-color: var(--text); }
.rail {
  --edge: max(var(--gut), calc((100vw - 1240px) / 2));
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 25vw, 340px); gap: 1.25rem;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 0.25rem var(--edge) 1rem; scroll-padding-inline: var(--edge); scrollbar-width: none;
  scroll-timeline: --rail inline;
}
.rail::-webkit-scrollbar { display: none; }
.rcard { scroll-snap-align: start; display: grid; align-content: start; gap: 0.55rem; text-decoration: none; color: inherit; }
.rcard-pic { position: relative; display: block; border-radius: 18px; overflow: hidden; }
.rcard-pic .credit, .door-credit { position: absolute; left: 0.6rem; bottom: 0.6rem; margin: 0; padding: 0.2rem 0.55rem; border-radius: 999px; background: rgb(20 26 63 / 0.62); color: #fff; font-size: 0.7rem; }
.door-credit { top: 0.8rem; left: 0.8rem; bottom: auto; z-index: 1; }
.rcard-pic img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: scale 0.6s var(--ease); }
.rcard:hover .rcard-pic img { scale: 1.04; }
.rcard-h { font-size: 1.24rem; font-weight: 570; line-height: 1.2; margin-top: 0.25rem; }
.rcard-p { font-size: 0.95rem; line-height: 1.45; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rail-foot { display: flex; align-items: center; gap: 2rem; margin-top: 0.75rem; }
.rail-progress { flex: 1; height: 3px; border-radius: 2px; background: var(--rule); overflow: hidden; }
.rail-progress span { display: block; height: 100%; background: var(--ocean); transform-origin: left; scale: 0.12 1; }
@supports (animation-timeline: scroll()) {
  .rail-progress span { animation: grow-x linear both; animation-timeline: --rail; }
}
@keyframes grow-x { from { scale: 0.12 1; } to { scale: 1 1; } }

/* ----------------------------------------------------------------- people */
.people { background: var(--navy); color: #fff; padding: clamp(4.5rem, 8vw, 7rem) 0; }
.people-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem 5rem; }
.people h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); letter-spacing: -0.02em; }
.people-head p { color: rgb(255 255 255 / 0.84); }
.people-roster h3 { font-size: 1.05rem; font-weight: 500; color: rgb(255 255 255 / 0.78); margin-bottom: 0.4rem; }
.roster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.person { position: relative; padding: 1rem 0 1rem 1.1rem; border-top: 1px solid rgb(255 255 255 / 0.16); }
.person::before { content: ''; position: absolute; left: 0; top: 1.3rem; width: 4px; height: 2.3rem; border-radius: 2px; background: var(--tick); }
.person p { margin: 0; }
.person-n { font-size: 1.24rem; font-weight: 570; }
.person-o { font-size: 0.9rem; opacity: 0.74; }
.band-tick-coral { --tick: var(--coral); } .band-tick-orange { --tick: var(--orange); } .band-tick-teal { --tick: var(--teal); }
.band-tick-ocean { --tick: var(--ocean); } .band-tick-navy { --tick: var(--navy); } .band-tick-sun { --tick: var(--sun); }

/* ------------------------------------------------------------------- news */
.newsband { padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.75rem 2rem; margin-bottom: 2.25rem; }
.sec-head.sec-head-col { display: grid; align-items: end; }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); margin: 0; }
.sec-head-col p { margin: 0; color: var(--text-2); }
.news-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.news-item { border-top: 3px solid var(--navy); padding-top: 1rem; }
@media (prefers-color-scheme: dark) { .news-item { border-top-color: var(--sun); } }
.news-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; font-size: 0.84rem; color: var(--text-2); margin: 0 0 0.6rem; max-width: none; }
.news-cat { font-weight: 550; }
.news-item h3 { font-size: 1.18rem; font-weight: 570; line-height: 1.22; margin-bottom: 0.6rem; }
.news-lead h3 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); line-height: 1.12; }
.news-item h3 a { text-decoration: none; }
.news-item h3 a:hover { text-decoration: underline; }
.news-x { font-size: 0.95rem; color: var(--text-2); margin: 0; }
.news-pic { position: relative; display: block; aspect-ratio: 3 / 2; margin-bottom: 0.9rem; border-radius: 14px; overflow: hidden; background: var(--surface); }
.news-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transition: scale 0.6s var(--ease); }
.news-item:hover .news-pic img { scale: 1.035; }
.photo-pill { position: absolute; left: 0.55rem; bottom: 0.55rem; padding: 0.18rem 0.55rem; border-radius: 999px; background: rgb(255 255 255 / 0.9); color: var(--ink-deep); font-size: 0.68rem; font-weight: 550; }
.news-grid .news-item { border-top: 0; padding-top: 0; }
.month .news-item { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 0.4rem 1.75rem; align-items: start; }
.month .news-pic { margin: 0; }

/* ---------------------------------------------------------------- article */
.art-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem; }
.crumbs { margin-bottom: 1.25rem; }
.crumbs a { font-weight: 560; color: var(--ocean); text-decoration: none; }
.crumbs a::before { content: '\2190\00a0'; }
@media (prefers-color-scheme: dark) { .crumbs a, .art-body a { color: #7cc4ff; } }
.art-head h1 { font-size: clamp(2.1rem, 4.8vw, 3.9rem); line-height: 1.03; letter-spacing: -0.022em; font-weight: 620; max-width: 24ch; margin: 0.4rem 0 0; }
.art-hero { margin: 0 auto 2.75rem; }
.art-hero img { width: auto; max-width: 100%; max-height: min(72vh, 760px); height: auto; border-radius: 20px; }
.art-grid { display: grid; grid-template-columns: minmax(0, 68ch) minmax(0, 1fr); gap: 3rem 5rem; align-items: start; }
.art-body { font-size: 1.12rem; line-height: 1.72; }
.art-body p { max-width: none; }
.art-body h2, .art-body h3, .art-body h4 { font-size: 1.45rem; font-weight: 600; margin: 2.2rem 0 0.6rem; }
.art-body ul, .art-body ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.art-body li { margin: 0.35em 0; }
.art-body a { color: var(--ocean); font-weight: 500; }
.art-body blockquote { margin: 1.75rem 0; padding-left: 1.25rem; border-left: 4px solid var(--sun); font-size: 1.2rem; }
.art-fig { margin: 2rem 0; }
.art-fig img { width: 100%; height: auto; border-radius: 14px; }
.art-side { position: sticky; top: calc(var(--top-h) + 1.5rem); font-size: 0.95rem; padding-top: 0.3rem; }
.art-src { color: var(--text-2); margin-bottom: 0.4rem; }
.art-side h2 { font-size: 1.05rem; font-weight: 600; margin: 2rem 0 0.9rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.art-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.art-side li a { text-decoration: none; font-weight: 550; line-height: 1.3; }
.art-side li a:hover { text-decoration: underline; }
.art-side time { display: block; font-size: 0.82rem; color: var(--text-2); margin-top: 0.2rem; }
.art-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.art-pager a { text-decoration: none; font-weight: 560; line-height: 1.3; }
.art-pager a:hover { text-decoration: underline; }
.art-pager span { display: block; font-size: 0.84rem; font-weight: 500; color: var(--text-2); margin-bottom: 0.25rem; }
.art-pager .next { text-align: right; }
::view-transition-group(*) { animation-duration: 0.42s; }

/* ------------------------------------------------------------------ doors */
.doors { padding: 0 0 clamp(4rem, 7vw, 6rem); }
.doors .sec-head-col { margin-bottom: 2.25rem; }
.door-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.door { position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto auto; min-height: clamp(360px, 36vw, 460px); border-radius: 22px; overflow: hidden; color: #fff; text-decoration: none; }
.door-pic, .door-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.door-pic img { transition: scale 0.7s var(--ease); }
.door:hover .door-pic img { scale: 1.04; }
.door::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(20 26 63 / 0) 35%, rgb(20 26 63 / 0.88) 100%); }
.door::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: var(--c); }
.door-coral { --c: var(--coral); } .door-orange { --c: var(--orange); } .door-teal { --c: var(--teal); }
.door-tab { grid-row: 2; padding: 0 1.5rem; font-weight: 500; font-size: 0.95rem; color: rgb(255 255 255 / 0.85); }
.door-q { grid-row: 3; padding: 0.2rem 1.5rem 1.7rem; font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 580; line-height: 1.15; }

/* --------------------------------------------------------------- notebox */
.notebox { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 3rem; padding: 1.75rem 0; margin-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); border-block: 1px solid var(--rule); font-size: 0.92rem; color: var(--text-2); }
.notebox h2 { font-size: 0.98rem; font-weight: 620; color: var(--text); margin-bottom: 0.3rem; letter-spacing: 0; }
.notebox p { margin: 0; }
.notebox-foot { grid-column: 1 / -1; }
a.inline { font-weight: 600; display: inline-flex; align-items: center; }

/* -------------------------------------------------------------- page heads */
.pagehead { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3.5rem); }
.pagehead h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); line-height: 0.97; letter-spacing: -0.026em; font-weight: 620; max-width: 15ch; }
.pagehead h1::before { content: ''; display: block; width: 132px; height: 7px; margin-bottom: 1.6rem; border-radius: 4px;
  background: linear-gradient(90deg, var(--coral) 0 20%, var(--orange) 20% 40%, var(--teal) 40% 60%, var(--ocean) 60% 80%, var(--navy) 80%); }
@media (prefers-color-scheme: dark) { .pagehead h1::before { background: linear-gradient(90deg, var(--coral) 0 20%, var(--orange) 20% 40%, var(--teal) 40% 60%, var(--ocean) 60% 80%, var(--sun) 80%); } }
.pagehead .lede { font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.5; color: var(--text-2); max-width: 46ch; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2.5rem 4.5rem; align-items: center; }
.ph-region .lede { max-width: 60ch; }
.fig { margin: 0; }
.fig img { width: 100%; height: auto; border-radius: 22px; }
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.jump a { padding: 0.45rem 1rem; border-radius: 999px; border: 1px solid var(--rule); text-decoration: none; font-size: 0.93rem; font-weight: 500; }
.jump a:hover { border-color: var(--text); }

.band-sec { padding: clamp(3rem, 6vw, 5rem) 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 1.5rem 4rem; }
.two-col h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.prose p { font-size: 1.12rem; }
.sec-sub { color: var(--text-2); max-width: 64ch; }
.sub-h { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-top: 3.5rem; }

/* ------------------------------------------------------------------ about */
.mv { background: var(--navy); color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 5rem; }
.mv-item h2 { font-size: 1rem; font-weight: 500; color: var(--sun); letter-spacing: 0; margin-bottom: 1rem; }
.mv-item p { font-size: clamp(1.55rem, 2.7vw, 2.35rem); line-height: 1.16; font-weight: 440; max-width: 22ch; margin: 0; }
.pull { margin: clamp(3.5rem, 8vw, 6.5rem) auto; }
.pull blockquote { margin: 0; }
.pull p { font-size: clamp(1.5rem, 2.9vw, 2.45rem); line-height: 1.2; font-weight: 420; max-width: 30ch; text-indent: -0.42em; }
.pull p::before { content: '\201C'; }
.pull p::after { content: '\201D'; }
.pull figcaption { color: var(--text-2); font-weight: 500; }
.values { padding: 0 0 clamp(3.5rem, 7vw, 6rem); }
.values h2, .history h2, .leaders h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.value-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.75rem; }
.value { border-top: 5px solid var(--tick); padding-top: 1.1rem; }
.value h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.2rem; }
.value-tag { font-size: 1.32rem; font-weight: 300; line-height: 1.2; margin-bottom: 0.7rem; }
.value p:last-child { color: var(--text-2); font-size: 0.98rem; margin: 0; }
.history { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--surface); }
.history .sec-head-col { margin-bottom: 3rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--rule); }
.timeline li { position: relative; padding-top: 2.4rem; }
.timeline li::before { content: ''; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 5px var(--surface); }
.tl-when { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 620; line-height: 1.05; color: var(--ocean); margin-bottom: 0.6rem; }
@media (prefers-color-scheme: dark) { .tl-when { color: var(--sun); } }
.timeline h3 { font-size: 1.3rem; }
.tl-label { font-weight: 400; color: var(--text-2); }
.timeline p { color: var(--text-2); }
.leaders { padding: clamp(3.5rem, 7vw, 6rem) 0 0; }
.leaders .sec-head-col { margin-bottom: 2rem; }
.roster-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.leaders .person { border-top-color: var(--rule); }
.leaders .person-o { opacity: 1; color: var(--text-2); }

/* --------------------------------------------------------------- programs */
.programs { padding-bottom: 1rem; }
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 2.25rem; }
.filter button, .map-tools button {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1.05rem; border-radius: 999px;
  border: 1.5px solid var(--rule); background: var(--surface); color: var(--text); font-size: 0.95rem; font-weight: 500; cursor: pointer;
}
.filter button:hover, .map-tools button:hover { border-color: var(--text); }
.filter button[aria-pressed='true'], .map-tools button[aria-pressed='true'] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter button.g-lead::before, .filter button.g-give::before, .filter button.g-event::before, .filter button.g-voice::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--g); }
.filter-count { margin: 0 0 0 auto; font-size: 0.92rem; color: var(--text-2); }
.g-lead { --g: var(--ocean); } .g-give { --g: var(--coral); } .g-event { --g: var(--orange); } .g-voice { --g: var(--teal); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 1.75rem; }
.pcard { display: flex; flex-direction: column; gap: 0.4rem; scroll-margin-top: calc(var(--top-h) + 24px); }
.pcard[hidden] { display: none; }
.pcard-pic { position: relative; border-radius: 18px; overflow: hidden; }
.pcard-pic img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.pcard-pic .credit { position: absolute; left: 0.6rem; bottom: 0.6rem; margin: 0; padding: 0.2rem 0.55rem; border-radius: 999px; background: rgb(20 26 63 / 0.62); color: #fff; font-size: 0.7rem; }
.pcard:target .pcard-pic { outline: 4px solid var(--sun); outline-offset: 4px; }
.pcard-g { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0.65rem 0 0; font-size: 0.86rem; font-weight: 550; color: var(--text-2); }
.pcard-g::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--g); }
.pcard-h { font-size: 1.45rem; font-weight: 580; margin: 0; }
.pcard-p { color: var(--text-2); margin: 0 0 0.35rem; }
::view-transition-group(*) { animation-duration: 0.38s; animation-timing-function: var(--ease); }

/* ----------------------------------------------------------- get involved */
.involve { padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem); }
.start-h { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.tablist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 2.25rem; }
.tablist[hidden] { display: none; }
[role='tab'] { position: relative; overflow: hidden; text-align: left; padding: 1.15rem 1.3rem 1.4rem; border-radius: 16px; border: 1.5px solid var(--rule); background: var(--surface); color: var(--text); font-size: 1.12rem; font-weight: 560; line-height: 1.25; cursor: pointer; }
[role='tab']::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--c); transform: scaleX(0.18); transform-origin: left; transition: transform 0.35s var(--ease); }
[role='tab'][aria-selected='true'] { border-color: var(--c); }
[role='tab'][aria-selected='true']::after, [role='tab']:hover::after { transform: none; }
.tab-coral, .panel-coral { --c: var(--coral); } .tab-orange, .panel-orange { --c: var(--orange); } .tab-teal, .panel-teal { --c: var(--teal); }
.tabpanel { margin-bottom: 2.5rem; }
.tabpanel[hidden] { display: none; }
.tabpanel:focus-visible { outline: 2px solid var(--c); outline-offset: 10px; border-radius: 14px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; margin-bottom: 1rem; }
.panel-head h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0; }
.panel-tab { margin: 0; font-weight: 500; color: var(--text-2); }
.ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 6px solid var(--c); }
.ways li { display: flex; flex-direction: column; gap: 0.55rem; padding: 1.4rem 1.5rem 0.5rem 0; margin-right: 1.5rem; border-right: 1px solid var(--rule); }
.ways li:last-child { border-right: 0; margin-right: 0; }
.ways h4 { font-size: 1.28rem; font-weight: 590; margin: 0; }
.ways p { margin: 0; flex: 1; color: var(--text-2); }
.benefits { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--surface); scroll-margin-top: var(--top-h); }
.benefits h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); margin: 0; }
.benefits .sec-head-col { margin-bottom: 2.75rem; }
.ben-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.ben-list h3 { font-size: 1.3rem; font-weight: 590; }
.ben-list p { margin: 0; color: var(--text-2); }
.ben-close { margin: 3.25rem 0 0; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 440; line-height: 1.22; max-width: 32ch; }
.cta-band { background: var(--navy); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1.5rem 3rem; align-items: center; }
.cta-grid h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.cta-grid p { color: rgb(255 255 255 / 0.84); }
.cta-grid .actions { justify-content: flex-end; margin: 0; }

/* -------------------------------------------------------------- news page */
.newslist { padding-bottom: 1rem; }
.month { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 1rem 3rem; padding: 2.5rem 0; border-top: 1px solid var(--rule); }
.month-h { position: sticky; top: calc(var(--top-h) + 1rem); align-self: start; font-size: 1.35rem; font-weight: 520; margin: 0; }
.month-items { display: grid; gap: 2.25rem; }
.month .news-item { border-top: 0; padding-top: 0; }
.month .news-item h3 { font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.16; }
.month .news-x { max-width: 70ch; }

/* ----------------------------------------------------------------- region */
.mapsec { padding-bottom: clamp(3rem, 6vw, 5rem); }
.map-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.map-sep { width: 1px; height: 28px; background: var(--rule); margin: 0 0.35rem; }
.map { position: relative; z-index: 0; border-radius: 22px; overflow: hidden; background: #1a2350; color: #fff; }
.map-lg { height: clamp(440px, 64vh, 660px); }
.map-sm { height: clamp(320px, 42vh, 420px); margin-top: clamp(2.5rem, 5vw, 4rem); }
.map-fallback { padding: 2rem; margin: 0; }
.legend { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; font-size: 0.93rem; }
.lg { display: inline-block; width: 15px; height: 15px; border-radius: 3px; margin-right: 0.5rem; vertical-align: -2px; }
.lg-horry { border: 2px solid var(--sun); background: rgb(252 186 18 / 0.3); }
.lg-george { border: 2px solid var(--teal); background: rgb(22 169 190 / 0.25); }
.lg-pin { border-radius: 50%; background: var(--coral); border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--navy); }
.pin { display: block; width: 20px; height: 20px; border-radius: 50%; border: 3px solid #fff; background: var(--c, var(--coral)); box-shadow: 0 0 0 2px var(--navy), 0 5px 12px rgb(0 0 0 / 0.4); }
.pin-coral { --c: var(--coral); } .pin-teal { --c: var(--teal); }
.leaflet-container { font-family: 'Jost', sans-serif; }
.leaflet-tooltip.county-label { background: rgb(20 26 63 / 0.8); color: #fff; border: 0; box-shadow: none; font-weight: 600; font-size: 0.85rem; padding: 0.2rem 0.6rem; border-radius: 6px; }
.leaflet-tooltip.county-label::before { display: none; }
.leaflet-popup-content { font-size: 0.92rem; line-height: 1.45; }
.regal { padding: clamp(3rem, 6vw, 5rem) 0 0; }
.regal h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; margin-top: 2rem; }
.gal .fig img { aspect-ratio: 16 / 10; object-fit: cover; }
.gal .gal-wide { grid-column: 1 / -1; }
.gal .gal-wide img { aspect-ratio: 21 / 9; }

/* ---------------------------------------------------------------- contact */
.contact { padding-bottom: 1rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem 4rem; align-items: start; }
.drafter { background: var(--surface); border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.5rem); }
.drafter h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.drafter > p { color: var(--text-2); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.25rem; }
.fields label { display: grid; gap: 0.35rem; font-weight: 550; font-size: 0.95rem; }
.fields .full { grid-column: 1 / -1; }
.opt { font-weight: 400; color: var(--text-2); }
input, textarea { font: 400 1rem/1.4 'Jost', sans-serif; color: var(--text); background: var(--bg); padding: 0.75rem 0.9rem; border-radius: 12px; border: 1.5px solid var(--rule); width: 100%; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--ocean); outline-offset: 1px; }
textarea { resize: vertical; min-height: 9rem; }
.copy-status { min-height: 1.6em; margin: 0.9rem 0 0; font-weight: 550; color: var(--ocean); }
@media (prefers-color-scheme: dark) { .copy-status { color: #7cc4ff; } }
.places-intro { color: var(--text-2); font-size: 0.98rem; margin-bottom: 0.25rem; }
.places-src { margin: 0 0 1rem; }
.place { position: relative; padding: 1.3rem 0 1.1rem 1.2rem; border-top: 1px solid var(--rule); }
.place::before { content: ''; position: absolute; left: 0; top: 1.6rem; width: 4px; height: 2.4rem; border-radius: 2px; background: var(--tick, var(--navy)); }
.place h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.45rem; }
.place > p { margin: 0 0 0.5rem; }
.place dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.15rem 1rem; margin: 0.4rem 0; }
.place dt { color: var(--text-2); }
.place dd { margin: 0; }
.place dd a { font-weight: 560; }
.hours { color: var(--text-2); }
.hours span { font-weight: 600; color: var(--text); margin-right: 0.4rem; }
.more { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.place-sm::before { display: none; }
.place-sm { padding-left: 0; }

/* --------------------------------------------------------- concept credits */
.credits { padding: clamp(2rem, 4vw, 3rem) 0; }
.credits h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.img-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 2.5rem; }
.img-list li { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 1rem; align-items: start; }
.img-list img { width: 128px; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.img-list p { margin: 0; font-size: 0.95rem; }
.img-list span { display: block; font-size: 0.84rem; color: var(--text-2); margin-top: 0.2rem; }
.nf { min-height: 55vh; }

/* ----------------------------------------------------------------- footer */
.site-foot { background: var(--ink-deep); color: rgb(255 255 255 / 0.86); padding: clamp(3.5rem, 6vw, 5rem) 0 2rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 2.5rem; }
.foot-brand img { width: 230px; height: auto; margin-bottom: 1.25rem; }
.foot-brand p { font-size: 0.98rem; max-width: 42ch; }
.foot-nav { display: grid; gap: 0.55rem; align-content: start; }
.foot-nav a, .foot-out a { color: #fff; text-decoration: none; }
.foot-nav a:hover, .foot-out a:hover { text-decoration: underline; }
.foot-out h2 { font-size: 0.98rem; font-weight: 500; color: rgb(255 255 255 / 0.7); }
.foot-out ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.foot-out .textlink { color: #fff; font-weight: 500; overflow-wrap: anywhere; }
.foot-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.14); }
.foot-legal p { font-size: 0.8rem; line-height: 1.55; color: rgb(255 255 255 / 0.68); max-width: 120ch; margin: 0; }

/* ----------------------------------------------------------------- search */
.palette { width: min(660px, calc(100vw - 32px)); padding: 0; margin: 12vh auto auto; border: 0; border-radius: 20px; background: var(--surface); color: var(--text); box-shadow: 0 30px 90px rgb(10 14 40 / 0.45); }
.palette::backdrop { background: rgb(14 18 48 / 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.palette[open] { animation: pal-in 0.22s var(--ease); }
@keyframes pal-in { from { opacity: 0; transform: translateY(-8px) scale(0.985); } }
.pal-field { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1.15rem; border-bottom: 1px solid var(--rule); }
.pal-field svg { width: 20px; height: 20px; flex: none; color: var(--text-2); }
.pal-field input { flex: 1; border: 0; background: transparent; padding: 0.3rem 0; font-size: 1.2rem; outline: none; }
.pal-x { border: 1px solid var(--rule); background: transparent; color: var(--text-2); border-radius: 8px; padding: 0.25rem 0.55rem; font-size: 0.8rem; cursor: pointer; }
#pal-list { list-style: none; margin: 0; padding: 0.5rem; max-height: min(52vh, 460px); overflow: auto; }
#pal-list [role='option'] { display: grid; gap: 0.1rem; padding: 0.65rem 0.85rem; border-radius: 12px; cursor: pointer; }
#pal-list [role='option'][aria-selected='true'] { background: color-mix(in oklab, var(--ocean) 15%, transparent); }
.opt-t { font-weight: 570; }
.opt-s { font-size: 0.86rem; color: var(--text-2); }
.pal-empty { padding: 1rem 0.85rem; color: var(--text-2); }
.pal-hint { margin: 0; max-width: none; padding: 0.6rem 1.15rem; border-top: 1px solid var(--rule); font-size: 0.8rem; color: var(--text-2); display: flex; gap: 0.35rem; align-items: center; }
.pal-hint kbd { background: color-mix(in oklab, var(--text) 10%, transparent); }
.pal-hint kbd + kbd { margin-left: -0.15rem; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 1140px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .value-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roster-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ways li:nth-child(2) { border-right: 0; margin-right: 0; }
}
@media (max-width: 900px) {
  :root { --head-h: 64px; }
  .brand img { height: 36px; }
  .family, .align-head, .focus-head, .sec-head-col, .split-head, .people-grid, .ph-grid, .two-col, .contact-grid, .cta-grid, .month { grid-template-columns: 1fr; }
  .band-in { grid-template-columns: 1fr; gap: 0.3rem; padding-block: 1.6rem; }
  .band-link { margin-top: 0.3rem; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-stage { display: none; }
  .focus-row { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .door-list { grid-template-columns: 1fr; }
  .door { min-height: 300px; }
  .timeline { grid-template-columns: 1fr; gap: 2rem; padding-left: 2.25rem; }
  .timeline::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline li { padding-top: 0; }
  .timeline li::before { left: -2.25rem; top: 0.35rem; }
  .ben-list { grid-template-columns: 1fr 1fr; }
  .mv-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .cta-grid .actions { justify-content: flex-start; }
  .month-h { position: static; }
  .art-grid { grid-template-columns: 1fr; }
  .art-side { position: static; }
  .img-list { grid-template-columns: 1fr; }
  .rail-ctl { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1.02rem; }
  .find-l, .find kbd, .head-join { display: none; }
  .find { width: 44px; padding: 0; justify-content: center; }
  .disclosure { font-size: 0.74rem; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .credit-hero { margin: 0; }
  .roster, .roster-wide { grid-template-columns: 1fr; }
  .value-list, .pgrid, .ben-list, .ways, .more, .fields, .notebox, .news-grid { grid-template-columns: 1fr; }
  .ways li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--rule); padding-right: 0; padding-bottom: 1.2rem; }
  .ways li:last-child { border-bottom: 0; }
  .filter-count { margin: 0.25rem 0 0; width: 100%; }
  .tablist { grid-template-columns: 1fr; }
  .gal { grid-template-columns: 1fr; }
  .gal .gal-wide img { aspect-ratio: 16 / 10; }
  .rail { grid-auto-columns: 76vw; }
  .orbit { aspect-ratio: auto; width: 100%; }
  .orbit-lines, .orb-tip { display: none; }
  .orb-core { position: relative; left: auto; top: auto; translate: none; width: 44%; margin: 0.5rem auto 4.25rem; }
  .orb-core span { display: block; top: calc(100% + 30px); }
  .orbs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .orbs { position: static; animation: none !important; rotate: none; }
  .orb { position: static; width: auto; translate: none; rotate: none; animation: none !important; }
  .month .news-item { grid-template-columns: 1fr; }
  .art-pager { grid-template-columns: 1fr; }
  .art-pager .next { text-align: left; }
  .foot-grid { grid-template-columns: 1fr; }
  .sun { width: 120px; top: -60px; }
}

/* ------------------------------------------------------------ less motion */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------------ print */
@media print {
  .topstack { position: static; }
  .site-head, .hero-media, .hero-foot, .horizon, .palette, .mnav, .rail-ctl, .map, .map-tools { display: none !important; }
  .hero { min-height: 0; color: var(--text); background: none; margin: 0; }
  body { background: #fff; }
}
