/* 248 Anthems — Champions Retreat · "Three Signatures" (chamber triptych)
 * Brand System v2: bone page, graphite ink, Barlow Condensed display,
 * Inter text, IBM Plex Mono data. Lime = signal. Orange = one moment (the V-oak).
 * Three course-derived micro-tints, one per movement, used only in their bands —
 * and site-wide as the active key while that nine's anthem plays. */

/* ---------- fonts ---------- */
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlow-condensed-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Inter Var';
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bone: #F7F4EE;
  --bone-hi: #FCFAF6;
  --graphite: #1E1E1E;
  --charcoal: #0D0D0D;
  --ash: #DCD7CC;
  --ink: #211F1B;
  --ink-dim: #5C574C;
  --lime: #CCFF00;
  --orange: #FF6A00;
  --orange-deep: #B84800;

  /* the three keys */
  --island: #9A6B4C;       /* river silt */
  --island-deep: #7C5233;
  --bluff: #3F6B4F;        /* loblolly green */
  --bluff-deep: #2F5340;
  --creek: #5C5A38;        /* blackwater brown-green */
  --creek-deep: #45462B;

  /* active key (set on body while a movement's track is current) */
  --key: var(--graphite);
  --key-deep: var(--graphite);

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-text: 'Inter Var', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Plex Mono', ui-monospace, 'SF Mono', monospace;

  --maxw: 1440px;
  --gutter: clamp(1rem, 5vw, 4.5rem);
  --hairline: color-mix(in srgb, var(--graphite) 14%, transparent);
}
body.key-island { --key: var(--island); --key-deep: var(--island-deep); }
body.key-bluff  { --key: var(--bluff);  --key-deep: var(--bluff-deep); }
body.key-creek  { --key: var(--creek);  --key-deep: var(--creek-deep); }

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  font-variation-settings: 'wght' 420;
  background: var(--bone);
  color: var(--ink);
  font-size: clamp(0.98rem, 0.93rem + 0.25vw, 1.08rem);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: .1em; }
::selection { background: var(--lime); color: var(--graphite); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--graphite); outline-offset: 3px; }
.anthems :focus-visible { outline-color: var(--lime); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1; text-transform: uppercase; letter-spacing: .005em; }
em { font-style: normal; border-bottom: 2px solid var(--lime); }
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--lime); color: var(--graphite);
  padding: .8rem 1.2rem; font-family: var(--font-mono); text-decoration: none;
}
.skip:focus { left: 0; }

