/* ═══════════════════════════════════════════════════════
   THE STUDIES — style.css
   David Lynch aesthetic: dark, cinematic, fragmented
   ═══════════════════════════════════════════════════════ */

/* ── Reset & Custom Properties ──────────────────────── */

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

:root {
  --black:      #080808;
  --deep:       #0f0b0b;
  --surface:    #14100f;
  --surface-2:  #1c1614;
  --mist:       #2a2220;
  --bone:       #d8cfc4;
  --parchment:  #b8aa98;
  /* --fade stays for decorative marks only; anything that has to be *read*
     uses --ash (≈6.6:1 on --black) or --ash-dim (≈4.6:1). */
  --fade:       #665a50;
  --ash:        #9c8f83;
  --ash-dim:    #82766c;
  --red:        #7a1515;
  --red-glow:   #9e1e1e;
  --red-dim:    #3d0a0a;
  /* --red-glow is the brand red and stays decorative (board call: keep the
     oxblood). It sits at ~2.4:1, so it cannot carry text a visitor has to
     act on. --red-signal is the same family, faded back — 5.6:1 — and is
     used ONLY for form error messages. */
  --red-signal: #c9736b;
  --white-ghost:#ede8e0;

  --font-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-mono:  'Space Mono', 'Courier New', monospace;

  --ease-drift: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);

  --section-pad: clamp(5rem, 12vw, 10rem);
  --inner-max:   72rem;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--bone);
  font-family: var(--font-serif);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Global Overlays ─────────────────────────────────── */

/* Film grain — CSS noise via pseudo-random SVG filter */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grain-shift 0.15s steps(1) infinite;
}

@keyframes grain-shift {
  0%  { transform: translate(0, 0); }
  10% { transform: translate(-3%, -4%); }
  20% { transform: translate(2%, 3%); }
  30% { transform: translate(-4%, 2%); }
  40% { transform: translate(3%, -1%); }
  50% { transform: translate(-1%, 4%); }
  60% { transform: translate(4%, -3%); }
  70% { transform: translate(-2%, 1%); }
  80% { transform: translate(1%, -4%); }
  90% { transform: translate(-3%, 3%); }
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(
    ellipse at center,
    transparent 55%,
    rgba(0,0,0,0.55) 100%
  );
}

/* ── Opening Screen ──────────────────────────────────── */

.opening {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  transition: opacity 1.8s var(--ease-drift), visibility 1.8s;
}

.opening.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.opening__curtain {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: #1a0505;
  z-index: 1;
  transition: transform 1.6s var(--ease-enter);
}

.opening__curtain--left  { left: 0;  transform: translateX(0); }
.opening__curtain--right { right: 0; transform: translateX(0); }

.opening.curtains-open .opening__curtain--left  { transform: translateX(-100%); }
.opening.curtains-open .opening__curtain--right { transform: translateX(100%); }

.opening__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.opening__static {
  width: 100vw;
  height: 100vh;
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.03;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.08) 2px,
    rgba(255,255,255,0.08) 4px
  );
  animation: scan 8s linear infinite;
}

@keyframes scan {
  0%   { background-position: 0 0; }
  100% { background-position: 0 200px; }
}

.opening__the {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 1.5vw, 0.85rem);
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--fade);
  animation: fade-up 2s var(--ease-enter) both;
  animation-delay: 0.3s;
}

.opening__studies {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white-ghost);
  animation: fade-up 2s var(--ease-enter) both;
  animation-delay: 0.6s;
}

.opening__sub {
  font-family: var(--font-mono);
  font-size: clamp(0.6rem, 1.2vw, 0.75rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ash-dim);
  animation: fade-up 2s var(--ease-enter) both;
  animation-delay: 0.9s;
}

.opening__enter {
  margin-top: 2.5rem;
  padding: 0.65em 2.5em;
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red-glow);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s;
  animation: fade-up 2s var(--ease-enter) both;
  animation-delay: 1.4s;
}

.opening__enter:hover,
.opening__enter:focus-visible {
  background: var(--red);
  color: var(--bone);
  border-color: var(--red-glow);
  box-shadow: 0 0 24px 4px rgba(122, 21, 21, 0.35);
  outline: none;
}

