/* =========================================================
   DJ FREEZ — styles
   Palette: deep black-blue night, glacier cyan, ultraviolet
   ========================================================= */

:root {
  --bg: #05070c;
  --bg-2: #0a0e17;
  --panel: rgba(255, 255, 255, 0.035);
  --line: rgba(173, 233, 255, 0.12);
  --line-2: rgba(173, 233, 255, 0.24);
  --text: #e9f6ff;
  --muted: #8193a8;
  --ice: #7ff3ff;
  --ice-2: #b7f7ff;
  --violet: #8b5cff;
  --pink: #ff4fd8;
  --grad: linear-gradient(100deg, #b7f7ff 0%, #7ff3ff 30%, #8b5cff 70%, #ff4fd8 100%);
  --grad-w: 1400px; /* width of one full colour cycle in gradient text; wider = smoother */
  --grad-loop: linear-gradient(90deg, #b7f7ff 0%, #7ff3ff 18%, #8b5cff 40%, #d16cff 50%, #8b5cff 60%, #7ff3ff 82%, #b7f7ff 100%);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  font-feature-settings: "locl" 0; /* Unbounded's Dutch IJ ligature looks like a "U" ("Uskoud"); keep I + J separate */
}
a, button, label { touch-action: manipulation; }
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ice); color: var(--bg); }

.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* film grain */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); }
  40% { transform: translate(4%, -6%); } 60% { transform: translate(-3%, 5%); }
  80% { transform: translate(6%, 2%); } 100% { transform: translate(0, 0); }
}

/* ===== Loader ===== */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: grid; place-items: center;
  transition: clip-path 1s var(--ease) .1s;
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader__logo {
  width: min(420px, 74vw); height: auto; overflow: visible;
  fill: #F7F5F1; fill-opacity: 0;
  stroke: var(--ice); stroke-width: .8; stroke-dasharray: 1; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 18px rgba(127, 243, 255, .35));
  animation: logoDraw 1.1s var(--ease) .05s forwards, logoFill .5s ease .95s forwards;
}
@keyframes logoDraw { to { stroke-dashoffset: 0; } }
@keyframes logoFill { to { fill-opacity: 1; stroke-opacity: 0; } }
.loader__count { font-family: var(--font-mono); color: var(--muted); font-size: 14px; }
.loader__bar { position: absolute; bottom: 12vh; left: 50%; width: min(320px, 70vw); height: 1px; background: var(--line); transform: translateX(-50%); }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--ice); box-shadow: 0 0 12px var(--ice); }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: calc(18px + env(safe-area-inset-top)) max(var(--pad), env(safe-area-inset-right)) 18px max(var(--pad), env(safe-area-inset-left));
  transition: padding .4s var(--ease), border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
