/* ───────── KZERO · tokens ───────── */
:root {
  --ink: #040a18;          /* page */
  --navy: #0a1834;         /* panels */
  --navy-2: #102449;
  --steel: #3b6ab0;        /* mid blue */
  --ice: #9fd4ff;          /* accent */
  --ice-2: #d8efff;
  --chrome: #e4ebf3;
  --text: #e8eef7;
  --muted: #8a9bb8;
  --line: rgba(159, 212, 255, 0.14);
  --line-2: rgba(159, 212, 255, 0.28);
  --display: "Archivo", "Arial Black", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --chrome-grad: linear-gradient(100deg,
      #5b7bb0 0%, #e9f3ff 14%, #7f9cc8 24%, #0f2550 34%, #cfe3ff 46%,
      #ffffff 52%, #6d8cc0 60%, #13285a 70%, #bcd6ff 82%, #f4f9ff 90%, #5b7bb0 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--display); font-stretch: 100%; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ice); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 4px; }

/* ───────── chrome logo (mask + animated metal) ───────── */
.chrome-logo {
  display: block; aspect-ratio: 1122 / 207;
  background: var(--chrome-grad); background-size: 300% 100%;
  -webkit-mask: url(../assets/img/kzero-logo.png) center / contain no-repeat;
          mask: url(../assets/img/kzero-logo.png) center / contain no-repeat;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: -300% 0; } }

/* ───────── loader ───────── */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 28px;
  background: var(--ink); transition: opacity .8s var(--ease), visibility .8s;
}
.loader__logo { width: min(420px, 70vw); animation-duration: 1.6s; filter: drop-shadow(0 0 24px rgba(159,212,255,.35)); }
.loader__bar { width: min(220px, 40vw); height: 2px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--ice); transform-origin: left; animation: load 1.2s var(--ease) forwards; transform: scaleX(0); }
@keyframes load { to { transform: scaleX(1); } }
.loaded .loader { opacity: 0; visibility: hidden; }
.loader.is-gone { display: none; }
/* logo shine only runs while that logo is on screen (main.js adds .is-offscreen) */
.chrome-logo.is-offscreen { animation-play-state: paused !important; }