/* ---------- masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: .75rem var(--gutter);
  background: color-mix(in srgb, var(--bone) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
  transition: border-color .6s ease;
}
body.is-playing .masthead { border-bottom-color: color-mix(in srgb, var(--key) 60%, transparent); }
.masthead-mark { display: inline-flex; align-items: baseline; gap: .45rem; text-decoration: none; font-family: var(--font-display); }
.mark-num { background: var(--graphite); color: var(--bone); font-weight: 700; font-size: 1.05rem; padding: .1em .3em .12em; letter-spacing: .02em; }
.mark-word { font-weight: 600; letter-spacing: .3em; font-size: .82rem; }
.masthead-nav { display: flex; gap: clamp(.9rem, 2.4vw, 2rem); }
.masthead-nav a {
  text-decoration: none; font-size: .84rem; font-variation-settings: 'wght' 560;
  color: var(--ink-dim); padding-bottom: .15em;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.masthead-nav a:hover { color: var(--ink); border-color: var(--lime); }
.masthead-meta { font-size: .62rem; color: var(--ink-dim); display: inline-flex; align-items: center; gap: .55em; }
.key-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ash); transition: background .6s ease; }
body.is-playing .key-dot { background: var(--key); animation: dot-beat 1.071s ease-in-out infinite; }
@keyframes dot-beat { 0%, 100% { transform: scale(1); } 28% { transform: scale(1.45); } }
@media (max-width: 860px) { .masthead-meta { display: none; } }

/* ---------- ratio stripe (24 + 8 = 32 units) ---------- */
.stripe { display: flex; gap: 3px; height: 24px; }
.stripe span { flex: 1; background: color-mix(in srgb, var(--graphite) 14%, transparent); transition: background .3s ease, opacity .3s ease; }
.stripe span.u-down { background: color-mix(in srgb, var(--lime) 38%, var(--bone)); }
.stripe span.lit { background: var(--graphite); }
.stripe span.u-down.lit { background: var(--lime); }
.stripe-dark span { background: color-mix(in srgb, var(--bone) 13%, transparent); }
.stripe-dark span.u-down { background: color-mix(in srgb, var(--lime) 22%, transparent); }
.stripe-dark span.lit { background: var(--bone); }
.stripe-dark span.u-down.lit { background: var(--lime); }
.stripe-caption { display: flex; justify-content: space-between; gap: 1rem; font-size: .6rem; color: var(--ink-dim); margin-top: .55rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(6.5rem, 12vh, 9rem) var(--gutter) clamp(3rem, 6vh, 5rem); max-width: var(--maxw); margin: 0 auto; }
.crumb { font-size: .64rem; color: var(--ink-dim); margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--ink); border-bottom: 1px solid var(--lime); }
.crumb [aria-current] { color: var(--ink); }
.hero-kicker { font-size: .72rem; color: var(--ink-dim); display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.hero-kicker::before { content: ''; width: 44px; height: 2px; background: var(--graphite); }
.hero h1 {
  font-weight: 700;
  font-size: clamp(4.2rem, 14vw, 11rem);
  line-height: .9; letter-spacing: .002em;
  color: var(--charcoal);
}
.hero-sub {
  margin-top: 1.8rem; max-width: 58ch;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.6;
  color: #3D3931;
}

.hero-tri {
  margin-top: clamp(2.6rem, 6vh, 4.2rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--ash); border: 1px solid var(--ash);
}
.tri-card {
  --k: var(--graphite); --k-deep: var(--graphite);
  position: relative;
  display: flex; flex-direction: column; gap: .1rem;
  padding: 1.3rem 1.4rem 1.5rem;
  background: color-mix(in srgb, var(--k) 5%, var(--bone));
  text-decoration: none;
  transition: background .3s ease;
}
.tri-island { --k: var(--island); --k-deep: var(--island-deep); }
.tri-bluff  { --k: var(--bluff);  --k-deep: var(--bluff-deep); }
.tri-creek  { --k: var(--creek);  --k-deep: var(--creek-deep); }
.tri-card:hover { background: color-mix(in srgb, var(--k) 11%, var(--bone)); }
.tri-card svg { width: 100%; height: auto; margin-bottom: .9rem; }
.tri-card .tk { stroke: var(--k); stroke-width: 2; }
.tri-card .tk-fill { fill: color-mix(in srgb, var(--k) 14%, transparent); stroke: var(--k-deep); stroke-width: 1.2; }
.tri-card .tk-pines path { stroke: var(--k); stroke-width: 1.6; opacity: .8; }
.tri-card .tk-dots circle { fill: var(--k); opacity: .7; }
.tri-no { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; line-height: 1; color: var(--k); }
.tri-name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2.1rem); text-transform: uppercase; line-height: 1; color: var(--charcoal); margin-top: .2rem; }
.tri-meta { font-size: .6rem; color: var(--ink-dim); margin-top: .55rem; }
.tri-card::after {
  content: ''; position: absolute; top: 1.2rem; right: 1.2rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: transparent; transition: background .4s ease;
}
body.is-playing.key-island .tri-island::after,
body.is-playing.key-bluff .tri-bluff::after,
body.is-playing.key-creek .tri-creek::after { background: var(--lime); box-shadow: 0 0 0 1px var(--graphite); }
.hero .stripe { margin-top: clamp(2.6rem, 6vh, 4rem); }

/* ---------- section scaffolding ---------- */
/* NOTE: scoped by class — a bare `section` rule would leak into the player's
   internal <section> panels and the guide's sections. */
