/* =========================================================================
   Audioqube — main.css
   Palette sampled from the logo (see DESIGN_NOTES.md). Motion on a 124 BPM grid.
   ========================================================================= */

@font-face {
  font-family: "Anybody";
  src: url("../fonts/anybody-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colour: logo-derived */
  --blue: #0089cf;
  --blue-hi: #1fb3ff;
  --blue-lo: #006599;
  --blue-300: #52c4ff;
  --blue-100: #d0edfb;
  --blue-800: #003652;
  --blue-900: #002233;
  --ink: #030507;
  --ink-1: #060d11;
  --ink-2: #0b161c;
  --ink-3: #0f2029;
  --line: #16303d;
  --grey-1: #d8d8d7;
  --grey-2: #bcbec0;
  --grey-3: #8e9196;
  --logo-black: #231f20;
  --wa: #25d366;

  /* type */
  --f-display: "Anybody", "Arial Black", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --t-0: clamp(1rem, 0.97rem + 0.14vw, 1.075rem);
  --t-1: clamp(1.15rem, 1.1rem + 0.25vw, 1.35rem);
  --t-2: clamp(1.4rem, 1.27rem + 0.55vw, 1.8rem);
  --t-3: clamp(1.7rem, 1.4rem + 1.3vw, 2.6rem);
  --t-4: clamp(2.2rem, 1.6rem + 2.6vw, 4.2rem);
  --t-5: clamp(2.6rem, 1.6rem + 4.4vw, 6.4rem);

  /* space */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px; --s-11: 160px;
  --gutter: clamp(16px, 4.2vw, 56px);
  --section: clamp(96px, 12vw, 176px);
  --maxw: 1400px;

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-snap: cubic-bezier(.34, 1.56, .64, 1);
  --t1: 160ms; --t2: 320ms; --t3: 640ms;
  --beat: 484ms; --bar: 1936ms;

  --nav-h: 72px;
  --chamfer: 10px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 8px); background: var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--grey-1);
  font-family: var(--f-body);
  font-size: var(--t-0);
  line-height: 1.6;
  font-stretch: 96%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--blue); color: var(--ink); }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
main, .footer { overflow-x: clip; }
.skip {
  position: fixed; left: var(--s-4); top: var(--s-4); z-index: 200;
  padding: var(--s-3) var(--s-4); background: var(--blue); color: var(--ink);
  font-weight: 700; text-decoration: none; transform: translateY(-200%);
}
.skip:focus { transform: none; }

.h2 {
  font-family: var(--f-display);
  font-weight: 850;
  font-stretch: 125%;
  font-size: var(--t-4);
  line-height: .98;
  letter-spacing: -.01em;
  color: #f1f5f7;
  text-wrap: balance;
}

/* masked line reveal: the house heading motion */
.mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.mask > span { display: block; }
.js .mask > span { transform: translate3d(0, 108%, 0); transition: transform 900ms var(--ease-out); }
.js .is-in .mask > span { transform: none; }
.js .is-in .mask:nth-child(2) > span { transition-delay: 90ms; }