/* frosted bar lives on a pseudo-element: backdrop-filter on .nav itself would trap the fixed mobile menu inside the bar */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(5, 7, 12, .6);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  opacity: 0; transition: opacity .4s;
}
.nav.is-scrolled { padding-top: calc(12px + env(safe-area-inset-top)); padding-bottom: 12px; border-color: var(--line); }
.nav.is-scrolled::before { opacity: 1; }
.nav__links .nav__menu-cta { display: none; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: flex; align-items: center; color: #F7F5F1; transition: color .3s; }
.nav__logo svg { height: 38px; width: auto; aspect-ratio: 327 / 135; fill: currentColor; transition: transform .6s var(--ease), filter .4s; }
.nav__logo:hover { color: var(--ice); }
.nav__logo:hover svg { transform: scale(1.06); filter: drop-shadow(0 0 12px rgba(127, 243, 255, .6)); }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  position: relative; padding: 8px 14px; font-size: 14px; color: var(--muted); border-radius: 999px;
  transition: color .3s, background .3s;
}
.nav__links a i { font-style: normal; font-family: var(--font-mono); font-size: 9px; color: var(--ice); margin-right: 6px; vertical-align: super; opacity: .7; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: var(--panel); }
.nav__right { display: flex; align-items: center; gap: 16px; }
.nav__eq { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.nav__eq span { width: 3px; height: 100%; background: var(--ice); border-radius: 2px; transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.nav__eq span:nth-child(2) { animation-delay: -.3s; } .nav__eq span:nth-child(3) { animation-delay: -.6s; } .nav__eq span:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 24px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 30px; border-radius: 999px; overflow: hidden; isolation: isolate;
  background: var(--ice); color: #031016; font-weight: 600; font-size: 15px;
  box-shadow: 0 10px 34px -12px rgba(127, 243, 255, .55);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(100deg, #b7f7ff 0%, #7ff3ff 40%, #a98bff 100%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 46px -14px rgba(127, 243, 255, .75); }
.btn:hover::before { opacity: 1; }
.btn:active { transform: translateY(-1px) scale(.98); transition-duration: .15s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn--ghost { background: rgba(255, 255, 255, .02); color: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.btn--ghost::before { background: rgba(127, 243, 255, .1); }
.btn--ghost:hover { border-color: var(--ice); color: var(--ice-2); box-shadow: 0 0 0 1px rgba(127, 243, 255, .25), 0 18px 46px -18px rgba(127, 243, 255, .5); }
.btn--small { padding: 10px 18px; font-size: 13px; }
.btn--full { width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden;
  padding: 120px var(--pad) 100px;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__content { position: relative; z-index: 2; text-align: center; }
.hero__kicker { color: var(--ice); margin: 0 0 18px; }
.hero__title { margin: 0; line-height: 0; }
.hero__logo, .hero__ghost {
  display: block; height: auto; overflow: visible;
  width: min(88vw, 980px, calc((100svh - 400px) * 2.42));
  min-width: min(300px, 88vw);
}
.hero__logo { filter: drop-shadow(0 0 34px rgba(127, 243, 255, .28)); transition: filter .4s; }
.hero__logo:hover { filter: drop-shadow(0 0 44px rgba(127, 243, 255, .7)); }
.lg-piece {
  transform-box: fill-box; transform-origin: 50% 100%;
  transform: translateY(80%) rotate(6deg); opacity: 0;
  transition: transform 1.2s var(--ease), opacity 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}
.lg-piece--line { transform-origin: 50% 50%; transform: scaleX(0); }
.is-ready .lg-piece { transform: none; opacity: 1; }

/* glitch layers */
.glitch { position: relative; display: inline-block; }
.hero__ghost { position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen; }
.hero__ghost--a { fill: var(--pink); transform: translate(-4px, 0); }
.hero__ghost--b { fill: var(--ice); transform: translate(4px, 0); }
.glitch.is-glitching .hero__ghost--a { opacity: .7; animation: glitchA .35s steps(2) both; }
.glitch.is-glitching .hero__ghost--b { opacity: .7; animation: glitchB .35s steps(2) both; }
@keyframes glitchA {
  0% { clip-path: inset(10% 0 70% 0); } 25% { clip-path: inset(60% 0 10% 0); transform: translate(-8px, 2px); }
  50% { clip-path: inset(30% 0 40% 0); } 75% { clip-path: inset(80% 0 2% 0); transform: translate(6px, -2px); }
  100% { clip-path: inset(0 0 100% 0); }
}
@keyframes glitchB {
  0% { clip-path: inset(70% 0 5% 0); } 25% { clip-path: inset(15% 0 60% 0); transform: translate(8px, -1px); }
  50% { clip-path: inset(45% 0 30% 0); } 75% { clip-path: inset(5% 0 85% 0); transform: translate(-6px, 2px); }
  100% { clip-path: inset(100% 0 0 0); }
}

.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: clamp(32px, 5vh, 56px); }
.hero__meta { position: absolute; z-index: 2; color: var(--muted); line-height: 1.8; font-size: 11px; }
.hero__meta--tl { top: 110px; left: var(--pad); }
.hero__meta--tr { top: 110px; right: var(--pad); text-align: right; }
.hero__meta span { color: var(--text); }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff3d5a; margin-right: 6px; box-shadow: 0 0 10px #ff3d5a; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.hero__scroll { position: absolute; z-index: 2; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; }
.hero__scroll i { width: 1px; height: 48px; background: linear-gradient(var(--ice), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: #fff; animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* ===== Marquee ===== */
.marquee {
  position: relative; z-index: 3; overflow: hidden; padding: 22px 0;
  border-block: 1px solid var(--line); background: var(--bg-2);
  transform: rotate(-2deg) scale(1.04); margin: 20px 0 0;
}
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4.5vw, 56px); /* no uppercase: decades must read "70s", not "70S" */ letter-spacing: -.02em; white-space: nowrap; }
.marquee__track .outline { color: var(--bg-2); -webkit-text-stroke: 2px var(--ice); paint-order: stroke fill; }
.marquee__track b { display: flex; flex: none; }
.marquee__track b svg { width: clamp(20px, 2.4vw, 28px); height: auto; aspect-ratio: 1; fill: none; stroke: var(--violet); stroke-width: 2.4; stroke-linecap: round; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { position: relative; padding: clamp(90px, 14vw, 180px) var(--pad); max-width: 1440px; margin: 0 auto; }
.section__label { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); margin-bottom: 28px; }
.section__label i { font-style: normal; color: var(--ice); padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 999px; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.section__head .h2 { margin-bottom: 0; }
.h2 {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 5.6vw, 78px);
  line-height: 1.02; letter-spacing: -.035em; margin: 0 0 40px; max-width: 16ch;
}
/* gradient text: one wide gradient shared by all words of a heading (each word is offset by --off, set in JS),
   sliding one full cycle every 8s so each letter changes colour at the same pace as before */
@property --shift { syntax: "<length>"; inherits: false; initial-value: 0px; }
.frost {
  --off: 0px;
  padding: .12em .1em .26em; margin: -.12em -.1em -.26em; /* gradient must cover descenders (j, g) or they turn invisible */
  background: var(--grad-loop); background-size: var(--grad-w) 100%; background-repeat: repeat-x;
  background-position: calc(var(--shift) - var(--off)) 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: frostShift 8s linear infinite;
}
@keyframes frostShift { to { --shift: var(--grad-w); } }

/* word split reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .1em .26em; margin: -.12em -.1em -.26em; }
.split .w > span { display: inline-block; transform: translateY(145%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.is-in .w > span { transform: none; }
/* keep gradient across split words */

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* grid cells: keep the cell solid (the grid gap is the divider line), fade the contents */
.service.reveal, .stat.reveal { opacity: 1; transform: none; }
.service.reveal > *, .stat.reveal > * { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: inherit; }
.service.reveal.is-in > *, .stat.reveal.is-in > * { opacity: 1; transform: none; }
.service.reveal > .service__icon { transform: translateY(24px); }
.service.reveal.is-in > .service__icon { transform: none; }
.service.reveal.is-in:hover > .service__icon { transform: rotate(90deg) scale(1.1); }

/* ===== About ===== */
.about__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__text p { color: var(--muted); max-width: 56ch; margin: 0 0 18px; }
.about .h2 { font-size: clamp(30px, 3.8vw, 56px); max-width: 15ch; margin-bottom: 28px; }
/* photo as a record sleeve, with the spinning record sliding out from behind it */
.sleeve { position: relative; max-width: 560px; margin: 0 auto; isolation: isolate; --py: 0px; }
.sleeve .vinyl {
  position: absolute; top: 10%; left: 8%; width: 72%; height: auto; aspect-ratio: 1; z-index: -1;
  box-shadow: 0 0 0 1px rgba(127, 243, 255, .3), 0 30px 60px rgba(0, 0, 0, .6);
  transition: left 1.1s var(--ease);
}
.about__visual.is-in .sleeve .vinyl { left: 24%; transition-delay: .35s; }
.about__visual.is-in .sleeve.is-playing .vinyl { left: 28%; transition-delay: 0s; }
@media (hover: hover) { .about__visual.is-in .sleeve:hover .vinyl { left: 26.5%; transition-delay: 0s; } }
.sleeve__card {
  position: relative; width: 72%; aspect-ratio: 4 / 5; margin: 0; overflow: hidden;
  border-radius: 22px; border: 1px solid var(--line-2); background: var(--bg-2);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85), 0 30px 120px -50px rgba(127, 243, 255, .45);
}
.sleeve__photo {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.1) translateY(var(--py)); will-change: transform;
}
/* darken the bright booth at the bottom, soft vignette, thin inner rim */
.sleeve__card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    linear-gradient(to top, rgba(5, 7, 12, .96) 0%, rgba(5, 7, 12, .7) 16%, rgba(5, 7, 12, 0) 42%),
    linear-gradient(to bottom, rgba(5, 7, 12, .45), rgba(5, 7, 12, 0) 22%),
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(5, 7, 12, .45));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.sleeve__caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 20px 22px;
}
.sleeve__badge {
  display: inline-flex; align-items: center; gap: 2px; padding: 9px 14px; border-radius: 999px; font-size: 10px; color: var(--text); white-space: nowrap;
  background: rgba(5, 7, 12, .55); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.sleeve__logo { height: 38px; width: auto; aspect-ratio: 327 / 135; fill: #F7F5F1; opacity: .92; }
.vinyl {
  position: relative; width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle, #111 0 30%, #050505 31% 100%);
  will-change: transform;
}
.vinyl__grooves {
  position: absolute; inset: 2%; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, .055) 0 1px, transparent 1px 4px);
  -webkit-mask: radial-gradient(circle, transparent 32%, #000 33%); mask: radial-gradient(circle, transparent 32%, #000 33%);
}
.vinyl__label {
  position: absolute; inset: 33%; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--ice), var(--violet), var(--pink), var(--ice));
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  color: #050710;
}
.vinyl__label::after { content: ""; position: absolute; width: 8%; height: 8%; border-radius: 50%; background: var(--bg); }
.vinyl__label svg { width: 62%; height: auto; fill: #050710; transform: translateY(-45%); }
.vinyl__label small { position: absolute; bottom: 22%; font-family: var(--font-mono); font-size: clamp(6px, .8vw, 9px); letter-spacing: .1em; }
.vinyl__shine {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 30deg, transparent 0 10%, rgba(255, 255, 255, .13) 14%, transparent 20% 60%, rgba(183, 247, 255, .1) 64%, transparent 70%);
}