.anthems, .system, .uses, .triptych, .related { padding-block: clamp(4rem, 9vh, 7.5rem); }
.sec-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: clamp(1.8rem, 4vh, 2.8rem); }
.sec-no { font-size: .78rem; color: var(--ink-dim); }
.sec-rule { flex: 1; height: 1px; background: var(--hairline); transition: background .6s ease; }
body.is-playing .sec-rule { background: color-mix(in srgb, var(--key) 55%, transparent); }
.sec-kicker { font-size: .66rem; color: var(--ink-dim); }
.sec-intro h2 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); color: var(--charcoal); max-width: 18ch; }
.sec-sub { margin-top: 1.1rem; max-width: 68ch; color: #3D3931; }

/* ---------- 01 · anthems (dark player panel) ---------- */
.anthems { background: var(--charcoal); color: var(--bone); }
.anthems .sec-no, .anthems .sec-kicker { color: color-mix(in srgb, var(--bone) 55%, transparent); }
.anthems .sec-rule { background: color-mix(in srgb, var(--bone) 16%, transparent); }
.anthems .sec-intro h2 { color: var(--bone); }
.anthems .sec-sub { color: color-mix(in srgb, var(--bone) 72%, transparent); }
.player-shell {
  position: relative; margin-top: clamp(2rem, 5vh, 3rem);
  background: var(--graphite);
  border: 1px solid color-mix(in srgb, var(--bone) 13%, transparent);
  border-top: 3px solid color-mix(in srgb, var(--bone) 13%, transparent);
  padding: clamp(1.2rem, 3vw, 2.4rem);
  transition: border-top-color .6s ease;
}
body.is-playing .player-shell { border-top-color: var(--key); }
#spectrum { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .5; }
#player { position: relative; }
.anthems .ap {
  --ap-accent: var(--lime);
  --ap-accent-fg: var(--charcoal);
  --ap-font: var(--font-text);
  --ap-radius: 0; --ap-row-radius: 0;
}
.anthems .ap-title { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; letter-spacing: .01em; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.anthems .ap-kicker, .anthems .ap-panel-title, .anthems .ap-time, .anthems .ap-row-num,
.anthems .ap-badge, .anthems .ap-lib-course, .anthems .ap-sub, .anthems .ap-status { font-family: var(--font-mono); }
.anthems .ap-sub, .anthems .ap-status { font-size: .72rem; letter-spacing: .06em; }
.rs-progress-wrap { position: relative; margin-top: 1.5rem; }
.rs-progress-wrap .stripe { height: 18px; }
.rs-progress-wrap .stripe-caption { color: color-mix(in srgb, var(--bone) 45%, transparent); }
.stage-note { margin-top: 1.1rem; font-size: .6rem; color: color-mix(in srgb, var(--bone) 42%, transparent); text-align: center; }

/* ---------- 02 · system ---------- */
.system-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.6rem, 4vw, 3.2rem); margin-top: clamp(1.8rem, 4vh, 2.6rem); align-items: start; }
.frames-ribbon { border: 1px solid var(--hairline); padding: 1.1rem; }
.frames { display: flex; gap: 3px; height: 30px; }
.frames.down { margin-top: 3px; }
.frames span { flex: 1; background: var(--graphite); opacity: .09; transition: opacity .18s ease; }
.frames.down span { background: var(--lime); opacity: .22; }
.frames span.lit { opacity: .92; }
.frames.down span.lit { opacity: 1; }
.frames-caption { display: flex; justify-content: space-between; font-size: .58rem; color: var(--ink-dim); margin-top: .6rem; }
.pulse-block {
  margin-top: 1px; background: var(--graphite); color: var(--bone);
  padding: clamp(1.2rem, 2.5vw, 2rem);
  display: grid; justify-items: center; gap: .6rem;
}
.pulse-ring { width: min(210px, 58vw); height: auto; }
.pulse-ring .pr-outer { stroke: color-mix(in srgb, var(--bone) 30%, transparent); stroke-width: 1; }
.pulse-ring .pr-inner { stroke: var(--lime); stroke-width: 1.6; }
.pulse-ring .pr-num { font-family: var(--font-display); font-weight: 600; font-size: 34px; fill: var(--bone); }
.pulse-ring .pr-unit { font-family: var(--font-mono); font-size: 10px; letter-spacing: .35em; fill: color-mix(in srgb, var(--bone) 55%, transparent); }
#pulse-ticks line { stroke: color-mix(in srgb, var(--bone) 38%, transparent); stroke-width: 1; }
#pulse-ticks line.q { stroke: var(--lime); stroke-width: 1.6; }
.pulse-core { transform-origin: 100px 100px; }
body:not(.is-playing) .pulse-core { animation: breathe 1.071s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.05); } }
.pulse-caption { font-size: .56rem; color: color-mix(in srgb, var(--bone) 48%, transparent); text-align: center; }
.method-cards { display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.method-card { background: var(--bone-hi); padding: clamp(1.3rem, 2.6vw, 2rem); }
.method-card h3 { font-size: 1.5rem; display: flex; gap: .8rem; align-items: baseline; margin-bottom: .7rem; }
.card-no { font-size: .62rem; color: var(--ink-dim); }
.method-card p { color: #3D3931; font-size: .96rem; max-width: 62ch; }
.footnote { margin-top: 1rem; padding-top: .7rem; border-top: 1px dashed var(--hairline); font-size: .62rem !important; letter-spacing: .04em; line-height: 1.7; color: var(--ink-dim) !important; font-weight: 400; }

/* ---------- 03 · uses ---------- */
.uses { padding-top: 0; }
.uses-grid {
  list-style: none; padding: 0; margin: clamp(1.6rem, 4vh, 2.4rem) 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--hairline); border: 1px solid var(--hairline);
}
.use { background: var(--bone); padding: clamp(1.2rem, 2.4vw, 1.8rem); }
.use-no { display: block; font-size: .6rem; color: var(--ink-dim); margin-bottom: 1.6rem; }
.use h3 { font-size: 1.45rem; margin-bottom: .45rem; }
.use p { font-size: .92rem; color: #3D3931; max-width: 40ch; }

/* ---------- 04 · triptych movements ---------- */
.triptych { padding-bottom: 0; }
.movement {
  --k: var(--graphite); --k-deep: var(--graphite);
  margin-top: clamp(2.6rem, 6vh, 4rem);
  background: color-mix(in srgb, var(--k) 6%, var(--bone));
  border-top: 1px solid color-mix(in srgb, var(--k) 35%, transparent);
  padding-block: clamp(2.8rem, 7vh, 5rem);
  scroll-margin-top: 4rem;
  transition: background .8s ease;
}
.mv-island { --k: var(--island); --k-deep: var(--island-deep); }
.mv-bluff  { --k: var(--bluff);  --k-deep: var(--bluff-deep); }
.mv-creek  { --k: var(--creek);  --k-deep: var(--creek-deep); }
body.is-playing.key-island .mv-island,
body.is-playing.key-bluff .mv-bluff,
body.is-playing.key-creek .mv-creek { background: color-mix(in srgb, var(--k) 12%, var(--bone)); }

.mv-head {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: clamp(1.2rem, 3vw, 2.6rem); align-items: end;
  margin-bottom: clamp(1.8rem, 4vh, 2.8rem);
}
.mv-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(5rem, 11vw, 9.5rem); line-height: .8;
  color: color-mix(in srgb, var(--k) 42%, var(--bone));
  transition: color .8s ease;
}
body.is-playing.key-island .mv-island .mv-num,
body.is-playing.key-bluff .mv-bluff .mv-num,
body.is-playing.key-creek .mv-creek .mv-num { color: var(--k); }
.mv-designer { font-size: .66rem; color: var(--k-deep); }
.mv-id h3 { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--charcoal); margin-top: .3rem; }
.mv-thesis { margin-top: .7rem; max-width: 52ch; color: #3D3931; font-size: .98rem; }

.mv-play {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-mono); font-weight: 500; letter-spacing: .12em;
  font-size: .72rem; text-transform: uppercase;
  color: var(--k-deep); background: transparent;
  border: 1.5px solid var(--k-deep); border-radius: 999px;
  padding: .78rem 1.5rem; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.mv-play:hover { background: var(--k-deep); color: var(--bone); }
.mv-play.is-live { background: var(--graphite); border-color: var(--graphite); color: var(--lime); }
.mv-play-icon { display: inline-grid; place-items: center; }
.mv-play-icon svg { width: 15px; height: 15px; }
.mv-play-eq { display: none; align-items: flex-end; gap: 2.5px; height: 13px; }
.mv-play-eq i { width: 3px; background: var(--lime); animation: mv-eq 1.071s ease-in-out infinite; }
.mv-play-eq i:nth-child(2) { animation-delay: .27s; }
.mv-play-eq i:nth-child(3) { animation-delay: .54s; }
@keyframes mv-eq { 0%, 100% { height: 4px; } 50% { height: 13px; } }
.mv-play.is-live .mv-play-eq { display: inline-flex; }
.mv-play.is-live .mv-play-icon { display: none; }

.mv-body { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: stretch; }
.mv-art {
  background: var(--bone-hi);
  border: 1px solid color-mix(in srgb, var(--k) 28%, var(--ash));
  padding: clamp(.6rem, 1.4vw, 1.2rem);
}
.mv-art svg { display: block; width: 100%; height: auto; }

/* SVG grammar */
.svg-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; fill: var(--ink-dim); font-weight: 500; }
.svg-stat { font-family: var(--font-mono); font-size: 13.5px; letter-spacing: .1em; fill: var(--k-deep); font-weight: 500; }
.svg-label-oak { fill: var(--orange-deep); }
.svg-label-lake { fill: var(--k-deep); }
.k1 { stroke: var(--k); stroke-width: 2.4; opacity: .8; stroke-linecap: round; }
.k2 { stroke: var(--k); stroke-width: 1.6; opacity: .5; stroke-linecap: round; }
.k3 { stroke: var(--k); stroke-width: 1.1; opacity: .3; stroke-linecap: round; }
.k-dash { stroke: var(--k-deep); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .75; }
.k-shot { stroke: var(--graphite); }
.k-target { fill: var(--lime); stroke: var(--graphite); stroke-width: 1.5; }
.oak path { stroke: var(--orange); stroke-width: 3.5; stroke-linecap: round; }
.k-island-shape { fill: color-mix(in srgb, var(--k) 9%, transparent); stroke: var(--k-deep); stroke-width: 1.6; }
.k-holes circle { fill: var(--bone-hi); stroke: var(--k-deep); stroke-width: 2; }
.k-bunkers path { fill: color-mix(in srgb, var(--k) 20%, var(--bone-hi)); stroke: var(--k-deep); stroke-width: 1; opacity: .9; }
.k-fairway { stroke: var(--k); stroke-width: 3; opacity: .85; stroke-linecap: round; }
.k-meander { stroke: var(--k); stroke-width: 3; opacity: .9; stroke-linecap: round; }
.k-lake { fill: color-mix(in srgb, var(--k) 15%, transparent); stroke: var(--k-deep); stroke-width: 1.6; }
#ridges path { stroke: var(--k-deep); stroke-width: 1.2; fill: none; opacity: .5; }
#pines line { stroke: var(--k); }
#marsh path { stroke: var(--k-deep); stroke-width: 1.3; fill: none; opacity: .55; stroke-linecap: round; }
#stipple circle { fill: var(--k); }

