/* WATERJON — site styles
   One family (Archivo, variable width + weight). Palette from the deep-sea brand guide.
   Less UI, more aura: the footage carries the page; type stays quiet and wide. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-wdth.woff2") format("woff2-variations"),
       url("/assets/fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --abyss: #020607;
  --substation: #071012;
  --pressure: #082a2d;
  --bathyal: #0a3342;
  --sonar: #54e6de;
  --floodlight: #d8f7f2;
  --chrome: #a3b8c6;
  --dim: #6a8590;
  --line: rgba(216, 247, 242, 0.14);
  --line-strong: rgba(216, 247, 242, 0.34);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: max(clamp(16px, 4vw, 56px), env(safe-area-inset-left), env(safe-area-inset-right));
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);

  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--abyss);
  color: var(--floodlight);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.05; }

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

.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;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--floodlight); color: var(--abyss); padding: 10px 14px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Type ---------- */

.display {
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.02;
}
.title-xl { font-size: clamp(2.6rem, 8vw, 6.4rem); letter-spacing: 0.06em; }
.title-l  { font-size: clamp(1.9rem, 4.6vw, 3.4rem); letter-spacing: 0.1em; }
.title-m  { font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.lede { color: var(--chrome); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 34em; }
.muted { color: var(--chrome); }
.fine { color: var(--dim); font-size: 0.8125rem; line-height: 1.5; }

/* ---------- Buttons ---------- */

.btn {
  --b: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 50px; padding: 0.85em 1.75em;
  font: inherit; font-stretch: 118%; font-weight: 700; font-size: 0.78rem; line-height: 1;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; text-align: center;
  color: var(--floodlight); background: transparent;
  border: 1px solid var(--b); border-radius: 999px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.4s var(--ease), transform 0.2s var(--ease);
}
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--floodlight); color: var(--abyss); border-color: var(--floodlight); }
/* over footage: a dark, slightly translucent bed instead of a bare outline */
.btn--ghost { background: rgba(2, 9, 14, 0.46); }
.btn--quiet { border-color: transparent; padding-inline: 0.4em; }
@media (hover: hover) {
  .btn:hover { --b: var(--floodlight); }
  .btn--primary:hover { background: #fff; border-color: #fff; box-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.9); }
  .btn--ghost:hover { background: rgba(216, 247, 242, 0.08); }
  .btn--quiet:hover { border-color: transparent; color: #fff; }
}

.text-link {
  font-stretch: 112%; font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; color: var(--chrome);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
}
.text-link:hover { color: var(--floodlight); border-color: var(--floodlight); }

/* ---------- Header (inner pages) ---------- */
/* The name, then one plain row of links, centred. No menu button: five short links fit every phone. */

.site-header {
  position: relative; z-index: 20;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: max(22px, env(safe-area-inset-top)) var(--gutter) 14px;
  background: var(--abyss); border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: clamp(104px, 9vw, 132px); height: auto; }
.brand--mark img { width: auto; height: 46px; }

.nav-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(16px, 2.6vw, 34px);
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  display: inline-block; padding: 10px 0;
  font-stretch: 112%; font-weight: 600; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: var(--floodlight); opacity: 0.78;
  transition: opacity 0.25s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { opacity: 1; }
.nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.6em; }

/* ---------- Hero (home) ---------- */
/* Full-screen loop with everything centred on it: socials along the top, the logo, the line, the links.
   Layers, back to front: footage (graded in tools/hero) -> scrim -> marine snow -> content. */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto; justify-items: center;
  padding: max(20px, env(safe-area-inset-top)) var(--gutter) max(20px, env(safe-area-inset-bottom));
  background: var(--abyss); text-align: center;
}
.hero-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; animation: surface 2.8s var(--ease) both; }
.hero-media img, .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
}
.hero-media video { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-media video.is-playing { opacity: 1; }
@keyframes surface {
  from { opacity: 0.3; transform: scale(1.06); }
  to   { opacity: 1; transform: none; }
}

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 58% 42% at 50% 50%, rgba(1, 5, 9, 0.5) 0%, rgba(1, 5, 9, 0) 72%),
    linear-gradient(180deg, rgba(1, 5, 9, 0.6) 0%, rgba(1, 5, 9, 0) 22%),
    linear-gradient(0deg, var(--abyss) 0%, rgba(2, 6, 9, 0.55) 14%, rgba(2, 8, 14, 0) 40%),
    radial-gradient(130% 95% at 50% 45%, rgba(2, 10, 18, 0) 45%, rgba(1, 4, 9, 0.6) 100%),
    linear-gradient(rgba(3, 14, 26, 0.2), rgba(3, 14, 26, 0.2));
}

