/* ==========================================================================
   AETHER VYNN — main stylesheet
   Concept: "Respira". Strength (condensed, heavy) vs. fragility (light italic).
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #07060c;
  --ink-2: #0c0a15;
  --ink-3: #141022;
  --text: #ece8f6;
  --mute: #a39cbd;
  --dim: #645d7e;
  --line: rgba(236, 232, 246, 0.12);
  --line-2: rgba(236, 232, 246, 0.22);
  --violet: #8b5cff;
  --violet-2: #b79bff;
  --cyan: #5ee7ff;
  --magenta: #e163ff;
  --danger: #ff7a9a;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--violet) 55%, var(--magenta) 100%);

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: clamp(64px, 7vw, 84px);
  --section-y: clamp(96px, 13vw, 200px);
  --maxw: 1440px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.55, 1);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html.has-intro,
html.modal-open { overflow: hidden; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--ink);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em { font-style: italic; }
[hidden] { display: none !important; }
::selection { background: var(--violet); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 4px;
}

[id] { scroll-margin-top: 24px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.mono {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--ink);
  font-weight: 600;
  translate: 0 -200%;
  transition: translate 0.3s var(--ease-out);
}
.skip:focus { translate: 0 0; }

/* ==========================================================================
   Intro
   ========================================================================== */
.intro { display: none; }
.has-intro .intro {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 28px;
  background: var(--ink);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-in-out);
}
.intro.is-out { clip-path: inset(0 0 100% 0); }
.intro__mark {
  width: 64px;
  height: 64px;
  overflow: visible;
  stroke: var(--text);
  stroke-width: 2;
  stroke-linejoin: miter;
}
.intro__top, .intro__bot {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: intro-draw 0.7s var(--ease-out) forwards, intro-breathe-top 1.5s var(--ease-soft) 0.1s forwards;
}
.intro__bot { animation-name: intro-draw, intro-breathe-bot; }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-breathe-top { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; stroke: var(--cyan); } }
@keyframes intro-breathe-bot { 0%, 100% { translate: 0 0; } 50% { translate: 0 7px; stroke: var(--violet-2); } }

.intro__word {
  position: relative;
  height: 1.3em;
  width: 10ch;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--mute);
  text-align: center;
}
.intro__word span {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: intro-word 0.75s var(--ease-soft) forwards;
}
.intro__word span:last-child { animation-delay: 0.75s; }
@keyframes intro-word {
  0% { opacity: 0; translate: 0 8px; filter: blur(4px); }
  45% { opacity: 1; translate: 0 0; filter: blur(0); }
  100% { opacity: 0; translate: 0 -6px; filter: blur(3px); }
}

/* ==========================================================================
   Grain, cursor, hairline
   ========================================================================== */
.grain {
  position: fixed;
  inset: -100%;
  z-index: 95;
  pointer-events: none;
  opacity: 0.055;
  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='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); }
  80% { transform: translate(3%, 4%); }
  100% { transform: translate(0, 0); }
}

.cursor { display: none; }
.has-cursor .cursor {
  display: block;
  position: fixed;
  left: 0; top: 0;
  z-index: 130;
  pointer-events: none;
  transition: opacity 0.3s;
}
.has-cursor .cursor.is-hidden { opacity: 0; }
.cursor__dot,
.cursor__ring {
  position: fixed;
  left: 0; top: 0;
  border-radius: 50%;
  will-change: translate;
}
.cursor__dot {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--text);
  transition: opacity 0.25s, scale 0.25s;
}
.cursor__ring {
  width: 88px; height: 88px;
  margin: -44px 0 0 -44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(236, 232, 246, 0.42);
  scale: 0.42;
  transition: scale 0.45s var(--ease-out), background-color 0.35s, border-color 0.35s;
}
.cursor__label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  scale: 0.6;
  transition: opacity 0.25s, scale 0.45s var(--ease-out);
}
.cursor.is-hover .cursor__ring { scale: 0.62; border-color: var(--cyan); }
.cursor.is-hover .cursor__dot { scale: 0; }
.cursor.is-label .cursor__ring { scale: 1; background: rgba(236, 232, 246, 0.94); border-color: transparent; }
.cursor.is-label .cursor__label { opacity: 1; scale: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { scale: 0.34; }
.has-cursor,
.has-cursor a,
.has-cursor button,
.has-cursor label,
.has-cursor [data-cursor] { cursor: none; }
.has-cursor input,
.has-cursor textarea { cursor: text; }
.modal-open .cursor { display: none !important; }
.has-cursor.modal-open,
.has-cursor.modal-open * { cursor: auto; }
.has-cursor.modal-open a,
.has-cursor.modal-open button { cursor: pointer; }

.hairline {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: 2px;
  pointer-events: none;
}
.hairline span {
  display: block;
  height: 100%;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}
@media (min-width: 900px) { .hairline { display: none; } }

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: var(--h);
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: translate 0.35s var(--ease-out), color 0.4s, border-color 0.4s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--grad);
  transform: translateY(101%);
  transition: transform 0.6s var(--ease-out);
}
.btn:hover::before,
.btn:focus-visible::before { transform: translateY(0); }
.btn--light { background: var(--text); color: var(--ink); }
.btn--light:hover { color: var(--ink); }
.btn--ghost {
  border: 1px solid var(--line-2);
  color: var(--text);
  background: rgba(12, 10, 21, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { color: var(--ink); border-color: transparent; }
.btn__icon {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  margin-left: -12px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--text);
  transition: rotate 0.6s var(--ease-out);
}
.btn__icon svg { width: 14px; height: 14px; margin-left: 2px; }
.btn:hover .btn__icon { rotate: 120deg; }

/* Text roll: JS wraps [data-text] content in .roll-inner; a copy rolls in from below */
[data-text] {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.3;
  height: 1.3em;
  vertical-align: middle;
}
.roll-inner {
  position: relative;
  display: block;
  transition: translate 0.6s var(--ease-out);
}
.roll-inner::after {
  content: attr(data-roll);
  content: attr(data-roll) / "";
  position: absolute;
  left: 0; top: 100%;
  white-space: nowrap;
}
a:hover .roll-inner,
button:hover .roll-inner,
a:focus-visible .roll-inner,
button:focus-visible .roll-inner { translate: 0 -100%; }

.btn__arrow { transition: translate 0.5s var(--ease-out), rotate 0.5s var(--ease-out); }
.btn:hover .btn__arrow { translate: 3px -3px; }
.form__submit:hover .btn__arrow { translate: 5px 0; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--line-2);
  transition: border-color 0.4s, gap 0.4s var(--ease-out);
}
.link-arrow:hover { border-color: var(--cyan); gap: 16px; }
.link-arrow > span:last-child { transition: rotate 0.5s var(--ease-out), color 0.3s; }
.link-arrow:hover > span:last-child { color: var(--cyan); rotate: 45deg; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 70;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: 0 var(--gutter);
  transition: translate 0.7s var(--ease-out);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 6, 12, 0.62);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.5s;
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { translate: 0 -100%; }
.js .nav { opacity: 0; }
.is-ready .nav,
.fallback .nav { opacity: 1; transition: translate 0.7s var(--ease-out), opacity 1s 0.3s; }