/* ───────── background ───────── */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
/* blobs: the radial gradients are already soft, so no blur filter (a 90px blur on screen-sized layers is very slow to draw) */
.bg__blob { position: absolute; border-radius: 50%; opacity: .55; will-change: transform; animation: drift 26s ease-in-out infinite alternate; }
.bg__blob--a { width: 60vmax; height: 40vmax; left: -15vmax; top: -10vmax; background: radial-gradient(closest-side, #1c3f86, transparent); }
.bg__blob--b { width: 50vmax; height: 50vmax; right: -20vmax; top: 30vh; background: radial-gradient(closest-side, #0f2a63, transparent); animation-duration: 32s; animation-delay: -8s; }
.bg__blob--c { width: 40vmax; height: 30vmax; left: 20vw; bottom: -15vmax; background: radial-gradient(closest-side, #2a5aa8, transparent); opacity: .3; animation-duration: 38s; }
@keyframes drift { 50% { transform: translate(6vw, 4vh) scale(1.1); } 100% { transform: translate(-4vw, 8vh) scale(.95); } }
/* sparkle stars (transparent PNG) in the fixed background layer — behind everything, no pointer events,
   so they never cover or block content. main.js positions them: lined up across the hero, then they
   spread into a ring around the edges of the screen and orbit it as you scroll. */
.bg__star { position: absolute; left: 0; top: 0; width: var(--w); will-change: transform, opacity; opacity: 0; transition: opacity .8s; }
.bg__star img { display: block; width: 100%; height: auto; animation: twinkle 4.5s ease-in-out infinite; filter: drop-shadow(0 0 10px rgba(159,212,255,.35)); }
.bg__star--xl { --w: clamp(200px, 22vw, 340px); }
.bg__star--md { --w: clamp(120px, 12vw, 190px); }
.bg__star--sm { --w: clamp(80px, 8vw, 125px); }
.bg__star:nth-of-type(5) img { animation-duration: 3.2s; animation-delay: -1.2s; }
.bg__star:nth-of-type(6) img { animation-duration: 3.8s; animation-delay: -2.4s; }
.bg__star:nth-of-type(7) img { animation-duration: 2.9s; animation-delay: -.6s; }
.bg__star:nth-of-type(8) img { animation-duration: 4.1s; animation-delay: -3s; }
/* twinkle uses only opacity + scale (animating filters forces a full redraw every frame) */
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(.93); } }
@media (max-width: 720px) {
  .bg__star--xl { --w: 150px; }
  .bg__star--md { --w: 90px; }
  .bg__star--sm { --w: 62px; }
}
.bg__grain {
  /* static film grain: no blend mode and no animation (a full-screen blended, moving layer redraws the whole page every frame) */
  position: absolute; inset: 0; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ───────── type helpers ───────── */
.eyebrow, .mono, .label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.label { color: var(--ice); display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 0 rgba(159,212,255,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(159,212,255,0); } 100% { box-shadow: 0 0 0 0 rgba(159,212,255,0); } }
/* 3D glossy chrome-glass section titles (SVG lighting filter #chrome3d in index.html) */
.title {
  font-family: "Bagel Fat One", var(--display); font-weight: 400; text-transform: uppercase;
  line-height: 1; letter-spacing: .02em; padding: .08em .06em .14em;
  font-size: clamp(46px, 8.4vw, 120px); margin: 0 -.06em;
  color: transparent;
  /* base colour: deep navy rims → electric blue → icy white core, like the LEGACY render */
  background:
    /* chrome horizon: dark reflected band + bright bounce below it */
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 40%, rgba(3,14,44,.55) 50%, rgba(0,0,0,0) 60%, rgba(160,225,255,.35) 74%, rgba(0,0,0,0) 86%),
    radial-gradient(ellipse 50% 130% at 52% 58%, #ffffff 0%, #d4f4ff 12%, #6cc8f8 28%, #1f6fd0 48%, #0b2f7a 68%, #04163f 88%, #030f2e 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: url(#chrome3d);
}
.title--xl { font-size: clamp(42px, 5.8vw, 104px); line-height: 1.02; }
.link-arrow { color: var(--ice); transition: color .2s; }
.link-arrow:hover { color: #fff; }

/* ───────── buttons / icons ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn--ghost { border: 1px solid var(--line-2); color: var(--ice-2); }
.btn--ghost:hover { background: var(--ice); color: var(--ink); border-color: var(--ice); }
.btn--solid { background: linear-gradient(120deg, #cfe9ff, #9fd4ff 45%, #6aa7e8); color: var(--ink); font-weight: 600; box-shadow: 0 8px 30px -10px rgba(159,212,255,.6); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(159,212,255,.8); }
.btn svg { width: 18px; height: 18px; }
.icon-link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--ice-2); transition: all .25s var(--ease); }
.icon-link:hover { background: var(--ice); color: var(--ink); border-color: var(--ice); transform: translateY(-2px); }
.icon-link svg, .btn svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.icon-link svg { width: 19px; height: 19px; }
svg .fill { fill: currentColor; stroke: none; }

/* ───────── nav ───────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--pad); transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(4, 10, 24, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav__logo .chrome-logo { width: 120px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); position: relative; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ice); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ice-2); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 10px; }

/* ───────── hero ───────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 0 var(--pad) clamp(28px, 5vh, 56px); overflow: hidden; }
.hero__photo {
  position: absolute; top: 0; bottom: 0; right: -5vw; width: min(62vw, 900px);
  -webkit-mask: linear-gradient(to left, #000 55%, transparent), linear-gradient(to top, transparent, #000 40%);
  -webkit-mask-composite: source-in; mask: linear-gradient(to left, #000 55%, transparent) , linear-gradient(to top, transparent, #000 40%); mask-composite: intersect;
}
.hero__photo img { width: 100%; height: 110%; object-fit: cover; object-position: 50% 38%; filter: grayscale(1) contrast(1.15) brightness(.95); }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, #3b6ab0, #0a1834 70%); mix-blend-mode: multiply; }
.hero__photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(60% 50% at 60% 30%, rgba(159,212,255,.25), transparent 70%); mix-blend-mode: screen; }
.hero__content { position: relative; z-index: 2; width: 100%; }
.hero__title { margin: 18px 0 26px; perspective: 900px; }
.hero__logo {
  width: min(100%, 1180px); filter: drop-shadow(0 0 40px rgba(159,212,255,.28)) drop-shadow(0 6px 0 rgba(4,10,24,.5));
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--ease);
  clip-path: inset(0 100% 0 0);
}
.loaded .hero__logo { animation: shine 7s linear infinite, wipe 1.4s .35s var(--ease) forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
.hero__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.socials { display: flex; gap: 10px; }
.explore { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 10px; align-items: center; }
.explore span { color: var(--ice); display: inline-block; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ───────── marquee ───────── */
.marquee {
  position: relative; overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: 10px -2vw;
  background: linear-gradient(90deg, #6aa7e8, #cfe9ff 30%, #9fd4ff 60%, #4f86cf); color: var(--ink);
  box-shadow: 0 20px 60px -20px rgba(159,212,255,.45);
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(22px, 3.2vw, 44px); line-height: 1; white-space: nowrap; padding-right: .8em; display: flex; align-items: center; gap: .8em; }
.marquee__item::after { content: "✦"; font-size: .55em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── sections ───────── */
.section { padding: clamp(80px, 12vw, 160px) var(--pad) 0; position: relative; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }

/* shows */
.shows { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(8, 20, 44, .8); }
.show {
  display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: clamp(14px, 3vw, 32px);
  padding: 18px clamp(16px, 2.4vw, 28px); border-top: 1px solid var(--line); position: relative; transition: background .3s;
}
.show:first-child { border-top: 0; }
.show[hidden] { display: none; }
.show::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(159,212,255,.12), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.show:hover::before { opacity: 1; }
.show__date { text-align: center; border: 1px solid var(--line-2); border-radius: 12px; padding: 8px 0 6px; line-height: 1; background: rgba(4,10,24,.5); }
.show__date small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--muted); margin-bottom: 6px; }
.show__date b { font-weight: 900; font-stretch: 125%; font-size: 28px; color: var(--ice-2); }
.show__venue { font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(17px, 2vw, 24px); line-height: 1.1; margin: 0; }
.show__meta { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 0; }
.show__meta .tag { color: var(--ice); margin-left: 10px; }
.show.is-next .show__date { background: var(--ice); border-color: var(--ice); }
.show.is-next .show__date b, .show.is-next .show__date small { color: var(--ink); }
.shows__more { margin: 20px auto 0; display: flex; }
.shows__empty { padding: 28px; color: var(--muted); font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }

/* guest list + past */
.live { margin-top: clamp(56px, 8vw, 96px); }
.live__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; margin-top: 18px; }
.gl-card { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, rgba(16,36,73,.85), rgba(4,10,24,.9)); min-height: 340px; }
.gl-card__media { position: relative; overflow: hidden; }
.gl-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease); filter: saturate(.9); }
.gl-card:hover .gl-card__media img { transform: scale(1.06); }
.gl-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, transparent 50%, rgba(10,24,52,.9)); }
.gl-card__body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.gl-card__title { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 52px); line-height: .92; margin: 0; }
.gl-card__title span { color: var(--ice); display: block; font-size: .55em; margin-bottom: 6px; }
.gl-card__note { margin: 0; color: var(--muted); font-size: 15px; }
.gl-card__note strong { color: var(--ice-2); }
.gl-card__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.past { border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 32px); background: rgba(10,24,52,.45); }
.past__list { list-style: none; margin: 16px 0 0; padding: 0; columns: 1; }
.past__list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.past__list li span:last-child { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ───────── about / passport ───────── */
.about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
/* the passport floats; tap/click (or Enter) toggles it open and closed */
.passport-wrap { position: relative; }
.passport {
  position: relative; perspective: 2000px; cursor: pointer; -webkit-tap-highlight-color: transparent;
  animation: pp-float 5.5s ease-in-out infinite; border-radius: 14px;
}
.passport.is-open { animation-name: pp-float-soft; }
@keyframes pp-float { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-16px) rotate(1deg); } }
@keyframes pp-float-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.passport:focus-visible { outline: 2px solid var(--ice); outline-offset: 10px; }
/* floor shadow that breathes with the float */
.passport__shadow {
  position: relative; left: 50%; margin-top: 26px; width: 44%; height: 26px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.65), transparent); filter: blur(4px);
  animation: pp-shadow 5.5s ease-in-out infinite; transition: width .9s var(--ease); pointer-events: none;
}
.passport.is-open + .passport__shadow { width: 88%; animation-name: pp-shadow-soft; }
@keyframes pp-shadow { 50% { transform: translateX(-50%) scale(.78); opacity: .55; } }
@keyframes pp-shadow-soft { 50% { transform: translateX(-50%) scale(.95); opacity: .85; } }
.passport__hint { margin-top: 10px; text-align: center; color: var(--ice); opacity: .75; transition: opacity .3s; }
.passport__hint::before { content: "↻ "; }

