/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --color-bg:           #04040b;
  --color-surface:      #09091a;
  --color-card:         #0e0e2a;
  --color-elevated:     #14143a;

  --color-text:         #b8b8d8;
  --color-text-dim:     #48485e;
  --color-text-bright:  #ffffff;

  --color-cyan:         #00e5ff;
  --color-violet:       #cc44ff;
  --color-acid:         #aaff00;

  --color-border-faint: rgba(0, 229, 255, 0.055);
  --color-border-mid:   rgba(0, 229, 255, 0.14);
  --color-border-pop:   rgba(0, 229, 255, 0.38);

  --glow-cyan:   0 0 30px rgba(0, 229, 255, 0.55);
  --glow-violet: 0 0 30px rgba(204, 68, 255, 0.55);

  --font-display: 'Orbitron', sans-serif;
  --font-title: 'Inter', Geneva, Verdana, sans-serif;
  --font-body:    'Inter', sans-serif;

  --sp-1:  4px;  --sp-2:  8px;  --sp-3: 12px;
  --sp-4: 16px;  --sp-5: 24px;  --sp-6: 32px;
  --sp-7: 48px;  --sp-8: 64px;  --sp-9: 96px;

  --max-w:     1200px;
  --pad-x:     clamp(16px, 4vw, 48px);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 140ms;
  --dur-mid:  280ms;
  --dur-slow: 520ms;

  /* Card background blur: very dark in dark mode */
  --bg-blur-filter: blur(80px) saturate(2.5) brightness(0.32);
}

@media (prefers-color-scheme: light) {
  :root {
    --color-bg:           #eeeef8;
    --color-surface:      #e4e4f4;
    --color-card:         #ffffff;
    --color-elevated:     #d0d0e8;

    --color-text:         #161626;
    --color-text-dim:     #545468;
    --color-text-bright:  #880066;

    --color-cyan:         #0066aa;
    --color-violet:       #8800cc;
    --color-acid:         #4d7700;

    --color-border-faint: rgba(0, 80, 160, 0.08);
    --color-border-mid:   rgba(0, 80, 160, 0.18);
    --color-border-pop:   rgba(0, 80, 160, 0.42);

    --glow-cyan:   0 0 20px rgba(0, 100, 170, 0.22);
    --glow-violet: 0 0 20px rgba(136, 0, 204, 0.22);

    /* Card background blur: bright wash instead of dark */
    --bg-blur-filter: blur(70px) saturate(0.4) brightness(3) opacity(0.18);
  }
}


/* Animatable custom property for the title accent blend */
@property --title-blend {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 30%;
}


/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }


/* ============================================================
   Ambient glow blobs — large, fixed, blurred
   ============================================================ */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(140px);
}

body::before {
  width: clamp(500px, 70vw, 1000px);
  height: clamp(500px, 70vw, 1000px);
  background: rgba(0, 229, 255, 0.07);
  top: -25%;
  right: -20%;
}

body::after {
  width: clamp(400px, 55vw, 800px);
  height: clamp(400px, 55vw, 800px);
  background: rgba(204, 68, 255, 0.065);
  bottom: 0%;
  left: -18%;
}

@media (prefers-color-scheme: light) {
  body::before { background: rgba(0, 100, 200, 0.055); }
  body::after  { background: rgba(136, 0, 204, 0.05); }
}

@media (max-width: 720px), (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    display: none;
  }
}


/* ============================================================
   Perspective grid — fixed, bottom of viewport
   ============================================================ */
.perspective-grid {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.perspective-grid__surface {
  position: absolute;
  bottom: -20%;
  left: -40%;
  right: -40%;
  height: 100%;
  transform: perspective(400px) rotateX(62deg);
  transform-origin: bottom center;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: grid-scroll 5s linear infinite;
}

@keyframes grid-scroll {
  from { background-position: 0 0; }
  to   { background-position: 0 72px; }
}

/* Fade the grid out top + sides */
.perspective-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--color-bg) 0%, transparent 35%, var(--color-bg) 95%),
    linear-gradient(to right, var(--color-bg) 0%, transparent 15%, transparent 85%, var(--color-bg) 100%);
  z-index: 1;
}

