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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0E1630;
  color: #F2EDE4;
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  overflow-wrap: break-word;
  line-break: strict;
}

img, picture, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.32;
}
p { margin: 0; }
[hidden] { display: none !important; }

/* ============ tokens ============ */
:root {
  --ink-900: #0E1630;
  --ink-800: #17203F;
  --slate-700: #2A2F3E;
  --emerald: #2FBF8F;
  --garnet: #C0392B;
  --champagne: #E8C77B;
  --ivory: #F2EDE4;
  --moss: #7C8C63;
  --clay: #B5674A;
  --muted: #A9B2C7;

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", "Songti SC", "SimSun", Georgia, serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", "SFMono-Regular", ui-monospace, Consolas, monospace;

  --cut-poly: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --edge: 1px solid rgba(242, 237, 228, 0.12);
}

/* ============ focus ============ */
:focus-visible {
  outline: 2px solid #E8C77B;
  outline-offset: 3px;
}

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

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.shell {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--champagne);
  color: #17110A;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ============ header ============ */
.site-header {
  position: relative;
  z-index: 60;
  background:
    radial-gradient(120% 90% at 50% -30%, rgba(232, 199, 123, 0.12), transparent 62%),
    linear-gradient(180deg, #111B3C 0%, var(--ink-900) 100%);
  border-bottom: 1px solid rgba(232, 199, 123, 0.16);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--garnet) 0%, var(--clay) 20%, var(--champagne) 48%, var(--emerald) 78%, var(--moss) 100%);
  opacity: 0.78;
}

.masthead { position: relative; z-index: 1; }

.masthead__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding-block: clamp(20px, 3.4vw, 34px);
  transition: padding 0.3s var(--ease);
}

.masthead__kicker {
  justify-self: start;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand {
  justify-self: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}
.brand__mark {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--champagne), var(--emerald));
  transform: rotate(45deg);
  box-shadow: 0 0 14px rgba(232, 199, 123, 0.55);
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(225deg); }
.brand__name {
  font-family: var(--font-display);
  font-size: clamp(23px, 4.6vw, 36px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.1;
  color: var(--ivory);
  text-shadow: 0 0 26px rgba(47, 191, 143, 0.2);
  transition: font-size 0.3s var(--ease);
}
.brand__sub {
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  justify-self: end;
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ivory);
  background: rgba(42, 47, 62, 0.75);
  box-shadow: inset 0 0 0 1px rgba(242, 237, 228, 0.22);
  clip-path: var(--cut-poly);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav-toggle:hover {
  background: rgba(47, 191, 143, 0.15);
  box-shadow: inset 0 0 0 1px rgba(47, 191, 143, 0.65);
}
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease), bottom 0.25s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }
.site-header[data-open] .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { bottom: 4.5px; transform: rotate(-45deg); }

.masthead__strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 9px 0;
  border-top: 1px solid rgba(242, 237, 228, 0.1);
}

.strip-entry {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  text-decoration: none;
  background: rgba(47, 191, 143, 0.1);
  box-shadow: inset 0 0 0 1px rgba(47, 191, 143, 0.38);
  clip-path: var(--cut-poly);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.strip-entry:hover {
  background: rgba(47, 191, 143, 0.2);
  box-shadow: inset 0 0 0 1px rgba(47, 191, 143, 0.85);
}
.strip-entry__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px rgba(47, 191, 143, 0.9);
}
.strip-entry__title {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ivory);
}
.strip-entry__note {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.strip-meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.site-nav {
  border-top: 1px solid rgba(242, 237, 228, 0.1);
  border-bottom: 1px solid rgba(242, 237, 228, 0.1);
  background: linear-gradient(180deg, rgba(23, 32, 63, 0.88), rgba(14, 22, 48, 0.55));
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 2.6vw, 36px);
}
.nav-list a {
  position: relative;
  display: block;
  padding: 13px 2px;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.22s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--champagne));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease);
}
.nav-list a:hover { color: var(--ivory); }
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--champagne); }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.site-header.is-condensed .masthead__top { padding-block: 10px; }
.site-header.is-condensed .brand__name { font-size: 21px; }
.site-header.is-condensed .brand__sub,
.site-header.is-condensed .masthead__kicker { display: none; }
.site-header.is-condensed .masthead__strip { padding: 6px 0; }

@keyframes nav-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .masthead__kicker { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .site-header[data-open] .site-nav {
    display: block;
    animation: nav-in 0.3s var(--ease);
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 6px 0 10px;
  }
  .nav-list li { border-bottom: 1px solid rgba(242, 237, 228, 0.08); }
  .nav-list li:last-child { border-bottom: 0; }
  .nav-list a {
    padding: 14px 4px;
    font-size: 16px;
    letter-spacing: 0.1em;
  }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current="page"] { padding-left: 18px; }
  .nav-list a[aria-current="page"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -3.5px;
    background: var(--emerald);
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(47, 191, 143, 0.8);
  }
}