/* closed: slide the book left so the cover sits in the middle */
.passport__book { position: relative; display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 1.42; transform-style: preserve-3d; transform: translateX(-25%) rotateX(10deg); transition: transform 1.2s var(--ease); }
.passport.is-open .passport__book { transform: translateX(0) rotateX(0); }
/* closed hover: the cover peeks open a little */
@media (hover: hover) { .passport:not(.is-open):hover .passport__cover { transform: rotateY(-22deg); transition-delay: 0s; transition-duration: .6s; } }
.passport__page {
  position: relative; padding: clamp(14px, 2vw, 26px); color: #1d2a44; overflow: hidden;
  background: #e9eef4 radial-gradient(120% 90% at 30% 20%, #f6f9fc, #d9e2ee);
  font-family: var(--mono); font-size: clamp(8px, .85vw, 11.5px);
}
.passport__page::before { /* guilloché pattern */
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background: repeating-radial-gradient(circle at 120% 120%, transparent 0 10px, rgba(59,106,176,.18) 10px 11px);
}
.passport__page--left { border-radius: 14px 0 0 14px; box-shadow: inset -18px 0 24px -18px rgba(0,0,0,.35); }
.passport__page--right { grid-column: 2; }
/* desktop: main.js moves the left page INSIDE the cover's back face, so it is literally the inside of the cover
   and swings with it when the book opens and closes */