/* Marine snow: two tiled layers of specks sinking at different speeds. Transform-only, so it
   stays on the compositor; paused off-screen, when the visitor pauses, and for reduced motion. */
.hero-snow { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-snow::before, .hero-snow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; will-change: transform;
}
.hero-snow::before {
  top: -320px; opacity: 0.5;
  background-size: 320px 320px;
  background-image:
    radial-gradient(circle at 8% 14%, rgba(216, 247, 242, 0.75) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 27% 61%, rgba(216, 247, 242, 0.6) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 44% 28%, rgba(216, 247, 242, 0.55) 0 1px, transparent 1.6px),
    radial-gradient(circle at 63% 83%, rgba(216, 247, 242, 0.7) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 79% 42%, rgba(216, 247, 242, 0.5) 0 0.9px, transparent 1.5px),
    radial-gradient(circle at 92% 7%, rgba(216, 247, 242, 0.6) 0 0.6px, transparent 1.2px),
    radial-gradient(circle at 55% 52%, rgba(216, 247, 242, 0.4) 0 0.6px, transparent 1.2px);
  animation: snow-a 52s linear infinite;
}
.hero-snow::after {
  top: -520px; opacity: 0.4;
  background-size: 520px 520px;
  background-image:
    radial-gradient(circle at 18% 36%, rgba(84, 230, 222, 0.35) 0, rgba(84, 230, 222, 0) 3.5px),
    radial-gradient(circle at 71% 18%, rgba(216, 247, 242, 0.3) 0, rgba(216, 247, 242, 0) 4px),
    radial-gradient(circle at 52% 77%, rgba(84, 230, 222, 0.28) 0, rgba(84, 230, 222, 0) 3px),
    radial-gradient(circle at 88% 64%, rgba(216, 247, 242, 0.25) 0, rgba(216, 247, 242, 0) 2.5px);
  animation: snow-b 90s linear infinite;
}
@keyframes snow-a { to { transform: translate3d(0, 320px, 0); } }
@keyframes snow-b { to { transform: translate3d(0, 520px, 0); } }
.hero.is-offscreen .hero-snow::before, .hero.is-offscreen .hero-snow::after,
.hero.is-still .hero-snow::before, .hero.is-still .hero-snow::after { animation-play-state: paused; }

.hero-socials { justify-content: center; gap: clamp(4px, 1.4vw, 14px); }
.hero-socials a { color: var(--floodlight); }

.hero-core { align-self: center; display: flex; flex-direction: column; align-items: center; padding: 24px 0 32px; }
.hero-title { position: relative; display: inline-block; margin: 0; line-height: 0; }
.hero-logo {
  display: block; width: clamp(250px, 34vw, 560px); height: auto;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5)) drop-shadow(0 12px 32px rgba(0, 4, 10, 0.75));
}
/* one slow glint across the chrome as the page settles, clipped to the logo's own shape */
.hero-title::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("/assets/img/logo/waterjon-white-700.webp") center / 100% 100% no-repeat;
          mask: url("/assets/img/logo/waterjon-white-700.webp") center / 100% 100% no-repeat;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 42%, rgba(232, 255, 252, 0.7) 50%, rgba(255, 255, 255, 0) 58%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0;
  animation: glint 2.2s 1.5s var(--ease) both;
}
@keyframes glint { from { background-position: 130% 0; } to { background-position: -30% 0; } }

.hero-tagline {
  margin: clamp(14px, 1.8vw, 22px) 0 0;
  font-stretch: 125%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(0.7rem, 1.05vw, 0.9rem); letter-spacing: 0.42em; line-height: 1.3;
  margin-right: -0.42em; /* centre optically despite the trailing letter-space */
  color: var(--chrome); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}
.hero-nav { margin-top: clamp(26px, 4vh, 40px); }
.hero-nav .nav-list a { opacity: 0.9; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7); }
.hero-nav .nav-list a[aria-current="page"] { text-decoration: none; }