/* Horizon glow line */
.perspective-grid::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--color-cyan) 20%,
    var(--color-violet) 50%,
    var(--color-cyan) 80%,
    transparent 100%
  );
  opacity: 0.25;
  filter: blur(1px);
  z-index: 2;
}

@media (prefers-color-scheme: light) {
  .perspective-grid__surface {
    background-image:
      linear-gradient(rgba(0, 100, 200, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 100, 200, 0.08) 1px, transparent 1px);
  }
}

@media (max-width: 720px), (prefers-reduced-motion: reduce) {
  .perspective-grid {
    display: none;
  }
}


/* ============================================================
   CRT Scanlines — fixed, full page
   ============================================================ */
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.04) 3px,
    rgba(0, 0, 0, 0.04) 4px
  );
}

@media (prefers-color-scheme: light) { .scanlines { display: none; } }

@media (max-width: 720px), (prefers-reduced-motion: reduce) {
  .scanlines {
    display: none;
  }
}


/* ============================================================
   Site Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-4) var(--pad-x);
  background: rgba(4, 4, 11, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Gradient bottom rule */
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--color-cyan) 25%,
    var(--color-violet) 75%,
    transparent 100%
  );
  opacity: 0.35;
}

@media (prefers-color-scheme: light) {
  .site-header { background: rgba(238, 238, 248, 0.88); }
}

@media (max-width: 720px), (prefers-reduced-motion: reduce) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.site-header__tagline {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  padding-bottom: 2px;
}

.site-header__tagline span {
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(to top, var(--color-violet), var(--color-cyan));
  opacity: 0.45;
}

.site-header__tagline span:nth-child(1) { animation: eq-1 0.72s ease-in-out -0.14s infinite alternate; }
.site-header__tagline span:nth-child(2) { animation: eq-2 0.55s ease-in-out -0.38s infinite alternate; }
.site-header__tagline span:nth-child(3) { animation: eq-3 0.88s ease-in-out -0.06s infinite alternate; }
.site-header__tagline span:nth-child(4) { animation: eq-4 0.63s ease-in-out -0.27s infinite alternate; }
.site-header__tagline span:nth-child(5) { animation: eq-5 0.79s ease-in-out -0.51s infinite alternate; }

@keyframes eq-1 { from { height: 3px; }  to { height:  9px; } }
@keyframes eq-2 { from { height: 4px; }  to { height: 17px; } }
@keyframes eq-3 { from { height: 2px; }  to { height: 12px; } }
@keyframes eq-4 { from { height: 5px; }  to { height: 15px; } }
@keyframes eq-5 { from { height: 3px; }  to { height:  8px; } }

@media (max-width: 480px) { .site-header__tagline { display: none; } }


/* ============================================================
   Logo
   ============================================================ */
.logo { display: flex; align-items: center; }

.logo__wordmark {
  font-family: 'Arial', Arial, sans-serif;
  font-style: italic;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 999;
  letter-spacing: -0.08em;
  padding-right: 0.12em;
  user-select: none;
  background: linear-gradient(
    90deg,
    var(--color-cyan)   0%,
    #ffffff             35%,
    var(--color-violet) 65%,
    var(--color-cyan)   100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.45));
  animation: logo-gradient-flow 10s ease-in-out infinite;
}

@keyframes logo-gradient-flow {
  0%, 100% { background-position:   0% 0; }
  50%       { background-position: 100% 0; }
}

@media (max-width: 720px), (prefers-reduced-motion: reduce) {
  .logo__wordmark {
    animation: none;
  }
}

@media (prefers-color-scheme: light) {
  .logo__wordmark {
    background-image: linear-gradient(
      90deg,
      var(--color-cyan)        0%,
      var(--color-text-bright) 40%,
      var(--color-violet)      70%,
      var(--color-cyan)        100%
    );
    filter: none;
  }
}