.passport__cover-back .passport__page--left { position: absolute; inset: 0; }
.passport__page--right { border-radius: 0 14px 14px 0; box-shadow: inset 18px 0 24px -18px rgba(0,0,0,.35); }
.pp-small { margin: 0; text-transform: uppercase; letter-spacing: .14em; opacity: .55; font-size: .85em; position: relative; }
.pp-name { margin: 0 0 4px; font-family: var(--display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 1.6em; position: relative; }
.pp-alias { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 3.6em; line-height: .95; color: #0a1834; position: relative; letter-spacing: .02em; }
.pp-body { display: grid; grid-template-columns: 38% 1fr; gap: 10%; margin-top: 7%; position: relative; }
.pp-photo { aspect-ratio: 3/4; overflow: hidden; border-radius: 6px; box-shadow: 0 2px 0 rgba(0,0,0,.08); }
.pp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.08); }
.pp-fields { margin: 0; display: grid; grid-template-columns: auto; align-content: start; gap: 2px; }
.pp-fields dt { text-transform: uppercase; letter-spacing: .12em; opacity: .5; font-size: .8em; margin-top: 6px; }
.pp-fields dd { margin: 0; font-weight: 600; text-transform: uppercase; }
.pp-mrz { position: absolute; left: clamp(14px, 2vw, 26px); right: 10px; bottom: 6%; margin: 0; letter-spacing: .18em; font-size: .92em; line-height: 1.6; opacity: .75; white-space: nowrap; overflow: hidden; }
.pp-highlights { list-style: none; padding: 0; margin: 8px 0 0; position: relative; z-index: 1; }
.pp-highlights li { display: flex; gap: 6px; align-items: baseline; padding: 2px 0; text-transform: uppercase; font-size: .92em; opacity: 0; transform: translateX(8px); transition: opacity .4s, transform .4s var(--ease); transition-delay: calc(1s + var(--i) * 60ms); }
.pp-highlights li i { flex: 1; border-bottom: 1px dotted rgba(29,42,68,.4); transform: translateY(-3px); }
.passport.is-open .pp-highlights li { opacity: 1; transform: none; }
.stamp {
  position: absolute; z-index: 2; display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 900; font-stretch: 112%; text-transform: uppercase; line-height: 1;
  color: #2650a0; border: 3px double currentColor; opacity: 0; transform: rotate(var(--r)) scale(1.8); mix-blend-mode: multiply;
  transition: opacity .25s, transform .35s cubic-bezier(.5, 1.8, .5, 1);
}
.stamp small { display: block; font-family: var(--mono); font-weight: 600; font-size: .45em; letter-spacing: .14em; margin-top: 4px; }
.stamp--round { width: 30%; aspect-ratio: 1; border-radius: 50%; right: 8%; bottom: 10%; font-size: clamp(11px, 1.4vw, 19px); color: #1e4fa8; transition-delay: 1.9s; }
.stamp--rect { right: 6%; top: 8%; padding: 8px 10px; border-radius: 4px; font-size: clamp(8px, .95vw, 13px); color: #4a6fa8; transition-delay: 2.1s; }
.stamp--oval { left: 8%; bottom: 8%; padding: 10px 18px; border-radius: 50%; font-size: clamp(8px, 1vw, 14px); color: #0e2f6e; transition-delay: 2.3s; }
.passport.is-open .stamp { opacity: .78; transform: rotate(var(--r)) scale(1); }
/* when closing, clear the stamps and list straight away (the delays are only for opening) */
.passport:not(.is-open) .stamp, .passport:not(.is-open) .pp-highlights li { transition-delay: 0s; }
.passport__cover {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; transform-origin: left center; transform-style: preserve-3d;
  transition: transform 1.4s cubic-bezier(.7, 0, .2, 1) .2s; z-index: 3;
}
.passport.is-open .passport__cover { transform: rotateY(-180deg); }
.passport__cover-front, .passport__cover-back { position: absolute; inset: 0; border-radius: 0 14px 14px 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.passport__cover-front {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 10%;
  background: radial-gradient(120% 90% at 30% 20%, #17346e, #071331); box-shadow: inset 0 0 0 1px rgba(159,212,255,.18), 0 30px 60px -20px rgba(0,0,0,.6);
  color: #c9dcf5; font-family: var(--mono); text-transform: uppercase; letter-spacing: .3em; font-size: clamp(9px, 1vw, 13px);
}
.cover-crest { font-size: 3em; color: var(--ice); letter-spacing: 0; filter: drop-shadow(0 0 12px rgba(159,212,255,.5)); }
.cover-title { font-size: 1.4em; }
.cover-logo { width: 78%; }
.cover-sub { opacity: .6; font-size: .8em; text-align: center; }
.passport__cover-back { transform: rotateY(180deg); border-radius: 14px 0 0 14px; }
@keyframes pp-cover-in { from { opacity: 0; transform: perspective(1200px) rotateY(-70deg); } }
@keyframes pp-page-in { from { opacity: 0; transform: perspective(1200px) rotateX(-60deg) translateY(-16px); } }

.about__text p { color: #b9c6db; margin: 0 0 16px; max-width: 56ch; }
.about__text .lead { font-size: clamp(20px, 2.1vw, 28px); line-height: 1.3; color: var(--text); font-weight: 600; }
.about__text strong { color: var(--ice-2); }
.genres { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; }
.genres li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ice-2); background: rgba(16,36,73,.5); }

/* ───────── mixtapes ───────── */
.mixtapes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.mix { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: rgba(10,24,52,.55); transition: border-color .3s, transform .5s var(--ease); }
.mix:hover { border-color: var(--line-2); transform: translateY(-4px); }
.mix__player { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.mix__player img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .4s; filter: brightness(.85); }
.mix__player button { position: absolute; inset: 0; display: grid; place-items: center; }
.mix__play { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: rgba(4,10,24,.55); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); transition: transform .4s var(--ease), background .3s; }
.mix__play svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }
.mix:hover .mix__player img { transform: scale(1.05); filter: brightness(1); }
.mix:hover .mix__play { transform: scale(1.1); background: var(--ice); }
.mix:hover .mix__play svg { fill: var(--ink); }
.mix__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mix__info { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; }
.mix__vol { white-space: nowrap; font-weight: 900; font-stretch: 125%; font-size: clamp(22px, 2.4vw, 32px); text-transform: uppercase; line-height: 1; margin: 0; }
.mix__tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.mix__tags span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ice); border: 1px solid var(--line); padding: 4px 9px; border-radius: 999px; }