.brand {
  transition: translate 0.5s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
}
.brand__mark {
  width: 30px;
  height: 30px;
  overflow: visible;
  stroke: var(--text);
  stroke-width: 2.4;
}
.brand__top, .brand__bot { transition: translate 0.6s var(--ease-out), stroke 0.4s; }
.brand:hover .brand__top { translate: 0 -3px; stroke: var(--cyan); }
.brand:hover .brand__bot { translate: 0 3px; stroke: var(--violet-2); }
.brand__name {
  font-weight: 700;
  font-stretch: 80%;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
}
.nav__links a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color 0.3s;
  padding: 8px 0;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--text); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--cyan);
  scale: 0;
  transition: scale 0.4s var(--ease-out);
}
.nav__links a.is-active::after { scale: 1; }

.social {
  display: flex;
  align-items: center;
  gap: 4px;
}
.social a {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--mute);
  transition: color 0.3s, translate 0.5s var(--ease-out);
  isolation: isolate;
}
.social a::before {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: -1;
  border-radius: 50%;
  background: var(--text);
  scale: 0;
  transition: scale 0.45s var(--ease-out);
}
.social a:hover { color: var(--ink); }
.social a:hover::before { scale: 1; }
.social svg {
  width: 17px;
  height: 17px;
  transition: rotate 0.5s var(--ease-out);
}
.social a:hover svg { rotate: -8deg; }

.nav__toggle {
  display: none;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 4px 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav__toggle-icon {
  display: grid;
  gap: 5px;
  place-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--text);
}
.nav__toggle-icon i {
  display: block;
  width: 14px; height: 1.5px;
  background: var(--ink);
  transition: translate 0.4s var(--ease-out);
}
.nav__toggle:hover .nav__toggle-icon i:first-child { translate: 2px 0; }
.nav__toggle:hover .nav__toggle-icon i:last-child { translate: -2px 0; }

@media (max-width: 899px) {
  .nav__links, .social--nav { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* Mobile menu (dialog) */
.menu {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--ink);
  color: var(--text);
}
.menu::backdrop { background: transparent; }
.menu[open] { animation: menu-in 0.8s var(--ease-in-out) both; }
.menu.is-closing { animation: menu-out 0.6s var(--ease-in-out) both; }
@keyframes menu-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes menu-out { from { clip-path: inset(0); } to { clip-path: inset(0 0 100% 0); } }
.menu__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) max(28px, env(safe-area-inset-bottom));
  background:
    radial-gradient(80% 50% at 90% 0%, rgba(139, 92, 255, 0.25), transparent 70%),
    radial-gradient(60% 40% at 0% 100%, rgba(94, 231, 255, 0.12), transparent 70%);
}
.menu__head {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu__eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.menu__close {
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.menu__close span { font-size: 18px; margin-left: 6px; }
.menu__links {
  display: flex;
  flex-direction: column;
  margin: auto 0;
  padding: 32px 0;
}
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 6px 0;
  font-size: clamp(44px, 13vw, 84px);
  font-weight: 800;
  font-stretch: 66%;
  line-height: 0.95;
  text-transform: uppercase;
  opacity: 0;
  translate: 0 40px;
}
.menu[open] .menu__links a {
  animation: menu-link 0.9s var(--ease-out) forwards;
  animation-delay: calc(0.25s + var(--i) * 0.06s);
}
@keyframes menu-link { to { opacity: 1; translate: 0 0; } }
.menu__links small {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.1em;
}
.menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.menu__mail { font-weight: 600; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding: calc(var(--nav-h) + clamp(12px, 3vh, 40px)) var(--gutter) clamp(18px, 3vh, 30px);
  overflow: hidden;
  isolation: isolate;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease;
}
.hero__canvas.is-live { opacity: 1; }
.hero__fallback {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(60% 50% at 70% 30%, rgba(139, 92, 255, 0.32), transparent 70%),
    radial-gradient(50% 40% at 20% 60%, rgba(94, 231, 255, 0.14), transparent 70%),
    radial-gradient(80% 60% at 50% 100%, rgba(225, 99, 255, 0.12), transparent 70%),
    var(--ink);
}
.hero::after {
  /* bottom fade into the page */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 22%;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--ink));
  pointer-events: none;
}

