/* lgreko.world — layout + design. Player styles live in player.css. */

:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --bg-3: #1a1a1d;
  --line: rgba(243, 241, 236, 0.1);
  --line-2: rgba(243, 241, 236, 0.18);
  --text: #f3f1ec;
  --muted: #a3a19c;   /* 7.4:1 on --bg */
  --dim: #8a8883;     /* 5.4:1 on --bg */
  --accent: #ff5b2e;  /* the one accent: 6.3:1 on --bg, dark text on it 6.8:1 */
  --on-accent: #0b0b0c;

  --font-display: "Syne", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;

  --gutter: 16px;
  --maxw: 1240px;
  --radius: 14px;
  --radius-sm: 8px;
  --nav-h: 56px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --player-h: 0px;
}

@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --nav-h: 64px; } }

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: var(--player-h, 0px);
}

/* Film grain over everything (static; cheap). */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

::selection { background: var(--accent); color: var(--on-accent); }

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

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  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: fixed;
  top: 10px; left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

.icon { width: 20px; height: 20px; flex: none; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { border-color: var(--text); }
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.btn--primary:hover { background: var(--text); border-color: var(--text); }
.btn--ghost { padding: 0 16px; }
.btn--lg { min-height: 56px; padding: 0 28px 0 22px; font-size: 17px; }
.btn--lg .icon { width: 20px; height: 20px; }
.btn--sm { min-height: 36px; padding: 0 14px 0 12px; font-size: 14px; gap: 8px; }
.btn--sm .icon { width: 16px; height: 16px; }

/* Play/pause icon swap: [aria-pressed=true] means "this queue is playing". */
.icon--pause { display: none; }
[aria-pressed="true"] > .icon--play { display: none; }
[aria-pressed="true"] > .icon--pause { display: block; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 12, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--nav-h);
}
.nav__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.04em;
  text-decoration: none;
  line-height: 1;
  padding: 6px 0;
}
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  display: block;
  padding: 10px 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--text); }
@media (min-width: 640px) {
  .nav__links { gap: 12px; }
  .nav__links a { font-size: 14px; padding: 10px 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 14vh, 140px) 0 clamp(64px, 12vh, 120px);
  border-bottom: 1px solid var(--line);
}
.hero__bg {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(40% 45% at 18% 30%, rgba(255, 91, 46, 0.28), transparent 70%),
    radial-gradient(35% 40% at 85% 70%, rgba(255, 91, 46, 0.14), transparent 70%),
    radial-gradient(50% 50% at 60% 10%, rgba(120, 60, 255, 0.10), transparent 70%);
  filter: blur(10px);
  animation: drift 26s ease-in-out infinite alternate;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, var(--bg));
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(4%, -3%, 0) rotate(6deg) scale(1.08); }
  100% { transform: translate3d(-3%, 4%, 0) rotate(-4deg) scale(1.02); }
}

.hero__inner { container-type: inline-size; }
.hero__eyebrow { margin-bottom: 18px; }
.hero__eyebrow span { color: var(--accent); margin: 0 4px; }

.hero__mark {
  font-family: var(--font-display);
  font-weight: 800;
  /* Syne 800 "LGreko" is ~5.5em wide: size it to fill the column exactly. */
  font-size: clamp(52px, calc((100vw - var(--gutter) * 2 - 16px) / 5.6), 236px);
  font-size: clamp(52px, 18cqi, 232px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  margin-left: -0.04em;
  /* keep the last letter's tight tracking from clipping */
  padding-right: 0.06em;
  white-space: nowrap;
}

.hero__tagline {
  margin-top: clamp(18px, 3vw, 32px);
  font-family: var(--font-display);
  font-size: clamp(20px, 3.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 22ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: clamp(28px, 5vw, 48px);
}
.hero__stats { font-size: 14px; color: var(--muted); }

/* ---------- Icon links (hero + cards) ---------- */
.icon-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 28px;
  margin-left: -10px;
}
.icon-links:empty { display: none; }
.icon-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.2s, background-color 0.2s;
}
.icon-link:hover { color: var(--text); background: rgba(243, 241, 236, 0.06); }
.icon-link .icon { width: 22px; height: 22px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0 0; }
.section__head { margin-bottom: 32px; }
.section__head--row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 8vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
}
.section__title .x { color: var(--accent); font-weight: 700; }
.section__count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.section__blurb { margin-top: 14px; color: var(--muted); max-width: 36ch; }
.section__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.section .eyebrow { margin-bottom: 14px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Written / Collabs: list beside a sticky heading on wide screens */
.split { display: grid; gap: 8px; }
@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
  }
  .split__aside { position: sticky; top: calc(var(--nav-h) + 32px); margin-bottom: 0; }
  .split .section__title { font-size: clamp(44px, 5.4vw, 80px); }
}

