/* ==========================================================================
   MERIDIAN — prototype 02 — "the foundation dossier"
   Deep-navy, photo-led institutional register. Plain CSS, no build step.
   Content: ../_source/CONTENT.md.  Motion switch: ../shared/motion.js.
   ========================================================================== */

:root {
  --navy: #0B1D2E;
  --navy-2: #10273C;
  --navy-3: #17334A;
  --ivory: #F2EDE4;
  --ivory-2: #D9D3C7;
  --muted: #9AA8B5;          /* 7.0:1 on navy, 6.3:1 on navy-2 */
  --brass: #C9A961;          /* 7.6:1 on navy */
  --brass-2: #E0C685;
  --rule: rgba(201, 169, 97, .32);
  --rule-soft: rgba(242, 237, 228, .12);
  --duo-dark: #0B1D2E;
  --duo-light: #9DB2C6;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --max: 1220px;
  --measure: 38rem;
  --gutter: clamp(20px, 5vw, 72px);
  --bar-h: 68px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--navy);
  color: var(--ivory);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html.reduce-motion { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  background: var(--navy);
  color: var(--ivory);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
html.menu-open body { overflow: hidden; }

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration-color: var(--rule);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  transition: color .3s var(--ease), text-decoration-color .3s var(--ease);
}
a:hover { color: var(--brass-2); text-decoration-color: currentColor; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--brass); color: var(--navy);
  padding: .6rem 1rem; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  letter-spacing: -.012em;
  font-variation-settings: "SOFT" 60, "WONK" 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.75rem, 12vw, 7rem);
  line-height: .94;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 70, "WONK" 0;
}
@media (min-width: 640px) { h1 { font-size: clamp(3.5rem, 8vw, 7rem); } }
h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  line-height: 1.06;
  font-variation-settings: "opsz" 120, "SOFT" 60, "WONK" 0;
}
h3 { font-size: 1.4rem; line-height: 1.25; font-weight: 500; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ivory); }
.muted { color: var(--muted); }
em { font-style: italic; }

.eyebrow {
  display: flex; align-items: center; gap: .9rem;
  font-family: var(--sans);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 1.6rem;
}
.eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--brass); flex: none; }
.eyebrow--plain::before { display: none; }
.eyebrow__n { font-family: var(--display); font-size: 1.05rem; letter-spacing: 0; font-weight: 300; }

.tag {
  display: block;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass); margin-bottom: .75rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; padding: .95rem 1.6rem; border: 1px solid var(--brass);
  color: var(--ivory); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--brass { background: var(--brass); color: var(--navy); font-weight: 600; }
.btn--brass:hover { background: var(--brass-2); border-color: var(--brass-2); color: var(--navy); }
.btn--ghost:hover { background: rgba(201, 169, 97, .12); color: var(--ivory); }

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--bar-h); padding: 0 var(--gutter);
  background: linear-gradient(to bottom, rgba(11, 29, 46, .96) 0%, rgba(11, 29, 46, .82) 60%, rgba(11, 29, 46, 0) 100%);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.topbar.is-scrolled, .topbar.is-open {
  background: rgba(11, 29, 46, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--rule);
}
.topbar__brand {
  font-family: var(--display); font-size: 1.2rem; letter-spacing: .005em;
  text-decoration: none; color: var(--ivory); white-space: nowrap;
  font-variation-settings: "SOFT" 60;
}
.topbar__brand:hover { color: var(--brass-2); }
.topbar__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.1rem; }
.topbar__nav a {
  font-size: .8rem; letter-spacing: .06em; text-decoration: none; color: var(--ivory-2);
  padding: .35rem 0; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s;
}
.topbar__nav a:hover, .topbar__nav a.is-active { color: var(--ivory); border-bottom-color: var(--brass); }
.topbar__nav a.topbar__cta { color: var(--brass); }
.topbar__toggle {
  display: none; align-items: center; gap: .6rem;
  background: none; border: 1px solid var(--rule); color: var(--ivory);
  font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  padding: .7rem .95rem; cursor: pointer;
}
.topbar__toggle:hover { border-color: var(--brass); color: var(--brass-2); }