/* ---------- buttons (chamfered from the hexagon's cut corner) ---------- */
.btn {
  --bg: var(--blue); --fg: var(--ink); --edge: transparent;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .9em 1.55em;
  font-family: var(--f-display); font-weight: 700; font-stretch: 112%;
  font-size: .95rem; line-height: 1.1; letter-spacing: .005em;
  color: var(--fg); text-decoration: none; white-space: nowrap;
  transition: color var(--t1) ease, filter var(--t2) ease, transform var(--t2) var(--ease-out);
}
.btn::before, .btn::after {
  content: ""; position: absolute; z-index: -1;
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}
.btn::before { inset: 0; background: var(--edge); }
.btn::after { inset: 0; background: var(--bg); transition: background var(--t1) ease; }
.btn--primary:hover { --bg: var(--blue-hi); filter: drop-shadow(0 0 18px rgba(31, 179, 255, .45)); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost { --bg: var(--ink); --fg: var(--grey-1); --edge: #2c4553; }
.btn--ghost::after { inset: 1.5px; }
.btn--ghost:hover { --edge: var(--blue-hi); --fg: #fff; --bg: #06121a; }
.btn--sm { min-height: 44px; padding: .7em 1.15em; font-size: .86rem; --chamfer: 8px; }
.btn--wide { width: 100%; }
.btn__icon { width: 20px; height: 20px; fill: currentColor; }

/* ---------- intro (first visit only) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  background: var(--ink);
  pointer-events: none;
  animation: intro-out 520ms var(--ease-io) 760ms forwards;
}
.intro__mark { width: clamp(84px, 12vw, 132px); height: auto; overflow: visible; }
.intro__hex { fill: none; stroke: var(--grey-2); stroke-width: 1.2; stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 700ms var(--ease-io) forwards; }
.intro .f { opacity: 0; transform-box: fill-box; transform-origin: center; }
.intro .f-top { fill: var(--blue-hi); animation: face-top 420ms var(--ease-out) 120ms forwards; }
.intro .f-left { fill: var(--blue); animation: face-left 420ms var(--ease-out) 210ms forwards; }
.intro .f-right { fill: var(--blue-lo); animation: face-right 420ms var(--ease-out) 300ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes face-top { from { opacity: 0; translate: 0 -40%; } to { opacity: 1; translate: 0 0; } }
@keyframes face-left { from { opacity: 0; translate: -40% 20%; } to { opacity: 1; translate: 0 0; } }
@keyframes face-right { from { opacity: 0; translate: 40% 20%; } to { opacity: 1; translate: 0 0; } }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.no-js .intro, .intro-seen .intro, .rm .intro { display: none; }

/* ---------- progress + nav ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-lo), var(--blue-hi)); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(31, 179, 255, .6); }

.nav {
  position: fixed; inset: 0 0 auto; z-index: 110;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  transition: transform 520ms var(--ease-out), background var(--t2) ease, border-color var(--t2) ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(3, 5, 7, .74); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: rgba(22, 48, 61, .7); }
.nav.is-hidden { transform: translateY(-105%); }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--grey-1); min-height: 44px; }
.nav__mark { width: 34px; height: auto; }
.nav__word { width: 122px; height: auto; color: var(--grey-1); }
.nav__links { display: none; }
.nav__actions { display: flex; align-items: center; gap: var(--s-3); }
.nav__cta { display: none; }
.nav__menu { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 4px; font-family: var(--f-display); font-weight: 700; font-stretch: 110%; font-size: .9rem; }
.nav__menu-icon { position: relative; width: 22px; height: 12px; }
.nav__menu-icon i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform var(--t2) var(--ease-out), top var(--t2) var(--ease-out); }
.nav__menu-icon i:first-child { top: 1px; }
.nav__menu-icon i:last-child { top: 9px; right: 6px; }
.nav__menu[aria-expanded="true"] .nav__menu-icon i:first-child { top: 5px; transform: rotate(45deg); }
.nav__menu[aria-expanded="true"] .nav__menu-icon i:last-child { top: 5px; right: 0; transform: rotate(-45deg); }

.sound-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 6px; font-family: var(--f-display); font-stretch: 70%; font-weight: 650; font-size: .92rem; color: var(--grey-2); }
.sound-toggle__bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.sound-toggle__bars i { width: 3px; height: 5px; background: currentColor; border-radius: 1px; transition: height var(--t2) ease; }
.sound-toggle__bars i:nth-child(2) { height: 10px; } .sound-toggle__bars i:nth-child(3) { height: 7px; } .sound-toggle__bars i:nth-child(4) { height: 12px; }
.sound-toggle[aria-pressed="true"] { color: var(--blue-hi); }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i { animation: eq var(--beat) ease-in-out infinite alternate; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(2) { animation-delay: -120ms; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(3) { animation-delay: -240ms; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(4) { animation-delay: -360ms; }
@keyframes eq { from { height: 3px; } to { height: 14px; } }
.sound-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.menu {
  position: fixed; inset: 0; z-index: 105;
  background: rgba(3, 5, 7, .97);
  padding: calc(var(--nav-h) + var(--s-6)) var(--gutter) calc(var(--s-7) + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
}
.menu__list { display: grid; gap: var(--s-2); }
.menu__list a {
  display: block; padding: var(--s-2) 0;
  font-family: var(--f-display); font-weight: 850; font-stretch: 128%; font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.02;
  text-decoration: none; color: #f1f5f7;
  opacity: 0; transform: translateY(24px);
  animation: menu-in 560ms var(--ease-out) forwards;
}
.menu__list li:nth-child(2) a { animation-delay: 40ms; }
.menu__list li:nth-child(3) a { animation-delay: 80ms; }
.menu__list li:nth-child(4) a { animation-delay: 120ms; }
.menu__list li:nth-child(5) a { animation-delay: 160ms; }
.menu__list li:nth-child(6) a { animation-delay: 200ms; }
.menu__list a:hover, .menu__list a:focus-visible { color: var(--blue-hi); }
@keyframes menu-in { to { opacity: 1; transform: none; } }
.menu__foot { display: grid; gap: var(--s-2); margin-top: var(--s-7); color: var(--grey-2); }
.menu__foot a { text-decoration: none; min-height: 44px; display: flex; align-items: center; }

@media (min-width: 600px) { .nav__cta { display: inline-flex; } }
@media (min-width: 1080px) {
  .nav__links { display: flex; gap: clamp(16px, 2vw, 32px); }
  .nav__links a { position: relative; display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--grey-2); font-weight: 550; font-size: .95rem; transition: color var(--t1); }
  .nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--blue-hi); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--t2) var(--ease-out); }
  .nav__links a:hover, .nav__links a.is-current { color: #fff; }
  .nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
  .nav__menu { display: none; }
  .sound-toggle__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(120% 70% at 50% 34%, rgba(0, 54, 82, .55), transparent 62%),
    var(--ink);
}
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.hero__glow {
  position: absolute; left: 50%; top: 31%; width: 120vmin; height: 120vmin;
  translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(31, 179, 255, .26), rgba(0, 137, 207, .08) 52%, transparent 72%);
  opacity: .7; will-change: opacity, transform;
}
.hero__hex {
  position: absolute; left: 50%; top: 30%; width: min(94vw, 58svh); height: auto;
  translate: -50% -50%;
  overflow: visible;
}
.hero__hex path { fill: none; stroke: var(--grey-3); stroke-opacity: .35; stroke-width: .5; vector-effect: non-scaling-stroke; stroke-dasharray: 2400; stroke-dashoffset: 0; }
.js:not(.intro-seen):not(.rm) .hero__hex path { stroke-dashoffset: 2400; animation: draw 1600ms var(--ease-io) 700ms forwards; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.js:not(.intro-seen):not(.rm) .hero__canvas { opacity: 0; animation: fade-in 900ms ease 700ms forwards; }
@keyframes fade-in { to { opacity: 1; } }

.hero__copy {
  align-self: end;
  padding: 0 var(--gutter) var(--s-6);
  padding-top: calc(var(--nav-h) + 50svh);
  max-width: 1100px;
}
.hero__kicker { max-width: 34ch; color: var(--grey-2); font-size: var(--t--1); line-height: 1.45; margin-bottom: var(--s-4); }
.hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 122%;
  font-size: clamp(2.85rem, 13.4vw, 9.6rem);
  line-height: .9;
  letter-spacing: -.012em;
  color: #f4f7f9;
  margin-left: -.04em;
}
.hero__title .line { display: block; clip-path: inset(-40% -20% 0 -6%); padding-bottom: .04em; }
.hero__title.is-revealed .line, .intro-seen .hero__title .line, .rm .hero__title .line { clip-path: none; }
.hero__title .line__in { display: inline-block; }
.hero__stretch { color: var(--blue-hi); text-shadow: 0 0 42px rgba(31, 179, 255, .38); }
.js:not(.intro-seen):not(.rm) .hero__title .line__in { transform: translate3d(0, 105%, 0); animation: line-up 1000ms var(--ease-out) forwards; }
.js:not(.intro-seen):not(.rm) .hero__title .line:nth-child(1) .line__in { animation-delay: 720ms; }
.js:not(.intro-seen):not(.rm) .hero__title .line:nth-child(2) .line__in { animation: line-up 1000ms var(--ease-out) 820ms forwards, stretch 1400ms var(--ease-out) 820ms backwards; }
.js.intro-seen:not(.rm) .hero__title .line__in { transform: translate3d(0, 105%, 0); animation: line-up 900ms var(--ease-out) 80ms forwards; }
.js.intro-seen:not(.rm) .hero__title .line:nth-child(2) .line__in { animation: line-up 900ms var(--ease-out) 180ms forwards, stretch 1300ms var(--ease-out) 180ms backwards; }
@keyframes line-up { to { transform: none; } }
@keyframes stretch { from { font-stretch: 50%; } to { font-stretch: 122%; } }
.hero__tag {
  margin-top: var(--s-4);
  font-family: var(--f-display); font-weight: 600; font-stretch: 112%;
  font-size: var(--t-1); color: var(--blue-300);
  min-height: 1.6em;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.hero__cta .btn { flex: 1 1 auto; }

.transport {
  position: relative; z-index: 2;
  display: flex; align-items: stretch;
  border-top: 1px solid var(--line);
  background: rgba(3, 5, 7, .5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--f-display); font-stretch: 66%; font-weight: 600; font-size: .95rem; color: var(--grey-2);
  padding-bottom: env(safe-area-inset-bottom);
}
.transport > * { display: flex; align-items: center; min-height: 56px; padding: 0 var(--s-4); border-right: 1px solid var(--line); }
.transport__play { gap: 12px; padding-left: var(--gutter); color: var(--grey-1); transition: color var(--t1); }
.transport__play:hover { color: var(--blue-hi); }
.transport__icon { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; }
.transport__icon::before { content: ""; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.transport__play[aria-pressed="true"] { color: var(--blue-hi); }
.transport__play[aria-pressed="true"] .transport__icon::before { width: 9px; height: 10px; border: 0; margin: 0; background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 6px, currentColor 6px 9px); }
.transport__bpm b { color: var(--grey-1); font-weight: 800; margin-right: .3em; }
.transport__pos { font-variant-numeric: tabular-nums; color: var(--blue-300); min-width: 4.5em; }
.transport__hint, .transport__pos { display: none; }
.transport__scroll { margin-left: auto; border-right: 0; padding-right: calc(var(--gutter) + 72px); text-decoration: none; gap: 10px; }
.transport__scroll::after { content: ""; width: 1px; height: 22px; background: linear-gradient(var(--blue-hi), transparent); animation: drip var(--bar) var(--ease-io) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (min-width: 720px) {
  .transport__pos, .transport__hint { display: flex; }
  .hero__cta .btn { flex: 0 0 auto; }
}
@media (min-width: 900px) {
  .hero__glow, .hero__hex { left: 74%; top: 51%; }
  .hero__glow { width: 100vmin; height: 100vmin; }
  .hero__hex { width: min(50vw, 80svh); }
  .hero__copy { padding-top: calc(var(--nav-h) + 8svh); padding-bottom: clamp(32px, 6svh, 72px); }
  .hero__kicker { font-size: var(--t-0); margin-bottom: var(--s-5); }
  .hero__copy { max-width: min(64vw, 1500px); }
  .hero__title { font-size: clamp(3.6rem, 6.3vw, 8.4rem); font-stretch: 132%; }
  @keyframes stretch { from { font-stretch: 50%; } to { font-stretch: 132%; } }
}

/* ---------- typewriter ---------- */
.tw__c { visibility: hidden; }
.tw__c.on { visibility: visible; }
.tw__caret {
  display: inline-block; width: .08em; min-width: 2px; height: 1em; margin-left: .04em; margin-right: -.12em;
  background: var(--blue-hi); vertical-align: -.12em;
  animation: caret 968ms steps(1) infinite;
  box-shadow: 0 0 10px var(--blue-hi);
}
.tw.is-done .tw__caret { animation: caret 968ms steps(1) 3 forwards; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- MEMBERS ---------- */
.members { position: relative; padding: var(--section) 0 calc(var(--section) * .35); overflow: clip; }
.members::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 55% at 50% 62%, rgba(0, 54, 82, .5), transparent 70%);
}
.members__head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); }
.members__title {
  font-family: var(--f-display); font-weight: 900; font-stretch: 140%;
  font-size: var(--t-5); line-height: .95; letter-spacing: -.01em; color: #f4f7f9;
}
.members__intro { color: var(--grey-2); max-width: 46ch; }
@media (min-width: 900px) {
  .members__head { grid-template-columns: 1fr auto; align-items: end; }
  .members__intro { text-align: right; max-width: 34ch; }
}