/* ---------- Releases grid ---------- */
.releases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 12px;
}
@media (min-width: 720px) { .releases { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; } }
@media (min-width: 1100px) { .releases { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; } }

.release {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.35s var(--ease);
}

/* The first release (the album) is featured: full width on phones, 2x2 on wide screens. */
@media (max-width: 719px) {
  .release--feature { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .release--feature { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 719px), (min-width: 1100px) {
  .release--feature .release__title { font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.035em; }
  .release--feature .release__meta { font-size: 14px; }
  .release--feature .release__play { width: 64px; height: 64px; right: 16px; bottom: 16px; }
  .release--feature .release__play .icon { width: 26px; height: 26px; }
}

.release__art {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: box-shadow 0.35s var(--ease);
}
.release__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.release__art img.is-fallback { transform: scale(1.36); }

@media (hover: hover) {
  .release:hover { transform: translateY(-6px); }
  .release:hover .release__art { box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line-2); }
  .release:hover .release__art img:not(.is-fallback) { transform: scale(1.03); }
}

.release__play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s var(--ease), opacity 0.25s, background-color 0.2s;
}
.release__play .icon { width: 20px; height: 20px; }
.release__play > .icon--play { transform: translateX(1px); }
.release__play:hover { background: var(--text); }
@media (hover: hover) {
  .release__play { opacity: 0; transform: translateY(8px); }
  .release:hover .release__play,
  .release:focus-within .release__play,
  .release__play[aria-pressed="true"] { opacity: 1; transform: none; }
}
@media (max-width: 479px) {
  .release__play { width: 40px; height: 40px; right: 8px; bottom: 8px; }
  .release__play .icon { width: 17px; height: 17px; }
}

.release__open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 12px 0 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
/* Stretch the open button over the whole card (play button + links sit above). */
.release__open::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius-sm);
}
.release__open:focus-visible { outline: none; }
.release__open:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 4px; }
.release__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  overflow-wrap: break-word;
}
.release__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.release__meta .dot { color: var(--dim); }
.release__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.release__more::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.release:hover .release__more, .release.is-open .release__more { color: var(--text); }
.release.is-open .release__more::after { transform: translateY(1px) rotate(-135deg); }
.release.is-open .release__art { box-shadow: 0 0 0 2px var(--accent); }
.release__links {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0;
  margin: 4px 0 0 -10px;
}
.release__links:empty { display: none; }
.release__links .icon-link { width: 40px; height: 40px; }
.release__links .icon-link .icon { width: 18px; height: 18px; }

/* Expanded release (spans the whole grid row, inserted after the clicked row) */
.release-panel {
  grid-column: 1 / -1;
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 80% at 0% 0%, var(--panel-tint, rgba(255, 91, 46, 0.1)), transparent 60%),
    var(--bg-2);
  animation: panel-in 0.35s var(--ease);
}
@keyframes panel-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (min-width: 720px) { .release-panel { padding: 32px; } }

.panel__grid { display: grid; gap: 24px; }
@media (min-width: 720px) {
  .panel__grid { grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: 40px; align-items: start; }
}
.panel__head { display: flex; gap: 16px; align-items: flex-end; }
.panel__cover {
  width: 96px;
  flex: none;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-3);
}
.panel__cover img { width: 100%; height: 100%; object-fit: cover; }
.panel__cover img.is-fallback { transform: scale(1.36); }
@media (min-width: 720px) {
  .panel__head { display: block; }
  .panel__cover { width: 100%; margin-bottom: 20px; }
}
.panel__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  overflow-wrap: break-word;
}
.panel__meta { margin-top: 8px; font-size: 14px; color: var(--muted); }
.panel__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.panel__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.panel__close:hover { color: var(--text); background: rgba(243, 241, 236, 0.06); }

/* ---------- Track lists ---------- */
.tracks { counter-reset: none; border-top: 1px solid var(--line); }
.tracks > li { border-bottom: 1px solid var(--line); }
.track {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 8px 4px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.15s;
}
.tracks--thumbs .track { grid-template-columns: 24px 64px minmax(0, 1fr) auto; min-height: 64px; }
.track:hover { background: rgba(243, 241, 236, 0.04); }
.track:focus-visible { outline-offset: -2px; }

.track__lead {
  position: relative;
  display: grid;
  place-items: center;
  height: 20px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--dim);
}
.track__lead .icon { display: none; width: 14px; height: 14px; color: var(--text); }
.track:hover .track__num { display: none; }
.track:hover .track__lead .icon--play { display: block; }