.stats { container-type: inline-size; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 44px; }
.stat { background: var(--bg); padding: 24px 22px; }
/* sized from the stats box width (cqw) so "1000+" (~3.7em wide) always fits a third of it */
.stat__num, .stat__plus { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 52px); font-size: min(52px, calc((100cqw / 3 - 44px) / 3.9)); letter-spacing: -.04em; line-height: 1; }
.stat__plus { color: var(--ice); }
.stat__label { display: block; margin-top: 12px; color: var(--muted); font-size: 10px; }

/* ===== Music / genres ===== */
.section__intro { color: var(--muted); max-width: 38ch; margin: 0; }
.genre-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.genre {
  --h: 190;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-height: 170px; padding: 24px 24px 22px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.genre::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(90% 120% at 100% 0%, hsl(var(--h) 100% 65% / .22), transparent 60%);
  opacity: .7; transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.genre:hover { border-color: hsl(var(--h) 100% 70% / .5); transform: translateY(-4px); box-shadow: 0 24px 60px -30px hsl(var(--h) 100% 60% / .6); }
.genre:hover::before { opacity: 1; transform: scale(1.15); }
.genre__big { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -.035em; }
.genre__sub { color: var(--muted); font-size: 11px; }
.genre--decade { min-height: 210px; }
.genre--decade .genre__big {
  font-size: clamp(56px, 7vw, 104px); font-weight: 900; letter-spacing: -.05em;
  padding: .06em .06em 0; margin: -.06em -.06em 0;
  background: linear-gradient(180deg, #fff 20%, hsl(var(--h) 100% 76%)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.genre--wide { grid-column: span 2; min-height: 140px; }
/* tiles rise in one after another; an animation (not a transition) so the stagger never delays hover */
.genre.reveal { opacity: 1; transform: none; }
.genre.reveal:not(.is-in) { opacity: 0; }
.genre.reveal.is-in { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
.genre-note { color: var(--muted); font-size: 11px; margin: 28px 0 0; text-align: center; }

/* ===== Events ===== */
.event-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); position: relative; z-index: 2; }
.event {
  --hue: 190;
  position: relative; display: grid; grid-template-columns: 160px 1.3fr 1fr 110px; align-items: center; gap: 24px;
  padding: 30px 8px; border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease), color .4s;
}
.event::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, hsl(var(--hue) 100% 65% / .14), transparent 70%);
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.event:hover { padding-left: 28px; }
.event:hover::before { transform: scaleY(1); }
.event__date { color: var(--muted); font-size: 11px; }
.event__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.6vw, 34px); letter-spacing: -.03em; line-height: 1.1; min-width: 0; overflow-wrap: break-word; }
.event__venue { color: var(--muted); }
.event__tag { justify-self: end; font-size: 10px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.event.is-upcoming .event__tag { color: var(--bg); background: var(--ice); border-color: var(--ice); }
/* ===== Services ===== */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service {
  position: relative; background: var(--bg); padding: 34px 28px 110px; overflow: hidden; min-height: 320px;
  transition: background .5s var(--ease);
}
.service::before {
  content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0;
  clip-path: circle(0% at 100% 100%); transition: clip-path .8s var(--ease), opacity .3s;
}
.service:hover::before { opacity: .12; clip-path: circle(150% at 100% 100%); }
.service > * { position: relative; }
.service__no { color: var(--ice); font-size: 11px; }
.service h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -.02em; margin: 26px 0 12px; }
.service p { color: var(--muted); margin: 0; font-size: 15px; }
.service__icon { position: absolute; right: 24px; bottom: 18px; width: 60px; height: 60px; fill: none; stroke: var(--line-2); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; transition: transform .8s var(--ease), stroke .4s; }
.service:hover .service__icon { transform: rotate(90deg) scale(1.1); stroke: var(--ice); }