/* ── Main Site ───────────────────────────────────────── */

.main {
  position: relative;
  z-index: 1;
  transition: opacity 0.5s;
}

.main[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

/* ── Nav ─────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
  background: linear-gradient(to bottom, rgba(8,8,8,0.92) 0%, transparent 100%);
  backdrop-filter: blur(2px);
}

.nav__brand {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--bone);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.nav__brand:hover { color: var(--white-ghost); }

.nav__links {
  list-style: none;
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav__links a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--parchment);
  outline: none;
}

/* ── Sections (shared) ───────────────────────────────── */

.section {
  padding: var(--section-pad) clamp(1.5rem, 5vw, 4rem);
}

.section__inner {
  max-width: var(--inner-max);
  margin-inline: auto;
}

/* ── About ───────────────────────────────────────────── */

.about__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--red-glow);
  margin-bottom: 2rem;
}

.section__inner.about { /* redundant but safe */
  display: flex;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: flex-start;
}

/* Override: the about inner is a flex row */
.about .section__inner {
  display: flex;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: flex-start;
  flex-wrap: wrap;
}

.about__text-col {
  flex: 1 1 min(40ch, 100%);
}

.about__heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: var(--white-ghost);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.about__body {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--parchment);
  max-width: 55ch;
  margin-bottom: 1.25rem;
}

.about__manifesto {
  margin: 2rem 0 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--red-glow);
  max-width: 55ch;
}

.about__manifesto p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.5;
  color: var(--bone);
  margin: 0 0 0.75rem;
}

.about__manifesto p:last-child {
  margin-bottom: 0;
}

.about__body--mystery {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ash-dim);
  letter-spacing: 0.05em;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mist);
}

.about__visual-col {
  flex: 0 0 clamp(16rem, 28vw, 24rem);
  position: relative;
}

.about__frame {
  aspect-ratio: 3 / 4;
  background: var(--surface);
  border: 1px solid var(--mist);
  position: relative;
  overflow: hidden;
}

.about__frame-inner {
  position: absolute;
  inset: 1rem;
  border: 1px solid var(--surface-2);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.about__noise-rect {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 4px,
      rgba(255,255,255,0.012) 4px,
      rgba(255,255,255,0.012) 8px
    ),
    radial-gradient(ellipse at 40% 30%, rgba(100,30,30,0.2) 0%, transparent 70%),
    var(--surface);
  animation: subtle-pulse 8s ease-in-out infinite alternate;
}

@keyframes subtle-pulse {
  0%   { opacity: 0.8; }
  100% { opacity: 1; }
}

.about__frame-label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash-dim);
  z-index: 1;
}

/* ── Dividers ─────────────────────────────────────────── */

.divider {
  text-align: center;
  padding: 2.5rem 0;
  color: var(--fade);
}

.divider--static {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.5em;
}

.divider--line {
  padding: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--mist) 30%, var(--mist) 70%, transparent);
  margin: var(--section-pad) clamp(1.5rem, 5vw, 4rem);
}

/* ── Members ─────────────────────────────────────────── */

.members__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--red-glow);
  margin-bottom: 1.5rem;
}

.members__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--white-ghost);
  margin-bottom: 0.75rem;
}

.members__sub {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ash);
  font-size: 1rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.members__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 2rem;
}

.member-card {
  background: var(--surface);
  border: 1px solid var(--mist);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s;
}

.member-card:hover {
  border-color: var(--red-dim);
}