@media (max-width: 1023px) {
  html.js .topbar__toggle { display: inline-flex; }
  html.js .topbar__nav {
    position: fixed; inset: var(--bar-h) 0 0 0; padding: 1.5rem var(--gutter) 3rem;
    background: var(--navy); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
  }
  html.js .topbar.is-open .topbar__nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  html.js .topbar__nav ul { flex-direction: column; gap: 0; }
  html.js .topbar__nav a {
    display: block; font-family: var(--display); font-size: 2rem; font-weight: 300; letter-spacing: -.01em;
    padding: .9rem 0; border-bottom: 1px solid var(--rule); color: var(--ivory);
  }
  html:not(.js) .topbar { position: absolute; height: auto; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 1rem var(--gutter); background: var(--navy); }
  html:not(.js) .topbar__nav ul { flex-wrap: wrap; gap: .5rem 1.25rem; }
}

/* --------------------------------------------------------------------------
   Right-edge dot navigation
   -------------------------------------------------------------------------- */
.dots { position: fixed; right: 1.2rem; top: 50%; transform: translateY(-50%); z-index: 40; }
.dots ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .95rem; align-items: flex-end; }
.dots a { display: flex; align-items: center; gap: .8rem; text-decoration: none; padding: .1rem 0; }
.dots__label {
  font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory);
  text-shadow: 0 1px 3px rgba(11, 29, 46, .95), 0 0 12px rgba(11, 29, 46, .8);
  background: rgba(11, 29, 46, .82); padding: .2rem .5rem; border-radius: 2px;
  opacity: 0; transform: translateX(6px); transition: opacity .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.dots a.is-active .dots__label { opacity: .9; transform: none; }
.dots a:hover .dots__label, .dots a:focus-visible .dots__label { opacity: 1; transform: none; }
.dots__dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  border: 1px solid var(--brass); background: transparent;
  box-shadow: 0 0 0 3px rgba(11, 29, 46, .55);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.dots a.is-active .dots__dot, .dots a:hover .dots__dot { background: var(--brass); transform: scale(1.3); }
@media (max-width: 1023px) { .dots { display: none; } }

/* --------------------------------------------------------------------------
   Photo component: full-tone <img> under a navy duotone overlay that fades
   away on hover / when the section is centred (JS adds .is-lit).
   Reduced motion: overlay removed, image static in full tone.
   -------------------------------------------------------------------------- */
.photo { margin: 0; position: relative; }
.photo__frame { position: relative; overflow: hidden; background: var(--navy-2); }
.photo__inner { position: absolute; inset: 0; }
.photo__inner img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, 50% 50%);
}
.photo__duo {
  position: absolute; inset: 0; background: var(--duo-light); isolation: isolate;
  opacity: 1; pointer-events: none;
  transition: opacity 1.2s var(--ease);
}
.photo__duo i {
  position: absolute; inset: 0; display: block;
  background-image: var(--img); background-size: cover; background-position: var(--pos, 50% 50%);
  filter: grayscale(1) contrast(1.08) brightness(.96);
  mix-blend-mode: multiply;
}
.photo__duo::after { content: ''; position: absolute; inset: 0; background: var(--duo-dark); mix-blend-mode: lighten; }
.photo:hover .photo__duo, .photo.is-lit .photo__duo, .photo:focus-within .photo__duo { opacity: 0; }
html.reduce-motion .photo__duo { display: none; }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .photo__duo { display: none; } }
html.reduce-motion .topbar__nav, html.reduce-motion .dots__label, html.reduce-motion .dots__dot { transition: none; }
html.reduce-motion .dots__label { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .topbar__nav, html:not(.force-motion) .dots__label, html:not(.force-motion) .dots__dot { transition: none; }
  html:not(.force-motion) .dots__label { transform: none; }
}

