/* MONEXUS: IMPACT SYSTEM
   Visual lock: near-black, chrome, ultraviolet. Containers are sharp; actions are pill-shaped. */
:root {
  color-scheme: dark;
  --paper: #08080c;
  --paper-2: #0d0d14;
  --paper-3: #15141e;
  --ink: #f3f1fa;
  --ink-2: #b8b3c8;
  --ink-3: #7d778c;
  --gold: #a985ff;
  --gold-2: #8b5cf6;
  --plasma: #8b5cf6;
  --plasma-2: #6c3ce4;
  --teal: #8b5cf6;
  --rule: rgba(224, 216, 255, .2);
  --rule-2: rgba(224, 216, 255, .1);
  --chrome: #d9deeb;
  --shadow: 0 28px 90px rgba(5, 4, 12, .58);
}

html {
  background: #08080c;
  scrollbar-color: #8b5cf6 #0d0d14;
}

body {
  min-width: 320px;
  background: #08080c;
  color: var(--ink);
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

a,
button,
input {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #a985ff;
  outline-offset: 4px;
}

::selection {
  background: #8b5cf6;
  color: #f3f1fa;
}

.kicker,
h1 em,
h2 em,
.lic__icon,
.wri__essay i,
.vlt__pr,
.vlt__amt {
  color: #9b73ff !important;
}

.btn--ink,
.fbtn.on,
.ebtn.on {
  border-color: #8b5cf6 !important;
  background: #8b5cf6 !important;
  color: #f7f4ff !important;
}

.lic__cta,
.vlt__tier--hot,
.vlt__tab.on {
  border-color: #8b5cf6 !important;
}

#progress {
  width: 100%;
  height: 2px;
  background: #9b73ff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: none;
  animation: document-progress linear both;
  animation-timeline: scroll(root block);
}

@keyframes document-progress {
  to { transform: scaleX(1); }
}

.boot-sequence {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #08080c;
  color: #f3f1fa;
  transition: transform 1s cubic-bezier(.8, 0, .2, 1);
}

.boot-sequence::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: url('assets/monexus-impact-field.webp') center / cover no-repeat;
  opacity: .16;
  transform: scale(1.08);
}

.boot-sequence__word {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 13vw, 12rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.085em;
  transform: translateX(-.04em);
  animation: boot-word 1.2s cubic-bezier(.16, 1, .3, 1) both;
}

.boot-sequence__line {
  position: absolute;
  left: 8vw;
  right: 8vw;
  bottom: 9vh;
  height: 1px;
  background: rgba(224, 216, 255, .16);
  overflow: hidden;
}

.boot-sequence__line span {
  display: block;
  width: 100%;
  height: 100%;
  background: #8b5cf6;
  transform: scaleX(0);
  transform-origin: left;
  animation: boot-line 1.6s cubic-bezier(.16, 1, .3, 1) forwards;
}

.boot-sequence.is-finished {
  transform: translateY(-105%);
  pointer-events: none;
}

@keyframes boot-word {
  from { opacity: 0; transform: translateY(45%) translateX(-.04em) skewY(6deg); }
  to { opacity: 1; transform: translateY(0) translateX(-.04em) skewY(0); }
}

@keyframes boot-line { to { transform: scaleX(1); } }

header#hdr {
  min-height: 72px;
  padding: .9rem 3vw;
  border-bottom: 1px solid rgba(224, 216, 255, .12);
  background: linear-gradient(180deg, rgba(8, 8, 12, .9), rgba(8, 8, 12, .42));
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  isolation: isolate;
}

header#hdr.scrolled {
  min-height: 62px;
  padding: .58rem 3vw;
  background: rgba(8, 8, 12, .88);
  border-color: rgba(224, 216, 255, .18);
}

.brand {
  position: relative;
  z-index: 203;
}

.brand__disc {
  width: 42px;
  height: 42px;
  background: conic-gradient(from 45deg, #d9deeb, #332652, #8b5cf6, #d9deeb);
  box-shadow: inset 0 0 0 1px rgba(243, 241, 250, .25), 0 8px 28px rgba(45, 20, 105, .5);
}

.brand__disc::after {
  background: #8b5cf6;
  box-shadow: 0 0 0 2px #08080c;
}

.brand__disc::before { background: #08080c; }

.brand__names b {
  font-size: 1.12rem;
  letter-spacing: -.01em;
}

.brand__names span {
  font-size: .57rem;
  letter-spacing: .3em;
  color: #9690a3;
}

.menu-toggle,
.menu-close {
  position: relative;
  z-index: 203;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  min-height: 42px;
  padding: .62rem 1.05rem;
  border: 1px solid rgba(224, 216, 255, .24);
  border-radius: 999px;
  background: rgba(20, 18, 30, .52);
  color: #f3f1fa;
  font: 650 .68rem/1 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}

.menu-toggle i {
  width: 26px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor;
  transition: transform .4s var(--ease);
}

.menu-toggle:hover,
.menu-close:hover {
  border-color: #a985ff;
  background: rgba(139, 92, 246, .15);
}

.menu-toggle:active,
.menu-close:active,
.btn:active,
.dshow__links a:active {
  transform: scale(.98);
}

#site-nav {
  position: fixed;
  inset: 0;
  height: 100dvh;
  z-index: 202;
  display: block;
  padding: 1.25rem 4vw 4vw;
  overflow-y: auto;
  background:
    radial-gradient(circle at 77% 15%, rgba(139, 92, 246, .2), transparent 26%),
    #09090e;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2rem);
  pointer-events: none;
  transition: opacity .45s var(--ease), transform .55s var(--ease), visibility .55s;
}

#site-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 54px;
  margin-bottom: clamp(2rem, 5vh, 5rem);
  color: #948da2;
  font: 600 .68rem/1 var(--font-body);
  letter-spacing: .2em;
  text-transform: uppercase;
}