/* background video control: small, out of the way, always there */
.media-toggle {
  display: inline-flex; align-items: center; gap: 0.6em;
  min-height: 40px; padding: 0 15px 0 12px; border-radius: 999px;
  font: inherit; font-stretch: 112%; font-weight: 650; font-size: 0.66rem; line-height: 1;
  letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap;
  color: var(--floodlight); background: rgba(2, 9, 14, 0.5);
  border: 1px solid var(--line-strong); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.media-toggle svg { width: 13px; height: 13px; fill: currentColor; flex: none; }
@media (hover: hover) { .media-toggle:hover { border-color: var(--floodlight); background: rgba(216, 247, 242, 0.08); } }
.media-toggle--icon { width: 40px; padding: 0; justify-content: center; justify-self: end; opacity: 0.75; }
.media-toggle--icon:hover, .media-toggle--icon:focus-visible { opacity: 1; }

.hero-rise > * { animation: rise 1.5s var(--ease) both; }
.hero-rise > *:nth-child(2) { animation-delay: 0.18s; }
.hero-rise > *:nth-child(3) { animation-delay: 0.32s; }
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .hero-media img, .hero-media video { object-position: 50% 45%; }
  .hero-logo { width: min(78vw, 380px); }
  .hero-tagline { letter-spacing: 0.32em; margin-right: -0.32em; }
  .hero-nav .nav-list { gap: 0 18px; }
}

/* Very subtle depth: the footage drifts slower than the page (browsers with scroll timelines only) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .hero-media img, .hero-media video {
      animation: hero-drift linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 100vh;
    }
    @keyframes hero-drift { to { transform: translate3d(0, 16%, 0); } }
  }
}

/* ---------- Home sections ---------- */
/* One plain stack, like a record sleeve: a title, the thing, one way to go further. */

.block { position: relative; padding: clamp(64px, 9vw, 112px) 0; text-align: center; }
.block + .block { border-top: 1px solid var(--line); }
.block-title {
  margin: 0 0 clamp(28px, 4vw, 44px);
  font-stretch: 125%; font-weight: 800; font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: 0.34em; margin-right: -0.34em; text-transform: uppercase; line-height: 1.2;
}
.block-note { margin: -12px 0 18px; color: var(--dim); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.block-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(32px, 4vw, 44px); }
.wrap.narrow { max-width: 640px; }

.grid-releases.grid-releases--home { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 980px; margin-inline: auto; text-align: left; }
@media (max-width: 760px) { .grid-releases.grid-releases--home { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stream-links { justify-content: center; margin-top: clamp(28px, 4vw, 40px); }

.block--live { padding-top: 0; overflow: hidden; }
.block--live .banner { position: relative; height: clamp(200px, 34vw, 440px); margin-bottom: clamp(36px, 5vw, 56px); }
.block--live .banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; opacity: 0.85; }
.block--live .banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--abyss) 0%, rgba(2, 6, 7, 0) 55%), linear-gradient(rgba(3, 14, 26, 0.25), rgba(3, 14, 26, 0.25));
}
.block--live .history { text-align: left; }

.products { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.product { width: min(100%, 320px); }
.product a { display: block; text-decoration: none; text-align: left; }
.product img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #000; transition: transform 0.6s var(--ease); }
.product a:hover img { transform: scale(1.02); }
.p-title { display: block; margin-top: 14px; font-stretch: 118%; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.9rem; }
.p-meta { display: block; color: var(--chrome); font-size: 0.85rem; }

.block--about p { color: var(--chrome); font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.7; }
.block--about p:first-child { color: var(--floodlight); }

#crew .field-row { justify-content: center; }

/* Closing scene: the diver loop, full width, one line and one way down */
.depths-teaser {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 86vh; min-height: 86svh; display: grid; place-items: center; text-align: center;
  padding: 0 var(--gutter); border-top: 1px solid var(--line);
}
.depths-teaser .bg, .depths-teaser .bg img, .depths-teaser .bg video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.depths-teaser::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(2, 6, 7, 0.25) 0%, rgba(2, 6, 7, 0.75) 70%, var(--abyss) 100%);
}
.depths-teaser h2 { font-size: clamp(1.3rem, 3.4vw, 2.6rem); letter-spacing: 0.26em; margin-right: -0.26em; max-width: 30ch; margin-inline: auto; text-wrap: balance; }
.depths-teaser .btn { margin-top: 32px; }
@media (max-width: 760px) { .depths-teaser { min-height: 70svh; } }