/* ===== Contact ===== */
.contact { overflow: hidden; container-type: inline-size; }
.contact__bg {
  position: absolute; inset: 10% -20% auto; height: 70%; z-index: -1; pointer-events: none; filter: blur(80px); opacity: .5;
  background: radial-gradient(closest-side at 30% 50%, rgba(127, 243, 255, .35), transparent), radial-gradient(closest-side at 70% 40%, rgba(139, 92, 255, .4), transparent);
  animation: float 14s ease-in-out infinite alternate;
}
@keyframes float { to { transform: translate(6%, 8%) rotate(8deg); } }
/* one line on desktop: the sentence is ~14.2em wide, so size it from the section's real content width (cqw),
   with a margin for browser differences; the vw line is a fallback for browsers without container units */
.contact__title {
  font-family: var(--font-display); font-weight: 900; line-height: .88; letter-spacing: -.035em; margin: 0 0 70px; white-space: nowrap;
  font-size: min(calc((min(100vw, 1440px) - 2 * var(--pad)) / 15.2), 128px);
  font-size: min(calc(100cqw / 15.2), 128px);
}
.contact__title em { font-style: normal; }
.split-line { display: block; overflow: hidden; padding: .12em .1em .26em; margin: -.12em -.1em -.26em; }
.split-line > span { display: inline-block; transform: translateY(135%); transition: transform 1.2s var(--ease); }
.contact__title.is-in .split-line > span { transform: none; }