.member-card__portrait {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.member-card__silhouette {
  position: absolute;
  inset: 0;
  background: var(--deep);
}

/* Unique dark gradients per member — no images, pure CSS */
.member-card__silhouette--1 {
  background:
    radial-gradient(ellipse 60% 80% at 50% 30%, rgba(60,20,20,0.8) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 50% 50%, rgba(30,10,10,0.9) 0%, transparent 80%),
    linear-gradient(180deg, var(--surface-2) 0%, var(--deep) 100%);
}

.member-card__silhouette--2 {
  background:
    radial-gradient(ellipse 50% 70% at 45% 35%, rgba(40,15,40,0.7) 0%, transparent 65%),
    radial-gradient(ellipse 35% 50% at 55% 55%, rgba(20,10,30,0.9) 0%, transparent 80%),
    linear-gradient(160deg, var(--deep) 0%, var(--surface-2) 100%);
}

.member-card__silhouette--3 {
  background:
    radial-gradient(ellipse 55% 75% at 55% 28%, rgba(50,20,10,0.8) 0%, transparent 70%),
    radial-gradient(ellipse 40% 55% at 45% 55%, rgba(30,15,5,0.9) 0%, transparent 80%),
    linear-gradient(200deg, var(--surface) 0%, var(--deep) 100%);
}

.member-card__silhouette--4 {
  background:
    radial-gradient(ellipse 60% 70% at 50% 30%, rgba(20,20,50,0.6) 0%, transparent 65%),
    radial-gradient(ellipse 45% 65% at 50% 50%, rgba(10,10,30,0.9) 0%, transparent 80%),
    linear-gradient(220deg, var(--deep) 0%, var(--surface-2) 100%);
}

/* Scanline glitch overlay on portrait */
.member-card__glitch {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.15) 3px,
    rgba(0,0,0,0.15) 4px
  );
  pointer-events: none;
  opacity: 0.5;
}

/* Hover: subtle glitch flash */
.member-card:hover .member-card__glitch {
  animation: glitch-flash 0.08s steps(1) 3;
}

@keyframes glitch-flash {
  0%   { opacity: 0.5; transform: translateX(0); }
  50%  { opacity: 0.9; transform: translateX(-2px); filter: hue-rotate(30deg); }
  100% { opacity: 0.5; transform: translateX(0); }
}

.member-card__info {
  padding: 1.1rem 1.25rem 1.2rem;
}

.member-card__name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white-ghost);
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
}

.member-card__role {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red-glow);
}

/* ── Sound ───────────────────────────────────────────── */

.sound {
  background: var(--surface);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}

.sound__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.sound__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--red-glow);
  margin-bottom: 1.5rem;
}

.sound__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--white-ghost);
  margin-bottom: 1.25rem;
}

.sound__body {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--parchment);
  max-width: 55ch;
  margin-bottom: 1rem;
}

.sound__body--mystery {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ash-dim);
  letter-spacing: 0.05em;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mist);
}

/* Teaser player */
.sound__player {
  background: var(--deep);
  border: 1px solid var(--mist);
  padding: 1.5rem;
  transition: border-color 0.5s var(--ease-drift);
}

.sound__player.is-playing {
  border-color: var(--red-dim);
}

.sound__player audio {
  display: none;
}

.sound__waveform {
  height: 64px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  cursor: pointer;
}

.sound__waveform-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Generated via JS: bars styled here */
.sound__waveform-bar {
  flex: 1;
  background: var(--ash-dim);
  border-radius: 1px;
  min-height: 4px;
  opacity: 0.55;
  animation: waveform-idle var(--dur, 1.6s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
  transition: background-color 0.3s;
}

/* Bars behind the playhead burn red as the teaser runs */
.sound__waveform-bar.is-played {
  background: var(--red-glow);
  opacity: 0.85;
}

.sound__player.is-playing .sound__waveform-bar {
  animation-name: waveform-live;
  animation-duration: calc(var(--dur, 1.6s) * 0.45);
}

@keyframes waveform-idle {
  0%   { transform: scaleY(1);    opacity: 0.3; }
  100% { transform: scaleY(0.25); opacity: 0.6; }
}

@keyframes waveform-live {
  0%   { transform: scaleY(1);    opacity: 0.9; }
  100% { transform: scaleY(0.18); opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
  .sound__waveform-bar,
  .sound__player.is-playing .sound__waveform-bar {
    animation: none;
  }
}

.sound__controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.sound__play-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--ash-dim);
  background: transparent;
  color: var(--ash);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}

.sound__play-btn:hover,
.sound__play-btn:focus-visible {
  color: var(--white-ghost);
  border-color: var(--red-glow);
  background: rgba(158, 30, 30, 0.12);
}