/* ============================================================
   Ticker — scrolling marquee strip
   ============================================================ */
.ticker {
  position: relative;
  z-index: 9;
  overflow: hidden;
  padding-block: 9px 10px;
  background: rgba(4, 4, 11, 0.6);
  border-bottom: 1px solid var(--color-border-faint);
}

/* Fade edges */
.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(to right, var(--color-bg), transparent); }
.ticker::after  { right: 0; background: linear-gradient(to left,  var(--color-bg), transparent); }

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}

.ticker__set {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  padding-right: 0;
  white-space: nowrap;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-color-scheme: light) {
  .ticker { background: rgba(238, 238, 248, 0.5); }
}

@media (max-width: 720px), (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }
}


/* ============================================================
   Releases section — dot matrix texture
   ============================================================ */
.releases {
  position: relative;
  z-index: 1;
  padding-block: var(--sp-5) var(--sp-9);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

@media (prefers-color-scheme: light) {
  .releases {
    background-image: radial-gradient(circle, rgba(0, 0, 100, 0.07) 1px, transparent 1px);
  }
}

.releases__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}


/* ============================================================
   Section heading — glowing symmetric rules
   ============================================================ */
.releases-heading {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-block: var(--sp-5) var(--sp-4);
}

.releases-heading__text {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.releases-heading__pip {
  font-size: 6px;
  color: var(--color-cyan);
  opacity: 0.7;
  flex-shrink: 0;
}


/* ============================================================
   Release Card
   ============================================================ */
.release {
  --accent:              var(--color-cyan);
  --accent-rgb:          0, 229, 255;
  --accent-glow:         var(--glow-cyan);
  --accent-opposite-rgb: 204, 68, 255;

  position: relative;
  isolation: isolate;
  contain: paint;
  overflow: hidden;
  margin-bottom: var(--sp-5);
  padding: var(--sp-6) var(--sp-6) var(--sp-7);
  border-radius: var(--radius-xl);

  /* Gradient border via padding-box / border-box */
  background:
    linear-gradient(var(--color-card), var(--color-card)) padding-box,
    linear-gradient(
      135deg,
      rgba(var(--accent-rgb), 0.4) 0%,
      rgba(var(--accent-rgb), 0.1) 35%,
      transparent 58%
    ) border-box,
    linear-gradient(
      315deg,
      rgba(var(--accent-opposite-rgb), 0.35) 0%,
      rgba(var(--accent-opposite-rgb), 0.08) 30%,
      transparent 52%
    ) border-box;
  border: 1px solid transparent;

  /* Flat by default — shadow appears on hover */
  box-shadow: none;

  /* Scroll reveal */
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out),
    box-shadow var(--dur-mid) var(--ease-out);
}

.release.is-visible { opacity: 1; transform: translateY(0); }

.release:nth-child(even) {
  --accent:              var(--color-violet);
  --accent-rgb:          204, 68, 255;
  --accent-glow:         var(--glow-violet);
  --accent-opposite-rgb: 0, 229, 255;
}

.release:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), 0.25),
    0 0 20px rgba(var(--accent-rgb), 0.12),
    inset 0 0 40px rgba(var(--accent-rgb), 0.03),
    0 16px 40px rgba(0, 0, 0, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Blurred cover art — full card atmosphere */
.release__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: var(--bg-blur-filter);
  transform: scale(1.2);
  z-index: 0;
  pointer-events: none;
}

/* No top line — accent is carried by the gradient border corner only */


/* — Header row — */
.release__header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-5);
  margin-bottom: var(--sp-5);
}

.release__title-group {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.release__title {
  font-family: var(--font-title);
  font-size: clamp(20px, 4.8vw, 50px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  color: color-mix(in srgb, var(--accent) var(--title-blend), var(--color-text-bright));
  flex: 1;
  min-width: 0;
  transition: --title-blend var(--dur-slow) var(--ease-out);
}

.release:hover .release__title {
  --title-blend: 100%;
}

.release__badges {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding-top: 10px;
  flex-shrink: 0;
}

.release__year {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-text-dim);
}

.release__type {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  border-radius: var(--radius-sm);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.07);
  transition: background var(--dur-fast), border-color var(--dur-fast);
}