.hero__shards { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.shard {
  position: absolute;
  left: var(--x); top: var(--y);
  width: calc(46px * var(--s));
  overflow: visible;
  fill: none;
  stroke: rgba(94, 231, 255, 0.55);
  stroke-width: 1.2;
  rotate: var(--r);
  translate: calc(var(--mx, 0) * 40px * var(--s)) calc(var(--my, 0) * 30px * var(--s));
  transition: translate 1.2s var(--ease-out);
  animation: shard-float 14s var(--ease-soft) var(--d) infinite;
  filter: drop-shadow(0 0 6px rgba(94, 231, 255, 0.45));
}
@media (max-width: 719px) {
  .shard:nth-child(-n+2) { display: none; }
}
.shard:nth-child(even) { stroke: rgba(183, 155, 255, 0.55); filter: drop-shadow(0 0 6px rgba(139, 92, 255, 0.5)); }
@keyframes shard-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(14deg); }
}

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.hero__intro { max-width: 680px; }
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow i { font-style: normal; color: var(--dim); }
.hero__lede {
  margin-top: clamp(16px, 2.4vh, 28px);
  font-family: var(--f-serif);
  font-size: clamp(30px, 3.6vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  max-width: 17ch;
  text-wrap: balance;
}
.hero__lede em {
  background: linear-gradient(100deg, var(--text) 10%, var(--violet-2) 60%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3.4vh, 36px);
}

.newclip {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 10px 22px 10px 10px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(12, 10, 21, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
  transition: border-color 0.4s, background-color 0.4s, translate 0.5s var(--ease-out);
}
.newclip:hover { border-color: var(--line-2); background: rgba(20, 16, 34, 0.55); translate: 0 -3px; }
.newclip__media {
  position: relative;
  width: 132px;
  aspect-ratio: 16 / 9;
  border-radius: 9px;
  overflow: hidden;
  flex: none;
}
.newclip__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: scale 0.8s var(--ease-out);
}
.newclip:hover .newclip__media img { scale: 1.08; }
.newclip__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(7, 6, 12, 0.35);
  color: var(--text);
}
.newclip__play svg { width: 20px; height: 20px; transition: scale 0.4s var(--ease-out); }
.newclip:hover .newclip__play svg { scale: 1.25; }
.newclip__meta { display: grid; gap: 2px; }
.newclip__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}
.pulse {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  animation: pulse 2s var(--ease-out) infinite;
}
@keyframes pulse { from { scale: 0.4; opacity: 1; } to { scale: 1.8; opacity: 0; } }
.newclip__title {
  font-size: 22px;
  font-weight: 800;
  font-stretch: 72%;
  line-height: 1.05;
  text-transform: uppercase;
}
.newclip__date { font-family: var(--f-mono); font-size: 11px; color: var(--mute); letter-spacing: 0.08em; }

/* Wordmark — the breathing name */
.wordmark {
  --wm-size: 16.4vw;
  grid-row: 3;
  align-self: end;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  column-gap: 0.14em;
  margin: clamp(20px, 4vh, 48px) calc(var(--gutter) * -0.4) 0;
  font-size: var(--wm-size);
  font-weight: 760;
  font-stretch: 86%;
  line-height: 0.8;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}
.wordmark__row {
  display: flex;
  clip-path: inset(-0.3em -0.4em 0 -0.4em);
  padding-bottom: 0.02em;
}
.wordmark__row span {
  display: inline-block;
  transform: translateY(calc(var(--lift, 0) * -0.07em));
  color: var(--text);
  text-shadow: 0 0 calc(var(--lift, 0) * 40px) rgba(139, 92, 255, calc(var(--lift, 0) * 0.9));
}
.js .wordmark__row span { translate: 0 105%; }
.is-ready .wordmark__row span,
.fallback .wordmark__row span {
  translate: 0 0;
  transition: translate 1.5s var(--ease-out);
  transition-delay: calc(0.15s + var(--i, 0) * 0.055s);
}
@media (max-width: 719px) {
  .wordmark {
    --wm-size: 26vw;
    flex-direction: column;
    align-items: center;
    row-gap: 0.04em;
  }
}

.hero__bottom {
  grid-row: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: clamp(16px, 2.6vh, 28px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.breath {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--mute);
}
.breath__orb {
  position: relative;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}
.breath__orb::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--grad);
  scale: var(--breath, 0.4);
  box-shadow: 0 0 12px rgba(139, 92, 255, 0.8);
}
.breath__label { min-width: 5ch; transition: opacity 0.6s; }
.breath__label.is-swap { opacity: 0; }
.hero__note {
  max-width: 72ch;
  text-align: center;
  font-size: 14px;
  color: var(--mute);
}
.hero__note .mono {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 6px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-size: 10px;
  vertical-align: 1px;
}
.scrollcue {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color 0.3s;
}
.scrollcue:hover { color: var(--text); }
.scrollcue__line {
  position: relative;
  width: 1px;
  height: 36px;
  background: var(--line-2);
  overflow: hidden;
}
.scrollcue__line::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 40%;
  background: var(--cyan);
  animation: cue 2.2s var(--ease-in-out) infinite;
}
@keyframes cue { from { translate: 0 -100%; } to { translate: 0 260%; } }

/* Hero entrance */
.js [data-enter] { opacity: 0; translate: 0 18px; }
.is-ready [data-enter],
.fallback [data-enter] {
  opacity: 1;
  translate: 0 0;
  transition: opacity 1.2s var(--ease-out), translate 1.2s var(--ease-out);
}
.is-ready [data-enter="1"] { transition-delay: 0.35s; }
.is-ready [data-enter="2"] { transition-delay: 0.5s; }
.is-ready [data-enter="3"] { transition-delay: 0.68s; }
.is-ready [data-enter="4"] { transition-delay: 0.95s; }

@media (max-width: 899px) {
  .newclip { display: none; }
  .hero__bottom { grid-template-columns: 1fr auto; }
  .hero__note { display: none; }
}
@media (max-width: 479px) {
  .hero__ctas .btn { --h: 50px; padding: 0 20px; }
  .hero__ctas .btn--ghost { padding: 0 18px; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  position: relative;
  padding: clamp(28px, 4vw, 48px) 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink), var(--ink-2));
}
.marquee__row { display: flex; width: max-content; will-change: transform; }
.marquee__row + .marquee__row { margin-top: 6px; }
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  padding-right: clamp(18px, 2.4vw, 36px);
  font-size: clamp(34px, 5.6vw, 88px);
  line-height: 1.05;
  white-space: nowrap;
}
.marquee__track span {
  font-weight: 800;
  font-stretch: 66%;
  text-transform: uppercase;
}
.marquee__track em {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 1.06em;
  color: var(--violet-2);
}
.marquee__track i {
  font-style: normal;
  font-size: 0.4em;
  color: var(--cyan);
}
.marquee__row--alt .marquee__track span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 232, 246, 0.45);
}
.marquee__row--alt .marquee__track em { color: var(--text); }

/* ==========================================================================
   Sections — shared
   ========================================================================== */
.section {
  position: relative;
  padding-block: var(--section-y);
}
.section__head {
  margin-bottom: clamp(40px, 6vw, 88px);
}
.section__head--split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.section__meta { color: var(--mute); }
.label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--line-2);
}
.label__n { color: var(--cyan); }