/* draw-on reveal (pathLength=1 on .draw elements) */
.mv-art svg .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.mv-art.in svg .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.4, 0, .2, 1) .1s; }
.k-island-shape.draw, .k-lake.draw { fill-opacity: 0; }
.mv-art.in svg .k-island-shape.draw, .mv-art.in svg .k-lake.draw { fill-opacity: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.4, 0, .2, 1) .1s, fill-opacity 1s ease 1.2s; }

/* live-key motion: rivers/creek flow with lime signal, pines & canopy breathe */
.flow { stroke: var(--lime); stroke-width: 1.7; stroke-dasharray: 4 18; stroke-linecap: round; opacity: 0; }
body.is-playing.key-island .mv-island .flow,
body.is-playing.key-creek .mv-creek .flow { opacity: .95; animation: flow-move 4.286s linear infinite; }
@keyframes flow-move { to { stroke-dashoffset: -176; } }
body.is-playing.key-bluff #pines { animation: grove-breathe 2.143s ease-in-out infinite; }
body.is-playing.key-creek #stipple { animation: grove-breathe 2.143s ease-in-out infinite; }
@keyframes grove-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

.mv-facts { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.mv-facts li { position: relative; padding-left: 1.4rem; font-size: .94rem; color: #33302A; max-width: 52ch; }
.mv-facts li::before { content: ''; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--k-deep); }
.mv-facts .mv-anthem { margin-top: auto; padding-top: 1rem; border-top: 1px solid color-mix(in srgb, var(--k) 30%, transparent); font-size: .6rem; color: var(--k-deep); }
.mv-facts .mv-anthem::before { display: none; }

/* club record */
.club-record { padding-block: clamp(3rem, 7vh, 5rem); }
.cr-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); display: flex; gap: .9rem; align-items: baseline; margin-bottom: 1.6rem; }
.cr-no { font-size: .66rem; color: var(--ink-dim); }
.cr-grid { border-top: 1px solid var(--hairline); }
.cr-row { display: grid; grid-template-columns: minmax(190px, 280px) 1fr; gap: 1rem 2rem; padding: .85rem 0; border-bottom: 1px solid var(--hairline); }
.cr-row dt { font-size: .64rem; color: var(--ink-dim); padding-top: .25em; }
.cr-row dd { margin: 0; font-size: .96rem; }
.anwa { margin-top: 2rem; border-left: 3px solid var(--lime); background: var(--bone-hi); padding: 1.4rem clamp(1.2rem, 3vw, 2rem); max-width: 76ch; }
.anwa-kicker { display: block; font-size: .64rem; color: var(--ink-dim); margin-bottom: .6rem; }
.anwa p:last-child { font-size: .96rem; }