.release:hover .release__type {
  background: rgba(var(--accent-rgb), 0.14);
  border-color: rgba(var(--accent-rgb), 0.65);
}

/* — Body (player + info) — */
.release__body {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--sp-6);
  align-items: start;
  margin-bottom: var(--sp-5);
}

.release__body--no-player {
  grid-template-columns: 1fr;
}

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

  .release__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: var(--sp-4);
  }

  .release__title-group {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
  }

  .release__title {
    width: 100%;
    flex: none;
  }

  .release__badges {
    padding-top: 0;
  }

  .release__cover-btn {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }
}

/* — Cover art thumbnail button (in header) — */
.release__cover-btn {
  all: unset;
  display: block;
  cursor: zoom-in;
  flex-shrink: 0;
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.12);
  transition:
    border-color var(--dur-fast),
    box-shadow var(--dur-fast),
    transform var(--dur-fast) var(--ease-out);
}

.release__cover-btn:hover {
  border-color: rgba(var(--accent-rgb), 0.65);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.35);
  transform: scale(1.06);
}

.release__cover-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.release__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

/* Expand icon — appears on hover */
.release__cover-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  color: #fff;
  opacity: 0;
  transition: opacity var(--dur-fast), background var(--dur-fast);
  border-radius: var(--radius-md);
}

.release__cover-btn:hover .release__cover-hint {
  opacity: 1;
  background: rgba(0, 0, 0, 0.4);
}

@media (max-width: 480px) {
  .release__cover-btn { width: 56px; height: 56px; }
}

/* — Info column — */
.release__info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  min-width: 0;
  position: relative;
  z-index: 3;
}

/* — Track list — */
.tracklist {
  list-style: none;
  border-top: 1px solid var(--color-border-faint);
}

.tracklist__item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: var(--sp-3);
  padding-block: 9px;
  border-bottom: 1px solid var(--color-border-faint);
  font-size: 13px;
  color: var(--color-text-dim);
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}

.tracklist__item:hover { color: var(--color-text); padding-left: 4px; }

.tracklist__item--clickable {
  cursor: pointer;
}

.tracklist__item--clickable:hover {
  color: var(--accent);
  padding-left: 4px;
}

.tracklist__item--active {
  color: var(--accent);
}

.tracklist__item--active .tracklist__num {
  opacity: 1;
}