.display {
  font-size: clamp(54px, 10.4vw, 176px);
  font-weight: 800;
  font-stretch: 66%;
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.display em,
.about__statement em,
.tracks__sub em {
  font-family: var(--f-serif);
  font-weight: 400;
  font-stretch: 100%;
  text-transform: none;
  letter-spacing: -0.025em;
}
.display em {
  font-size: 1.04em;
  line-height: 0.8;
}
.display em,
.display em .w__i {
  background: linear-gradient(100deg, var(--violet-2), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.display em:has(.w__i) { background: none; color: inherit; }

/* Split text */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.04em 0.08em 0.1em;
  margin: -0.04em -0.08em -0.1em;
}
.w__i {
  display: inline-block;
  transition: translate 1.2s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 45ms);
}
.js [data-split]:not(.is-in) .w__i { translate: 0 110%; }

/* Reveal primitives */
.js [data-reveal]:not(.is-in) { opacity: 0; translate: 0 32px; }
.js [data-reveal="clip"]:not(.is-in) { opacity: 1; translate: none; clip-path: inset(100% 0 0 0); }
.js [data-reveal="line"]:not(.is-in) { opacity: 0; translate: 0 20px; }
[data-reveal] {
  transition:
    opacity 1.1s var(--ease-out),
    translate 1.1s var(--ease-out),
    clip-path 1.4s var(--ease-in-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal="clip"] { clip-path: inset(0 0 0 0); }
.fallback [data-reveal],
.fallback [data-split] .w__i {
  opacity: 1 !important;
  translate: none !important;
  clip-path: none !important;
}

/* ==========================================================================
   01 — About
   ========================================================================== */
.about {
  background:
    radial-gradient(60% 40% at 100% 30%, rgba(139, 92, 255, 0.1), transparent 70%),
    var(--ink-2);
}
.about__statement {
  max-width: 22ch;
  margin-left: clamp(0px, 12vw, 220px);
  font-size: clamp(34px, 5.4vw, 92px);
  font-weight: 500;
  font-stretch: 92%;
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.about__statement em { font-size: 1.06em; letter-spacing: -0.02em; }
.scrub-w {
  opacity: var(--o, 0.16);
  transition: opacity 0.35s linear;
}
.about__statement em .scrub-w { color: var(--violet-2); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(56px, 8vw, 120px);
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; }
}

.portrait { position: relative; }
.portrait__inner {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink-3);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.8s var(--ease-out);
}
.portrait__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  scale: 1.12;
  translate: 0 var(--py, 0);
  transition: scale 1.6s var(--ease-out);
}
.portrait.is-in .portrait__inner img { scale: 1.04; }
.portrait__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7, 6, 12, 0.75), transparent 45%),
    radial-gradient(70% 50% at 20% 10%, rgba(94, 231, 255, 0.12), transparent 70%);
  pointer-events: none;
}
.portrait__neon {
  position: absolute;
  top: 12%;
  right: -10%;
  width: 55%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan));
  box-shadow: 0 0 18px 2px rgba(94, 231, 255, 0.7), 0 0 60px 8px rgba(94, 231, 255, 0.25);
  rotate: -14deg;
  animation: neon 6s steps(1) infinite;
  z-index: 1;
}
@keyframes neon {
  0%, 100% { opacity: 1; }
  41% { opacity: 1; } 42% { opacity: 0.35; } 43% { opacity: 1; } 44% { opacity: 0.5; } 45% { opacity: 1; }
}
.portrait__cap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--mute);
}

.about__copy { display: grid; gap: clamp(22px, 2.6vw, 36px); }
.about__lead {
  font-family: var(--f-serif);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.about__lead em { color: var(--violet-2); }
.about__text { max-width: 54ch; color: var(--mute); font-size: 17px; }
.about__quote {
  position: relative;
  padding-left: 22px;
  border-left: 1px solid var(--cyan);
  font-size: 19px;
  font-weight: 600;
  font-stretch: 90%;
  max-width: 34ch;
}
.about__quote span { color: var(--cyan); margin-right: 2px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  padding: 22px 16px 0 0;
}
.stat + .stat { padding-left: 16px; border-left: 1px solid var(--line); }
.stat dt { font-size: 13px; line-height: 1.35; color: var(--mute); max-width: 18ch; }
.stat dd {
  font-size: clamp(42px, 5.4vw, 84px);
  font-weight: 800;
  font-stretch: 64%;
  line-height: 0.9;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 559px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); flex-direction: row-reverse; justify-content: space-between; align-items: center; }
}

/* ==========================================================================
   02 — Featured clip
   ========================================================================== */