.nav__head > span { display: none; }
.menu-open .menu-toggle { opacity: 0; pointer-events: none; }

.nav__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1500px;
  margin: 0 auto;
  border-top: 1px solid rgba(224, 216, 255, .18);
  border-left: 1px solid rgba(224, 216, 255, .18);
}

#site-nav .nav__grid a {
  display: flex;
  min-height: 16vh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2.2vw, 2rem);
  border-right: 1px solid rgba(224, 216, 255, .18);
  border-bottom: 1px solid rgba(224, 216, 255, .18);
  border-radius: 0;
  background: rgba(243, 241, 250, .015);
  color: #f3f1fa;
  text-decoration: none;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}

#site-nav .nav__grid a:hover,
#site-nav .nav__grid a.active {
  z-index: 1;
  background: #8b5cf6;
  color: #f7f4ff;
  transform: translate3d(0, -4px, 0);
}

#site-nav .nav__grid a span {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 3.8rem);
  font-weight: 750;
  line-height: .9;
  letter-spacing: -.055em;
}

#site-nav .nav__grid a small {
  color: currentColor;
  font-size: .64rem;
  font-weight: 550;
  letter-spacing: .16em;
  opacity: .6;
  text-transform: uppercase;
}

.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 1.4rem;
  padding: min(6rem, 12vh) 4vw 3rem;
  isolation: isolate;
  overflow: hidden;
  background: #08080c;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 12, .99) 0%, rgba(8, 8, 12, .82) 34%, rgba(8, 8, 12, .12) 70%),
    radial-gradient(circle at 72% 52%, transparent 0 12%, rgba(8, 8, 12, .2) 47%, #08080c 94%);
  pointer-events: none;
}

.hero__fallback {
  position: absolute;
  inset: -3%;
  z-index: -3;
  background: url('assets/monexus-impact-field.webp') 65% center / cover no-repeat;
  opacity: .7;
  filter: saturate(.88) contrast(1.16);
  transform: scale(1.035);
}

.hero__fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 12, .06), rgba(8, 8, 12, .86));
}

#hero-webgl {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  pointer-events: none;
}

#hero-webgl.is-ready { opacity: 1; }
#hero-webgl.is-unavailable { display: none; }
#hero-webgl canvas { width: 100%; height: 100%; display: block; }

#hero-webgl.is-hit::after {
  content: '';
  position: absolute;
  left: 68%;
  top: 50%;
  width: 10rem;
  aspect-ratio: 1;
  border: 1px solid rgba(169, 133, 255, .7);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.2);
  opacity: 0;
  animation: impact-ring .8s var(--ease) both;
}

@keyframes impact-ring {
  10% { opacity: .8; }
  to { opacity: 0; transform: translate(-50%, -50%) scale(7); }
}

.hero__left {
  grid-column: 1 / span 8;
  z-index: 3;
  max-width: 980px;
}

.hero__kicker {
  width: fit-content;
  margin: 0 0 clamp(1rem, 2.4vh, 2rem);
  color: #c7c1d5;
  font-size: .64rem;
  font-weight: 650;
  letter-spacing: .3em;
}

.hero__kicker::before {
  width: 3.5rem;
  background: #8b5cf6;
}

.hero h1 {
  max-width: 12.5ch;
  margin: 0 0 clamp(1rem, 2.4vh, 1.8rem);
  font-size: clamp(3.2rem, 7.5vw, 7.65rem);
  font-weight: 800;
  line-height: .84;
  letter-spacing: -.078em;
  text-wrap: balance;
}