/* ---------- 05 · related ---------- */
.related { border-top: 1px solid var(--hairline); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); margin-top: clamp(1.6rem, 4vh, 2.4rem); }
.rel-card {
  position: relative; background: var(--bone); text-decoration: none;
  padding: clamp(1.4rem, 2.8vw, 2.2rem); min-height: 190px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem;
  transition: background .25s ease;
}
.rel-card:hover { background: var(--bone-hi); }
.rel-no { position: absolute; top: 1.2rem; left: 1.4rem; font-size: .6rem; color: var(--ink-dim); }
.rel-card h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); color: var(--charcoal); }
.rel-card p { font-size: .62rem; color: var(--ink-dim); }
.rel-arrow { position: absolute; top: 1.05rem; right: 1.4rem; font-size: 1.1rem; color: var(--ink-dim); transition: transform .25s ease, color .25s ease; }
.rel-card:hover .rel-arrow { transform: translateX(5px); color: var(--ink); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--hairline); padding-block: clamp(2.4rem, 5vh, 3.6rem); }
.footer .stripe { margin-bottom: 2.2rem; height: 16px; }
.footer-cols { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-end; }
.footer-line { margin-top: 1rem; font-variation-settings: 'wght' 560; }
.footer-sub { font-size: .6rem; color: var(--ink-dim); margin-top: .4rem; }
.footer-links { display: grid; gap: .8rem; font-size: .64rem; justify-items: end; }
.footer-links a { text-decoration: none; color: var(--ink-dim); border-bottom: 1px solid var(--hairline); padding-bottom: .15em; }
.footer-links a:hover { color: var(--ink); border-color: var(--lime); }
@media (max-width: 700px) { .footer-links { justify-items: start; } }