.featured__title { margin-bottom: clamp(28px, 4vw, 56px); }
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 60px 120px -40px rgba(139, 92, 255, 0.35);
}
.player__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.player__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.4s var(--ease-out), filter 1s;
  filter: saturate(0.95);
}
.player__poster:hover img { scale: 1.035; filter: saturate(1.15); }
.player__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7, 6, 12, 0.7), transparent 50%),
    radial-gradient(60% 60% at 50% 50%, transparent, rgba(7, 6, 12, 0.35));
}
.player__btn {
  position: absolute;
  left: 50%; top: 50%;
  width: clamp(92px, 11vw, 150px);
  aspect-ratio: 1;
  margin: calc(clamp(92px, 11vw, 150px) / -2) 0 0 calc(clamp(92px, 11vw, 150px) / -2);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(236, 232, 246, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(236, 232, 246, 0.35);
  color: var(--text);
  transition: background-color 0.4s, color 0.4s, scale 0.6s var(--ease-out), translate 0.6s var(--ease-out);
}
.player__btn > svg:first-child { width: 28%; height: 28%; margin-left: 6%; }
.player__poster:hover .player__btn { background: var(--text); color: var(--ink); scale: 1.06; }
.player__ring {
  position: absolute;
  inset: -34%;
  width: 168%;
  height: 168%;
  max-width: none;
  fill: var(--text);
  font-family: var(--f-mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  animation: spin 18s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { rotate: 360deg; } }
.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.player__consent {
  position: absolute;
  left: 18px; bottom: 16px;
  color: rgba(236, 232, 246, 0.7);
  font-size: 10px;
  pointer-events: none;
}
.player.is-playing .player__consent { display: none; }

.featured__info {
  display: grid;
  gap: 24px 48px;
  margin-top: clamp(28px, 4vw, 48px);
  align-items: start;
}
@media (min-width: 900px) {
  .featured__info { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: end; }
}
.featured__desc {
  font-family: var(--f-serif);
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.12;
  max-width: 26ch;
  text-wrap: balance;
}
.featured__desc em { color: var(--violet-2); }
.featured__meta { display: grid; gap: 12px; }
.featured__meta div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.featured__meta dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.featured__meta dd { font-size: 15px; }

/* ==========================================================================
   03 — Tracks
   ========================================================================== */
.tracks { background: linear-gradient(180deg, var(--ink), var(--ink-2) 40%, var(--ink)); }
.tracks__intro {
  display: grid;
  gap: 24px 56px;
  margin-bottom: clamp(48px, 7vw, 100px);
}
@media (min-width: 1100px) {
  .tracks__intro { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: end; }
}
.tracks__title { font-size: clamp(48px, 8vw, 136px); }
.tracks__sub { max-width: 34ch; color: var(--mute); font-size: 18px; }

.tracklist { border-top: 1px solid var(--line); }
.track__btn {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(140px, 240px) 64px 56px;
  align-items: center;
  width: 100%;
  padding: clamp(18px, 2vw, 28px) 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  isolation: isolate;
  transition: opacity 0.5s var(--ease-out);
}
.track__btn::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(139, 92, 255, 0.16), rgba(94, 231, 255, 0.06) 60%, transparent);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.6s var(--ease-out);
}
.track__btn:hover::before,
.track__btn:focus-visible::before { transform: scaleY(1); }
.tracklist:hover .track__btn:not(:hover) { opacity: 0.38; }
.track__n { color: var(--dim); transition: color 0.4s; }
.track__btn:hover .track__n { color: var(--cyan); }
.track__title {
  font-size: clamp(30px, 5.2vw, 84px);
  font-weight: 800;
  font-stretch: 64%;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  transition: font-stretch 0.7s var(--ease-out), font-weight 0.7s var(--ease-out), translate 0.7s var(--ease-out), color 0.4s;
}
.track__btn:hover .track__title {
  font-stretch: 78%;
  font-weight: 600;
  translate: 14px 0;
}
.track__theme {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 24px);
  color: var(--mute);
  transition: color 0.4s, translate 0.7s var(--ease-out);
}
.track__btn:hover .track__theme { color: var(--violet-2); translate: -6px 0; }
.track__year { color: var(--mute); text-align: right; }
.track__play {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--text);
  transition: background-color 0.4s, color 0.4s, border-color 0.4s, scale 0.5s var(--ease-out);
}
.track__play svg { width: 14px; height: 14px; margin-left: 2px; }
.track__btn:hover .track__play { background: var(--text); color: var(--ink); border-color: transparent; scale: 1.1; }
.track__thumb { display: none; }

.tracks__all { margin-top: clamp(32px, 4vw, 56px); }

/* Floating preview (desktop, fine pointer) */
.preview {
  position: fixed;
  left: 0; top: 0;
  z-index: 40;
  width: clamp(200px, 17vw, 260px);
  aspect-ratio: 5 / 7;
  pointer-events: none;
  opacity: 0;
  scale: 0.6;
  transition: opacity 0.4s, scale 0.6s var(--ease-out);
  will-change: transform;
}
.preview.is-on { opacity: 1; scale: 1; }
.preview__inner {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(236, 232, 246, 0.1);
}
.preview__inner img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  clip-path: inset(100% 0 0 0);
  scale: 1.2;
  transition: clip-path 0.7s var(--ease-in-out) 0.35s, scale 1.2s var(--ease-out) 0.35s;
}
.preview__inner img.is-active {
  clip-path: inset(0 0 0 0);
  scale: 1;
  z-index: 1;
  transition-delay: 0s;
}

@media (hover: none), (pointer: coarse), (max-width: 899px) {
  .preview { display: none; }
  .track__btn {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    grid-template-areas: "n title thumb" "n theme thumb";
    column-gap: 14px;
    row-gap: 6px;
  }
  .track__n { grid-area: n; align-self: start; padding-top: 6px; }
  .track__title { grid-area: title; font-size: clamp(28px, 7.8vw, 52px); }
  .track__theme { grid-area: theme; font-size: 17px; }
  .track__year, .track__play { display: none; }
  .track__thumb {
    grid-area: thumb;
    display: block;
    position: relative;
    width: clamp(58px, 15vw, 88px);
    aspect-ratio: 5 / 7;
    border-radius: 6px;
    overflow: hidden;
    background: var(--ink-3);
  }
  .track__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .track__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 6, 12, 0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%23ece8f6'/%3E%3C/svg%3E") center / 22px no-repeat;
  }
  .track__btn:hover .track__title { translate: none; font-stretch: 64%; font-weight: 800; }
  .tracklist:hover .track__btn:not(:hover) { opacity: 1; }
}

/* ==========================================================================
   04 — Pause / breathe
   ========================================================================== */
.pause {
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 78% 50%, rgba(139, 92, 255, 0.2), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(94, 231, 255, 0.08), transparent 70%),
    var(--ink-2);
}
.pause__grid {
  display: grid;
  gap: clamp(56px, 8vw, 120px);
  align-items: center;
}
@media (min-width: 1000px) {
  .pause__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}
