/* ============ Base ============ */
:root {
  --bg: #000;
  --fg: #e6e6e6;
  --dim: #444;
  --muted: #8a8a8a;
  --line: #262626;
  --gutter: clamp(16px, 3.4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* tracking from the PSD (Photoshop −70 = −0.07em). Set on every element so it is
   measured against that element's own font size, not inherited as a fixed px value */
*, *::before, *::after { letter-spacing: -0.07em; }
.statement, .statement * { letter-spacing: -0.06em; }
.display, .display *, .index-list .title, .ep-num, .ep-num * { letter-spacing: -0.08em; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: #fff; color: #000; }

/* ============ Grain ============ */
.grain {
  position: fixed;
  inset: -100%;
  width: 300%;
  height: 300%;
  pointer-events: none;
  z-index: 90;
  opacity: .085;
  background-repeat: repeat;
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  17%  { transform: translate(-5%, -8%); }
  33%  { transform: translate(-12%, 4%); }
  50%  { transform: translate(7%, -12%); }
  67%  { transform: translate(-4%, 13%); }
  83%  { transform: translate(11%, 5%); }
  100% { transform: translate(0, 0); }
}

/* ============ Page curtain (transitions) ============ */
.curtain {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 100;
  pointer-events: none;
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  font-size: 13px;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -30px;
  background: linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,.5) 55%, transparent);
  z-index: -1;
  pointer-events: none;
}
.site-header .brand { font-weight: 500; }
.site-header nav { display: flex; gap: clamp(18px, 9vw, 150px); }
.site-header nav a,
.site-header .brand { color: #bdbdbd; transition: color .3s; position: relative; }
.site-header nav a:hover,
.site-header nav a.is-active { color: #fff; }
.site-header nav a.is-active::before,
.site-header nav a:hover::before {
  content: "";
  position: absolute;
  left: -10px; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}
.site-header .spacer { width: 80px; }

.burger, .menu { display: none; }

@media (max-width: 760px) {
  .site-header { padding-top: 18px; padding-bottom: 18px; }
  .site-header nav, .site-header .spacer { display: none; }
  .site-header .brand { font-size: 15px; position: relative; z-index: 2; }

  /* hamburger: two lines that turn into a cross */
  .burger {
    display: block;
    position: relative;
    z-index: 2;
    width: 40px;
    height: 40px;
    margin-right: -8px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
  }
  .burger span {
    position: absolute;
    left: 8px; right: 8px;
    height: 2px;
    background: #e6e6e6;
    transition: transform .6s var(--ease), top .6s var(--ease);
  }
  .burger span:first-child { top: 15px; }
  .burger span:last-child { top: 23px; }
  .menu-open .burger span:first-child { top: 19px; transform: rotate(45deg); }
  .menu-open .burger span:last-child { top: 19px; transform: rotate(-45deg); }

  /* full-screen menu */
  .menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    inset: 0;
    z-index: 45;
    background: #000;
    padding: 96px var(--gutter) 28px;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
  }
  .menu-links { display: flex; flex-direction: column; margin-top: auto; margin-bottom: auto; }
  .menu-links a {
    display: block;
    overflow: hidden;
    font-size: clamp(52px, 17vw, 96px);
    line-height: .9;
    font-weight: 800;
    color: #e6e6e6;
    letter-spacing: -0.06em;
    padding-bottom: .04em;
  }
  .menu-links a span { display: inline-block; }
  .menu-links a.is-active { color: #fff; }
  .menu-links a:not(.is-active) { color: #8a8a8a; }
  .menu-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: 14px; font-weight: 600; color: #8f8f8f; }
  .menu-open { overflow: hidden; }
}

/* ============ Hero (home) ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow-x: clip;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.hero-photo {
  position: absolute;
  left: 0; right: 0;
  top: 17%;
  height: 115%;
  pointer-events: none;
  /* fades in from the logo above and melts into black below — no hard edge */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 50%, rgba(0,0,0,.55) 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 50%, rgba(0,0,0,.55) 72%, transparent 100%);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  will-change: transform;
}

.logo-stage {
  position: absolute;
  left: 0; right: 0;
  margin: 0 auto;
  /* scales with the window in every browser: ~2/3 of the width, capped by height on wide screens */
  --logo-w: min(66vw, 135vh);
  top: calc(32% - var(--logo-w) * .158);
  width: var(--logo-w);
  perspective: 1100px;
  z-index: 2;
}
.logo-3d {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.logo-inner { position: relative; isolation: isolate; transform: translateZ(0); }
.logo-img { position: relative; filter: saturate(.45) brightness(1.08) contrast(1.04); }
/* stacked copies behind the face give the letters a solid metal body when they tilt */
.logo-depth {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  transform: translateZ(calc(var(--z) * -2.4px));
  filter: grayscale(.7) brightness(calc(.62 - var(--z) * .035));
  pointer-events: none;
}
/* soft halo around the letters; grows when the hero is pressed */
.logo-bloom {
  position: absolute;
  inset: 0;
  width: 100%;
  filter: blur(28px) grayscale(1) brightness(1.7);
  opacity: .32;
  pointer-events: none;
}
/* pale lavender-white fill, like brushed chrome under soft light */
.logo-tint {
  position: absolute;
  inset: 0;
  -webkit-mask: url("../assets/logo.avif") center / 100% 100% no-repeat;
          mask: url("../assets/logo.avif") center / 100% 100% no-repeat;
  background: linear-gradient(180deg, #f6f5ff 0%, #dcdcf4 45%, #bfc0dc 100%);
  mix-blend-mode: color;
  opacity: .5;
  pointer-events: none;
}
.logo-3d img { width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
/* chrome highlight that sweeps over the letters, clipped to the logo's own shape */
.logo-shine {
  position: absolute;
  inset: 0;
  -webkit-mask: url("../assets/logo.avif") center / 100% 100% no-repeat;
          mask: url("../assets/logo.avif") center / 100% 100% no-repeat;
  background: linear-gradient(105deg,
      transparent 0%, transparent 38%,
      rgba(210, 228, 255, .0) 42%,
      rgba(235, 244, 255, .85) 50%,
      rgba(210, 228, 255, .0) 58%,
      transparent 62%, transparent 100%);
  background-size: 260% 100%;
  background-position: var(--shine-x, 120%) 0;
  mix-blend-mode: screen;
  pointer-events: none;
}
.logo-flares {
  position: absolute;
  left: -12%; top: -30%;
  width: 124%; height: 160%;
  pointer-events: none;
  mix-blend-mode: screen;
}


@media (max-width: 760px) {
  .logo-stage { --logo-w: 92vw; top: calc(34% - var(--logo-w) * .158); }
  .hero-photo { top: 30%; height: 90%; }
}

/* ============ Layout ============ */
/* short pages: keep the footer pinned to the bottom of the screen */
body { min-height: 100svh; display: flex; flex-direction: column; }
main { position: relative; z-index: 1; flex: 1 0 auto; }
.section { padding: 0 var(--gutter); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.page-top { padding-top: clamp(120px, 18vh, 200px); }

.lede-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  padding-top: clamp(40px, 8vw, 120px);
  padding-bottom: clamp(60px, 10vw, 160px);
}
.lede-row .small {
  grid-column: 7 / span 4;
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1;
  color: #a9a9a9;
  font-weight: 500;
}
/* always two lines on desktop: break after "body of work" */
@media (min-width: 761px) {
  .lede-row .small { grid-column: 7 / -1; white-space: nowrap; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .lede-row .small { grid-column: 4 / -1; }
}
@media (max-width: 760px) {
  .lede-row .small { grid-column: 1 / -1; white-space: nowrap; font-size: min(13px, 3.2vw); line-height: 1.1; }
}

/* big statement paragraph – words brighten as you scroll */
.statement {
  font-size: clamp(20px, 2.15vw, 34px);
  line-height: .93;
  color: #6a6a6a;
  margin: 0;
  max-width: 1500px;
}
.statement .indent { display: inline-block; width: 45%; }
.statement .hl { color: #d6d6d6; }
/* white name that reveals a photo on hover */
.statement .peek { color: #fff; cursor: pointer; }
.peek-img {
  position: fixed;
  left: 0;
  top: 0;
  width: clamp(150px, 14vw, 230px);
  height: auto;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.statement + .statement { margin-top: 1.1em; }

.display {
  font-size: clamp(46px, 8.6vw, 150px);
  line-height: .8;
  font-weight: 600;
  color: var(--dim);
  margin: 0;
}
.display .hl { color: #c4c4c4; }

.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
  transition: color .3s;
}
.more-link span { transition: transform .5s var(--ease); }
.more-link:hover { color: #fff; }
.more-link:hover span { transform: translateX(8px); }

/* ============ Index list (home) ============ */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index-list li { border-bottom: 1px solid var(--line); }
.index-list a {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  position: relative;
}
.index-list .num { font-size: 12px; color: var(--muted); }
.index-list .title {
  font-size: clamp(34px, 5.4vw, 92px);
  line-height: 1;
  font-weight: 500;
  color: var(--dim);
  transition: color .4s, transform .6s var(--ease);
}
.index-list .desc { font-size: 13px; color: var(--muted); max-width: 240px; text-align: right; }
.index-list a:hover .title { color: #e6e6e6; transform: translateX(14px); }
@media (max-width: 760px) {
  .index-list a { grid-template-columns: 34px 1fr; }
  .index-list .desc { display: none; }
}

/* ============ Music ============ */
.platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.platform {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
  min-height: 260px;
  padding: 24px 20px 24px 0;
  border-right: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.platform + .platform { padding-left: 20px; }
.platform:last-child { border-right: 0; }
.platform svg { width: 44px; height: 44px; color: #bdbdbd; transition: color .3s, transform .6s var(--ease); }
.platform .name { font-size: clamp(22px, 2.2vw, 34px); font-weight: 500; color: #bdbdbd; transition: color .3s; }
.platform .go { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }
.platform:hover svg { color: #fff; transform: scale(1.08) rotate(-4deg); }
.platform:hover .name { color: #fff; }
.platform::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.07), transparent 55%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.platform:hover::after { opacity: 1; }
@media (max-width: 900px) {
  .platforms { grid-template-columns: 1fr 1fr; }
  .platform { min-height: 190px; border-bottom: 1px solid var(--line); }
  .platform:nth-child(2) { border-right: 0; }
  .platform:nth-child(3) { padding-left: 0; }
}

/* ============ Tour ============ */
.dates { width: 100%; border-collapse: collapse; font-size: 13px; text-transform: uppercase; }
.dates th { text-align: left; font-weight: 500; color: #bdbdbd; padding: 0 0 14px; }
.dates td { padding: 22px 0; border-top: 1px solid var(--line); color: #d0d0d0; }
.dates tr:last-child td { border-bottom: 1px solid var(--line); }
.dates td.city { color: #5a5a5a; }
.dates .t { text-align: right; }
.dates td a { position: relative; transition: color .3s; }
.dates td a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.dates td a:hover::after { transform: scaleX(1); transform-origin: left; }
.dates tbody tr { transition: background .3s; }
.dates tbody tr:hover { background: rgba(255,255,255,.025); }
@media (max-width: 760px) {
  .dates .venue-h, .dates td.venue { display: none; }
}

/* ============ About ============ */
/* bio runs the full width; the portrait floats on the right and the text wraps around it */
.about-bio { position: relative; padding-bottom: clamp(60px, 8vw, 120px); }
.about-bio::after { content: ""; display: block; clear: both; }
.about-bio .statement { max-width: none; font-size: clamp(20px, 2.6vw, 46px); }
.bio-photo {
  float: right;
  width: 34%;
  margin: .4em 0 1.2em clamp(20px, 2.4vw, 40px);
  overflow: hidden;
  aspect-ratio: 1200 / 1660;
}
.bio-photo img { width: 100%; height: 116%; margin-top: -8%; object-fit: cover; display: block; }

/* small childhood photo that drifts down through the text as you scroll */
.kid-photo {
  position: absolute;
  top: clamp(120px, 18vh, 200px);
  left: calc(var(--gutter) + 22%);
  width: clamp(64px, 6.4vw, 110px);
  height: auto;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}
@media (max-width: 760px) {
  .bio-photo { float: none; width: 100%; margin: 0 0 32px; }
  .about-bio .statement .indent { width: 20%; }
  .kid-photo { left: calc(var(--gutter) + 8%); }
}

/* ============ Music: track list ============ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tracks-wrap { position: relative; }
.tracks { list-style: none; margin: 0; padding: 0; position: relative; z-index: 2; }
.track {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(8px, 1vw, 16px) 0 clamp(10px, 1.2vw, 18px);
  border-bottom: 1px solid var(--line);
}
.t-name {
  font-size: clamp(56px, 9.4vw, 176px);
  line-height: .85;
  font-weight: 600;
  color: #3d3d3d;
  transition: color .5s var(--ease);
}
.t-name { letter-spacing: -0.08em; }
.t-type {
  font-size: clamp(14px, 1.3vw, 22px);
  color: #cfcfcf;
  padding-bottom: .5em;
  transition: color .4s;
}
.t-thumb { display: none; }
.track:hover .t-name, .track.is-on .t-name { color: #fff; }
.track:hover .t-type { color: #fff; }

/* cover that appears next to the hovered track */
.track-cover {
  position: absolute;
  top: 0;
  left: 54%;
  width: min(25vw, 420px);
  aspect-ratio: 1;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.track-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.track-cover img.is-on { opacity: 1; }

@media (hover: none), (max-width: 760px) {
  .track-cover { display: none; }
  .t-name { color: #e6e6e6; font-size: clamp(40px, 12vw, 80px); }
  .t-thumb { display: block; width: 56px; height: 56px; object-fit: cover; margin-left: auto; }
  .t-type { padding-bottom: 0; align-self: center; }
  .track { align-items: center; }
}

/* ============ Contact: looping background video ============ */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: .7;
  pointer-events: none;
}
body[data-page="contact"] main::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.15) 45%, rgba(0,0,0,.6));
  pointer-events: none;
}

/* ============ Discotime ============ */
.dt-top { padding-top: clamp(140px, 20vh, 220px); text-align: center; }
.dt-anim { width: min(76vw, 1240px); margin: 0 auto; }
.dt-anim img { width: 100%; height: auto; }
.dt-text {
  max-width: 560px;
  margin: clamp(40px, 5vw, 70px) auto 0;
  font-size: clamp(15px, 1.25vw, 18px);
  color: #9a9a9a;
}
.dt-text .hl { color: #e6e6e6; }

.episodes-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 14px;
}
.episodes { list-style: none; margin: 0; padding: 0; }
.episodes:first-of-type { border-top: 1px solid var(--line); }
.episode a {
  display: grid;
  grid-template-columns: 90px 1fr 140px 90px 48px;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.episode .ep-num {
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 500;
  color: var(--dim);
  transition: color .4s;
}
.episode .ep-title { font-size: 14px; color: #d0d0d0; transition: transform .6s var(--ease); }
.episode .ep-date,
.episode .ep-dur { font-size: 13px; color: #6a6a6a; text-transform: uppercase; }
.episode .ep-play {
  width: 44px; height: 44px;
  border: 1px solid #3a3a3a;
  border-radius: 50%;
  display: grid;
  place-items: center;
  justify-self: end;
  transition: background .35s, border-color .35s, transform .6s var(--ease);
}
.episode .ep-play svg { width: 12px; height: 12px; fill: #d0d0d0; margin-left: 2px; transition: fill .35s; }
.episode a:hover { background: rgba(255,255,255,.025); }
.episode a:hover .ep-num { color: #e6e6e6; }
.episode a:hover .ep-title { transform: translateX(8px); }
.episode a:hover .ep-play { background: #e6e6e6; border-color: #e6e6e6; transform: scale(1.08); }
.episode a:hover .ep-play svg { fill: #000; }
@media (max-width: 760px) {
  .episode a { grid-template-columns: 64px 1fr 44px; row-gap: 2px; }
  .episode .ep-date { grid-column: 2; grid-row: 2; }
  .episode .ep-dur { display: none; }
  .episode .ep-play { grid-column: 3; grid-row: 1 / span 2; }
  .episode .ep-num { grid-row: 1 / span 2; }
}

.more-btn {
  display: block;
  text-align: center;
  width: 100%;
  margin-top: 40px;
  padding: 44px 0;
  background: transparent;
  border: 1px solid #3a3a3a;
  color: #d0d0d0;
  font: inherit;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .4s, color .4s;
}
.more-btn:hover { background: #e6e6e6; color: #000; }

/* ---- episode now playing ---- */
.episode .ep-play .i-pause { display: none; }
.episode.is-playing .ep-num,
.episode.is-playing .ep-title { color: #fff; }
.episode.is-playing .ep-play { background: #e6e6e6; border-color: #e6e6e6; }
.episode.is-playing .ep-play svg { fill: #000; margin-left: 0; }
.episode.is-playing.is-paused .ep-play svg { margin-left: 2px; }
.episode.is-playing:not(.is-paused) .ep-play .i-play { display: none; }
.episode.is-playing:not(.is-paused) .ep-play .i-pause { display: block; }

/* ============ Discotime player ============ */
.player {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 12px;
  z-index: 40;
  display: grid;
  grid-template-columns: 64px 44px 1fr 36px 36px;
  align-items: center;
  gap: 16px;
  padding: 10px 14px 10px 10px;
  background: rgba(14,14,14,.92);
  border: 1px solid #262626;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transform: translateY(calc(100% + 24px));
  transition: transform .9s var(--ease);
}
.player.is-open { transform: none; }
.menu-open .player { visibility: hidden; }
body.has-player .site-footer { padding-bottom: 110px; }
.pl-cover { width: 64px; height: 64px; object-fit: cover; display: block; }
.player button {
  background: none;
  border: 0;
  padding: 0;
  color: #d0d0d0;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.pl-toggle {
  width: 44px; height: 44px;
  border: 1px solid #3a3a3a !important;
  border-radius: 50%;
  transition: background .35s, border-color .35s;
}
.pl-toggle svg { width: 12px; height: 14px; fill: currentColor; }
.pl-toggle .i-play { margin-left: 2px; }
.pl-toggle:hover { background: #e6e6e6; border-color: #e6e6e6 !important; color: #000; }
.player .i-pause { display: none; }
.player.is-playing .i-play { display: none; }
.player.is-playing .i-pause { display: block; }
.pl-main { min-width: 0; }
.pl-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  font-size: 12px;
  color: #9a9a9a;
  margin-bottom: 6px;
}
.pl-title { color: #e6e6e6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-time { font-variant-numeric: tabular-nums; }
.pl-time .pl-cur { color: #e6e6e6; }
.pl-num { text-align: right; text-transform: uppercase; }
.pl-wave { display: block; width: 100%; height: 30px; cursor: pointer; touch-action: none; outline: none; }
.pl-prev svg, .pl-next svg { width: 12px; height: 12px; fill: currentColor; stroke: currentColor; stroke-width: 1.4; }
.pl-prev, .pl-next { width: 36px; height: 36px; transition: color .3s; }
.pl-prev:hover, .pl-next:hover { color: #fff; }
.player button:disabled { opacity: .25; cursor: default; }
@media (max-width: 760px) {
  .player {
    left: 8px; right: 8px; bottom: 8px;
    grid-template-columns: 48px 1fr 40px;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    padding: 8px;
  }
  .pl-cover { width: 48px; height: 48px; }
  .pl-toggle { grid-column: 3; grid-row: 1; width: 40px; height: 40px; }
  .pl-main { display: contents; }
  .pl-meta { grid-column: 2; grid-row: 1; grid-template-columns: 1fr; gap: 2px; margin: 0; align-self: center; }
  .pl-num { display: none; }
  .pl-wave { grid-column: 1 / -1; grid-row: 2; height: 26px; }
  .player .pl-prev, .player .pl-next { display: none; }
  body.has-player .site-footer { padding-bottom: 120px; }
}

/* ============ Contact ============ */
.contacts { display: flex; flex-wrap: wrap; gap: clamp(40px, 8vw, 120px); }
.contact-card { display: flex; align-items: center; gap: 28px; font-size: 14px; line-height: 1; color: #d0d0d0; }
.contact-card .mail { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #555; transition: text-decoration-color .3s; }
.contact-card:hover .mail { text-decoration-color: #fff; }
.contact-card .arrow { width: 40px; transition: transform .6s var(--ease); }
.contact-card:hover .arrow { transform: translateX(-8px); }

/* ============ Footer ============ */
.site-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: end;
  padding: clamp(120px, 16vw, 240px) var(--gutter) 22px;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 600;
  color: #8f8f8f;
}
.site-footer a { display: block; width: fit-content; transition: color .3s; }
.site-footer .credit a { margin-left: auto; }
.site-footer a:hover { color: #fff; }
.site-footer .credit { text-align: right; }
@media (max-width: 760px) {
  .site-footer { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .site-footer .credit { text-align: left; }
  .site-footer .credit a { margin-left: 0; }
}

/* ============ Spacing helpers ============ */
.mt-s { margin-top: clamp(24px, 3vw, 48px); }
.mt-m { margin-top: clamp(60px, 8vw, 120px); }
.mt-l { margin-top: clamp(100px, 14vw, 220px); }

/* ============ Split text ============ */
.line { display: block; overflow: hidden; padding: .14em 0 .22em; margin: -.14em 0 -.22em; }
.line-inner { display: block; will-change: transform; }
.w { display: inline; }

/* hide until JS has prepared animations, to avoid a flash */
.js [data-reveal], .js [data-fade] { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
}

/* ============ Glow hover (menu + footer links) ============
   a soft light-grey streak under the word that follows the mouse, plus a small dot */
.fx { position: relative; }
.fx::after {
  content: "";
  position: absolute;
  left: var(--gx, 50%);
  top: 50%;
  width: 10em;
  height: 2.2em;
  transform: translate(-50%, -50%) scaleX(.4);
  background:
    radial-gradient(closest-side, rgba(255,255,255,1), rgba(255,255,255,0) 30%),
    radial-gradient(closest-side, rgba(220,220,232,.85), rgba(196,196,212,.35) 50%, transparent);
  filter: blur(6px);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s, transform .6s var(--ease);
}
.fx:hover { color: #fff !important; text-shadow: 0 0 10px rgba(235,235,245,.65); }
.fx:hover::after { opacity: 1; transform: translate(-50%, -50%) scaleX(1); }
.fx-dot::before {
  content: "";
  position: absolute;
  left: -10px; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 2px rgba(230,230,240,.8);
  transform: translateY(-50%) scale(0);
  transition: transform .4s var(--ease);
}
.fx-dot:hover::before, .fx-dot.is-active::before { transform: translateY(-50%) scale(1); }
@media (hover: none) { .fx::after, .fx-dot::before { display: none; } }

/* drawn ↗ arrow */
.ic-ne { width: .8em !important; height: .8em !important; vertical-align: -0.04em; overflow: visible; flex: none; }
.platform .go .ic-ne, .platform:hover .go .ic-ne { color: inherit; transform: none; }