/* ---------- reveals ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .system-grid { grid-template-columns: 1fr; }
  .mv-body { grid-template-columns: 1fr; }
  .mv-facts { max-width: 640px; }
}
@media (max-width: 900px) {
  .uses-grid { grid-template-columns: 1fr 1fr; }
  .mv-head { grid-template-columns: auto 1fr; }
  .mv-play { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 760px) {
  .hero-tri { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .rel-card { min-height: 0; padding-top: 2.6rem; }
  .cr-row { grid-template-columns: 1fr; gap: .2rem; }
}
@media (max-width: 700px) {
  /* keep the diagram labels legible: the art pans inside its frame */
  .mv-art { overflow-x: auto; }
  .mv-art svg { min-width: 620px; }
}
@media (max-width: 600px) {
  .uses-grid { grid-template-columns: 1fr; }
  .masthead-nav a { font-size: .78rem; }
  .mv-num { font-size: 4rem; }
  .mv-head { align-items: start; }
}
@media (max-width: 400px) {
  .mark-word { display: none; }
}

/* ---------- reduced motion: composed, instant ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mv-art svg .draw { stroke-dashoffset: 0; transition: none; }
  .mv-art svg .k-island-shape.draw, .mv-art svg .k-lake.draw { fill-opacity: 1; transition: none; }
  body:not(.is-playing) .pulse-core { animation: none; }
  body.is-playing .key-dot { animation: none; }
  .flow { animation: none !important; }
  body.is-playing.key-bluff #pines, body.is-playing.key-creek #stipple { animation: none; }
  .mv-play-eq i { animation: none; height: 9px; }
  .masthead, .sec-rule, .movement, .mv-num, .player-shell, .key-dot, .tri-card, .tri-card::after,
  .mv-play, .rel-card, .rel-arrow, .stripe span, .reveal { transition: none; }
}