/* ---------- Sections ---------- */

.section { padding: clamp(72px, 12vw, 150px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: clamp(32px, 5vw, 60px); flex-wrap: wrap; }

/* Music */
.feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.feature-art {
  position: relative; aspect-ratio: 1; background: var(--substation);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line);
}
.feature-art img { width: 100%; height: 100%; object-fit: cover; }
.feature-art .embed-slot { position: absolute; left: 0; right: 0; bottom: 0; }
.feature .title-xl { font-size: clamp(2.6rem, 5.6vw, 5.4rem); text-wrap: balance; }
.feature-meta { margin: 14px 0 0; color: var(--chrome); }
.feature-meta strong { color: var(--floodlight); font-weight: 600; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.embed-slot iframe { width: 100%; border: 0; border-radius: 12px; background: var(--substation); }
.embed-slot:empty { display: none; }
.feature .embed-slot { margin-top: 20px; }

.tracks { list-style: none; margin: clamp(48px, 7vw, 88px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.track {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.track img { width: 64px; height: 64px; object-fit: cover; background: var(--substation); }
.track-title { font-stretch: 125%; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 1.05rem; }
.track-by { color: var(--chrome); font-size: 0.9rem; }
.track-actions { display: flex; gap: 6px; align-items: center; }
.track .embed-slot { grid-column: 1 / -1; }

@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature-art { max-width: 520px; }
}
@media (max-width: 560px) {
  .track { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .track img { width: 52px; height: 52px; }
  .track-actions { grid-column: 1 / -1; justify-content: flex-start; }
}

/* Signup */
.crew-form { margin-top: 32px; }
.field-row { display: flex; gap: 10px; flex-wrap: wrap; }
.field-row input[type="email"] {
  flex: 1 1 260px; min-height: 52px; padding: 0 20px;
  font: inherit; font-size: 1rem; color: var(--floodlight);
  background: rgba(7, 16, 18, 0.8); border: 1px solid var(--line-strong); border-radius: 999px;
}
.field-row input[type="email"]::placeholder { color: var(--dim); }
.field-row input[type="email"]:focus { border-color: var(--sonar); outline: none; box-shadow: 0 0 0 3px rgba(84, 230, 222, 0.25); }
.field-row .btn { min-height: 52px; }
.crew-form .fine { margin-top: 14px; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.6em; }
.form-status[data-state="ok"] { color: var(--sonar); }
.form-status[data-state="error"] { color: #ffb4a8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 52px 0 calc(36px + env(safe-area-inset-bottom)); color: var(--chrome); font-size: 0.88rem; }
.footer-center { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.socials { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--chrome); transition: color 0.25s var(--ease), background-color 0.25s var(--ease); }
.socials a:hover { color: var(--floodlight); background: rgba(216, 247, 242, 0.06); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--floodlight); }
.footer-base { margin: 6px 0 0; color: var(--dim); font-size: 0.78rem; }

/* ---------- Showreel dialog ---------- */

.reel-dialog {
  width: min(100vw, 1280px); max-width: 100vw; max-height: 100vh; padding: 0; border: 0;
  background: #000; color: var(--floodlight);
}
.reel-dialog::backdrop { background: rgba(2, 6, 7, 0.92); }
.reel-dialog video { width: 100%; aspect-ratio: 16 / 9; height: auto; background: #000; max-height: calc(100vh - 64px); }
.reel-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 14px; background: var(--abyss); }
.reel-bar p { margin: 0; color: var(--chrome); font-size: 0.85rem; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--floodlight); cursor: pointer; flex: none; }
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; }
.icon-btn:hover { border-color: var(--floodlight); }

/* ---------- Inner pages ---------- */

.page-hero { padding: clamp(56px, 10vw, 120px) 0 clamp(32px, 6vw, 64px); }
.page-hero .lede { margin-top: 18px; }

.grid-releases {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: clamp(18px, 2.4vw, 32px); list-style: none; margin: 0; padding: 0;
}
.release a { display: block; text-decoration: none; }
.release img { aspect-ratio: 1; width: 100%; object-fit: cover; background: var(--substation); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.release a:hover img { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); }
.release .r-title { display: block; margin-top: 12px; font-stretch: 125%; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.92rem; line-height: 1.25; }
.release .r-meta { display: block; color: var(--dim); font-size: 0.84rem; margin-top: 2px; }

.reel-inline { position: relative; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.reel-inline video { width: 100%; height: 100%; object-fit: cover; }

.gallery {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(8px, 1.2vw, 16px);
}
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--substation); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-wide { grid-column: span 8; aspect-ratio: 3 / 2; }
.gallery .g-tall { grid-column: span 4; aspect-ratio: 2 / 3; }
.gallery .g-half { grid-column: span 6; aspect-ratio: 3 / 2; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 0.8rem; color: var(--floodlight); background: linear-gradient(0deg, rgba(2, 6, 7, 0.85), rgba(2, 6, 7, 0)); }
@media (max-width: 720px) {
  .gallery .g-wide, .gallery .g-half { grid-column: span 12; }
  .gallery .g-tall { grid-column: span 6; }
}

.history { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.history li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.history .h-date { color: var(--dim); font-variant-numeric: tabular-nums; }
.history .h-what { font-weight: 600; }
.history .h-where { color: var(--chrome); display: block; font-weight: 400; }
@media (max-width: 560px) { .history li { grid-template-columns: 1fr; gap: 2px; } }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

.prose { max-width: 62ch; color: var(--chrome); }
.prose p:first-child { color: var(--floodlight); font-size: 1.15rem; }
.prose h2 + p { margin-top: 0.8em; }

.downloads { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.downloads a { display: block; text-decoration: none; }
.downloads img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; background: var(--substation); }
.downloads span { display: block; font-size: 0.85rem; color: var(--chrome); margin-top: 8px; }

.contact-block { border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); }
.contact-block .email { font-stretch: 112%; font-weight: 700; font-size: clamp(1.1rem, 2.6vw, 1.6rem); letter-spacing: 0.04em; word-break: break-all; text-decoration: none; }

/* Depths page */
.depths-page { position: relative; min-height: 100svh; isolation: isolate; overflow: hidden; }
.depths-page .bg { position: fixed; inset: 0; z-index: -2; }
.depths-page .bg img, .depths-page .bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.depths-page::before { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 6, 7, 0.4), rgba(2, 6, 7, 0.92) 70%); }
.log { list-style: none; margin: 0; padding: 0; max-width: 44rem; }
.log li { padding: clamp(36px, 6vw, 64px) 0; border-top: 1px solid var(--line); }
.log h2 { font-size: clamp(1.1rem, 2.4vw, 1.5rem); letter-spacing: 0.3em; margin-bottom: 16px; }
.log p { color: var(--chrome); max-width: 38em; }