.pause__copy .label { margin-bottom: clamp(28px, 4vw, 48px); }
.pause__title { font-size: clamp(52px, 8.6vw, 140px); }
.pause__text {
  margin-top: clamp(24px, 3vw, 40px);
  max-width: 40ch;
  font-size: 19px;
  color: var(--mute);
}
.pause__text em { font-family: var(--f-serif); font-size: 1.2em; color: var(--text); }
.helplines {
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.helplines a {
  display: grid;
  grid-template-columns: clamp(150px, 15vw, 220px) 1fr auto;
  align-items: center;
  gap: 8px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.5s var(--ease-out);
}
.helplines a::after {
  content: "↗";
  color: var(--mute);
  transition: rotate 0.5s var(--ease-out), color 0.3s;
}
.helplines a:hover { padding-left: 12px; }
.helplines a:hover::after { rotate: 45deg; color: var(--cyan); }
.helpline__n {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  font-stretch: 66%;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color 0.3s;
}
.helplines a:hover .helpline__n { color: var(--cyan); }
.helpline__t { display: grid; font-weight: 600; font-size: 16px; line-height: 1.3; }
.helpline__t small { font-weight: 400; font-size: 14px; color: var(--mute); }
.pause__note { margin-top: 18px; color: var(--dim); font-size: 10.5px; line-height: 1.6; }
@media (max-width: 559px) {
  .helplines a { grid-template-columns: 1fr auto; }
  .helpline__t { grid-column: 1; }
  .helplines a::after { grid-column: 2; grid-row: 1 / span 2; }
}

.breathe {
  display: grid;
  justify-items: center;
  gap: 24px;
}
.breathe__orb {
  --b: 0.56;
  --dur: 1.2s;
  position: relative;
  width: min(440px, 80vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.breathe__halo {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 255, 0.45), rgba(94, 231, 255, 0.08) 45%, transparent 68%);
  scale: calc(var(--b) + 0.2);
  filter: blur(18px);
  transition: scale var(--dur) var(--ease-soft);
}
.breathe__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(236, 232, 246, 0.2);
  animation: spin 60s linear infinite;
}
.breathe__ring::after {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.breathe__core {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55), transparent 22%),
    radial-gradient(circle at 40% 35%, #b59cff, #7a4cf0 40%, #2a1660 72%, #140b30 100%);
  box-shadow:
    0 0 80px rgba(139, 92, 255, 0.55),
    inset 0 0 60px rgba(94, 231, 255, 0.3),
    inset -20px -30px 80px rgba(7, 6, 12, 0.6);
  scale: var(--b);
  transition: scale var(--dur) var(--ease-soft);
}
.breathe[data-state="idle"] .breathe__core,
.breathe[data-state="done"] .breathe__core { animation: idle-breath 5s var(--ease-soft) infinite; }
@keyframes idle-breath { 0%, 100% { scale: 0.56; } 50% { scale: 0.62; } }
.breathe__text {
  position: relative;
  z-index: 1;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.1;
  text-align: center;
  max-width: 10ch;
  text-shadow: 0 2px 20px rgba(7, 6, 12, 0.6);
  transition: opacity 0.5s;
}
.breathe__text.is-swap { opacity: 0; }
.breathe__hint { color: var(--mute); text-align: center; font-size: 11px; }
.breathe__orb:hover .breathe__ring { border-color: rgba(94, 231, 255, 0.45); }

/* ==========================================================================
   05 — AVLYR
   ========================================================================== */
.avlyr__intro {
  display: grid;
  gap: 24px 56px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
@media (min-width: 1000px) {
  .avlyr__intro { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; }
}
.avlyr__text { max-width: 40ch; color: var(--mute); font-size: 18px; }
.episodes {
  display: grid;
  gap: clamp(28px, 3vw, 40px);
}
@media (min-width: 760px) { .episodes { grid-template-columns: 1fr 1fr; } }
.episode__btn {
  display: grid;
  gap: 20px;
  width: 100%;
  text-align: left;
}
.episode__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink-3);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.7s var(--ease-out), box-shadow 0.7s;
}
.episode__media::after {
  /* glare */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s;
}
.episode__btn:hover .episode__media { box-shadow: 0 40px 80px -30px rgba(139, 92, 255, 0.5); }
.episode__btn:hover .episode__media::after { opacity: 1; }
.episode__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: scale 1.2s var(--ease-out);
}
.episode__btn:hover .episode__media img { scale: 1.05; }
.episode__body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  align-items: baseline;
}
.episode__n { grid-row: span 2; color: var(--cyan); }
.episode__title {
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 800;
  font-stretch: 66%;
  line-height: 0.95;
  text-transform: uppercase;
  transition: font-stretch 0.7s var(--ease-out);
}
.episode__btn:hover .episode__title { font-stretch: 76%; }
.episode__topic { font-family: var(--f-serif); font-style: italic; font-size: 20px; color: var(--mute); }

/* ==========================================================================
   06 — Contact
   ========================================================================== */
.contact {
  background:
    radial-gradient(60% 50% at 0% 100%, rgba(139, 92, 255, 0.14), transparent 70%),
    var(--ink);
  border-top: 1px solid var(--line);
}
.contact__grid {
  display: grid;
  gap: clamp(56px, 7vw, 120px);
}
@media (min-width: 1000px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
.contact__title { font-size: clamp(64px, 9vw, 150px); }
.contact__title .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact__text { margin-top: 24px; max-width: 38ch; color: var(--mute); font-size: 18px; }

.mailbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: clamp(28px, 3vw, 40px);
}
.mailbox__link {
  position: relative;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 600;
  font-stretch: 90%;
  letter-spacing: -0.01em;
  word-break: break-all;
}
.mailbox__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--grad);
  transform-origin: 100% 50%;
  transition: transform 0.6s var(--ease-out);
}
.mailbox__link:hover::after { transform: scaleX(0); transform-origin: 0 50%; }
.mailbox__copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.mailbox__copy svg { width: 15px; height: 15px; }
.mailbox__copy:hover { color: var(--text); border-color: var(--text); }
.mailbox__copy.is-done { color: var(--ink); background: var(--cyan); border-color: var(--cyan); }

.socials-big {
  margin-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.socials-big a {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.socials-big a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--text);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
}
.socials-big a:hover::before { transform: translateY(0); }
.socials-big a:hover { color: var(--ink); }
.socials-big__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: border-color 0.3s, translate 0.55s var(--ease-out);
}
.socials-big__icon svg { width: 17px; height: 17px; }
.socials-big a:hover .socials-big__icon { border-color: rgba(7, 6, 12, 0.25); translate: 10px 0; }
.socials-big__name {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  font-stretch: 70%;
  text-transform: uppercase;
  transition: translate 0.55s var(--ease-out);
}
.socials-big a:hover .socials-big__name { translate: 10px 0; }
.socials-big__handle { color: var(--mute); transition: color 0.3s; }
.socials-big a:hover .socials-big__handle { color: rgba(7, 6, 12, 0.65); }
.socials-big__arrow { width: 24px; text-align: center; transition: rotate 0.5s var(--ease-out); margin-right: 4px; }
.socials-big a:hover .socials-big__arrow { rotate: 45deg; }
@media (max-width: 479px) { .socials-big__handle { display: none; } .socials-big a { grid-template-columns: 40px 1fr auto; } }