.members__stage {
  --disc: clamp(150px, 17vw, 248px);
  position: relative;
  height: calc(var(--disc) * 1.32 + 150px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.members__track { position: absolute; inset: 0; }
.member {
  position: absolute; left: 0; top: calc(var(--disc) * .16);
  width: calc(var(--disc) + 40px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  will-change: transform;
  border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
}
.member__disc { position: relative; width: var(--disc); aspect-ratio: 1; margin-bottom: var(--s-4); transition: transform 520ms var(--ease-out); }
.member__ring {
  position: absolute; inset: -9%; width: 118%; height: 118%;
  animation: spin calc(var(--bar) * 6) linear infinite;
}
.member__spin {
  position: absolute; inset: -4.5%; border-radius: 50%;
  animation: spin calc(var(--bar) * 2) linear infinite;
}
/* the arc lives on a child layer: it adds its own spin only while hovered, so speed-up never jumps */
.member__spin::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(31, 179, 255, .9) 86%, #d0edfb 88%, transparent 88.5%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  filter: drop-shadow(0 0 6px rgba(31, 179, 255, .8));
  animation: spin calc(var(--beat) * 2) linear infinite paused;
}
.member__photo { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--blue-900); box-shadow: 0 0 0 1px rgba(82, 196, 255, .22), 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 70px -10px rgba(0, 137, 207, .35); }
.member__photo picture, .member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__blur { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; filter: brightness(.8); pointer-events: none; }
.member__photo::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 50%; background: var(--ink); opacity: var(--dim, 0); transition: opacity 0s; pointer-events: none; }
.member__name { font-family: var(--f-display); font-weight: 800; font-stretch: 120%; font-size: clamp(1.05rem, .9rem + .7vw, 1.5rem); line-height: 1.15; color: #f4f7f9; }
.member__role { margin-top: 4px; font-family: var(--f-display); font-stretch: 70%; font-weight: 600; font-size: .98rem; color: var(--blue-300); }
.member__line {
  margin-top: var(--s-2); max-width: 26ch; font-size: .88rem; line-height: 1.4; color: var(--grey-2);
  opacity: 0; transform: translateY(6px); transition: opacity var(--t2) ease, transform var(--t2) var(--ease-out);
}
@keyframes spin { to { transform: rotate(360deg); } }
.member__ring, .member__spin { will-change: transform; }

/* hover: brake the deck, light the face, ring accelerates (inner layer adds speed) */
@media (hover: hover) {
  .member:hover .member__disc, .member:focus-visible .member__disc { transform: scale(1.09); }
  .member:hover .member__line, .member:focus-visible .member__line { opacity: 1; transform: none; }
  .member:hover .member__spin::before, .member:focus-visible .member__spin::before { animation-play-state: running; }
  .member:hover .member__photo, .member:focus-visible .member__photo { box-shadow: 0 0 0 1.5px rgba(82, 196, 255, .7), 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 90px -6px rgba(31, 179, 255, .6); }
}
.member:focus-visible { outline-offset: 8px; }
.member.is-front .member__line { opacity: .0; }

/* static fallback: no JS or reduced motion */
.no-js .members__stage, .rm .members__stage { height: auto; -webkit-mask-image: none; mask-image: none; }
.no-js .members__track, .rm .members__track { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-7) var(--s-6); padding: 0 var(--gutter); }
.no-js .member, .rm .member { position: static; transform: none !important; }
.no-js .member__line, .rm .member__line { opacity: 1; transform: none; }
.rm .member__ring, .rm .member__spin, .rm .member__spin::before { animation: none; }