@media (max-width: 560px) {
  .strip-entry__note { display: none; }
  .strip-meta { font-size: 11px; }
}

/* ============ footer ============ */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  padding-block: clamp(32px, 5vw, 54px) 20px;
  background: linear-gradient(180deg, var(--ink-900) 0%, #0A1024 62%, #080D1C 100%);
  border-top: 1px solid rgba(232, 199, 123, 0.18);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--garnet), var(--clay) 22%, var(--champagne) 50%, var(--emerald) 78%, var(--moss));
  opacity: 0.6;
}

.footer-mark {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px dashed rgba(242, 237, 228, 0.14);
}
.footer-mark__glyph {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--champagne), var(--emerald));
  transform: rotate(45deg);
}
.footer-mark__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ivory);
}
.footer-mark__note {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px 24px;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) 1.35fr; }
}

.footer-col__title {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--champagne);
  opacity: 0.88;
}
.footer-list {
  display: grid;
  gap: 9px;
  font-size: 14px;
}
.footer-list a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.22s var(--ease), padding-left 0.22s var(--ease);
}
.footer-list a:hover {
  color: var(--champagne);
  padding-left: 4px;
}
.footer-list--plain {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.footer-list--plain .mono { color: var(--ivory); }
.footer-note {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(169, 178, 199, 0.8);
  letter-spacing: 0.04em;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(242, 237, 228, 0.1);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.footer-base p { margin: 0; }

/* ============ page shell ============ */
#main-content { display: block; }

.page-main {
  padding-top: clamp(24px, 4vw, 48px);
}

.crumbs {
  margin-bottom: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.crumbs__list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.crumbs__list li + li::before {
  content: "⁄";
  color: var(--clay);
  font-size: 14px;
  line-height: 1;
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.crumbs a:hover { color: var(--champagne); }
.crumbs li[aria-current="page"] { color: var(--ivory); }

/* ============ typography helpers ============ */
.prose {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ivory);
  max-width: 36em;
}
.prose p + p { margin-top: 1em; }
.prose h2 { font-size: clamp(20px, 3vw, 26px); margin: 1.6em 0 0.6em; }
.prose h3 { font-size: clamp(17px, 2.4vw, 20px); margin: 1.4em 0 0.5em; }
.prose ul,
.prose ol { margin: 1em 0; display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  background: var(--emerald);
  transform: rotate(45deg);
}
.lede {
  max-width: 36em;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.8;
  color: var(--muted);
}

.section-head { margin-bottom: clamp(18px, 3vw, 28px); }
.section-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--emerald);
}
.section-head__eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: var(--emerald);
}
.section-head__title { font-size: clamp(24px, 4vw, 34px); margin: 0 0 10px; }
.section-head__desc {
  margin: 0;
  max-width: 40em;
  font-size: 15px;
  color: var(--muted);
}

.trace {
  position: relative;
  height: 1px;
  margin: clamp(30px, 5vw, 52px) 0;
  background: linear-gradient(90deg, transparent, rgba(232, 199, 123, 0.45) 16%, rgba(47, 191, 143, 0.3) 66%, transparent);
}
.trace::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 12px rgba(232, 199, 123, 0.7);
}

.dot-seq { display: inline-flex; align-items: center; gap: 7px; }
.dot-seq span {
  width: 5px;
  height: 5px;
  background: var(--clay);
  transform: rotate(45deg);
  opacity: 0.6;
}
.dot-seq span:nth-child(3n) { background: var(--emerald); opacity: 1; }

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: #071410;
  background: var(--emerald);
  clip-path: var(--cut-poly);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { background: #3AD6A1; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--champagne); color: #1A1305; }
.btn--gold:hover { background: #F2D694; }
.btn--ghost {
  background: transparent;
  color: var(--ivory);
  box-shadow: inset 0 0 0 1px rgba(242, 237, 228, 0.3);
}
.btn--ghost:hover {
  background: rgba(242, 237, 228, 0.08);
  color: var(--champagne);
  box-shadow: inset 0 0 0 1px rgba(232, 199, 123, 0.6);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* ============ tags ============ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  line-height: 1.6;
  white-space: nowrap;
  color: #BCD0A4;
  background: rgba(124, 140, 99, 0.16);
  box-shadow: inset 0 0 0 1px rgba(124, 140, 99, 0.45);
}
.tag--version {
  color: var(--champagne);
  background: rgba(232, 199, 123, 0.12);
  box-shadow: inset 0 0 0 1px rgba(232, 199, 123, 0.45);
}
.tag--alert {
  color: #F0A69C;
  background: rgba(192, 57, 43, 0.18);
  box-shadow: inset 0 0 0 1px rgba(192, 57, 43, 0.55);
}
.tag--live {
  color: #82E4C4;
  background: rgba(47, 191, 143, 0.14);
  box-shadow: inset 0 0 0 1px rgba(47, 191, 143, 0.5);
}

/* ============ panels: facet cards ============ */
.plate {
  position: relative;
  padding: clamp(18px, 2.6vw, 26px);
  background: linear-gradient(158deg, #333A4C 0%, var(--slate-700) 44%, #222839 100%);
  clip-path: var(--cut-poly);
  box-shadow: inset 0 0 0 1px rgba(242, 237, 228, 0.07);
}
.plate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(152deg, rgba(232, 199, 123, 0.16), transparent 46%, rgba(47, 191, 143, 0.12));
  pointer-events: none;
}
.plate__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(242, 237, 228, 0.14);
}
.plate__title {
  font-size: clamp(18px, 2.4vw, 22px);
  margin: 0;
  flex: 1 1 auto;
}
.plate__body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ivory);
  max-width: 38em;
}