/* Play / pause icon swap driven by the player state */
.sound__icon--pause { display: none; }
.sound__player.is-playing .sound__icon--play  { display: none; }
.sound__player.is-playing .sound__icon--pause { display: block; }

.sound__teaser-note {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-dim);
  margin-top: 0.85rem;
}

.sound__track-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sound__track-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--bone);
}

.sound__track-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ash-dim);
}

/* Platform stubs */
.sound__platforms-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 1rem;
}

.sound__platforms-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.platform-stub {
  display: inline-block;
  padding: 0.35em 1em;
  border: 1px solid var(--mist);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ash);
  opacity: 0.9;
}

/* ── Contact ─────────────────────────────────────────── */

.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--red-glow);
  margin-bottom: 1.5rem;
}

.contact__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--white-ghost);
  margin-bottom: 1.25rem;
}

.contact__body {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--parchment);
  max-width: 44ch;
  margin-bottom: 0.75rem;
}

.contact__details {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 2rem 0 2.5rem;
}

.contact__details li {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1.25rem;
}

.contact__details-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red-glow);
  min-width: 5.5em;
  text-align: right;
}

.contact__details-value {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--bone);
  min-width: 14em;
  text-align: left;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}

a.contact__details-value:hover,
a.contact__details-value:focus-visible {
  color: var(--white-ghost);
  border-bottom-color: var(--red-glow);
  outline: none;
}

@media (max-width: 520px) {
  .contact__details li {
    flex-direction: column;
    gap: 0.25rem;
  }

  .contact__details-label,
  .contact__details-value {
    min-width: 0;
    text-align: center;
  }
}

.contact__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.social-stub {
  display: inline-block;
  padding: 0.35em 1.25em;
  border: 1px solid var(--mist);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ash);
  opacity: 0.9;
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s, opacity 0.3s;
}

a.social-stub:hover,
a.social-stub:focus-visible {
  color: var(--white-ghost);
  border-color: var(--red-glow);
  opacity: 1;
  outline: none;
}

/* ── Footer ──────────────────────────────────────────── */

.footer {
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--mist);
}

.footer__inner {
  max-width: var(--inner-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-direction: column;
  text-align: center;
}

.footer__brand {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--bone);
}

.footer__separator { color: var(--fade); }

.footer__location,
.footer__year {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--ash-dim);
}

.footer__note {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--ash-dim);
  margin-top: 0.5rem;
}

.footer__legal {
  width: 100%;
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

/* Framed like the platform/social marks so it reads as part of the set,
   not as a raw browser link. Colours are set explicitly (including :visited)
   so no UA default can leak through. */
.footer__legal-link,
.footer__legal-link:link,
.footer__legal-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  padding: 0.5em 1.5em;
  border: 1px solid var(--mist);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash-dim);
  text-decoration: none;
  transition: color 0.35s, border-color 0.35s, background-color 0.35s;
}

.footer__legal-mark {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1;
  color: var(--red);
  transition: color 0.35s;
}

.footer__legal-link:hover,
.footer__legal-link:focus-visible {
  color: var(--bone);
  border-color: var(--red-dim);
  background: rgba(122, 21, 21, 0.1);
  outline: none;
}

.footer__legal-link:hover .footer__legal-mark,
.footer__legal-link:focus-visible .footer__legal-mark {
  color: var(--red-glow);
}

/* ── Scroll-in animations ─────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.9s var(--ease-drift), transform 0.9s var(--ease-drift);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Utility animations ───────────────────────────────── */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(1rem); }
  to   { opacity: 1; transform: none; }
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 640px) {
  .nav__links {
    gap: 1.25rem;
  }

  .about .section__inner {
    flex-direction: column;
  }

  .about__visual-col {
    width: 100%;
    flex: 0 0 auto;
  }

  .about__frame {
    aspect-ratio: 16 / 9;
  }

  .members__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 420px) {
  .members__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Focus visible (a11y) ─────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--red-glow);
  outline-offset: 3px;
}

/* ── Opening logo ────────────────────────────────────── */