/* ---------- STORY ---------- */
.story { position: relative; padding: var(--section) 0 0; }
.story__grid { display: grid; gap: var(--s-8); }
.story__title { font-family: var(--f-display); font-weight: 900; font-stretch: 130%; font-size: var(--t-4); line-height: .95; color: #f4f7f9; }
.story__count { display: flex; align-items: flex-end; gap: var(--s-4); margin-top: var(--s-6); }
.story__num {
  font-family: var(--f-display); font-weight: 900; font-stretch: 58%;
  font-size: clamp(6rem, 4rem + 9vw, 12rem); line-height: .8;
  color: var(--blue-hi); text-shadow: 0 0 60px rgba(31, 179, 255, .35);
  font-variant-numeric: tabular-nums;
}
.story__unit { max-width: 17ch; color: var(--grey-2); font-size: var(--t--1); line-height: 1.4; padding-bottom: .5em; }
.story__statement {
  font-family: var(--f-display); font-weight: 650; font-stretch: 100%;
  font-size: var(--t-3); line-height: 1.18; color: #f1f5f7;
  max-width: 28ch;
}
.js .story__statement .w { opacity: .4; transition: opacity 300ms linear; }
.js .story__statement .w.on { opacity: 1; }
.rm .story__statement .w { opacity: 1 !important; }
.story__vm { display: grid; gap: var(--s-7); margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.vm__h { font-family: var(--f-display); font-stretch: 70%; font-weight: 700; font-size: 1.1rem; color: var(--blue-300); margin-bottom: var(--s-3); }
.vm__p { font-size: var(--t-1); line-height: 1.45; color: var(--grey-1); max-width: 36ch; }
.vm__list { display: grid; gap: var(--s-3); }
.vm__list li { position: relative; padding-left: 26px; color: var(--grey-2); max-width: 52ch; }
.vm__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 7px; background: linear-gradient(var(--blue-hi), var(--blue-hi)) 0 0 / 100% 2px no-repeat, linear-gradient(var(--blue), var(--blue)) 0 5px / 70% 2px no-repeat; }
.story__sign { position: relative; margin: var(--section) auto 0; width: min(100%, 1240px); }
.story__sign picture, .story__sign img { width: 100%; height: clamp(240px, 40vw, 600px); object-fit: cover; }
.story__sign::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--ink), transparent 30%, transparent 70%, var(--ink)), linear-gradient(90deg, var(--ink), transparent 18%, transparent 82%, var(--ink)); pointer-events: none; }
@media (min-width: 960px) {
  .story__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .story__side { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
  .story__vm { grid-template-columns: 1fr 1.4fr; }
}

/* ---------- COURSES ---------- */
.courses { padding: var(--section) 0; position: relative; }
.courses__head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); }
.courses__intro { color: var(--grey-2); max-width: 44ch; }
@media (min-width: 900px) { .courses__head { grid-template-columns: 1fr auto; align-items: end; } .courses__intro { max-width: 36ch; } }

.channels { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-bottom: var(--s-8); background: var(--ink-1); }
.channel {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  min-height: 64px; padding: var(--s-3) var(--s-4); text-align: left;
  border-right: 1px solid var(--line);
  transition: background var(--t2) ease, color var(--t2) ease;
  color: var(--grey-3);
}
.channel:last-child { border-right: 0; }
.channel__led { grid-row: 1 / 3; width: 9px; height: 9px; border-radius: 50%; background: #18303c; box-shadow: inset 0 0 0 1px #24414f; transition: background var(--t1), box-shadow var(--t2); }
.channel__ch { font-family: var(--f-display); font-stretch: 62%; font-weight: 600; font-size: .78rem; color: var(--grey-3); }
.channel__name { font-family: var(--f-display); font-weight: 800; font-stretch: 105%; font-size: clamp(.9rem, .8rem + .5vw, 1.3rem); line-height: 1.1; color: var(--grey-2); }
.channel:hover .channel__name { color: #fff; }
.channel[aria-selected="true"] { background: linear-gradient(180deg, rgba(0, 54, 82, .65), rgba(0, 34, 51, .2)); }
.channel[aria-selected="true"] .channel__name { color: #fff; }
.channel[aria-selected="true"] .channel__led { background: var(--blue-hi); box-shadow: 0 0 0 3px rgba(31, 179, 255, .18), 0 0 14px var(--blue-hi); }
.channel[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue-hi); box-shadow: 0 0 12px var(--blue-hi); }
@media (max-width: 599px) { .channel { grid-template-columns: 1fr; justify-items: start; row-gap: 4px; padding: var(--s-3); } .channel__led { grid-row: auto; } .channel__ch { display: none; } }

.course { display: grid; gap: var(--s-8); }
.course:focus-visible { outline-offset: 12px; }
.course__sleeve { position: relative; width: min(100%, 600px); margin-right: auto; }
.sleeve { position: relative; z-index: 1; width: 74%; aspect-ratio: 1; overflow: hidden; background: var(--ink-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .04); }
.sleeve picture, .sleeve img { width: 100%; height: 100%; object-fit: cover; }
.sleeve::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgba(3, 5, 7, .7)), linear-gradient(90deg, rgba(255, 255, 255, .06), transparent 3%); pointer-events: none; }
.sleeve__mark { position: absolute; z-index: 2; left: var(--s-5); bottom: var(--s-5); width: 44px; }
.sleeve__mark svg { width: 100%; height: auto; }
.vinyl {
  position: absolute; z-index: 0; top: 2.5%; left: 2.5%; width: 69%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 17%, rgba(255, 255, 255, .0) 17%),
    repeating-radial-gradient(circle, #07090b 0 1.2px, #0d1114 1.6px 2.6px),
    #090c0e;
  box-shadow: 0 0 0 1px #1d2a32, 0 0 60px -10px rgba(0, 137, 207, .35), 0 20px 50px rgba(0, 0, 0, .7);
  transform: translateX(0);
  transition: transform 900ms var(--ease-out);
}
.vinyl::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent, rgba(255, 255, 255, .07) 8%, transparent 16%, transparent 50%, rgba(255, 255, 255, .05) 58%, transparent 66%); }
.vinyl__label {
  position: absolute; inset: 33%; border-radius: 50%;
  background: radial-gradient(circle, var(--ink) 0 5%, var(--blue) 5.5% 100%);
  display: grid; place-content: center; text-align: center; gap: 2px; color: var(--ink);
  animation: spin calc(var(--bar) * 1.0) linear infinite;
  animation-play-state: paused;
}
.vinyl__label b { font-family: var(--f-display); font-weight: 850; font-stretch: 80%; font-size: clamp(.6rem, .5rem + .4vw, .85rem); line-height: 1.05; max-width: 9ch; }
.vinyl__label i { font-style: normal; font-size: .6rem; opacity: .7; }
.course.is-active .vinyl { transform: translateX(50%); transition-delay: 160ms; }
.course.is-active .vinyl__label { animation-play-state: running; }