/* Form */
.form {
  position: relative;
  display: grid;
  gap: 30px;
  padding: clamp(24px, 3.4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(20, 16, 34, 0.7), rgba(12, 10, 21, 0.4));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.form__reasons { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__legend {
  margin-bottom: 14px;
  padding: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--mute);
  transition: color 0.3s, background-color 0.3s, border-color 0.3s, scale 0.3s var(--ease-out);
}
.chip:hover span { color: var(--text); border-color: var(--text); }
.chip input:checked + span { background: var(--text); color: var(--ink); border-color: var(--text); }
.chip input:active + span { scale: 0.95; }
.chip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }

.field { position: relative; }
.field__input {
  display: block;
  width: 100%;
  padding: 26px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  font-size: 18px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.3s;
}
textarea.field__input { resize: vertical; min-height: 140px; line-height: 1.5; }
.field__label {
  position: absolute;
  left: 0; top: 26px;
  font-size: 18px;
  color: var(--mute);
  pointer-events: none;
  transform-origin: 0 0;
  transition: translate 0.45s var(--ease-out), scale 0.45s var(--ease-out), color 0.3s;
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label {
  translate: 0 -24px;
  scale: 0.68;
  color: var(--cyan);
}
.field__input:not(:focus):not(:placeholder-shown) + .field__label { color: var(--mute); }
.field__line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.7s var(--ease-out);
}
.field:not(.field--area) .field__line { top: calc(100% - 1px - var(--err-h, 0px)); }
.field__input:focus ~ .field__line { transform: scaleX(1); }
.field__line { bottom: auto; }
.field__error {
  min-height: 0;
  margin-top: 8px;
  font-size: 13px;
  color: var(--danger);
}
.field__error:empty { display: none; }
.field.is-invalid .field__input { border-bottom-color: var(--danger); }
.field.is-invalid .field__label { color: var(--danger); }
.field.is-invalid { animation: shake 0.45s var(--ease-out); }
@keyframes shake {
  20% { translate: -6px 0; } 40% { translate: 5px 0; } 60% { translate: -3px 0; } 80% { translate: 2px 0; }
}
.field__count {
  position: absolute;
  right: 0; top: 4px;
  font-size: 10px;
  color: var(--dim);
}
.field__count.is-near { color: var(--danger); }
.field--area .field__line { top: auto; bottom: auto; }

.form__foot {
  display: grid;
  gap: 18px;
  align-items: center;
}
@media (min-width: 600px) { .form__foot { grid-template-columns: 1fr auto; } }
.form__hint { font-size: 13px; color: var(--mute); max-width: 42ch; }
.form__hint strong { color: var(--text); font-weight: 600; }
.form__submit.is-busy { pointer-events: none; }
.form__submit.is-busy .btn__arrow { animation: nudge 0.8s var(--ease-soft) infinite; }
@keyframes nudge { 50% { translate: 6px 0; } }

.form__done {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  padding: clamp(24px, 3.4vw, 48px);
  border-radius: inherit;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(94, 231, 255, 0.16), transparent 70%),
    radial-gradient(70% 70% at 0% 100%, rgba(139, 92, 255, 0.28), transparent 70%),
    var(--ink-2);
  animation: done-in 0.9s var(--ease-out) both;
}
.form__done[hidden] { display: none; }
@keyframes done-in { from { opacity: 0; clip-path: circle(0% at 85% 85%); } to { opacity: 1; clip-path: circle(150% at 85% 85%); } }
.form__done-title {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  font-stretch: 66%;
  line-height: 0.9;
  text-transform: uppercase;
}
.form__done-title em { font-family: var(--f-serif); font-weight: 400; color: var(--cyan); }
.form__done-text { max-width: 40ch; color: var(--mute); }
.form__done-text a { color: var(--text); border-bottom: 1px solid var(--cyan); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0 max(28px, env(safe-area-inset-bottom));
  overflow: hidden;
  background:
    radial-gradient(70% 70% at 50% 120%, rgba(139, 92, 255, 0.35), transparent 70%),
    var(--ink);
  border-top: 1px solid var(--line);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer__claim {
  font-family: var(--f-serif);
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1;
}
.footer__claim em {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.totop {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-size: 22px;
  overflow: hidden;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s, translate 0.5s var(--ease-out);
}
.totop span { transition: translate 0.5s var(--ease-out); }
.totop:hover { background: var(--text); color: var(--ink); border-color: transparent; }
.totop:hover span { animation: up 0.6s var(--ease-out); }
@keyframes up { 0% { translate: 0 0; } 49% { translate: 0 -40px; } 50% { translate: 0 40px; } 100% { translate: 0 0; } }

.footer__word {
  --fw-size: 15.6vw;
  display: flex;
  justify-content: center;
  margin: clamp(40px, 6vw, 72px) calc(var(--gutter) * -0.5) clamp(32px, 4vw, 56px);
  font-size: var(--fw-size);
  font-weight: 800;
  font-stretch: 70%;
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}
.footer__word span {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 232, 246, 0.32);
  transition: font-stretch 0.8s var(--ease-out), font-weight 0.8s var(--ease-out), color 0.5s, -webkit-text-stroke-color 0.5s;
}
.footer__word span:hover {
  color: var(--text);
  -webkit-text-stroke-color: transparent;
  font-stretch: 100%;
  font-weight: 300;
}
.footer__word span:hover + span,
.footer__word span:has(+ span:hover) {
  color: rgba(236, 232, 246, 0.25);
  font-stretch: 82%;
}
.footer__word .sp { width: 0.16em; -webkit-text-stroke: 0; }

.footer__bottom {
  display: grid;
  gap: 20px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .footer__bottom { grid-template-columns: 1fr auto 1fr; } }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__nav a { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); transition: color 0.3s; }
.footer__nav a:hover { color: var(--text); }
.footer__legal { color: var(--dim); font-size: 10.5px; }
@media (min-width: 900px) { .footer__legal { text-align: right; } }

/* ==========================================================================
   Now playing — the page as a track
   ========================================================================== */