.contact__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
/* mail card: the address is the hero, with a slowly rotating ice-coloured rim */
@property --rim { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.mailcard {
  position: relative; isolation: isolate; container-type: inline-size;
  padding: clamp(28px, 3.4vw, 44px); border-radius: 28px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(127, 243, 255, .12), transparent 55%),
    radial-gradient(90% 80% at 100% 100%, rgba(139, 92, 255, .14), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8), 0 30px 120px -60px rgba(127, 243, 255, .35);
}
.mailcard::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--rim), rgba(127, 243, 255, .7), rgba(139, 92, 255, .5), rgba(173, 233, 255, .12) 30%, rgba(173, 233, 255, .12) 70%, rgba(127, 243, 255, .7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: rimSpin 9s linear infinite;
}
@keyframes rimSpin { to { --rim: 360deg; } }
.mailcard__label { display: flex; width: fit-content; align-items: center; gap: 2px; color: var(--muted); font-size: 11px; }
/* address is ~12.5em wide: size from the card's width; a longer address wraps instead of overflowing */
.mailcard__addr {
  display: inline-block; margin: 22px 0 18px; max-width: 100%;
  font-family: var(--font-display); font-weight: 500; letter-spacing: -.035em; line-height: 1.15;
  font-size: clamp(22px, 3vw, 44px); font-size: min(44px, calc(100cqw / 13.2));
  overflow-wrap: anywhere;
  background: linear-gradient(var(--ice), var(--ice)) left bottom / 0 2px no-repeat;
  padding-bottom: 6px; transition: background-size .5s var(--ease), color .3s;
}
.mailcard__addr:hover { color: var(--ice-2); background-size: 100% 2px; }
.mailcard__text { color: var(--muted); max-width: 46ch; margin: 0 0 30px; }
.mailcard__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mailcard__actions .btn--ghost.is-copied { border-color: var(--ice); color: var(--ice-2); }