.course__title { font-family: var(--f-display); font-weight: 900; font-stretch: 130%; font-size: var(--t-4); line-height: .95; color: #f4f7f9; margin-bottom: var(--s-5); }
.course__lede { font-size: var(--t-1); line-height: 1.5; max-width: 52ch; color: var(--grey-1); }
.course__note { margin-top: var(--s-4); color: var(--grey-2); font-size: .95rem; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: var(--s-6); border-top: 1px solid var(--line); }
.specs > div { padding: var(--s-4) var(--s-4) var(--s-4) 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--f-display); font-stretch: 66%; font-weight: 600; font-size: .9rem; color: var(--grey-3); }
.specs dd { margin-top: 2px; font-family: var(--f-display); font-weight: 700; font-stretch: 100%; font-size: 1.05rem; line-height: 1.3; color: #f1f5f7; }
.specs--row { grid-template-columns: repeat(3, 1fr); margin-top: var(--s-3); }
.tracklist__h { margin: var(--s-8) 0 var(--s-3); font-family: var(--f-display); font-stretch: 70%; font-weight: 700; font-size: 1.1rem; color: var(--blue-300); }
.tracklist { counter-reset: tr; border-top: 1px solid var(--line); margin-bottom: var(--s-7); }
.tracklist > li { counter-increment: tr; position: relative; border-bottom: 1px solid var(--line); }
.tracklist > li > b, .tracklist summary {
  display: grid; grid-template-columns: 3.2em minmax(0, 1fr); column-gap: var(--s-3); padding: var(--s-4) 0;
}
.tracklist > li { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); column-gap: var(--s-3); padding: var(--s-4) 0; }
.tracklist > li::before { content: "A" counter(tr); font-family: var(--f-display); font-stretch: 62%; font-weight: 700; font-size: .95rem; color: var(--blue-300); padding-top: .15em; font-variant-numeric: tabular-nums; }
.tracklist > li > b { display: block; padding: 0; font-family: var(--f-display); font-weight: 750; font-stretch: 104%; font-size: 1.08rem; color: #f1f5f7; }
.tracklist > li > span { grid-column: 2; color: var(--grey-2); font-size: .95rem; line-height: 1.5; }
.tracklist--expand > li { display: block; padding: 0; }
.tracklist--expand > li::before { position: absolute; left: 0; top: calc(var(--s-4) + .1em); }
.tracklist--expand details { padding-left: calc(3.2em + var(--s-3)); }
.tracklist summary { display: block; position: relative; list-style: none; padding: var(--s-4) 48px var(--s-4) 0; cursor: pointer; }
.tracklist summary::-webkit-details-marker { display: none; }
.tracklist summary b { display: block; font-family: var(--f-display); font-weight: 750; font-stretch: 104%; font-size: 1.08rem; color: #f1f5f7; }
.tracklist summary span { display: block; color: var(--grey-2); font-size: .95rem; line-height: 1.5; }
.tracklist summary::after {
  content: ""; position: absolute; right: 8px; top: calc(var(--s-4) + 2px); width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid #2c4553;
  background: linear-gradient(var(--grey-1), var(--grey-1)) center / 10px 1.5px no-repeat, linear-gradient(var(--grey-1), var(--grey-1)) center / 1.5px 10px no-repeat;
  transition: transform var(--t2) var(--ease-out), border-color var(--t1);
}
.tracklist summary:hover::after { border-color: var(--blue-hi); }
.tracklist details[open] summary::after { transform: rotate(45deg); border-color: var(--blue-hi); }
.tracklist details ul { padding: 0 0 var(--s-4); display: grid; gap: 6px; }
.tracklist details ul li { position: relative; padding-left: 18px; color: var(--grey-1); font-size: .94rem; }
.tracklist details ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1.5px; background: var(--blue-hi); }

@media (min-width: 980px) {
  .course { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 112px); align-items: start; }
  .course__sleeve { position: sticky; top: calc(var(--nav-h) + 48px); }
}
.js .course.is-active .course__body > * { animation: rise 700ms var(--ease-out) backwards; }
.js .course.is-active .course__body > :nth-child(2) { animation-delay: 60ms; }
.js .course.is-active .course__body > :nth-child(3) { animation-delay: 120ms; }
.js .course.is-active .course__body > :nth-child(n+4) { animation-delay: 180ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* crossfader */
.xfade { margin-top: var(--s-6); padding: var(--s-5); background: var(--ink-1); border: 1px solid var(--line); }
.xfade__h { color: var(--grey-2); font-size: .92rem; margin-bottom: var(--s-4); }
.xfade__track { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-4); }
.xfade__end { font-family: var(--f-display); font-weight: 800; font-stretch: 80%; color: var(--grey-3); width: 1.2em; text-align: center; }
.xfade__input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: ew-resize; margin: 0; }
.xfade__input::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #0b161c, #16303d 50%, #0b161c); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .8), 0 0 0 1px #1a3542; }
.xfade__input::-moz-range-track { height: 6px; border-radius: 3px; background: #16303d; }
.xfade__input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 40px; margin-top: -17px; border-radius: 4px;
  background: linear-gradient(90deg, transparent 13px, var(--blue-hi) 13px 17px, transparent 17px), linear-gradient(#d8d8d7, #8e9196);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .8), inset 0 1px 0 #fff;
}
.xfade__input::-moz-range-thumb { width: 30px; height: 40px; border: 0; border-radius: 4px; background: linear-gradient(90deg, transparent 13px, var(--blue-hi) 13px 17px, transparent 17px), linear-gradient(#d8d8d7, #8e9196); }
.xfade__input:focus-visible { outline: none; }
.xfade__input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--blue-hi), 0 6px 14px rgba(0, 0, 0, .8); }
.xfade__input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--blue-hi); }
.xfade__sides { display: grid; margin-top: var(--s-4); }
.side { grid-area: 1 / 1; transition: opacity 120ms linear; }
.side__name { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: 1.25rem; color: #fff; }
.side__tag { font-stretch: 66%; font-weight: 700; color: var(--blue-300); margin-right: .4em; }
@media (max-width: 520px) { .specs--row { grid-template-columns: 1fr 1fr; } }

/* ---------- STUDIOS TOUR ---------- */
.studios { position: relative; background: var(--ink-1); border-block: 1px solid var(--line); }
.studios__pin { position: relative; overflow: clip; padding: var(--section) 0 var(--s-8); }
.studios__track {
  display: flex; gap: var(--s-5); padding: 0 var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.studios__track::-webkit-scrollbar { display: none; }
.room { flex: 0 0 86vw; scroll-snap-align: center; position: relative; }
.room--intro { flex-basis: 82vw; display: flex; flex-direction: column; justify-content: center; gap: var(--s-5); padding-right: var(--s-4); }
.studios__title { font-size: var(--t-5); }
.studios__lede { color: var(--grey-2); max-width: 34ch; font-size: var(--t-1); line-height: 1.5; }
.studios__hint { font-family: var(--f-display); font-stretch: 66%; font-weight: 600; color: var(--blue-300); display: flex; align-items: center; gap: 12px; }
.studios__hint::after { content: ""; width: 48px; height: 1px; background: currentColor; }
.room__img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-2); }
.room__img picture, .room__img img { width: 100%; height: 100%; object-fit: cover; }
.room figcaption { display: grid; gap: 4px; padding-top: var(--s-4); }
.room__name { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: var(--t-2); line-height: 1; color: #f4f7f9; }
.room__cap { color: var(--grey-2); font-size: .95rem; }
.studios__meter { display: none; }

@media (min-width: 900px) {
  .js:not(.rm) .studios { height: var(--tour-h, 500vh); }
  .js:not(.rm) .studios__pin { position: sticky; top: 0; height: 100svh; padding: 0; display: flex; align-items: center; }
  .js:not(.rm) .studios__track { overflow: visible; scroll-snap-type: none; gap: clamp(32px, 4vw, 72px); align-items: center; will-change: transform; padding-right: 12vw; }
  .js:not(.rm) .room { flex: 0 0 auto; width: min(64vw, 104svh); }
  .js:not(.rm) .room--intro { width: min(40vw, 620px); padding-right: 4vw; }
  .js:not(.rm) .room__img { aspect-ratio: 3 / 2; height: min(60svh, 43vw); width: 100%; }
  .js:not(.rm) .room__img img { transform: scale(1.12) translateX(var(--px, 0)); will-change: transform; }
  .js:not(.rm) .room__img::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(3, 5, 7, .82)); pointer-events: none; }
  .js:not(.rm) .room figcaption { position: absolute; z-index: 1; left: clamp(20px, 2.4vw, 40px); bottom: clamp(18px, 2.4vw, 36px); right: 30%; padding: 0; pointer-events: none; }
  .js:not(.rm) .room__name { font-size: clamp(1.9rem, .9rem + 2.4vw, 3.6rem); line-height: .95; text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
  .js:not(.rm) .room__cap { margin-top: var(--s-2); color: var(--grey-1); }
  .js:not(.rm) .studios__meter { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 5svh, 48px); height: 1px; background: var(--line); }
  .studios__meter span { display: block; height: 100%; background: var(--blue-hi); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--blue-hi); }
  .room { flex-basis: 64vw; }
}