.nowplaying {
  position: fixed;
  left: var(--gutter);
  bottom: 22px;
  z-index: 65;
  display: none;
  align-items: center;
  gap: 16px;
  height: 46px;
  padding: 0 18px 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(12, 10, 21, 0.6);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  font-size: 13px;
  opacity: 0;
  translate: 0 20px;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-out), translate 0.6s var(--ease-out);
}
@media (min-width: 900px) and (hover: hover) { .nowplaying { display: flex; } }
.nowplaying.is-on { opacity: 1; translate: 0 0; }
.eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i {
  width: 2px;
  height: 100%;
  border-radius: 2px;
  background: var(--cyan);
  transform-origin: 50% 100%;
  animation: eq 1s var(--ease-soft) infinite alternate;
}
.eq i:nth-child(2) { animation-duration: 0.7s; background: var(--violet-2); }
.eq i:nth-child(3) { animation-duration: 1.2s; }
.eq i:nth-child(4) { animation-duration: 0.85s; background: var(--violet-2); }
@keyframes eq { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }
.nowplaying__track { display: inline-flex; gap: 10px; align-items: baseline; min-width: 150px; }
.nowplaying__track .mono { color: var(--cyan); font-size: 11px; }
.nowplaying__bar {
  position: relative;
  width: 120px;
  height: 2px;
  border-radius: 2px;
  background: var(--line-2);
  overflow: hidden;
}
.nowplaying__bar span {
  position: absolute;
  inset: 0;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}
.nowplaying__time { color: var(--mute); font-size: 11px; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Video modal
   ========================================================================== */
.modal {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: var(--gutter);
  border: 0;
  background: transparent;
  color: var(--text);
  overflow-y: auto;
}
.modal[open] { display: grid; place-items: center; }
.modal::backdrop {
  background: rgba(5, 4, 10, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.modal[open]::backdrop { animation: fade-in 0.5s ease both; }
.modal.is-closing::backdrop { animation: fade-out 0.4s ease both; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.modal__panel {
  width: min(1180px, 100%);
  animation: modal-in 0.8s var(--ease-out) both;
}
.modal.is-closing .modal__panel { animation: modal-out 0.4s var(--ease-in-out) both; }
@keyframes modal-in { from { opacity: 0; translate: 0 40px; scale: 0.96; filter: blur(8px); } }
@keyframes modal-out { to { opacity: 0; translate: 0 24px; scale: 0.97; filter: blur(6px); } }
.modal.is-vertical .modal__panel { width: min(460px, 100%); }
.modal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 18px;
}
.modal__kind { color: var(--cyan); margin-bottom: 6px; }
.modal__title {
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 800;
  font-stretch: 66%;
  line-height: 0.92;
  text-transform: uppercase;
}
.modal__close {
  position: relative;
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background-color 0.3s, rotate 0.6s var(--ease-out);
}
.modal__close span::before,
.modal__close span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 1.5px;
  margin: -0.75px 0 0 -9px;
  background: var(--text);
  rotate: 45deg;
  transition: background-color 0.3s;
}
.modal__close span::after { rotate: -45deg; }
.modal__close:hover { background: var(--text); rotate: 90deg; }
.modal__close:hover span::before,
.modal__close:hover span::after { background: var(--ink); }
.modal__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000 radial-gradient(circle at 50% 50%, rgba(139, 92, 255, 0.25), transparent 60%);
  box-shadow: 0 50px 120px -30px rgba(139, 92, 255, 0.4);
}
.modal.is-vertical .modal__frame {
  aspect-ratio: 9 / 16;
  max-height: 72vh;
  margin-inline: auto;
}
.modal__frame::before {
  /* loading shimmer behind the iframe */
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 36px; height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  border: 2px solid rgba(236, 232, 246, 0.2);
  border-top-color: var(--cyan);
  animation: spin 0.9s linear infinite;
}
.modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.modal__foot {
  display: grid;
  gap: 14px 32px;
  margin-top: 20px;
}
@media (min-width: 760px) { .modal__foot { grid-template-columns: 1fr auto; align-items: start; } }
.modal.is-vertical .modal__foot { grid-template-columns: 1fr; }
.modal__desc { color: var(--mute); max-width: 60ch; }
.modal__links { display: flex; flex-wrap: wrap; gap: 20px; }

/* ==========================================================================
   Toast
   ========================================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 140;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--text);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  translate: -50% 140%;
  opacity: 0;
  pointer-events: none;
  transition: translate 0.6s var(--ease-out), opacity 0.4s;
}
.toast.is-on { translate: -50% 0; opacity: 1; }

/* ==========================================================================
   Fallback & motion preferences
   ========================================================================== */
.fallback .intro { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .grain { animation: none; }
  .js [data-reveal]:not(.is-in),
  .js [data-split]:not(.is-in) .w__i,
  .js [data-enter],
  .js .wordmark__row span {
    opacity: 1;
    translate: none;
    clip-path: none;
  }
  .scrub-w { opacity: 1; }
}

@media print {
  .grain, .cursor, .nav, .nowplaying, .hero__canvas, .intro, .marquee, .preview { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   404
   ========================================================================== */
.nf {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 24px;
  padding: 96px var(--gutter) 64px;
  text-align: center;
  background:
    radial-gradient(50% 45% at 50% 40%, rgba(139, 92, 255, 0.3), transparent 70%),
    radial-gradient(40% 40% at 20% 90%, rgba(94, 231, 255, 0.1), transparent 70%),
    var(--ink);
}
.nf__brand {
  position: fixed;
  top: 0; left: var(--gutter);
  height: var(--nav-h);
  margin: 0;
}
.nf__code {
  display: flex;
  font-size: clamp(140px, 30vw, 360px);
  font-weight: 800;
  line-height: 0.8;
}
.nf__code span {
  display: inline-block;
  animation: nf-breathe 6s var(--ease-soft) infinite;
}
.nf__code span:nth-child(2) { animation-delay: -0.4s; color: transparent; -webkit-text-stroke: 1.5px var(--violet-2); }
.nf__code span:nth-child(3) { animation-delay: -0.8s; }
@keyframes nf-breathe {
  0%, 100% { font-stretch: 70%; font-weight: 800; }
  50% { font-stretch: 100%; font-weight: 400; }
}
.nf__title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  font-stretch: 80%;
  line-height: 1;
  text-transform: uppercase;
  max-width: 18ch;
}
.nf__title em {
  font-family: var(--f-serif);
  font-weight: 400;
  text-transform: none;
  background: linear-gradient(100deg, var(--violet-2), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nf__text { color: var(--mute); max-width: 40ch; }