.tracklist__play-icon {
  color: var(--accent);
  opacity: 0;
  transition: opacity var(--dur-fast);
  width: 12px;
  height: 12px;
  text-align: center;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tracklist__play-icon svg {
  width: 9px;
  height: 9px;
  display: block;
  overflow: visible;
}

.tracklist__play-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.tracklist__item--active .tracklist__play-icon path {
  fill: currentColor;
  stroke: currentColor;
}

.tracklist__item--clickable:hover .tracklist__play-icon,
.tracklist__item--active .tracklist__play-icon {
  opacity: 1;
}

.tracklist__num {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.5;
}

.tracklist__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (prefers-color-scheme: dark) {
  .tracklist__name { color: #8888aa; }
  .tracklist__item:hover .tracklist__name { color: var(--color-text); }
  .tracklist__item--clickable:hover .tracklist__name { color: var(--accent); }
}

/* — Streaming links — */
.streaming { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.streaming__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px 6px 10px;
  border-radius: 100px;
  border: 1px solid var(--color-border-pop);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    border-color var(--dur-fast),
    color var(--dur-fast),
    background-color var(--dur-fast),
    box-shadow var(--dur-fast);
  white-space: nowrap;
}

.streaming__btn--unavailable {
  opacity: 0.22;
  pointer-events: none;
  user-select: none;
}

.streaming__btn:not(.streaming__btn--unavailable):hover {
  border-color: var(--platform-color);
  color: var(--platform-color);
  background-color: color-mix(in srgb, var(--platform-color) 10%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--platform-color) 25%, transparent);
}

.streaming__btn--spotify  { --platform-color: #1DB954; }
.streaming__btn--apple    { --platform-color: #fc3c44; }
.streaming__btn--amazon   { --platform-color: #00A8E1; }
.streaming__btn--tidal    { --platform-color: #a0a0c0; }
.streaming__btn--youtube  { --platform-color: #FF0000; }
.streaming__btn--deezer   { --platform-color: #A238FF; }

.streaming__icon { width: 13px; height: 13px; flex-shrink: 0; fill: currentColor; }

/* — YouTube player — */
.release__player { position: relative; z-index: 3; min-width: 0; }

.yt-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  /* Accent-tinted gradient — reads --accent-rgb from the parent .release */
  background:
    radial-gradient(ellipse at 18% 65%, rgba(var(--accent-rgb), 0.22) 0%, transparent 52%),
    radial-gradient(ellipse at 82% 28%, rgba(var(--accent-rgb), 0.12) 0%, transparent 44%),
    #05050f;
  cursor: pointer;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  box-shadow:
    0 0 20px rgba(var(--accent-rgb), 0.1),
    0 8px 32px rgba(0, 0, 0, 0.5);
  transition: border-color var(--dur-mid), box-shadow var(--dur-mid);
}

.yt-wrap:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow:
    0 0 30px rgba(var(--accent-rgb), 0.22),
    0 12px 48px rgba(0, 0, 0, 0.6);
}

.yt-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: filter var(--dur-mid);
}

.yt-wrap:hover .yt-thumb { filter: brightness(0.7) saturate(1.2); }

.yt-play-btn {
  all: unset;
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.yt-play-btn svg {
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.8));
  transition: transform var(--dur-fast) var(--ease-out), filter var(--dur-fast);
}

.yt-wrap:hover .yt-play-btn svg {
  transform: scale(1.12);
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.3)) drop-shadow(0 2px 16px rgba(0, 0, 0, 0.9));
}

.yt-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
  z-index: 3;
}


/* ============================================================
   Site Footer
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 5;
  padding: var(--sp-5) var(--pad-x);
  background: rgba(4, 4, 11, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}


@media (prefers-color-scheme: light) {
  .site-footer { background: rgba(228, 228, 244, 0.82); }
}

.site-footer__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.site-footer__symbol { opacity: 0.3; }
@media (prefers-color-scheme: light) { .site-footer__symbol { filter: invert(1); } }

.site-footer__copy {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  display: flex;
  gap: var(--sp-3);
  align-items: center;
}

.site-footer__separator { opacity: 0.3; color: var(--color-cyan); font-size: 8px; }

.site-footer__social {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-left: auto;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.site-footer__social-link:hover { color: var(--color-text); }

@media (max-width: 480px) {
  .site-footer__inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .site-footer__social {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    gap: var(--sp-3) var(--sp-5);
  }
}


/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed; inset: 0;
  z-index: 800;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  backdrop-filter: blur(20px);
  animation: fade-in var(--dur-mid) var(--ease-out);
}

.lightbox[hidden] { display: none; }

.lightbox__img {
  max-width: min(1200px, 90vw);
  max-height: 90dvh;
  width: auto; height: auto;
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.2),
    0 0 60px rgba(0, 229, 255, 0.1),
    0 40px 100px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: var(--sp-5); right: var(--sp-5);
  width: 40px; height: 40px;
  border: 1px solid var(--color-border-mid);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--dur-fast), color var(--dur-fast), background-color var(--dur-fast);
}

.lightbox__close:hover {
  border-color: var(--color-border-pop);
  color: var(--color-text-bright);
  background-color: var(--color-elevated);
}


/* ============================================================
   Utility
   ============================================================ */
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.sr-only {
  clip: rect(0 0 0 0); clip-path: inset(50%);
  height: 1px; overflow: hidden;
  position: absolute; white-space: nowrap; width: 1px;
}