/* ---------- SIGNAL CHAIN ---------- */
.chain { padding: var(--section) 0; }
.chain__intro { margin-top: var(--s-4); color: var(--grey-2); max-width: 46ch; }
.chain__list { position: relative; display: grid; gap: var(--s-6); margin-top: var(--s-8); padding-left: 34px; }
.chain__list::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; background: #12303e; }
.chain__list::after {
  content: ""; position: absolute; left: 9px; top: 10px; width: 2px; height: calc(100% - 20px);
  background: linear-gradient(var(--blue-hi), var(--blue));
  transform-origin: top; transform: scaleY(var(--chain, 0));
  box-shadow: 0 0 12px var(--blue-hi);
}
.node { position: relative; }
.node__jack { position: absolute; left: -34px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 2px solid #24414f; z-index: 1; transition: border-color var(--t2), box-shadow var(--t2), background var(--t2); }
.node__jack::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #12303e; transition: background var(--t2); }
.node.is-lit .node__jack { border-color: var(--blue-hi); box-shadow: 0 0 16px rgba(31, 179, 255, .7); }
.node.is-lit .node__jack::after { background: var(--blue-hi); }
.node__h { font-family: var(--f-display); font-weight: 850; font-stretch: 120%; font-size: var(--t-2); line-height: 1.05; color: #f4f7f9; margin-bottom: var(--s-2); }
.node p { color: var(--grey-2); max-width: 36ch; }
.node--out .node__h { color: var(--blue-hi); }
@media (min-width: 1000px) {
  .chain__list { grid-template-columns: repeat(6, 1fr); gap: var(--s-5); padding: 44px 0 0; }
  .chain__list::before { left: 10px; right: 10px; top: 9px; bottom: auto; width: auto; height: 2px; }
  .chain__list::after { left: 10px; top: 9px; width: calc(100% - 20px); height: 2px; transform-origin: left; transform: scaleX(var(--chain, 0)); background: linear-gradient(90deg, var(--blue-hi), var(--blue)); }
  .node__jack { left: 0; top: -44px; }
  .node p { font-size: .95rem; }
}

/* ---------- GUESTS / MASTERCLASSES ---------- */
.guests { position: relative; padding: calc(var(--section) * .35) 0 var(--section); background: linear-gradient(var(--ink), var(--blue-900) 160%); overflow: clip; }
.marquee { overflow: hidden; margin-bottom: calc(var(--section) * .7); border-block: 1px solid var(--line); padding: var(--s-4) 0; }
.marquee__row { display: flex; width: max-content; animation: marquee calc(var(--bar) * 16) linear infinite; }
.marquee__row span {
  display: flex; align-items: center; padding-right: .9em; white-space: nowrap;
  font-family: var(--f-display); font-weight: 900; font-stretch: 150%; font-size: clamp(2.2rem, 1rem + 5vw, 5.6rem); line-height: 1.05;
  color: transparent; -webkit-text-stroke: 1px rgba(142, 145, 150, .55);
}
.marquee__row span::after { content: ""; width: .32em; height: .37em; margin-left: .9em; background: var(--blue); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.marquee__row span:nth-child(odd) { -webkit-text-stroke-color: rgba(82, 196, 255, .7); }
@keyframes marquee { to { transform: translateX(-50%); } }
.rm .marquee__row { animation: none; }

.guests__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
.guests__head { grid-column: 1 / -1; display: grid; gap: var(--s-4); margin-bottom: var(--s-6); }
.guests__head p { color: var(--grey-2); max-width: 44ch; }
.shot { position: relative; display: block; overflow: hidden; background: var(--ink-2); text-align: left; cursor: zoom-in; }
.shot picture, .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out), filter var(--t3) ease; }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(3, 5, 7, .85)); pointer-events: none; }
.shot__cap { position: absolute; z-index: 1; left: var(--s-3); right: var(--s-3); bottom: var(--s-3); font-family: var(--f-display); font-weight: 700; font-stretch: 90%; font-size: .9rem; line-height: 1.2; color: #fff; }
.shot:hover img { transform: scale(1.05); filter: brightness(1.12) contrast(1.05); }
.shot--a, .shot--g { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.shot--b, .shot--c, .shot--d, .shot--e, .shot--f { aspect-ratio: 1; }
@media (min-width: 900px) {
  .guests__grid { grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(70px, 7.4vw, 118px); gap: var(--s-4); }
  .guests__head { grid-column: 1 / 6; grid-row: 1 / 4; align-self: start; margin: 0; }
  .shot { aspect-ratio: auto !important; }
  .shot--a { grid-column: 6 / 13; grid-row: 1 / 5; }
  .shot--b { grid-column: 1 / 4; grid-row: 4 / 8; }
  .shot--c { grid-column: 4 / 8; grid-row: 5 / 8; }
  .shot--d { grid-column: 8 / 13; grid-row: 5 / 9; }
  .shot--e { grid-column: 1 / 5; grid-row: 8 / 11; }
  .shot--f { grid-column: 5 / 8; grid-row: 8 / 11; }
  .shot--g { grid-column: 8 / 13; grid-row: 9 / 12; }
  .shot__cap { font-size: 1rem; left: var(--s-4); bottom: var(--s-4); }
}

/* ---------- VOICES ---------- */
.voices { padding: var(--section) 0; }
.voices__head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); }
.voices__head p { color: var(--grey-2); max-width: 44ch; }
.voices__wall {
  display: grid; grid-auto-flow: column; grid-auto-columns: 74vw; gap: var(--s-4);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-4); scrollbar-width: none;
  width: 100%; padding-inline: var(--gutter); overscroll-behavior-x: contain;
}
.voices__wall::-webkit-scrollbar { display: none; }
.voice { scroll-snap-align: center; display: grid; gap: var(--s-4); align-content: start; }
.voice__clip { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink-2); border-radius: 18px; box-shadow: 0 0 0 1px rgba(82, 196, 255, .14); cursor: pointer; }
.voice__clip video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 900ms var(--ease-out); }
.voice__clip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(3, 5, 7, 0) 50%, rgba(3, 5, 7, .7)); }
.voice__play {
  position: absolute; z-index: 1; left: 14px; bottom: 14px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: var(--ink);
  box-shadow: 0 0 0 0 rgba(31, 179, 255, .6); transition: transform var(--t2) var(--ease-snap), background var(--t1);
}
.voice__play svg { width: 20px; height: 20px; fill: currentColor; margin-left: 3px; }
.voice__len { position: absolute; z-index: 1; right: 14px; bottom: 26px; font-family: var(--f-display); font-stretch: 66%; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.voice__clip:hover .voice__play, .voice__clip:focus-visible .voice__play { transform: scale(1.1); background: var(--blue-hi); }
.voice__clip:hover video { transform: scale(1.03); }
.voice blockquote p { font-family: var(--f-display); font-weight: 600; font-stretch: 96%; font-size: 1.05rem; line-height: 1.38; color: #eef3f6; }
.voice blockquote p::before { content: "\201C"; }
.voice blockquote p::after { content: "\201D"; }
.voice__who { margin-top: var(--s-2); font-family: var(--f-display); font-weight: 750; font-stretch: 72%; color: var(--blue-300); }
@media (min-width: 900px) {
  .voices__wall { overflow: visible; grid-auto-flow: row; grid-template-columns: 1.5fr repeat(4, 1fr); grid-auto-columns: auto; gap: clamp(16px, 2vw, 32px); padding-inline: 0; width: min(100% - 2 * var(--gutter), var(--maxw)); }
  .voice--feature { grid-row: span 1; }
  .voice:nth-child(even) { margin-top: var(--s-9); }
  .voice--feature blockquote p { font-size: var(--t-1); }
}

/* ---------- VISIT / FORM ---------- */
.visit { position: relative; padding: var(--section) 0; background: radial-gradient(80% 60% at 20% 0%, rgba(0, 54, 82, .55), transparent 70%), var(--ink); border-top: 1px solid var(--line); }
.visit__grid { display: grid; gap: var(--s-9); }
.visit__title { font-family: var(--f-display); font-weight: 900; font-stretch: 130%; font-size: clamp(2.1rem, 1.1rem + 4vw, 5.2rem); line-height: .92; letter-spacing: -.01em; color: #f4f7f9; }
.visit__title .mask:nth-child(2) > span { color: var(--blue-hi); }
.visit__lede { margin-top: var(--s-5); max-width: 40ch; font-size: var(--t-1); line-height: 1.5; color: var(--grey-1); }
.visit__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-5) var(--s-6); margin: var(--s-7) 0; }
.visit__facts dt { font-family: var(--f-display); font-stretch: 66%; font-weight: 650; color: var(--grey-3); margin-bottom: 4px; }
.visit__facts dd { color: #eef3f6; line-height: 1.5; }
.visit__facts a { text-decoration: none; border-bottom: 1px solid #2c4553; transition: border-color var(--t1), color var(--t1); }
.visit__facts a:hover { color: var(--blue-300); border-color: var(--blue-300); }
.open-now { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-family: var(--f-display); font-stretch: 70%; font-weight: 650; color: var(--grey-2); }
.open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grey-3); }
.open-now.is-open { color: var(--blue-300); }
.open-now.is-open::before { background: var(--blue-hi); box-shadow: 0 0 10px var(--blue-hi); animation: caret calc(var(--beat) * 4) ease-in-out infinite; }
.open-now:empty { display: none; }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-4); align-content: start;
  padding: clamp(20px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(11, 22, 28, .9), rgba(6, 13, 17, .9));
  border: 1px solid var(--line);
  position: relative;
}
.form::before { content: ""; position: absolute; left: -1px; top: -1px; width: 64px; height: 2px; background: var(--blue-hi); box-shadow: 0 0 14px var(--blue-hi); }
.form__title { grid-column: 1 / -1; font-family: var(--f-display); font-weight: 850; font-stretch: 120%; font-size: var(--t-2); color: #fff; }
.field { grid-column: 1 / -1; display: grid; gap: 8px; }
.field--half { grid-column: span 2; }
@media (min-width: 560px) { .field--half { grid-column: span 1; } }
.field label { font-weight: 600; font-size: .95rem; color: var(--grey-1); }
.field__opt { font-weight: 400; color: var(--grey-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  font: inherit; font-size: 1rem; color: #fff;
  background: var(--ink); border: 1px solid #22404e; border-radius: 0;
  transition: border-color var(--t1), box-shadow var(--t1);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field ::placeholder { color: #6f7378; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #33586a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-hi); box-shadow: 0 0 0 3px rgba(31, 179, 255, .25); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--grey-2); border-bottom: 2px solid var(--grey-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select option { background: var(--ink-2); }
.field.is-invalid input, .field.is-invalid select { border: 1.5px dashed var(--grey-1); }
.field__err { min-height: 0; font-size: .9rem; color: #fff; font-weight: 600; display: flex; gap: 8px; align-items: flex-start; }
.field__err:not(:empty)::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--grey-1); color: var(--ink); font-size: .75rem; font-weight: 800; margin-top: 2px; }
.form .btn--wide { grid-column: 1 / -1; margin-top: var(--s-2); min-height: 58px; font-size: 1.02rem; }
.form__status { grid-column: 1 / -1; padding: var(--s-5); border: 1px solid var(--blue); background: rgba(0, 54, 82, .35); }
.form__ok-h { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: 1.15rem; color: #fff; margin-bottom: 6px; }
.form__status p { color: var(--grey-1); }
.form__alt { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }
@media (min-width: 1000px) { .visit__grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- FOOTER ---------- */
.footer { position: relative; padding: var(--s-9) 0 calc(var(--s-6) + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--line); overflow: hidden; }
.footer__grid { display: grid; gap: var(--s-7) var(--s-6); }
.footer__logo { width: 220px; height: auto; color: var(--grey-1); }
.footer__tag { margin-top: var(--s-3); font-family: var(--f-display); font-weight: 600; font-stretch: 112%; color: var(--blue-300); }
.footer__h { font-family: var(--f-display); font-stretch: 66%; font-weight: 650; font-size: 1rem; color: var(--grey-3); margin-bottom: var(--s-2); }
.footer__col p { color: var(--grey-1); line-height: 1.6; }
.footer__col p + p { margin-top: var(--s-2); }
.footer__col a { text-decoration: none; border-bottom: 1px solid #2c4553; transition: border-color var(--t1), color var(--t1); }
.footer__col a:hover { color: var(--blue-300); border-color: var(--blue-300); }
.footer__social { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.footer__social a { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #22404e; border-radius: 50%; color: var(--grey-1); transition: color var(--t1), border-color var(--t1), background var(--t1), transform var(--t2) var(--ease-snap); }
.footer__social a:hover { color: var(--ink); background: var(--blue-hi); border-color: var(--blue-hi); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__word { margin-top: var(--s-9); padding: 0 var(--gutter); color: var(--ink-3); }
.footer__word svg { width: 100%; height: auto; }
.footer__word svg path { transition: fill 1200ms ease; }
.footer:hover .footer__word { color: #0d2533; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--grey-3); font-size: .92rem; padding-right: 84px; }
.footer__base a { color: var(--grey-2); min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer__social { grid-column: 1 / -1; } }

/* ---------- WHATSAPP (fixed bottom-right) ---------- */
.wa {
  position: fixed; z-index: 130;
  right: calc(18px + env(safe-area-inset-right));
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  transition: transform var(--t2) var(--ease-snap), opacity var(--t2) ease, visibility var(--t2);
}
.wa__glyph { width: 30px; height: 30px; fill: #fff; position: relative; z-index: 1; }
.wa__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: wa-ring calc(var(--bar) * 2) var(--ease-out) infinite; }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .7; } 45%, 100% { transform: scale(1.55); opacity: 0; } }
.wa:hover { transform: scale(1.07); }
.wa:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 50%; }
.has-dialog .wa, .menu-open .wa { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(.8); }
.rm .wa__ring { animation: none; opacity: 0; }

/* ---------- DIALOGS ---------- */
.panel {
  padding: 0; border: 0; color: var(--grey-1); background: var(--ink-1);
  max-width: min(100vw - 24px, 1080px); max-height: min(100svh - 24px, 900px);
  box-shadow: 0 0 0 1px var(--line), 0 50px 120px rgba(0, 0, 0, .9);
  overflow: auto; overscroll-behavior: contain;
}
.panel::backdrop { background: rgba(3, 5, 7, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.panel[open] { animation: panel-in 520ms var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.panel__close { position: absolute; right: 12px; top: 12px; z-index: 3; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(3, 5, 7, .7); color: #fff; border: 1px solid #22404e; transition: background var(--t1), border-color var(--t1); }
.panel__close:hover { background: var(--blue); color: var(--ink); border-color: var(--blue); }
.panel__close svg { width: 18px; height: 18px; }

.bio-panel { width: min(100vw - 24px, 1000px); }
.bio-panel__inner { display: grid; }
.bio-panel__photo { position: relative; background: var(--blue-900); aspect-ratio: 1; max-height: 46svh; overflow: hidden; }
.bio-panel__photo picture, .bio-panel__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.bio-panel__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, var(--ink-1)); }
.bio-panel__text { padding: var(--s-6) clamp(20px, 4vw, 48px) var(--s-7); }
.bio-panel__role { font-family: var(--f-display); font-stretch: 70%; font-weight: 650; color: var(--blue-300); }
.bio-panel__name { font-family: var(--f-display); font-weight: 900; font-stretch: 130%; font-size: var(--t-4); line-height: .95; color: #fff; margin: 6px 0 var(--s-5); }
.bio-panel__body p { color: var(--grey-1); line-height: 1.65; max-width: 60ch; }
.bio-panel__body p + p { margin-top: var(--s-4); }
.bio__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-5); }
.bio__tags li { padding: 6px 12px; border: 1px solid #22404e; font-family: var(--f-display); font-stretch: 80%; font-weight: 600; font-size: .88rem; color: var(--grey-1); }
.bio-panel__nav { display: flex; gap: var(--s-3); margin-top: var(--s-6); }
@media (min-width: 820px) {
  .bio-panel__inner { grid-template-columns: 5fr 6fr; }
  .bio-panel__photo { max-height: none; aspect-ratio: auto; min-height: 100%; }
  .bio-panel__photo::after { background: linear-gradient(90deg, transparent 70%, var(--ink-1)); }
  .bio-panel__text { padding: var(--s-8) var(--s-7); align-self: center; }
}

.video-panel { background: #000; width: auto; overflow: hidden; }
.video-panel__v { max-height: calc(100svh - 24px); width: auto; max-width: calc(100vw - 24px); aspect-ratio: 9 / 16; background: #000; }
.video-panel__v::cue { font-family: var(--f-body); font-size: 1rem; background: rgba(3, 5, 7, .8); color: #fff; }

.lightbox { background: var(--ink); overflow: hidden; }
.lightbox__fig img { max-width: calc(100vw - 24px); max-height: calc(100svh - 90px); width: auto; height: auto; }
.lightbox__fig figcaption { padding: var(--s-4) var(--s-5); font-family: var(--f-display); font-weight: 700; font-stretch: 100%; color: #fff; }

/* ---------- CURSOR (fine pointers only) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js:not(.rm) .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 140; pointer-events: none; }
  .cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; transform: translate3d(-200px, -200px, 0); }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--blue-hi); box-shadow: 0 0 10px var(--blue-hi); }
  .cursor__ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(82, 196, 255, .55); display: grid; place-items: center; transition: width var(--t2) var(--ease-out), height var(--t2) var(--ease-out), margin var(--t2) var(--ease-out), background var(--t2), border-color var(--t2); }
  .cursor__label { font: 700 .72rem/1 var(--f-display); font-stretch: 80%; color: var(--ink); opacity: 0; transition: opacity var(--t1); white-space: nowrap; }
  .cursor.is-media .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--blue-hi); border-color: var(--blue-hi); }
  .cursor.is-media .cursor__label { opacity: 1; }
  .cursor.is-link .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--blue-hi); }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- GRAIN ---------- */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .member__ring, .member__spin, .marquee__row, .vinyl__label, .wa__ring, .transport__scroll::after { animation: none !important; }
}
.rm .js .mask > span, .rm .mask > span { transform: none !important; }
.rm .hero__title .line__in { transform: none !important; animation: none !important; }