.opening__logo {
  width: clamp(10rem, 28vw, 18rem);
  animation: fade-up 2s var(--ease-enter) both;
  animation-delay: 0.2s;
}

.opening__logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.9);
}

/* ── About frame photo ───────────────────────────────── */

.about__frame {
  aspect-ratio: 3 / 4;
  background: var(--surface);
  border: 1px solid var(--mist);
  position: relative;
  overflow: hidden;
}

.about__frame-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.88;
  transition: opacity 0.6s var(--ease-drift), filter 0.6s var(--ease-drift);
}

.about__frame:hover .about__frame-photo {
  opacity: 1;
  filter: grayscale(0.5) contrast(1.05);
}

.about__frame-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(8,8,8,0.8) 0%, transparent 100%);
  z-index: 1;
}

.about__frame-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash-dim);
}

/* ── Member card photos ──────────────────────────────── */

.member-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.82;
  transition: filter 0.5s var(--ease-drift), opacity 0.5s var(--ease-drift);
  display: block;
}

.member-card:hover .member-card__photo {
  filter: grayscale(0.3) contrast(1.05);
  opacity: 0.92;
}

/* ── Sound tracklist ─────────────────────────────────── */

.sound__tracklist {
  padding: 2rem;
  background: var(--deep);
  border: 1px solid var(--mist);
}

.sound__tracklist-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--red-glow);
  margin-bottom: 1.5rem;
}

.tracklist {
  list-style: none;
  counter-reset: none;
}

.tracklist__item {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--surface-2);
  transition: border-color 0.3s;
}

.tracklist__item:last-child {
  border-bottom: none;
}

.tracklist__item:hover {
  border-color: var(--mist);
}

.tracklist__num {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: var(--red-dim);
  flex-shrink: 0;
  width: 2.5ch;
  text-align: right;
  transition: color 0.3s;
}

.tracklist__item:hover .tracklist__num {
  color: var(--red-glow);
}

.tracklist__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--parchment);
  transition: color 0.3s;
}

.tracklist__item:hover .tracklist__title {
  color: var(--white-ghost);
}

/* ── Photo strip ─────────────────────────────────────── */

.photo-strip {
  overflow: hidden;
  padding: 0;
  position: relative;
}

.photo-strip__inner {
  display: flex;
  gap: 2px;
  height: clamp(16rem, 35vw, 28rem);
}

.photo-strip__item {
  flex: 1 1 0;
  overflow: hidden;
  position: relative;
  margin: 0;
}

.photo-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.75;
  display: block;
  transition: filter 0.7s var(--ease-drift), opacity 0.7s var(--ease-drift), transform 0.7s var(--ease-drift);
}

.photo-strip__item--color img {
  filter: grayscale(0.6) contrast(1.05);
}

.photo-strip__item:hover img {
  filter: grayscale(0) contrast(1.02);
  opacity: 1;
  transform: scale(1.04);
}

.photo-strip__credit {
  position: absolute;
  bottom: 0.75rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ash-dim);
  background: rgba(8,8,8,0.6);
  padding: 0.25em 0.6em;
}

@media (max-width: 640px) {
  .photo-strip__inner {
    height: 12rem;
  }

  .photo-strip__item:nth-child(n+4) {
    display: none;
  }
}

/* ── Nav CTA (Pre-Save) ──────────────────────────────── */

.nav__links a.nav__cta {
  color: var(--red-glow);
  border: 1px solid var(--red-dim);
  padding: 0.45em 1.1em;
  transition: color 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.nav__links a.nav__cta:hover,
.nav__links a.nav__cta:focus-visible {
  color: var(--bone);
  background: var(--red);
  border-color: var(--red-glow);
  box-shadow: 0 0 18px 2px rgba(122, 21, 21, 0.3);
}

/* ── Album ───────────────────────────────────────────── */

.album {
  background: linear-gradient(180deg, var(--black) 0%, var(--deep) 100%);
}

.album__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--red-glow);
  margin-bottom: 1.5rem;
}

