/* ============================================================
   AVYRO — "Club" system. Espresso, ivory, brass. See DESIGN.md
   ============================================================ */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 100% 125%;
  font-display: swap;
}

:root {
  --bg:      oklch(0.205 0.02 48);    /* espresso */
  --bg-2:    oklch(0.245 0.024 50);   /* surface: frames, placeholders */
  --bg-3:    oklch(0.30 0.028 52);
  --fg:      oklch(0.93 0.022 85);    /* ivory */
  --muted:   oklch(0.74 0.022 80);
  --brass:   oklch(0.72 0.085 72);    /* logo, accents */
  --line:    color-mix(in oklch, var(--fg) 16%, transparent);
  --line-2:  color-mix(in oklch, var(--fg) 32%, transparent);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --label: 0.75rem;              /* 12 */
  --body: 1rem;                  /* 16 */
  --md: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  --lg: clamp(2.25rem, 1rem + 5vw, 5.5rem);
  --xl: clamp(3rem, 1rem + 9vw, 10rem);

  --pad: clamp(16px, 2.2vw, 32px);
  --gap: clamp(12px, 1.4vw, 20px);
  --section: clamp(96px, 14vw, 200px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); font-size: var(--body); line-height: 1.4;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html.is-intro body { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-transform: inherit; letter-spacing: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--brass); color: var(--bg); }
:focus-visible { outline: 1.5px solid var(--brass); outline-offset: 4px; }

.label {
  margin: 0; font-size: var(--label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3;
}
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.display-md {
  margin: 0; font-size: var(--lg); font-weight: 850; font-stretch: 112%; text-transform: uppercase;
  letter-spacing: -0.035em; line-height: 0.88;
}
.split-line { overflow: clip; padding-bottom: 0.04em; margin-bottom: -0.04em; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.075;
  background-image: var(--grain-url, none); background-size: 220px 220px;
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(4%, -7%); }
  60% { transform: translate(-3%, 9%); } 80% { transform: translate(8%, 2%); } 100% { transform: translate(0, 0); }
}