.hero h1 .ln { padding-bottom: .08em; }
.hero h1 em { color: #9b73ff; font-style: italic; line-height: 1.1; }

.hero__sub {
  max-width: 43ch;
  margin: 0 0 1.7rem;
  color: #c4becf;
  font-size: clamp(.94rem, 1.2vw, 1.08rem);
  line-height: 1.55;
}

.hero__ctas { gap: .75rem; }

.btn {
  min-height: 52px;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .8rem 1.35rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  white-space: nowrap;
}

.btn i { font-size: 1rem; font-style: normal; transition: transform .3s var(--ease); }
.btn:hover i { transform: translate(3px, -3px); }

.btn--ink {
  background: #8b5cf6;
  color: #f7f4ff;
  box-shadow: inset 0 1px 0 rgba(243, 241, 250, .28), 0 18px 48px rgba(77, 35, 170, .3);
}

.btn--ink:hover { background: #9b73ff; box-shadow: inset 0 1px 0 rgba(243, 241, 250, .36), 0 22px 54px rgba(77, 35, 170, .42); }
.btn--ghost { border-color: rgba(224, 216, 255, .28); color: #f3f1fa; background: rgba(8, 8, 12, .25); }
.btn--ghost:hover { border-color: #a985ff; color: #f3f1fa; background: rgba(139, 92, 246, .12); }

.hero__portrait {
  position: absolute;
  right: 3.2vw;
  bottom: 4.5vh;
  z-index: 2;
  width: clamp(118px, 14vw, 210px);
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(224, 216, 255, .28);
  border-radius: 0;
  box-shadow: 18px 18px 0 rgba(139, 92, 246, .15), 0 28px 70px rgba(5, 4, 12, .56);
}

.hero__portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 34%, rgba(8, 8, 12, .88));
  pointer-events: none;
}

.hero__portrait img {
  filter: grayscale(.2) saturate(.82) contrast(1.16);
}

.hero__portrait figcaption {
  z-index: 2;
  padding: 2.6rem .75rem .65rem;
  background: transparent;
  color: #d3cedd;
  font-size: .55rem;
  letter-spacing: .13em;
}

.pulse-strip {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 0;
  padding: 0 4vw;
  border-top: 1px solid rgba(224, 216, 255, .16);
  border-bottom: 1px solid rgba(224, 216, 255, .16);
  background: #0b0a11;
}

.pulse-strip__lead,
.pulse-strip__stat {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem clamp(.8rem, 2vw, 1.7rem);
  border-right: 1px solid rgba(224, 216, 255, .14);
}

.pulse-strip__lead {
  padding-left: 0;
  color: #a985ff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .21em;
}

.pulse-strip__stat:last-child { border-right: 0; }
.pulse-strip__stat strong { font-family: var(--font-display); font-size: clamp(1.45rem, 2.5vw, 2.6rem); line-height: 1; letter-spacing: -.04em; }
.pulse-strip__stat > span { margin-top: .4rem; color: #8f899a; font-size: .61rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }

.marquee {
  padding: 1.25rem 0;
  background: #8b5cf6;
  border: 0;
  color: #f7f4ff;
  transform: rotate(-1.2deg) scale(1.02);
  transform-origin: center;
}

.marquee__track { gap: 2.4rem; animation-duration: 26s; }
.marquee__track span { color: #f7f4ff; font-size: clamp(1.2rem, 2vw, 2rem); font-weight: 750; font-style: normal; letter-spacing: -.035em; }
.marquee__track span b { color: rgba(247, 244, 255, .55); }

section { padding: clamp(5rem, 9vw, 9rem) 4vw; }

.sec-head {
  display: block;
  max-width: 920px;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.sec-head h2 {
  max-width: 12ch;
  color: #f3f1fa;
  font-size: clamp(2.8rem, 6.2vw, 6.6rem);
  font-weight: 780;
  line-height: .9;
  letter-spacing: -.065em;
}

.sec-head h2 em { color: #9b73ff; font-style: italic; line-height: 1.1; }
.sec-head p,
.sec-head > div > p {
  max-width: 52ch;
  margin-top: 1.2rem;
  color: #aaa4b6;
  font-size: .96rem;
  line-height: 1.6;
}

.kicker {
  color: #a985ff;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .24em;
}

.rv { transform: translateY(48px) scale(.985); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { transform: translateY(0) scale(1); }

#showcase {
  min-height: 100dvh;
  overflow: hidden;
  background: #09090e;
  color: #f3f1fa;
  isolation: isolate;
}

.showcase__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('assets/monexus-impact-field.webp') 72% center / cover no-repeat;
  opacity: .13;
  filter: grayscale(.35) contrast(1.35);
  mask-image: linear-gradient(90deg, transparent, #08080c 38%, #08080c);
}

#showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, #09090e 0 48%, rgba(9, 9, 14, .68) 72%, #09090e 100%);
}

#showcase .sec-head h2,
#theatre .sec-head h2 { color: #f3f1fa; }
#showcase .sec-head h2 em,
#theatre .sec-head h2 em { color: #9b73ff; }
#showcase .sec-head p,
#theatre .sec-head p { color: #aaa4b6; }

.dshow {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.dshow.is-built { opacity: 1; transform: translateY(0); }

.dshow__media {
  position: relative;
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform .22s ease-out;
}

.dshow__media::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 2;
  border: 1px solid rgba(169, 133, 255, .5);
  background: radial-gradient(circle at var(--pointer-x, 70%) var(--pointer-y, 25%), rgba(169, 133, 255, .18), transparent 28%);
  pointer-events: none;
}

.dshow__frame {
  border-radius: 0;
  box-shadow: 24px 24px 0 rgba(139, 92, 246, .13), 0 45px 120px rgba(4, 3, 10, .68);
}

.dshow__signal {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: -40px;
  z-index: 3;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, .35vw, 6px);
  padding: 0 1rem;
  border: 1px solid rgba(224, 216, 255, .2);
  background: rgba(10, 9, 16, .8);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(243, 241, 250, .12);
}

.dshow__signal i {
  width: 2px;
  height: var(--h);
  background: #9b73ff;
  transform-origin: center;
}

.dshow__tag {
  display: block;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #a985ff;
  font-size: .62rem;
  font-weight: 700;
}

.dshow__tag::before { display: none; }
.dshow__info h3 { max-width: 12ch; color: #f3f1fa; font-size: clamp(2.3rem, 4vw, 5rem); line-height: .92; letter-spacing: -.055em; }
.dshow__info h3 em { color: #9b73ff; }
.dshow__meta { color: #9992a7; }
.dshow__meta b { color: #c8b1ff; }
.dshow__desc { color: #beb8ca; font-size: .98rem; }
.dshow__quote { border-color: #8b5cf6; color: #e1dce9; }
.dshow__quote small { color: #8f899a; }
.dshow__links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-color: rgba(224, 216, 255, .25);
  color: #f3f1fa;
}
.dshow__links a:hover { background: #8b5cf6; border-color: #8b5cf6; }

#spotlights { background: #0d0d14; }
.spotlight-pair { grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 1px; background: rgba(224, 216, 255, .18); }
.spot {
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(139, 92, 246, .14), transparent 28%),
    #0b0b11;
  transform: perspective(1300px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform .22s ease-out, background .4s var(--ease);
}
.spot:hover { transform: perspective(1300px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); box-shadow: none; }
.spot__media { border-radius: 0; }
.spot:first-child .spot__media { aspect-ratio: 16 / 10; }
.spot:last-child .spot__media { aspect-ratio: 1 / 1; }
.spot__tag { border-radius: 0; background: rgba(8, 8, 12, .82); color: #e6dcff; }
.spot__tag--album,
.spot__tag--single { background: rgba(8, 8, 12, .82); }
.spot__body { padding: clamp(1.4rem, 3vw, 2.6rem); }
.spot__body h3 { font-size: clamp(1.35rem, 2.3vw, 2.7rem); letter-spacing: -.04em; }

#archive { background: #08080c; }
.filters { gap: .6rem; }
.fbtn,
.ebtn {
  min-height: 40px;
  border-color: rgba(224, 216, 255, .2);
  color: #a7a1b3;
}
.fbtn:hover,
.ebtn:hover { border-color: #a985ff; color: #d9cff5; }
.fbtn.on,
.ebtn.on { background: #8b5cf6; border-color: #8b5cf6; color: #f7f4ff; }
.search { min-height: 44px; border-color: rgba(224, 216, 255, .2); background: #0d0d14; }
.search input { color: #f3f1fa; }
.search input::placeholder { color: #817b8e; opacity: 1; }
.eras .lbl { color: #a985ff; }
#grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.9rem, 1.6vw, 1.7rem); }
.rel__cover { border-radius: 0; border-color: rgba(224, 216, 255, .12); box-shadow: none; }
.rel:hover .rel__cover { transform: translateY(-8px) rotateZ(-.6deg); border-color: rgba(169, 133, 255, .5); box-shadow: 0 24px 64px rgba(47, 21, 105, .38); }
.rel__badge { border-radius: 0; background: rgba(8, 8, 12, .84); color: #f3f1fa; }
.rel__badge--video,
.rel__badge--album { background: rgba(8, 8, 12, .84); }
.rel__title { color: #ded9e8; }
.nocover { background: #15141e; }
.nocover span { color: #a985ff; }

#river,
#theatre,
#story,
#work,
#vault,
#writing,
#licensing,
#deep-cuts,
#numbers,
footer {
  background-color: #0b0b11;
  color: #f3f1fa;
}

#river,
#story,
#vault,
#licensing,
#numbers { background-color: #08080c; }

.river__stage,
.river__open,
.river__nav,
.vlt__tab,
.vlt__track,
.vlt__field,
.lic__card,
.lic__paper,
.work-card,
.thesis,
.vcard,
.vid__frame,
#lb-card {
  border-radius: 0;
}

.vids { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.2rem; }
.vid { grid-column: span 4; }
.vid:nth-child(7n + 1),
.vid:nth-child(7n + 2) { grid-column: span 6; }
.vid__title { color: #e5e0ec; }
.vid__meta { color: #8f899a; }

.work-grid { gap: 1px; background: rgba(224, 216, 255, .16); }
.work-card,
.thesis {
  border-color: transparent;
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(139, 92, 246, .13), transparent 30%),
    #0d0d14;
  transform: perspective(1300px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .22s ease-out, background .35s var(--ease);
}
.work-card:hover,
.thesis:hover { transform: perspective(1300px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); }
.work-card .wk-kicker,
.thesis .sec-mark { color: #a985ff; }

.lic__card,
.lic__paper { background: #0d0d14; border-color: rgba(224, 216, 255, .16); }
.lic__card .lic__icon { color: #a985ff; }
.lic__cta { color: #c9b6fa; }
.lic__table th,
.lic__table td { border-color: rgba(224, 216, 255, .12); }

.band { background: #8b5cf6; color: #f7f4ff; }
.band__cell { border-color: rgba(247, 244, 255, .2); }
.band__l { color: rgba(247, 244, 255, .72); }

.foot__row,
.foot__fine { border-color: rgba(224, 216, 255, .14); }
.foot__giant { color: transparent; -webkit-text-stroke-color: rgba(169, 133, 255, .38); }

#organism { opacity: .58; mix-blend-mode: screen; }
.org-cursor { display: none !important; }
.org-sound {
  border-radius: 999px;
  border-color: rgba(224, 216, 255, .24);
  background: rgba(8, 8, 12, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (prefers-reduced-motion: no-preference) {
  .dshow__signal i {
    animation: waveform 1.15s cubic-bezier(.4, 0, .2, 1) infinite alternate;
    animation-delay: calc(var(--i) * -43ms);
  }

  @keyframes waveform {
    0% { transform: scaleY(.18); opacity: .4; }
    100% { transform: scaleY(1); opacity: 1; }
  }

  .hero__fallback { animation: fallback-breathe 12s ease-in-out infinite alternate; }
  @keyframes fallback-breathe { to { transform: scale(1.085) translate3d(-1.5%, 0, 0); } }
}

@media (max-width: 1100px) {
  .nav__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #site-nav .nav__grid a { min-height: 13vh; }
  .hero__left { grid-column: 1 / span 9; }
  .hero__portrait { width: clamp(105px, 15vw, 170px); }
  .pulse-strip { grid-template-columns: repeat(4, 1fr); }
  .pulse-strip__lead { grid-column: 1 / -1; min-height: 58px; border-right: 0; border-bottom: 1px solid rgba(224, 216, 255, .14); }
  #grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dshow { grid-template-columns: 1fr; }
  .dshow__info { padding-top: 2rem; max-width: 680px; }
}

@media (max-width: 760px) {
  main#top { padding-left: 0 !important; padding-right: 0 !important; }
  header#hdr,
  header#hdr.scrolled { min-height: 66px; padding: .7rem 1rem; }
  .brand__names b { font-size: .92rem; }
  .brand__names span { display: none; }
  .brand__disc { width: 34px; height: 34px; }
  .brand__disc::after { inset: 10px; }
  .brand__disc::before { inset: 15px; }
  .menu-toggle { min-height: 38px; padding: .55rem .8rem; }
  .menu-toggle i { width: 20px; }
  #site-nav {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100dvh !important;
    padding: .75rem 1rem 2rem !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    transform: translateY(-2rem) !important;
  }
  #site-nav.is-open { transform: translateY(0) !important; }
  .nav__head { margin-bottom: 1rem; }
  .nav__grid { grid-template-columns: 1fr; border-left: 0; }
  #site-nav .nav__grid a { min-height: auto; padding: 1.05rem 0; border-right: 0; }
  #site-nav .nav__grid a span { font-size: clamp(1.8rem, 9vw, 3rem); }
  #site-nav .nav__grid a small { display: none; }

  .hero {
    min-height: 100dvh;
    display: block;
    padding: 7.2rem 1rem 2rem !important;
  }
  .hero::after {
    background: linear-gradient(180deg, rgba(8, 8, 12, .74), rgba(8, 8, 12, .25) 45%, rgba(8, 8, 12, .96) 88%);
  }
  .hero__fallback { background-position: 65% center; opacity: .52; }
  .hero__left { max-width: none; }
  .hero__kicker { max-width: 30ch; font-size: .56rem; line-height: 1.6; }
  .hero h1 { max-width: 100%; font-size: clamp(2.65rem, 11.7vw, 4.8rem) !important; line-height: .86 !important; }
  .hero h1 .ln > span { white-space: nowrap; }
  .hero__sub { max-width: 30ch; font-size: .9rem; }
  .hero__ctas { width: min(100%, 360px); flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero__portrait { right: 1rem; bottom: 1.2rem; width: 94px !important; max-width: 94px; margin: 0; box-shadow: 10px 10px 0 rgba(139, 92, 246, .15); }
  .hero__portrait figcaption { display: none; }
  #hero-webgl.is-hit::after { left: 55%; }

  .pulse-strip { grid-template-columns: repeat(2, 1fr); padding: 0 1rem; }
  .pulse-strip__lead { grid-column: 1 / -1; }
  .pulse-strip__stat { min-height: 88px; padding: 1rem .25rem; }
  .pulse-strip__stat:nth-child(odd) { border-right: 0; }
  .pulse-strip__stat strong { font-size: 1.45rem; }
  .pulse-strip__stat > span { font-size: .54rem; }

  section { padding: 5rem 1rem; }
  .sec-head { margin-bottom: 2.5rem; }
  .sec-head h2 { font-size: clamp(2.8rem, 14vw, 4.8rem); }
  .sec-head p,
  .sec-head > div > p { font-size: .9rem; }
  .dshow { display: block; }
  .dshow__signal { left: 3%; right: 3%; bottom: -28px; height: 54px; }
  .dshow__info { padding-top: 4rem; }
  .dshow__info h3 { font-size: clamp(2.5rem, 12vw, 4.2rem); }
  .spotlight-pair { grid-template-columns: 1fr; }
  .spot:first-child .spot__media,
  .spot:last-child .spot__media { aspect-ratio: 16 / 11; }
  #grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem .75rem; }
  .vids { grid-template-columns: 1fr; }
  .vid,
  .vid:nth-child(7n + 1),
  .vid:nth-child(7n + 2) { grid-column: auto; }
  #organism { opacity: .36; }
}

@media (max-width: 420px) {
  .hero__portrait { opacity: .78; width: 78px !important; max-width: 78px; }
  .pulse-strip__stat strong { font-size: 1.22rem; }
  #grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .boot-sequence { display: none; }
  #hero-webgl { display: none; }
  .hero__fallback { animation: none; transform: none; }
  .marquee__track,
  .dshow__signal i,
  .brand__disc { animation: none; }
  .marquee { transform: none; }
  .rv,
  .dshow { opacity: 1; transform: none; transition: none; }
  .spot,
  .dshow__media,
  .work-card,
  .thesis { transform: none !important; transition: none; }
}

@media (prefers-reduced-transparency: reduce) {
  header#hdr,
  header#hdr.scrolled,
  .dshow__signal,
  .org-sound { background: #0d0d14; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* River v4: release cockpit. Real artwork is the interface. */
#river.river-engine {
  --river-art-color: #8b5cf6;
  --river-art-color-2: #332060;
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  padding: clamp(6rem, 8vw, 9rem) 0 4rem !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 38%, color-mix(in srgb, var(--river-art-color) 12%, transparent), transparent 36%),
    #07070b !important;
  color: #f3f1fa;
  transition: background-color .7s ease;
}

#river.river-engine::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(7, 7, 11, .96) 0 28%, rgba(7, 7, 11, .48) 58%, rgba(7, 7, 11, .9) 100%),
    radial-gradient(circle at 18% 72%, rgba(139, 92, 246, .09), transparent 30%);
}

#river-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.river__backdrop {
  position: absolute;
  z-index: 0;
  top: 2%;
  right: -6%;
  width: min(66vw, 1120px);
  height: 82%;
  overflow: hidden;
  opacity: .19;
  filter: blur(42px) saturate(1.25) contrast(1.08);
  transform: rotate(-7deg) scale(1.08);
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #050507 20%, #050507 76%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #050507 20%, #050507 76%, transparent);
}

.river__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .6s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1);
}

.river__backdrop img[src] { opacity: 1; transform: scale(1); }

.river__shell {
  position: relative;
  z-index: 2;
  width: min(100%, 1640px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 4.5rem);
}

.river__head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 3rem;
  align-items: end;
  max-width: none;
  margin: 0;
}

.river__head h2 {
  grid-column: 1;
  max-width: 900px;
  margin: 0;
  color: #f3f1fa;
  font-family: var(--font-display);
  font-size: clamp(4rem, 7.6vw, 9rem);
  font-weight: 800;
  line-height: .82;
  letter-spacing: -.075em;
}

.river__head h2 em {
  display: inline-block;
  padding-bottom: .08em;
  color: #9b73ff !important;
  font-family: inherit;
  font-style: italic;
  line-height: 1.1;
}

.river__head p {
  grid-column: 1;
  max-width: 58ch;
  margin: 1.8rem 0 0;
  color: #aaa4b4;
  font-size: clamp(.96rem, 1.25vw, 1.15rem);
  line-height: 1.65;
}

.river__range {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  min-width: 190px;
  padding: .75rem 0 1rem 1.5rem;
  border-left: 1px solid rgba(224, 216, 255, .18);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: .55rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.river__range strong {
  color: #f3f1fa;
  font-size: clamp(1.2rem, 2vw, 2rem);
  letter-spacing: -.04em;
}

.river__range span {
  color: #9b73ff;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .2em;
}

#river .river__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 8rem);
  width: 100%;
  height: auto;
  min-height: clamp(540px, 50vw, 720px);
  margin: 1.2rem 0 0;
  outline: 0;
  cursor: grab;
  touch-action: pan-y;
}

#river .river__stage::after { content: none; }
#river .river__stage.is-dragging { cursor: grabbing; }

.river__art-stack {
  --cover-rx: 0deg;
  --cover-ry: 0deg;
  position: relative;
  min-height: clamp(440px, 46vw, 680px);
  perspective: 1400px;
  transform-style: preserve-3d;
}

.river__year {
  position: absolute;
  z-index: 0;
  top: 0;
  left: -2vw;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(10rem, 21vw, 23rem);
  font-weight: 800;
  line-height: .72;
  letter-spacing: -.095em;
  -webkit-text-stroke: 1px rgba(201, 187, 238, .11);
  user-select: none;
  pointer-events: none;
  transition: opacity .35s ease, transform .65s cubic-bezier(.16, 1, .3, 1);
}

.river__hero-cover {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: min(64%, 520px);
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(230, 220, 255, .25);
  border-radius: 0;
  background: #111018;
  box-shadow: 0 45px 110px rgba(2, 2, 5, .62), 24px 24px 0 rgba(139, 92, 246, .08);
  transform: translate(-50%, -50%) rotateX(var(--cover-rx)) rotateY(var(--cover-ry));
  transform-style: preserve-3d;
  cursor: pointer;
  transition: transform .24s ease-out, border-color .3s ease, box-shadow .45s ease;
}

.river__hero-cover:hover {
  border-color: rgba(185, 154, 255, .7);
  box-shadow: 0 55px 130px rgba(2, 2, 5, .68), 30px 30px 0 rgba(139, 92, 246, .13);
}

.river__hero-cover:active { transform: translate(-50%, -50%) scale(.985) rotateX(var(--cover-rx)) rotateY(var(--cover-ry)); }

.river__hero-cover:focus-visible,
#river button:focus-visible {
  outline: 2px solid #c0a4ff;
  outline-offset: 5px;
}

.river__hero-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .48s ease, transform .85s cubic-bezier(.16, 1, .3, 1);
}

.river__hero-cover.is-loaded img { opacity: 1; transform: scale(1); }

.river__cover-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--river-art-color) 24%, #111018), #111018 62%),
    #111018;
  color: #c5b8e5;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
}

.river__hero-cover.is-loaded .river__cover-fallback { opacity: 0; }

.river__ghost {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: min(46%, 380px);
  aspect-ratio: 1;
  object-fit: cover;
  opacity: .28;
  filter: saturate(.5) brightness(.52);
  box-shadow: 0 28px 90px rgba(2, 2, 5, .6);
  transition: opacity .5s ease, transform .8s cubic-bezier(.16, 1, .3, 1), filter .5s ease;
  pointer-events: none;
}

.river__ghost--prev {
  left: 6%;
  transform: translateY(-54%) rotate(-11deg) translateZ(-80px);
}

.river__ghost--next {
  right: 3%;
  transform: translateY(-46%) rotate(12deg) translateZ(-100px);
}

.river__focus {
  position: relative;
  z-index: 5;
  max-width: 660px;
  padding: clamp(1rem, 3vw, 2.5rem) 0;
}

.river__focus-meta {
  display: flex;
  gap: .85rem;
  align-items: center;
  color: #9b73ff;
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.river__focus-meta time {
  padding-left: .85rem;
  border-left: 1px solid rgba(224, 216, 255, .2);
  color: #a8a2b1;
}

#river .river__title {
  max-width: 12ch;
  min-width: 0;
  margin: 1.2rem 0 .8rem;
  color: #f3f1fa;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 5.1vw, 6.7rem);
  font-weight: 750;
  line-height: .88;
  letter-spacing: -.065em;
}

.river__artist {
  color: #aaa4b4;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.river__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 520px;
  margin-top: clamp(2rem, 4vw, 3.2rem);
  border-top: 1px solid rgba(224, 216, 255, .18);
}

.river__facts > div {
  min-width: 0;
  padding: 1rem 1rem 0 0;
}

.river__facts > div + div {
  padding-left: 1rem;
  border-left: 1px solid rgba(224, 216, 255, .14);
}

.river__facts span {
  display: block;
  margin-bottom: .5rem;
  color: #817b8e;
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.river__facts strong {
  color: #e8e3ef;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  line-height: 1;
}

.river__wave {
  display: flex;
  align-items: center;
  gap: 3px;
  width: min(100%, 520px);
  height: 72px;
  margin: 1.5rem 0 1.2rem;
  overflow: hidden;
  opacity: .72;
}

.river__wave i {
  display: block;
  width: 2px;
  height: 100%;
  flex: 1 1 auto;
  background: #9b73ff;
  transform: scaleY(var(--h));
  transform-origin: center;
  opacity: .6;
}

.river__actions {
  display: grid;
  grid-template-columns: auto auto auto minmax(150px, 1fr);
  gap: .6rem;
  width: min(100%, 620px);
}

#river .river__nav,
#river .river__preview,
#river .river__open {
  width: auto;
  height: auto;
  min-height: 46px;
  padding: .85rem 1.1rem;
  border: 1px solid rgba(224, 216, 255, .22);
  border-radius: 999px;
  background: rgba(11, 11, 17, .72);
  color: #d7d1df;
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .22s ease, border-color .25s ease, background .25s ease, color .25s ease;
}

#river .river__nav:hover,
#river .river__preview:hover:not(:disabled) {
  border-color: #9b73ff;
  color: #f3f1fa;
  transform: translateY(-2px);
}

#river .river__open {
  border-color: #9b73ff;
  background: #8b5cf6;
  color: #f7f4ff;
  text-align: center;
}

#river .river__open:hover { background: #9b73ff; color: #08080c; transform: translateY(-2px); }
#river .river__preview:disabled { color: #66616f; cursor: not-allowed; opacity: .72; }
#river .river__nav:disabled { color: #66616f; cursor: not-allowed; opacity: .58; }
#river .river__nav:active,
#river .river__preview:active:not(:disabled),
#river .river__open:active { transform: translateY(0) scale(.98); }

.river__rail-wrap {
  position: relative;
  z-index: 6;
  padding-top: 1rem;
  border-top: 1px solid rgba(224, 216, 255, .16);
}

.river__rail-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: .9rem;
  color: #8d8797;
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.river__rail {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: clamp(.35rem, .65vw, .8rem);
  min-height: 118px;
  align-items: end;
  overflow: visible;
}

.river__rail-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(224, 216, 255, .13);
  border-radius: 0;
  background: #111018;
  opacity: .58;
  filter: saturate(.56) brightness(.72);
  transform: translateY(calc(min(abs(var(--offset)), 4) * 3px));
  cursor: pointer;
  transition: transform .44s cubic-bezier(.16, 1, .3, 1), opacity .32s ease, filter .32s ease, border-color .32s ease;
}

@supports (opacity: calc(1 - abs(1) * .1)) {
  .river__rail-item { opacity: max(.35, calc(1 - abs(var(--offset)) * .09)); }
}

.river__rail-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.river__rail-item > span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #978da7;
  font-family: var(--font-mono);
  font-size: .55rem;
  letter-spacing: .12em;
}

.river__rail-item:hover {
  z-index: 2;
  opacity: 1;
  filter: saturate(1) brightness(1);
  transform: translateY(-8px);
}

.river__rail-item:hover img { transform: scale(1.055); }

.river__rail-item.is-active {
  z-index: 3;
  border-color: #ae8cff;
  opacity: 1;
  filter: saturate(1) brightness(1);
  transform: translateY(-12px) scale(1.06);
  box-shadow: 0 18px 48px rgba(18, 8, 44, .48);
}

.river__eras {
  position: relative;
  z-index: 6;
  display: flex;
  gap: .3rem;
  padding-top: 1.6rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.river__eras::-webkit-scrollbar { display: none; }

.river__era {
  min-height: 38px;
  padding: .65rem .9rem;
  flex: 1 0 auto;
  border: 0;
  border-bottom: 1px solid rgba(224, 216, 255, .16);
  border-radius: 0;
  background: transparent;
  color: #777180;
  font-family: var(--font-mono);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
  transition: color .24s ease, border-color .24s ease, transform .24s ease;
}

.river__era:hover { color: #d9d1e7; border-color: rgba(155, 115, 255, .55); }
.river__era.is-active { color: #bda7ee; border-color: #9b73ff; transform: translateY(-3px); }

.river-engine.is-switching .river__year { opacity: .3; transform: translateX(2.5rem); }
.river-engine.is-switching .river__focus > * { animation: river-data-in .52s cubic-bezier(.16, 1, .3, 1) both; }
.river-engine.is-switching .river__focus > :nth-child(2) { animation-delay: 45ms; }
.river-engine.is-switching .river__focus > :nth-child(3) { animation-delay: 75ms; }
.river-engine.is-switching .river__focus > :nth-child(n + 4) { animation-delay: 105ms; }

@keyframes river-data-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .river-engine.is-playing .river__wave i {
    animation: river-signal .62s cubic-bezier(.5, 0, .5, 1) infinite alternate;
    animation-delay: var(--d);
    opacity: 1;
  }

  @keyframes river-signal {
    from { transform: scaleY(.12); }
    to { transform: scaleY(var(--h)); }
  }
}

@media (max-width: 1050px) {
  #river .river__stage {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    gap: 2.2rem;
  }
  .river__art-stack { min-height: 520px; }
  .river__hero-cover { width: min(70%, 440px); }
  .river__rail { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  #river.river-engine {
    min-height: 0;
    padding: 5.2rem 0 2.5rem !important;
  }
  .river__shell { padding: 0 1rem; }
  .river__head { display: block; }
  .river__head h2 { font-size: clamp(3.7rem, 15vw, 6rem); line-height: .84; }
  .river__head p { max-width: 34ch; margin-top: 1.2rem; font-size: .9rem; }
  .river__range {
    width: 100%;
    min-width: 0;
    margin-top: 1.5rem;
    padding: .9rem 0 0;
    border-top: 1px solid rgba(224, 216, 255, .18);
    border-left: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .river__range strong { font-size: 1.25rem; }
  #river .river__stage {
    display: block;
    min-height: 0;
    margin-top: 1rem;
  }
  .river__art-stack { min-height: clamp(380px, 108vw, 580px); }
  .river__year { top: 9%; left: -4%; font-size: clamp(8rem, 39vw, 14rem); }
  .river__hero-cover { width: min(74vw, 430px); }
  .river__ghost { width: min(45vw, 280px); }
  .river__ghost--prev { left: -2%; }
  .river__ghost--next { right: -4%; }
  .river__focus { max-width: none; padding: .5rem 0 2.5rem; }
  #river .river__title { max-width: 13ch; font-size: clamp(2.75rem, 11.5vw, 5rem); }
  .river__facts { max-width: none; margin-top: 2rem; }
  .river__wave { width: 100%; height: 58px; }
  .river__actions { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  #river .river__nav,
  #river .river__preview,
  #river .river__open { padding: .78rem .65rem; }
  #river .river__open { grid-column: 1 / -1; }
  .river__rail { grid-template-columns: repeat(7, minmax(0, 1fr)); min-height: 96px; }
  .river__backdrop { top: 12%; right: -35%; width: 120vw; height: 52%; opacity: .15; }
}

@media (max-width: 560px) {
  .river__art-stack { min-height: 360px; }
  .river__hero-cover { width: min(76vw, 320px); }
  .river__ghost { width: min(45vw, 200px); opacity: .2; }
  #river .river__title { font-size: clamp(2.5rem, 12.8vw, 4rem); }
  .river__facts strong { font-size: 1.4rem; }
  .river__facts > div { padding-right: .55rem; }
  .river__facts > div + div { padding-left: .55rem; }
  .river__wave { gap: 2px; height: 48px; }
  .river__rail { grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: 74px; gap: .35rem; }
  .river__rail-item.is-active { transform: translateY(-7px) scale(1.04); }
  .river__eras { padding-top: 1.2rem; }
  .river__era { padding-inline: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  .river__backdrop img,
  .river__hero-cover,
  .river__hero-cover img,
  .river__ghost,
  .river__year,
  .river__rail-item,
  .river__era,
  .river-engine.is-switching .river__focus > * {
    animation: none !important;
    transition: none !important;
  }
  .river__hero-cover { transform: translate(-50%, -50%) !important; }
  .river__wave i { animation: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .river__backdrop { display: none; }
  #river .river__nav,
  #river .river__preview { background: #0d0d14; }
}