/* checklist next to the mail card */
.checklist { padding: clamp(24px, 3vw, 36px) 0 0; }
.checklist__title { color: var(--ice); font-size: 11px; font-weight: 400; margin: 0 0 10px; }
.checklist__list { list-style: none; margin: 0; padding: 0; }
.checklist__list li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checklist__list li:first-child { border-top: 1px solid var(--line); }
.checklist__no { color: var(--muted); font-size: 11px; padding-top: 5px; min-width: 22px; }
.checklist__list strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: -.02em; }
.checklist__list li div > span { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }
.checklist .contact__rows { margin: 28px 0 0; }
.contact__rows { margin: 34px 0; border-top: 1px solid var(--line); }
.row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.row .mono { color: var(--muted); font-size: 11px; padding-top: 4px; }
.row a:hover { color: var(--ice); }


/* ===== Footer ===== */
.footer { padding: 0 var(--pad) 28px; overflow: hidden; }
.footer__big { width: min(100%, 1400px); height: auto; margin: 0 auto -2vw; fill: url(#lgFade); }
.footer__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 10px; border-top: 1px solid var(--line); padding-top: 22px; }
.footer__row a:hover { color: var(--ice); }

:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .event { grid-template-columns: 130px 1fr 110px; }
  .event__venue { display: none; }
}
@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 4px;
    padding: 100px var(--pad) 40px; background: radial-gradient(120% 60% at 100% 0%, rgba(127, 243, 255, .08), transparent 60%), var(--bg);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease);
  }
  .nav__links.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
  /* spacers centre the links when they fit, and collapse so the list scrolls when the screen is too short */
  .nav__links::before, .nav__links::after { content: ""; flex: 1 0 0; }
  .nav__links a { font-family: var(--font-display); font-size: clamp(32px, 9vw, 56px); color: var(--text); letter-spacing: -.03em; padding: 4px 0; background: none !important; }
  .nav__links a i { font-size: 12px; }
  .nav__burger { display: block; }
  .nav__eq { display: none; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .genre--wide { grid-column: auto; }
  .sleeve { max-width: 480px; }
  .hero__meta { display: none; }
  .nav__links { padding-bottom: max(40px, env(safe-area-inset-bottom)); }
  .nav__links .nav__menu-cta { display: inline-flex; margin-top: 28px; font-family: var(--font-body) !important; font-size: 16px !important; letter-spacing: 0 !important; padding: 16px 28px !important; background: var(--ice) !important; color: #031016 !important; }
  .nav__links a:not(.nav__menu-cta) { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav__links.is-open a:not(.nav__menu-cta) { opacity: 1; transform: none; }
  .nav__links.is-open a:nth-child(1) { transition-delay: .15s; } .nav__links.is-open a:nth-child(2) { transition-delay: .2s; }
  .nav__links.is-open a:nth-child(3) { transition-delay: .25s; } .nav__links.is-open a:nth-child(4) { transition-delay: .3s; }
  .nav__links.is-open a:nth-child(5) { transition-delay: .35s; }
}
/* phone in landscape: short screen, so a compact menu (after the 860 rules so it wins) */
@media (max-width: 860px) and (max-height: 520px) {
  .nav__links { padding-top: 72px; padding-bottom: max(16px, env(safe-area-inset-bottom)); gap: 0; }
  .nav__links a:not(.nav__menu-cta) { font-size: 26px; }
  .nav__links .nav__menu-cta { margin-top: 12px; padding: 12px 22px !important; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --grad-w: 900px; }
  .nav .btn--small { display: none; }
  .section { padding-top: 76px; padding-bottom: 76px; }
  .section__head { margin-bottom: 32px; gap: 24px; }
  .h2 { margin-bottom: 28px; }

  /* hero */
  .hero { padding-bottom: 110px; }
  .hero__kicker { margin-bottom: 14px; font-size: 11px; }
  .hero__cta { flex-direction: column; align-items: center; gap: 12px; }
  .hero__cta .btn { width: min(100%, 300px); }
  .marquee { padding: 16px 0; }

  /* about */
  .sleeve { max-width: 420px; }
  .sleeve__card { width: 74%; border-radius: 18px; }
  .about__visual.is-in .sleeve .vinyl { left: 22%; }
  .about__visual.is-in .sleeve.is-playing .vinyl { left: 26%; }
  .sleeve__caption { padding: 14px 14px; }
  .sleeve__badge { padding: 7px 11px; font-size: 9px; letter-spacing: .1em; }
  .sleeve__logo { height: 30px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; }
  .stat { padding: 18px 12px; }
  .stat__num, .stat__plus { font-size: min(30px, calc((100cqw / 3 - 24px) / 3.9)); }
  .stat__label { font-size: 8.5px; letter-spacing: .08em; margin-top: 8px; line-height: 1.4; }

  /* music */
  .section__head > div:first-child { width: 100%; }
  .genre-grid { gap: 10px; }
  .genre { min-height: 118px; padding: 18px 14px 16px; gap: 12px; border-radius: 18px; }
  .genre--decade { min-height: 140px; }
  .genre--decade .genre__big { font-size: 12vw; }
  .genre__big { font-size: clamp(15px, 4.7vw, 21px); }
  .genre__sub { font-size: 9px; letter-spacing: .08em; line-height: 1.5; }
  .service-grid { grid-template-columns: 1fr; }
  .footer__row a { display: inline-block; padding: 12px 0; margin: -12px 0; }

  /* events / services */
  .event { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 22px 4px; }
  .event__date { grid-column: 1 / -1; }
  .service { min-height: 0; padding: 28px 22px 84px; }
  .service h3 { margin-top: 18px; }

  /* contact */
  .contact__title { margin-bottom: 44px; font-size: calc((100vw - 2 * var(--pad)) / 8.4); font-size: calc(100cqw / 8.4); line-height: 1.04; } /* room for the i/j dots under line 1 */
  .contact__title .frost { display: block; }
  .mailcard__actions .btn { flex: 1 1 100%; }
  .row { gap: 16px; }
  .row .mono { white-space: nowrap; }
  .row > :last-child { text-align: right; }
  .row a { padding: 10px 0; margin: -10px 0; }

  .footer { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  .footer__row { justify-content: center; text-align: center; gap: 10px 20px; }
}
/* very narrow phones (iPhone SE): label under the name, so long names keep the full width instead of breaking */
@media (max-width: 380px) {
  .event { grid-template-columns: minmax(0, 1fr); }
  .event__tag { justify-self: start; margin-top: 6px; }
}
@media (max-height: 680px) and (max-width: 640px) {
  .hero__scroll { display: none; }
}

/* ===== Touch devices: no sticky hover states, give press feedback instead ===== */
@media (hover: none) {
  .btn:hover { transform: none; box-shadow: 0 10px 34px -12px rgba(127, 243, 255, .55); }
  .btn--ghost:hover { box-shadow: none; border-color: var(--line-2); color: var(--text); }
  .btn:hover::before { opacity: 0; }
  .btn:hover svg { transform: none; }
  .btn:active { transform: scale(.97); }
  .btn:active::before { opacity: 1; }
  .genre:hover { transform: none; border-color: var(--line); box-shadow: none; }
  .genre:hover::before { opacity: .7; transform: none; }
  .event:hover { padding-left: 4px; }
  .event:hover::before { transform: scaleY(0); }
  .event:active::before { transform: scaleY(1); }
  .service:hover::before { opacity: 0; clip-path: circle(0% at 100% 100%); }
  .service.reveal.is-in:hover > .service__icon { transform: none; stroke: var(--line-2); }
  .grain { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal > *, .split .w > span, .split-line > span, .lg-piece { opacity: 1 !important; transform: none !important; }
  .loader__logo { stroke-dashoffset: 0; fill-opacity: 1; stroke-opacity: 0; }
}