.photo figcaption, .caption {
  font-size: .76rem; line-height: 1.5; letter-spacing: .01em; color: var(--muted);
  margin-top: .9rem; max-width: 34rem;
}
.caption a { color: var(--muted); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; display: grid; align-items: end;
  padding: calc(var(--bar-h) + 5rem) var(--gutter) 3.5rem;
}
.hero__photo { position: absolute; inset: 0; z-index: -1; margin: 0; }
.hero__photo .photo__frame { position: absolute; inset: 0; background: var(--navy); }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  /* Three bands: a top band that keeps the fixed bar and the mobile caption on near-solid navy,
     a left-to-right band under the copy, and a bottom-up band under the actions. Stops are set so
     that AA holds even when reduced motion shows the full-tone photograph. */
  background:
    linear-gradient(180deg, rgba(11, 29, 46, .92) 0%, rgba(11, 29, 46, .6) 12%, rgba(11, 29, 46, 0) 34%),
    linear-gradient(90deg, rgba(11, 29, 46, .95) 0%, rgba(11, 29, 46, .68) 42%, rgba(11, 29, 46, .3) 100%),
    linear-gradient(0deg, rgba(11, 29, 46, .97) 0%, rgba(11, 29, 46, .45) 45%, rgba(11, 29, 46, .2) 100%);
}
@media (max-width: 1023px) {
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(11, 29, 46, .96) 0%, rgba(11, 29, 46, .86) 18%, rgba(11, 29, 46, .7) 30%, rgba(11, 29, 46, .72) 45%, rgba(11, 29, 46, .8) 60%, rgba(11, 29, 46, .9) 75%, rgba(11, 29, 46, .98) 100%);
  }
}
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__caption {
  position: absolute; z-index: 1; right: var(--gutter); bottom: 1.4rem; max-width: 22rem;
  text-align: right; font-size: .74rem; line-height: 1.5; color: var(--muted); margin: 0;
}
.hero__content { position: relative; max-width: 54rem; }
.hero__tagline {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.25; color: var(--brass-2);
  margin: 1.4rem 0 1.6rem; font-variation-settings: "opsz" 72, "SOFT" 70;
}
.hero__mission { max-width: var(--measure); font-size: 1.1rem; color: var(--ivory-2); margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

@keyframes kenburns {
  from { transform: scale(1.09) translate(1.4%, .9%); }
  to   { transform: scale(1) translate(0, 0); }
}
html:not(.reduce-motion) .hero .photo__inner { animation: kenburns 34s cubic-bezier(.2, .5, .3, 1) forwards; }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .hero .photo__inner { animation: none; } }

@media (max-width: 1023px) {
  .hero { padding-top: calc(var(--bar-h) + 6rem); padding-bottom: 2.5rem; }
  .hero__caption {
    top: calc(var(--bar-h) + .6rem); bottom: auto; right: var(--gutter); left: var(--gutter); max-width: none; text-align: left;
    background: rgba(11, 29, 46, .78); padding: .55rem .7rem; border-left: 1px solid var(--rule);
  }
}
@media (max-width: 639px) { .hero__actions .btn { width: 100%; justify-content: center; } }

/* --------------------------------------------------------------------------
   Split sections (image / copy, alternating)
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; scroll-margin-top: var(--bar-h); }
.split__media { position: relative; display: flex; align-items: center; }
.split.is-pinned .split__media { align-items: flex-start; }
.split__media .photo { width: 100%; height: 100vh; display: flex; flex-direction: column; }
.split__media .photo__frame { flex: 1; min-height: 0; }
.split__media .photo figcaption { padding: 0 var(--gutter) 1.2rem; margin-top: .9rem; }
.split__copy { padding: clamp(4rem, 12vh, 8rem) var(--gutter); max-width: calc(var(--measure) + 2 * var(--gutter) + 4rem); }
.split--img-right .split__media { grid-column: 2; grid-row: 1; }
.split--img-right .split__copy { grid-column: 1; grid-row: 1; justify-self: end; }
.split--img-left .split__copy { justify-self: start; }
.split__copy h2 { margin-bottom: 1.6rem; }
.split__copy h3 { margin: 2.4rem 0 .8rem; font-size: 1.25rem; color: var(--brass-2); font-weight: 400; }

@media (max-width: 1023px) {
  .split { grid-template-columns: 1fr; }
  .split--img-right .split__media, .split--img-right .split__copy { grid-column: 1; grid-row: auto; }
  .split__media { display: block; }
  .split__media .photo { height: auto; display: block; }
  .split__media .photo__frame { aspect-ratio: 4 / 3; flex: none; }
  .split__media .photo figcaption { padding: 0 var(--gutter); }
  .split__copy { padding: 2.5rem var(--gutter) 4rem; max-width: none; }
}

/* Facts (large numerals) */
.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem 2.5rem;
  margin: 3rem 0 0; padding-top: 2.5rem; border-top: 1px solid var(--rule);
}
.fact { display: flex; flex-direction: column-reverse; margin: 0; }
.fact__num {
  font-family: var(--display); font-weight: 300; line-height: 1; color: var(--brass);
  font-size: clamp(2.6rem, 4.4vw, 4.2rem); margin: 0; letter-spacing: -.02em;
  font-variation-settings: "opsz" 144, "SOFT" 40; font-variant-numeric: lining-nums;
}
.fact__num small { font-size: .42em; letter-spacing: 0; color: var(--brass-2); font-style: italic; }
.fact__label { font-size: .84rem; line-height: 1.45; color: var(--muted); margin: .7rem 0 0; }
.facts--row { grid-template-columns: repeat(4, 1fr); }
.facts--3 { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; }
@media (max-width: 639px) { .facts--3 .fact__num { font-size: 2.1rem; } .facts--3 .fact__num small { font-size: .5em; } }
.keyline { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-2); margin: 1.8rem 0 0; line-height: 1.7; }
@media (max-width: 767px) { .facts--row { grid-template-columns: repeat(2, 1fr); } }