.album__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--white-ghost);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* Hero: cover + narrative */
.album__hero {
  display: grid;
  grid-template-columns: clamp(15rem, 32vw, 24rem) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.album__cover {
  position: relative;
  margin: 0;
  border: 1px solid var(--mist);
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.9);
}

.album__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 1.2s var(--ease-drift), filter 1.2s var(--ease-drift);
  filter: contrast(1.03) saturate(0.95);
}

.album__cover:hover img {
  transform: scale(1.03);
  filter: contrast(1.05) saturate(1.05);
}

.album__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 1rem;
}

.album__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.05;
  color: var(--white-ghost);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.album__meta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-glow);
  margin-bottom: 1.75rem;
}

.album__body {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--parchment);
  max-width: 55ch;
  margin-bottom: 1.25rem;
}

.album__body--mystery {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ash-dim);
  letter-spacing: 0.05em;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mist);
}

.album__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.album__btn {
  display: inline-block;
  padding: 0.75em 1.75em;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--parchment);
  border: 1px solid var(--mist);
  transition: color 0.35s, border-color 0.35s, background 0.35s, box-shadow 0.35s;
}

.album__btn:hover,
.album__btn:focus-visible {
  color: var(--white-ghost);
  border-color: var(--fade);
  outline: none;
}

.album__btn--primary {
  color: var(--red-glow);
  border-color: var(--red);
}

.album__btn--primary:hover,
.album__btn--primary:focus-visible {
  color: var(--bone);
  background: var(--red);
  border-color: var(--red-glow);
  box-shadow: 0 0 26px 4px rgba(122, 21, 21, 0.35);
}

/* Singles waterfall */
.album__singles {
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.album__singles-label,
.album__tracklist-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--red-glow);
  margin-bottom: 2rem;
}

.waterfall {
  list-style: none;
  display: grid;
  /* 10.5rem keeps all six singles on one desktop row — the waterfall reads
     as one fall, not five plus an orphan. */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr));
  gap: 1.5rem;
}

.waterfall__item {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--mist);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease-drift);
}

.waterfall__item:hover {
  border-color: var(--red-dim);
  transform: translateY(-4px);
}

.waterfall__item--lead {
  border-color: var(--red-dim);
}

/* Single VI does not stand alone — it opens the record. Dim it a shade so
   the eye reads the five singles first and lands on it last. */
.waterfall__item--last {
  border-style: dashed;
  opacity: 0.82;
}

.waterfall__cover {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.waterfall__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.03) saturate(0.9);
  transition: filter 0.6s var(--ease-drift), transform 0.6s var(--ease-drift);
}

.waterfall__item:hover .waterfall__cover img {
  filter: contrast(1.05) saturate(1.05);
  transform: scale(1.05);
}

/* Placeholder cover — artwork not yet revealed (on-brand mystery) */
.waterfall__cover--tba {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(60,20,20,0.35) 0%, transparent 70%),
    repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(255,255,255,0.015) 6px, rgba(255,255,255,0.015) 12px),
    linear-gradient(160deg, var(--surface-2) 0%, var(--deep) 100%);
  border-bottom: 1px solid var(--mist);
}

.waterfall__mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--ash-dim);
  opacity: 0.9;
  letter-spacing: 0.05em;
  transition: color 0.4s, opacity 0.4s;
}

.waterfall__item:hover .waterfall__mark {
  color: var(--red-glow);
  opacity: 0.8;
}

.waterfall__soon {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ash-dim);
}

.waterfall__info {
  padding: 1rem 1.1rem 1.25rem;
}

.waterfall__num {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-glow);
  margin-bottom: 0.5rem;
}

.waterfall__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white-ghost);
  margin-bottom: 0.35rem;
}

.waterfall__date {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--ash-dim);
}

.waterfall__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-glow);
  text-decoration: none;
  transition: color 0.3s;
}

.waterfall__link:hover,
.waterfall__link:focus-visible {
  color: var(--bone);
  outline: none;
}

.album__singles-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ash-dim);
  margin-top: 2rem;
  text-align: center;
}

/* Album tracklist */
.album__tracklist-wrap {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--mist);
}

@media (max-width: 760px) {
  .album__hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .album__cover {
    max-width: 20rem;
  }
}