/* ---------- INTRO ---------- */
.intro {
  position: fixed; inset: 0; z-index: 80; background: var(--bg);
  display: grid; grid-template-rows: auto 1fr auto; padding: var(--pad);
  clip-path: inset(0 0 0 0);
}
html:not(.is-intro) .intro { display: none; }
.intro-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-top {
  position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: var(--gap);
  font-size: var(--label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.intro-top > :last-child { text-align: right; }
.intro-logo { position: relative; display: block; height: 64px; aspect-ratio: 845 / 688; color: var(--brass); }
.intro-logo svg, .nav-logo svg, .footer-logo svg { display: block; height: 100%; width: auto; }
.intro-enter {
  position: relative; align-self: end; justify-self: center; display: grid; justify-items: center; gap: 10px;
  padding: 12px 20px; margin-bottom: clamp(24px, 6vh, 64px);
}
.intro-enter-word {
  font-size: clamp(3.5rem, 2rem + 9vw, 11rem); font-weight: 900; font-stretch: 118%; text-transform: uppercase;
  letter-spacing: -0.045em; line-height: 0.82; color: var(--fg);
  transition: letter-spacing 600ms var(--ease), color 300ms;
}
.intro-enter-sub { font-size: var(--label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .intro-enter:hover .intro-enter-word { letter-spacing: -0.02em; color: var(--brass); }
}
.intro-mute {
  position: relative; justify-self: center; min-height: 44px; padding: 0 12px;
  font-size: var(--label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--gap);
  padding: 14px var(--pad);
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--fg);
  background: linear-gradient(to bottom, color-mix(in oklch, var(--bg) 85%, transparent), transparent);
}
.nav-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.nav-logo { display: block; height: 22px; color: var(--brass); }
.nav-menu { display: none; }
.nav-menu > span { margin-right: 0.45em; color: var(--muted); }
.nav-menu a { color: var(--muted); transition: color 200ms; }
.nav-menu a:hover, .nav-menu a.is-active { color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.nav-lang { display: flex; align-items: center; gap: 4px; }
.nav-lang button { min-width: 32px; min-height: 44px; color: var(--muted); }
.nav-lang button[aria-pressed="true"] { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }
/* now playing: only the song's title. Drag / swipe it sideways to change song, tap it to cut or bring back the sound. */
.np { --np-w: clamp(64px, calc(100vw - 282px), 176px); position: relative; display: flex; align-items: center; }
.np-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; max-width: 100%;
  touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: grab;
}
.np-btn:active { cursor: grabbing; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; flex: none; color: var(--muted); }
.bars i { display: block; width: 2px; height: 3px; background: currentColor; }
.np-btn[aria-pressed="true"] .bars { color: var(--brass); }
.np-btn[aria-pressed="true"] .bars i { animation: eq 900ms var(--ease-in-out) infinite alternate; }
.np-btn[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: -300ms; }
.np-btn[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: -600ms; }
.np-btn[aria-pressed="true"] .bars i:nth-child(4) { animation-delay: -150ms; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }
/* the title sits in a window whose edges fade, so it can slide in and out */
.np-window {
  display: block; overflow: hidden; max-width: calc(var(--np-w) + 24px); margin: 0 -12px; padding: 0 12px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}
.np-slide { display: block; will-change: transform; }
.np-track { display: inline-block; white-space: nowrap; }
.np-title { color: var(--muted); transition: color 400ms; }
.np-btn[aria-pressed="true"] .np-title { color: var(--fg); }
.np.is-off .np-title::after { content: " ↗"; color: var(--brass); }
/* long titles drift slowly from one end to the other, like a car stereo */
.np.is-long .np-track { animation: np-drift var(--np-dur, 8s) var(--ease-in-out) infinite alternate; }
@keyframes np-drift { 0%, 18% { transform: translateX(0); } 82%, 100% { transform: translateX(var(--np-shift, 0px)); } }
.np-hint {
  position: absolute; left: 22px; right: 0; top: calc(100% - 6px); white-space: nowrap; color: var(--muted);
  opacity: 0; transform: translateY(-4px); transition: opacity 300ms, transform 400ms var(--ease); pointer-events: none;
}
.np-hint span:first-child, .np-hint span:last-child { color: var(--brass); }
.np.show-hint .np-hint { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { .np:hover .np-hint { opacity: 1; transform: none; } }
@media (min-width: 900px) { .np { --np-w: clamp(110px, calc(100vw - 800px), 260px); } }
@media (max-width: 359px) { .nav { gap: 8px; } .nav-right { gap: 8px; } .np { --np-w: 50px; } .np-btn { gap: 7px; } }
.nav-ig { display: none; min-height: 44px; align-items: center; }
@media (min-width: 900px) {
  .nav-menu { display: flex; }
  .nav-ig { display: inline-flex; }
}

/* ---------- HERO ---------- */
.hero { min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding: 84px var(--pad) 0; }
.hero-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); align-items: end; position: relative;
}
.hero-meta { grid-column: 1 / 3; align-self: start; display: grid; gap: 14px; }
.hero-tagline { margin: 0; font-size: var(--md); font-weight: 800; font-stretch: 108%; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.95; max-width: 12ch; }
.hero-portrait { grid-column: 2 / 5; margin: 0; display: grid; gap: 8px; }
.hero-portrait .media { max-height: 50svh; }
.hero-vertical { display: none; }
.hero-name { margin: 0; line-height: 0.8; padding-top: 12px; }
.fit {
  display: inline-block; white-space: nowrap; font-weight: 900; font-stretch: 112%; text-transform: uppercase;
  letter-spacing: -0.05em; line-height: 0.78; font-size: 24vw; padding-right: 0.06em;
}
.hero-name .fit { margin-bottom: -0.06em; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .hero-meta { grid-column: 1 / 5; }
  .hero-portrait { grid-column: 8 / 12; }
  .hero-vertical {
    display: block; grid-column: 12 / 13; justify-self: end; align-self: end;
    writing-mode: vertical-rl; transform: rotate(180deg); color: var(--muted);
  }
}

/* ---------- media frames (placeholders until real images) ---------- */
.media {
  position: relative; overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 5;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    linear-gradient(to top right, transparent calc(50% - 0.5px), var(--line) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(to top left, transparent calc(50% - 0.5px), var(--line) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}
.media .ph span { background: var(--bg-2); padding: 6px 10px; color: var(--muted); }
.media .inner { position: absolute; inset: 0; }

/* ---------- section scaffolding ---------- */
section { padding: var(--section) var(--pad) 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: var(--gap); flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--line);
}

/* ---------- CONTENTS ---------- */
.contents-list { list-style: none; margin: 0; padding: 0; }
.contents-list li { border-bottom: 1px solid var(--line); }
.contents-list a {
  display: grid; grid-template-columns: 3.5rem 1fr; align-items: baseline; gap: var(--gap);
  padding: clamp(10px, 1.6vw, 18px) 0;
}
.c-num { font-size: var(--label); font-weight: 600; letter-spacing: 0.06em; color: var(--muted); font-variant-numeric: tabular-nums; }
.c-title {
  font-size: var(--lg); font-weight: 850; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.9;
  transition: transform 500ms var(--ease), color 300ms;
}
.c-note { display: none; color: var(--muted); }
@media (min-width: 900px) {
  .contents-list a { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .c-num { grid-column: 1 / 3; }
  .c-title { grid-column: 3 / 10; }
  .c-note { display: block; grid-column: 10 / 13; text-align: right; }
}
@media (hover: hover) and (pointer: fine) {
  .contents-list a:hover .c-title { transform: translateX(0.25em); color: var(--brass); }
}

/* ---------- STATEMENT ---------- */
.statement { display: grid; gap: 20px; }
.statement-text {
  margin: 0; font-size: var(--md); font-weight: 800; font-stretch: 106%; text-transform: uppercase;
  letter-spacing: -0.015em; line-height: 1.02; text-wrap: balance;
}
@media (min-width: 900px) {
  .statement { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .statement .label { grid-column: 1 / 3; }
  .statement-text { grid-column: 3 / 12; font-size: clamp(2rem, 0.6rem + 2.9vw, 3.6rem); }
}

/* ---------- MUSIC ---------- */
.music { padding-left: 0; padding-right: 0; }
.music > .section-head, .music > .albums { margin-left: var(--pad); margin-right: var(--pad); }
.marquee { overflow: clip; padding-bottom: clamp(24px, 4vw, 56px); }
.marquee-track {
  display: flex; white-space: nowrap; font-size: var(--xl); font-weight: 900; font-stretch: 120%; text-transform: uppercase;
  letter-spacing: -0.045em; line-height: 0.8; will-change: transform;
}
.marquee-track span { flex: none; padding-right: 0.35em; }
.marquee-track .o { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.albums {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) var(--gap);
}
.albums li:first-child { grid-column: 1 / -1; }
.album { display: grid; gap: 10px; width: 100%; text-align: left; }
.album .media { aspect-ratio: 1; container-type: inline-size; }
.album-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: baseline; }
.album-num { font-size: var(--label); font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.album-title { font-size: clamp(1rem, 0.8rem + 0.6vw, 1.375rem); font-weight: 800; font-stretch: 108%; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; }
.album-artist { grid-column: 2; font-size: var(--label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.album.is-playing .album-title { color: var(--brass); }
.album .fallback {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 8%;
  font-size: 9.5cqi; font-weight: 900; font-stretch: 104%; text-transform: uppercase;
  letter-spacing: -0.04em; line-height: 0.88; color: var(--fg); background: var(--bg-3);
}
li:nth-child(3n+2) .album .fallback { background: var(--bg-2); color: var(--brass); }
li:nth-child(3n) .album .fallback { background: oklch(0.36 0.04 55); }
@media (min-width: 900px) {
  .albums { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .albums li { grid-column: span 3; }
  .albums li:nth-child(1) { grid-column: 1 / 7; grid-row: span 2; }
  .albums li:nth-child(2) { grid-column: 8 / 11; }
  .albums li:nth-child(3) { grid-column: 11 / 13; margin-top: 30%; }
  .albums li:nth-child(4) { grid-column: 8 / 10; }
  .albums li:nth-child(5) { grid-column: 10 / 13; margin-top: 18%; }
  .albums li:nth-child(6) { grid-column: 2 / 5; }
  .albums li:nth-child(7) { grid-column: 6 / 8; margin-top: 40%; }
  .albums li:nth-child(8) { grid-column: 9 / 13; }
  .albums li:nth-child(9) { grid-column: 1 / 4; margin-top: 12%; }
  .albums li:nth-child(10) { grid-column: 5 / 8; margin-top: 4%; }
}

/* ---------- ARCHIVES ---------- */
.photos {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px) var(--gap);
}
.photos li { display: grid; gap: 8px; }
.photos li:nth-child(3n+1) { grid-column: 1 / -1; }
.photos .media { aspect-ratio: var(--r, 4 / 5); }
@media (min-width: 900px) {
  .photos { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .photos li:nth-child(6n+1) { grid-column: 1 / 6; }
  .photos li:nth-child(6n+2) { grid-column: 7 / 10; margin-top: 24%; }
  .photos li:nth-child(6n+3) { grid-column: 10 / 13; margin-top: 60%; }
  .photos li:nth-child(6n+4) { grid-column: 3 / 6; }
  .photos li:nth-child(6n+5) { grid-column: 7 / 13; margin-top: 10%; }
  .photos li:nth-child(6n)   { grid-column: 3 / 7; margin-top: -4%; }
}

/* ---------- CLUB ---------- */
.club-grid { display: grid; gap: var(--gap); }
.court {
  position: relative; min-height: 120vw; padding: clamp(20px, 3vw, 40px);
  display: grid; grid-template-rows: auto 1fr auto; gap: 20px; background: var(--bg-2); overflow: hidden;
}
.court .lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--brass); stroke-width: 1; opacity: 0.35; vector-effect: non-scaling-stroke; }
.court .lines * { vector-effect: non-scaling-stroke; }
.court .lines .net { stroke-dasharray: 4 4; opacity: 1; }
.court > * { position: relative; }
.court-quote { margin: 0; align-self: center; }
.court-quote p {
  margin: 0; font-size: clamp(1.6rem, 0.8rem + 2.6vw, 3.2rem); font-weight: 850; font-stretch: 108%; text-transform: uppercase;
  letter-spacing: -0.025em; line-height: 0.95; text-wrap: balance;
}
.court-quote p::before { content: "« "; color: var(--brass); }
.court-quote p::after { content: " »"; color: var(--brass); }
.court-author { color: var(--brass); }
@media (min-width: 900px) {
  .club-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .court.tennis { grid-column: 1 / 7; min-height: 82vh; }
  .court.football { grid-column: 7 / 13; min-height: 82vh; margin-top: 12vh; }
}

/* ---------- the football panel: Doué & Mbappé under the floodlights (assets/js/duo.js) ---------- */
.court.duo { background: #1c1410; isolation: isolate; }
.court > .duo-stage { position: absolute; inset: 0; z-index: -1; overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.duo-still, .duo-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.duo-still { object-fit: cover; object-position: 50% 50%; transform-origin: 50% 60%; }
.duo-gl { opacity: 0; transition: opacity 1.2s var(--ease); }
.duo.is-gl .duo-gl { opacity: 1; }
.court > .duo-stage::after {      /* keeps the label and caption readable */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in oklch, var(--bg) 55%, transparent) 0%, transparent 22%, transparent 70%, color-mix(in oklch, var(--bg) 80%, transparent) 100%);
}
.duo-caption { margin: 0; align-self: end; display: flex; justify-content: space-between; align-items: end; gap: var(--gap); }
.duo-caption span { display: grid; gap: 4px; font-size: var(--label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg); }
.duo-caption span:last-child { text-align: right; }
.duo-caption b { font-size: var(--md); font-weight: 900; font-stretch: 112%; letter-spacing: -0.03em; line-height: 0.9; color: var(--brass); }
.duo-caption i { font-style: normal; color: var(--muted); }

/* ---------- cursor: a small brass dot that trails the mouse ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; opacity: 0; transition: opacity 250ms; }
.cursor.is-on { opacity: 1; }
.cursor-dot {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--brass);
  transition: transform 380ms var(--ease), opacity 250ms;
}
.cursor.is-hover .cursor-dot { transform: scale(3.4); opacity: 0.3; }
.cursor.is-disc .cursor-dot { transform: scale(0); }
.cursor.is-down .cursor-dot { transform: scale(0.6); }
.cursor-disc {
  position: absolute; left: -42px; top: -42px; width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brass); color: var(--bg);
  transform: scale(0); transition: transform 480ms var(--ease);
}
.cursor.is-disc .cursor-disc { transform: scale(1); }
.cursor.is-disc.is-down .cursor-disc { transform: scale(0.86); }
.cursor-label { font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
html.has-cursor .album { cursor: none; }

/* ---------- GOALS ---------- */
.goals-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 40px); counter-reset: g; }
.goal { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.goal-num { font-size: var(--xl); font-weight: 900; font-stretch: 112%; line-height: 0.8; letter-spacing: -0.05em; color: var(--brass); }
.goal ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.goal li { font-size: 1.125rem; font-weight: 700; text-transform: uppercase; letter-spacing: -0.005em; line-height: 1.15; }
.goal .empty { color: var(--muted); }
@media (min-width: 900px) {
  .goals-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
  .goal:nth-child(2) { margin-top: 10vh; }
  .goal:nth-child(3) { margin-top: 20vh; }
}

/* ---------- FOOTER ---------- */
.footer { padding: var(--section) var(--pad) var(--pad); display: grid; gap: clamp(28px, 5vw, 56px); justify-items: center; }
.footer-logo { position: relative; height: clamp(170px, 24vw, 320px); aspect-ratio: 845 / 688; color: var(--brass); }
/* 3D logo: the canvas is bigger than the box so the letter can tilt without clipping */
.is-3d > svg { visibility: hidden; }
.logo3d-canvas { position: absolute; left: 50%; top: 50%; width: 160%; height: 160%; transform: translate(-50%, -50%); pointer-events: none; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px clamp(20px, 4vw, 48px); font-weight: 700; text-transform: uppercase; font-size: 0.9375rem; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent; transition: color 200ms, border-color 200ms; }
.footer-links a:hover { color: var(--brass); border-color: var(--brass); }
.footer-name { margin: 0; width: 100%; line-height: 0.8; overflow: clip; }
.footer-legal { width: 100%; display: flex; justify-content: space-between; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

/* ---------- Spotify: plays from out of sight; shows itself only if the browser blocks the sound ---------- */
.spotify {
  position: fixed; top: 66px; right: var(--pad); z-index: 49; width: min(340px, calc(100vw - 2 * var(--pad)));
  display: grid; gap: 0; opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity 300ms, transform 500ms var(--ease);
}
.spotify.is-open { opacity: 1; pointer-events: auto; transform: none; }
.spotify-frame { height: 80px; }
.spotify iframe { display: block; width: 100%; height: 80px; border: 0; border-radius: 12px; }
.spotify-note { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 4px 0 10px; background: var(--bg-3); color: var(--fg); }
.spotify-close { min-height: 44px; padding: 0 8px; color: var(--muted); }
.spotify-close:hover { color: var(--brass); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .np-btn[aria-pressed="true"] .bars i { animation: none; height: 8px; }
  .np.is-long .np-track { animation: none; }
  * { transition-duration: 0ms !important; }
}