/* Pipeline stages */
.stages { list-style: none; margin: 2.2rem 0 0; padding: 0; }
.stages li {
  display: grid; grid-template-columns: 3.6rem 1fr; align-items: baseline;
  padding: 1.05rem 0; border-top: 1px solid var(--rule);
}
.stages li:last-child { border-bottom: 1px solid var(--rule); }
.stages li > div { min-width: 0; }
.stages__n { font-family: var(--display); font-weight: 300; font-size: 1.9rem; color: var(--brass); line-height: 1; }
.stages__name { font-family: var(--display); font-size: 1.7rem; font-weight: 400; line-height: 1.15; font-variation-settings: "SOFT" 60; }
.stages__desc { display: block; font-size: .84rem; letter-spacing: .03em; color: var(--muted); margin-top: .25rem; }
.stages__desc--body { font-size: .95rem; letter-spacing: 0; color: var(--ivory-2); line-height: 1.55; margin-top: .45rem; }
.stages li { align-items: start; }
.stages__n { padding-top: .35rem; }
.materials--1 { grid-template-columns: 1fr; }
.card .materials { margin-top: .2rem; color: var(--ivory-2); font-size: .98rem; }
.stages__end { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: .9rem 0; }
.stages__end--top { margin-top: 2rem; }
.materials { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.5rem; color: var(--ivory-2); }
.materials li { position: relative; padding-left: 1.2rem; }
.materials li::before { content: ''; position: absolute; left: 0; top: .72em; width: .45rem; height: 1px; background: var(--brass); }
@media (max-width: 479px) { .materials { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Bands (full-width sections with a centred inner column)
   -------------------------------------------------------------------------- */
.band { padding: clamp(4.5rem, 12vh, 8rem) var(--gutter); }
.band--tint { background: var(--navy-2); }
.band__inner { max-width: var(--max); margin: 0 auto; }
.band__head { max-width: 46rem; margin-bottom: 3.5rem; }
.band__head .lead { margin-top: 1.4rem; color: var(--ivory-2); }
.band__row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem clamp(3rem, 6vw, 6rem); align-items: start; }
.band__row > * { min-width: 0; }
.prose { max-width: var(--measure); }
.prose h3 { margin: 2.2rem 0 .8rem; font-size: 1.25rem; color: var(--brass-2); font-weight: 400; }
.prose h3:first-child { margin-top: 0; }
.band__row--news { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.band__row--sticky .band__aside { position: sticky; top: calc(var(--bar-h) + 3rem); align-self: start; }
.facts--hc { margin-top: 0; padding-top: 0; border-top: 0; grid-template-columns: repeat(2, 1fr); }
.aside__title { font-size: 1.5rem; margin-bottom: .8rem; }
.moves { list-style: none; margin: 1.6rem 0 0; padding: 0; counter-reset: move; }
.moves li { counter-increment: move; display: grid; grid-template-columns: 2.6rem 1fr; gap: .4rem 0; padding: 1rem 0; border-top: 1px solid var(--rule); }
.moves li::before { content: counter(move, decimal-leading-zero); font-family: var(--display); font-weight: 300; color: var(--brass); font-size: 1.15rem; padding-top: .15rem; }
.moves h4 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; margin: 0; }
.moves p { grid-column: 2; font-size: .92rem; color: var(--ivory-2); margin: 0; }
@media (max-width: 1023px) {
  .band__row, .band__row--news { grid-template-columns: 1fr; }
  .band__row--sticky .band__aside, .band__row--news .news__side { position: static; }
  .news__photo { max-width: none; }
  .facts--hc { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); }
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.card { background: var(--navy-2); border-top: 1px solid var(--brass); padding: 2rem 1.9rem 2.2rem; display: flex; flex-direction: column; }
.band--tint .card { background: var(--navy-3); }
.card h3, .card h4 { margin: 0 0 .8rem; font-size: 1.45rem; font-family: var(--display); font-weight: 500; line-height: 1.25; color: var(--ivory); letter-spacing: -.012em; font-variation-settings: "SOFT" 60, "WONK" 0; }
.cards--stack { grid-template-columns: 1fr; gap: 1rem; margin-top: 1.2rem; }
.cards--2 { grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
.cards--4 { grid-template-columns: repeat(4, 1fr); margin-top: 2rem; }
.card h3 a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.card h3 a:hover { color: var(--brass-2); border-color: var(--brass-2); }
@media (max-width: 1023px) { .cards--2, .cards--4 { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 1023px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
.split__copy .card h4 { margin: 0 0 .7rem; font-size: 1.3rem; }
.card p { color: var(--ivory-2); font-size: .98rem; }
@media (max-width: 1023px) { .cards { grid-template-columns: 1fr; } }

.related { margin-top: 2.6rem; padding: 1.4rem 1.6rem; border-left: 1px solid var(--brass); background: var(--navy-2); font-size: .95rem; color: var(--ivory-2); }
.related .tag { margin-bottom: .5rem; }
.band--tint .related { background: var(--navy-3); }

/* --------------------------------------------------------------------------
   People
   -------------------------------------------------------------------------- */
.pis { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem clamp(2.5rem, 5vw, 5rem); margin-top: 3.5rem; }
.pi .photo__frame { aspect-ratio: 4 / 5; }
.pi__name { font-family: var(--display); font-size: clamp(1.9rem, 2.6vw, 2.4rem); margin: 1.6rem 0 .3rem; font-weight: 400; letter-spacing: -.012em; font-variation-settings: "SOFT" 60, "WONK" 0; }
.pi__role { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin: 0 0 1.1rem; }
.pi__bio { color: var(--ivory-2); font-size: .98rem; }
.links { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.links--stack { flex-direction: column; gap: .45rem; margin: .6rem 0 1rem; text-transform: none; letter-spacing: 0; font-size: 1rem; font-family: var(--display); }
.links--stack a { color: var(--ivory); }
.links a { color: var(--brass); text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: .1rem; }
.links a:hover { color: var(--brass-2); border-color: var(--brass-2); }

.cois { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 2.2rem; }
.coi { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.3rem; align-items: start; }
.coi img { width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; border: 1px solid var(--rule); }
.coi h4 { font-family: var(--display); font-size: 1.35rem; font-weight: 500; line-height: 1.25; margin: 0 0 .2rem; letter-spacing: -.012em; }
.coi__role { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: .7rem; }
.coi p { font-size: .93rem; color: var(--ivory-2); }

.group { margin-top: 4.5rem; padding-top: 3rem; border-top: 1px solid var(--rule); }
.group--first { margin-top: 3.5rem; padding-top: 0; border-top: 0; }
.group__title { font-size: clamp(1.7rem, 2.4vw, 2.2rem); font-weight: 400; }
.group .eyebrow { margin-bottom: 1rem; }
.pis { margin-top: 2rem; }
.relations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; margin-top: 2.6rem; }
.relations h4 { font-family: var(--display); font-size: 1.25rem; font-weight: 500; margin: 0 0 .4rem; letter-spacing: -.012em; }
.relations p { font-size: .92rem; color: var(--ivory-2); }
@media (max-width: 1023px) { .relations { grid-template-columns: 1fr; } }
.partners__row {
  list-style: none; margin: 2.2rem 0 0; padding: 2.4rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem 2.5rem; flex-wrap: wrap;
  border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft);
}
@media (min-width: 1024px) { .partners__row { padding-right: 6rem; } }
.partners__row a { display: block; text-decoration: none; }
.partners__row img {
  height: 38px; width: auto; max-width: 180px;
  filter: brightness(0) invert(1) sepia(.18); opacity: .62;
  transition: opacity .35s var(--ease);
}
.partners__row img.is-tall { height: 66px; }
.partners__row a:hover img, .partners__row a:focus-visible img { opacity: 1; }
.partner-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 2.5rem; margin: 2.4rem 0 0; }
.partner-notes div { font-size: .9rem; color: var(--ivory-2); }
.partner-notes dt { font-family: var(--display); font-size: 1.15rem; color: var(--ivory); margin-bottom: .25rem; }
.partner-notes dd { margin: 0; }

@media (max-width: 1023px) {
  .pis, .cois { grid-template-columns: 1fr; }
  .partners__row { justify-content: center; gap: 1.8rem 2.2rem; }
  .partners__row img { height: 30px; max-width: 140px; }
  .partners__row img.is-tall { height: 54px; }
}

/* --------------------------------------------------------------------------
   News timeline
   -------------------------------------------------------------------------- */
.news__meta { font-size: .8rem; color: var(--muted); letter-spacing: .04em; margin-top: 1.2rem; }
.news__photo { margin-top: 2.8rem; max-width: 26rem; }
.news__photo .photo__frame { aspect-ratio: 4 / 5; }
.band__row--news .news__side { position: sticky; top: calc(var(--bar-h) + 2rem); align-self: start; }
.timeline__group { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin: 0 0 1.8rem; }
.timeline + .timeline__group { margin-top: 3.2rem; }
.timeline__undated { font-family: var(--display); font-style: italic; font-weight: 300; font-size: 1.15rem; color: var(--brass-2); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: .34rem; top: .6rem; bottom: .4rem; width: 1px; background: var(--brass); opacity: .55; }
.timeline li { position: relative; padding: 0 0 2.6rem 2.6rem; }
.timeline li:last-child { padding-bottom: .5rem; }
.timeline li::before {
  content: ''; position: absolute; left: 0; top: .55rem; width: .7rem; height: .7rem; border-radius: 50%;
  background: var(--navy); border: 1px solid var(--brass);
}
.band--tint .timeline li::before { background: var(--navy-2); }
.timeline__when { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; margin-bottom: .45rem; }
.timeline time { font-family: var(--display); font-style: italic; font-weight: 300; font-size: 1.15rem; color: var(--brass-2); }
.timeline__tag { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.timeline h4 { font-family: var(--display); font-size: 1.5rem; line-height: 1.2; margin: 0 0 .55rem; font-weight: 400; letter-spacing: -.012em; font-variation-settings: "SOFT" 60, "WONK" 0; }
.timeline h4 a { text-decoration: none; border-bottom: 1px solid var(--rule); transition: border-color .3s, color .3s; }
.timeline h4 a:hover { border-color: var(--brass-2); }
.timeline p + p { margin-top: -.3em; }
.timeline p { color: var(--ivory-2); font-size: .97rem; max-width: 40rem; }

/* --------------------------------------------------------------------------
   Get involved
   -------------------------------------------------------------------------- */
.involved { position: relative; isolation: isolate; overflow: hidden; }
.involved__bg {
  position: absolute; inset: 0; z-index: -1; opacity: .22;
  background: url('/images/early-jazz-band-la-state-muesum.jpg') center 30% / cover no-repeat;
  filter: grayscale(1) contrast(1.05);
}
.involved__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--navy) 0%, rgba(11, 29, 46, .82) 50%, var(--navy) 100%); }
.involved .card { background: rgba(16, 39, 60, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.involved__cta { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.involved__credit { margin-top: 3rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { padding: 4.5rem var(--gutter) 2.5rem; border-top: 1px solid var(--rule); background: var(--navy); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; max-width: var(--max); margin: 0 auto; }
.footer__brand { font-family: var(--display); font-size: 1.5rem; margin-bottom: .8rem; font-variation-settings: "SOFT" 60; }
.footer p { font-size: .92rem; color: var(--ivory-2); max-width: 24rem; }
.footer__email { display: inline-block; margin: .4rem 0 1.2rem; color: var(--brass); text-decoration: none; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.footer__email:hover { color: var(--brass-2); border-color: var(--brass-2); }
.footer__copy { font-size: .78rem; color: var(--muted); margin: 0; }
.footer h2 { font-family: var(--sans); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: 1.1rem; font-variation-settings: normal; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .55rem; font-size: .92rem; }
.footer li a { text-decoration: none; color: var(--ivory-2); border-bottom: 1px solid transparent; }
.footer li a:hover { color: var(--brass-2); border-bottom-color: var(--brass-2); }
.footer .footer__note { max-width: var(--max); margin: 3rem auto 0; padding-top: 1.4rem; border-top: 1px solid var(--rule-soft); font-size: .76rem; color: var(--muted); }
@media (max-width: 1023px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Section anchors under the fixed bar
   -------------------------------------------------------------------------- */
.band, .involved { scroll-margin-top: var(--bar-h); }

/* Mobile override declared last so it wins over the desktop sticky rules above. */
@media (max-width: 1023px) {
  .band__row--news .news__side, .band__row--sticky .band__aside { position: static; }
}