.track__thumb {
  width: 64px;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  background: var(--bg-3);
}
.track__main { display: flex; flex-direction: column; min-width: 0; }
.track__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.track__sub {
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.track__dur {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  padding-right: 4px;
}
@media (min-width: 640px) {
  .track { gap: 16px; padding: 10px 8px; }
  .track__title { font-size: 16px; }
  .tracks--thumbs .track { grid-template-columns: 28px 80px minmax(0, 1fr) auto; }
  .track__thumb { width: 80px; }
}

/* Now playing */
.eq {
  display: none;
  align-items: flex-end;
  gap: 2px;
  width: 14px;
  height: 14px;
}
.eq i {
  display: block;
  width: 3px;
  height: 100%;
  background: var(--accent);
  border-radius: 1px;
  transform-origin: bottom;
  animation: eq 0.9s ease-in-out infinite alternate;
}
.eq i:nth-child(1) { transform: scaleY(0.45); animation-delay: -0.4s; }
.eq i:nth-child(2) { transform: scaleY(1); animation-delay: -0.15s; animation-duration: 0.7s; }
.eq i:nth-child(3) { transform: scaleY(0.7); animation-delay: -0.65s; animation-duration: 1.05s; }
@keyframes eq {
  0% { transform: scaleY(0.2); }
  100% { transform: scaleY(1); }
}
html.is-paused .eq i { animation-play-state: paused; }

.track.is-playing .track__title { color: var(--accent); }
.track.is-playing .track__num,
.track.is-playing:hover .track__lead .icon--play { display: none; }
.track.is-playing .eq { display: flex; }
.track.is-playing:hover .eq { display: none; }
html:not(.is-paused) .track.is-playing:hover .track__lead .icon--pause { display: block; }
html.is-paused .track.is-playing:hover .track__lead .icon--play { display: block; }

/* ---------- Videos strip ---------- */
.videos {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 72vw);
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter) 12px;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
@media (min-width: 640px) { .videos { grid-auto-columns: minmax(260px, 340px); gap: 20px; } }
@media (min-width: 1100px) {
  .videos { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; gap: 32px 24px; }
}
.videos > li { scroll-snap-align: start; min-width: 0; }
.video {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.video__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-3);
}
.video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.3s; filter: saturate(0.9); }
.video__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%);
}
.video__play {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(243, 241, 236, 0.92);
  color: var(--bg);
  transition: background-color 0.2s, transform 0.25s var(--ease);
}
.video__play .icon { width: 16px; height: 16px; transform: translateX(1px); }
.video:hover .video__thumb img { transform: scale(1.04); filter: none; }
.video:hover .video__play { background: var(--accent); transform: scale(1.06); }
.video__title { display: block; margin-top: 12px; font-weight: 600; font-size: 15px; }
.video__sub { display: block; font-size: 13px; color: var(--muted); }
.video.is-playing .video__title { color: var(--accent); }
.video.is-playing .video__thumb { box-shadow: 0 0 0 2px var(--accent); }
.video .eq { position: absolute; right: 12px; bottom: 14px; z-index: 1; }
.video.is-playing .eq { display: flex; }

/* ---------- Footer ---------- */
.footer {
  margin-top: clamp(96px, 14vw, 180px);
  padding: clamp(56px, 8vw, 96px) 0 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, var(--bg-2), var(--bg));
}
.footer__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 8vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin-bottom: 32px;
}
.footer__links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1024px) { .footer__links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer__links li { border-bottom: 1px solid var(--line); }
.footer__link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 4px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.footer__link .icon { width: 22px; height: 22px; color: var(--muted); transition: color 0.2s; }
.footer__link small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.footer__link .arrow { margin-left: auto; width: 18px; height: 18px; color: var(--dim); transition: transform 0.25s var(--ease), color 0.2s; }
.footer__link:hover .icon { color: var(--text); }
.footer__link:hover .arrow { color: var(--accent); transform: translate(2px, -2px); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(56px, 8vw, 96px);
}
.footer__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 14vw, 180px);
  line-height: 0.8;
  letter-spacing: -0.035em;
  color: #1e1e21;

}
.footer__legal { font-size: 13px; color: var(--muted); padding-bottom: 6px; }

.noscript {
  max-width: 720px;
  margin: 40px auto;
  padding: 0 var(--gutter);
  color: var(--muted);
}

/* ---------- Reveal on scroll (only when JS + motion are OK) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero__bg { animation: none; }
  .eq i { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .release:hover { transform: none; }
}
.panel__tracks { margin-top: 24px; }

/* "Moneyfestation" is a long word: shrink just that line to fit the column. */
.split__aside { container-type: inline-size; }
.title-fit { display: block; font-size: min(1em, 8cqi); letter-spacing: -0.03em; margin-bottom: 0.08em; }

/* Small phones: keep wordmark + four anchors on one line at 360px. */
@media (max-width: 419px) {
  .nav__mark { font-size: 17px; }
  .nav__links { gap: 0; margin-right: -5px; }
  .nav__links a { padding: 10px 5px; font-size: 13px; }
}