/* ============ panels: details ============ */
.panel {
  background: rgba(42, 47, 62, 0.72);
  clip-path: var(--cut-poly);
  box-shadow: inset 0 0 0 1px rgba(242, 237, 228, 0.09);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.panel + .panel { margin-top: 12px; }
.panel[open] {
  background: rgba(42, 47, 62, 0.95);
  box-shadow: inset 0 0 0 1px rgba(47, 191, 143, 0.6);
}
.panel > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--ivory);
  transition: color 0.22s var(--ease);
}
.panel > summary::-webkit-details-marker { display: none; }
.panel > summary:hover { color: var(--champagne); }
.panel__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--champagne);
  flex: 0 0 auto;
}
.panel__title { flex: 1 1 auto; }
.panel__mark {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--emerald);
  border-bottom: 2px solid var(--emerald);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.panel[open] .panel__mark { transform: rotate(225deg); }
.panel__content {
  margin: 0 18px;
  padding: 14px 0 20px;
  border-top: 1px dashed rgba(242, 237, 228, 0.12);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 40em;
}
.panel__content p + p { margin-top: 0.8em; }

/* ============ rail layout & timeline ============ */
.rail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}
@media (min-width: 960px) {
  .rail-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 44px; }
}
@media (min-width: 1200px) {
  .rail-layout { grid-template-columns: 272px minmax(0, 1fr); gap: 56px; }
}

.rail { min-width: 0; }
@media (min-width: 960px) {
  .rail { position: sticky; top: 24px; }
}

.rail-list {
  position: relative;
  display: grid;
  gap: 20px;
  padding-left: 22px;
}
.rail-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--champagne), rgba(47, 191, 143, 0.5), transparent);
}
.rail-item { position: relative; }
.rail-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 6px;
  width: 9px;
  height: 9px;
  background: var(--ink-900);
  box-shadow: inset 0 0 0 1.5px var(--champagne);
  transform: rotate(45deg);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.rail-item:hover::before,
.rail-item[data-active]::before {
  background: var(--emerald);
  box-shadow: 0 0 12px rgba(47, 191, 143, 0.8);
}
.rail-item__date {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.rail-item__label {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ivory);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.rail-item__label:hover { color: var(--champagne); }

/* ============ horizontal band ============ */
.band { position: relative; }
.band__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 199, 123, 0.42) transparent;
}
.band__track::-webkit-scrollbar { height: 6px; }
.band__track::-webkit-scrollbar-track { background: rgba(242, 237, 228, 0.06); }
.band__track::-webkit-scrollbar-thumb {
  background: rgba(232, 199, 123, 0.38);
  border-radius: 99px;
}
.band__track > * {
  flex: 0 0 82%;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .band__track > * { flex: 0 0 46%; }
}
@media (min-width: 1000px) {
  .band__track > * { flex: 0 0 31%; }
}
.band__nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}
.band__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--ivory);
  box-shadow: inset 0 0 0 1px rgba(242, 237, 228, 0.25);
  clip-path: var(--cut-poly);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.band__btn:hover {
  background: rgba(47, 191, 143, 0.16);
  color: var(--champagne);
  box-shadow: inset 0 0 0 1px rgba(47, 191, 143, 0.65);
}

/* ============ media ============ */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(90% 70% at 28% 10%, rgba(232, 199, 123, 0.2), transparent 62%),
    linear-gradient(150deg, #1B2547 0%, #0C1330 66%, #090E20 100%);
  clip-path: var(--cut-poly);
}
.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 38%, rgba(47, 191, 143, 0.14) 38%, rgba(47, 191, 143, 0.14) 47%, transparent 47%);
  mix-blend-mode: screen;
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame__caption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ============ motion ============ */
.sheen { position: relative; overflow: hidden; }
.sheen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 34%, rgba(232, 199, 123, 0.42) 50%, transparent 66%);
  transform: translateX(-120%);
}
.sheen.is-visible::before { animation: sheen-run 1.2s ease-out forwards; }

@keyframes sheen-run {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .sheen::before { display: none; }
}