/* ADE */
.ade-hero { position: relative; min-height: 72svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.ade-hero > picture img, .ade-hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ade-hero > video { opacity: 0; transition: opacity 1.2s var(--ease); }
.ade-hero > video.is-playing { opacity: 1; }
.ade-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.ade-head h1 { margin: 0; }
@media (max-width: 760px) {
  /* icon-only on phones so the show title keeps its line; the label stays for screen readers */
  .ade-head .media-toggle { width: 40px; padding: 0; justify-content: center; flex: none; }
  .ade-head .media-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.ade-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--abyss) 4%, rgba(2, 6, 7, 0.2) 60%, rgba(2, 6, 7, 0.5) 100%); }
.ade-hero .wrap { padding-bottom: 28px; }
.status { display: inline-block; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 14px; font-size: 0.8rem; color: var(--chrome); }

.stack > * + * { margin-top: 18px; }
.mt-l { margin-top: clamp(40px, 6vw, 72px); }
.mt-m { margin-top: 28px; }

/* ---------- Motion preferences ---------- */

/* sections settle into place as they come into view (added by site.js; never hides content without JS) */
.has-reveal .reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.has-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero-media video { transition: none; }
  .hero-snow::before, .hero-snow::after { animation: none !important; }
  .hero-title::after { display: none; }
}