/* ───────── media ───────── */
.media { columns: 3 280px; column-gap: 14px; }
.media__item { break-inside: avoid; margin-bottom: 14px; border-radius: 16px; overflow: hidden; position: relative; display: block; width: 100%; padding: 0; cursor: zoom-in; }
.media__item img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .5s; filter: saturate(.85); }
.media__item::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: inherit; background: linear-gradient(to top, rgba(4,10,24,.5), transparent 40%); transition: opacity .4s; pointer-events: none; }
.media__item:hover img { transform: scale(1.04); filter: saturate(1.05); }
.media__item:hover::after { opacity: .2; }
.media__dots { display: none; }

/* ───────── book ───────── */
.book { padding-bottom: clamp(80px, 10vw, 140px); }
.book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.book .mono { margin-top: 20px; }
.book__actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.form { display: grid; gap: 14px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(160deg, rgba(16,36,73,.75), rgba(4,10,24,.8)); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  font: 16px/1.4 var(--display); color: var(--text); background: rgba(4,10,24,.6); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s; color-scheme: dark; letter-spacing: 0; text-transform: none;
}
.form textarea { resize: vertical; }
/* Safari draws dropdowns and date pickers with their own size and shape —
   strip that so Name, Type, Date and Venue are all identical boxes */
.form input, .form select { height: 52px; margin: 0; -webkit-appearance: none; appearance: none; }
.form select {
  padding-right: 40px; cursor: pointer;
  background: rgba(4,10,24,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239fd4ff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.form select option { background: #0a1834; color: var(--text); }
.form input[type="date"] { display: flex; align-items: center; color: var(--text); }
.form input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.form input[type="date"]::-webkit-datetime-edit { padding: 0; }
.form input[type="date"]::-webkit-calendar-picker-indicator { opacity: .7; cursor: pointer; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--ice); box-shadow: 0 0 0 3px rgba(159,212,255,.18); }
.form input.is-invalid { border-color: #ff8f8f; }
.btn--wa { justify-content: center; padding: 16px; font-size: 13px; }
.form__send { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 720px) { .form__send { grid-template-columns: 1fr; } }
.form__hint { text-align: center; font-size: 10.5px; }

/* ───────── footer ───────── */
.footer { padding: 0 var(--pad) 32px; border-top: 1px solid var(--line); }
.footer__logo { width: 100%; margin: clamp(40px, 6vw, 80px) 0 28px; opacity: .9; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.motion-toggle { color: var(--muted); }
.motion-toggle:hover { color: var(--ice); }

/* ───────── lightbox ───────── */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(4,10,24,.94); display: grid; place-items: center; padding: 5vh 6vw; animation: fade .3s; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 100%; width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__close { position: absolute; top: 18px; right: 22px; font-size: 22px; padding: 10px; color: var(--ice-2); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 26px; padding: 18px; color: var(--ice-2); }
.lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; }
@keyframes fade { from { opacity: 0; } }

/* ───────── reveal ───────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ───────── motion off ───────── */
.no-motion *, .no-motion *::before, .no-motion *::after { animation-play-state: paused !important; }
.no-motion .hero__logo { clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero__logo { clip-path: none; }
}

/* ───────── responsive ───────── */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .live__grid, .about__grid, .book__grid { grid-template-columns: 1fr; }
  .passport-wrap { max-width: 640px; }
}
@media (max-width: 720px) {
/* media on phones: one swipeable row with a peek of the next photo, instead of a tall single column */
.media {
  columns: auto; display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none;
  margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 4px;
}
.media::-webkit-scrollbar { display: none; }
.media__item { flex: 0 0 72%; aspect-ratio: 4 / 5; margin: 0; scroll-snap-align: start; }
.media__item img { height: 100%; object-fit: cover; }
.media__dots { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
.media__dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: width .3s var(--ease), background .3s; }
.media__dots span.is-on { width: 20px; background: var(--ice); }
  body { font-size: 16px; }
  .nav { padding: 12px var(--pad); }
  .nav__logo .chrome-logo { width: 96px; }
  .nav .icon-link { width: 36px; height: 36px; }
  .nav .btn { padding: 10px 14px; font-size: 11px; }
  .nav__right .icon-link { display: none; }
  .hero__photo { right: 0; width: 100%; -webkit-mask: linear-gradient(to top, transparent 12%, #000 60%); mask: linear-gradient(to top, transparent 12%, #000 60%); }
  .hero__photo img { object-position: 50% 10%; }
  .show { grid-template-columns: 56px 1fr auto; gap: 12px; padding: 14px; }
  .show .btn { padding: 9px 11px; font-size: 10px; letter-spacing: .08em; }
  .show__meta .tag { display: block; margin: 4px 0 0; }
  .show__date b { font-size: 24px; }
  .gl-card { grid-template-columns: 1fr; }
  .gl-card__media { aspect-ratio: 16/10; }
  .gl-card__media::after { background: linear-gradient(to bottom, transparent 50%, rgba(10,24,52,.95)); }
  .mixtapes { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .mix__info { flex-direction: column; align-items: flex-start; }
  .mix__tags { justify-content: flex-start; }
  .show__venue { font-size: 15px; }
  .show__meta { font-size: 10px; }
  /* passport on phones: a book-style flip pad bound along the top edge (no spiral).
     The cover and both pages sit in one grid cell; each tap flips the top sheet up and over the top edge:
     closed (cover) → .is-open (details page) → .is-page2 (highlights page) → tap again closes */
  .passport { perspective: 1400px; }
  .passport__book, .passport.is-open .passport__book { display: grid; grid-template-columns: 1fr; aspect-ratio: auto; transform: none; }
  .passport__book > * { grid-area: 1 / 1; }
  .passport__cover, .passport__page, .passport:not(.is-open):hover .passport__cover {
    position: relative; top: auto; left: auto; bottom: auto; width: auto; margin: 0;
    transform-origin: top center; transform: rotateX(0deg);
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
    transition: transform .9s cubic-bezier(.6, 0, .2, 1);
  }
  .passport__cover { z-index: 3; }
  /* bound top edge: squarer top corners + a hinge crease just inside the top of each sheet */
  .passport__cover-front { border-radius: 6px 6px 14px 14px; font-size: 11px;
    box-shadow: inset 0 0 0 1px rgba(159,212,255,.18), inset 0 22px 0 -20px rgba(159,212,255,.35), 0 30px 60px -20px rgba(0,0,0,.6); }
  .passport__cover-back { display: none; }
  .passport__page { font-size: 11px; padding: 24px 20px 20px; border-radius: 6px 6px 14px 14px; }
  .passport__page::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; pointer-events: none;
    background: linear-gradient(to bottom, rgba(10,24,52,.18), transparent); }
  .passport__page--left { z-index: 2; box-shadow: none; padding-bottom: 64px; }
  .passport__page--right { z-index: 1; grid-area: 1 / 1; padding-bottom: 120px; box-shadow: 0 4px 0 #c9d4e4, 0 8px 0 #aab9d0; /* sheets underneath */ }
  /* flip the top sheet up and over the top edge */
  .passport.is-open .passport__cover, .passport.is-page2 .passport__page--left { transform: rotateX(180deg); }
  .passport__shadow, .passport.is-open + .passport__shadow { width: 82%; }
  /* highlights + stamps only animate in once their page is showing */
  .pp-highlights li { transition-delay: calc(.35s + var(--i) * 45ms); }
  .passport:not(.is-page2) .pp-highlights li { opacity: 0; transform: translateX(8px); transition-delay: 0s; }
  .passport:not(.is-page2) .stamp { opacity: 0; transform: rotate(var(--r)) scale(1.8); transition-delay: 0s; }
  .stamp--round { width: 96px; font-size: 15px; bottom: 16px; transition-delay: 1s; }
  .stamp--rect { top: 18px; font-size: 10px; transition-delay: 1.2s; }
  .stamp--oval { bottom: 22px; font-size: 11px; transition-delay: 1.4s; }
}
