:root {
  --ground: #0a0c0e;
  --ground-2: #101317;
  --ink: #ede7dc;
  --ink-2: #9ea5a8;
  --muted: #6c7378;
  --amber: #e8913c;
  --teal: #2e6b72;
  --hair: rgba(237, 231, 220, 0.13);
  --display: "Syne", "Arial Black", sans-serif;
  --sans: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: 16px;
  --nav: 58px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--ink); color: var(--ground); }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 1px solid var(--amber); outline-offset: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--ground); padding: 10px 14px; font-size: 12px; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.label {
  font-size: 10.5px; font-weight: 500; line-height: 1.6;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber);
}
.label--muted { color: var(--muted); }
.h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(32px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.03em;
}
.lede { color: var(--ink-2); font-size: 16px; max-width: 42ch; }
.fine { color: var(--ink-2); font-size: 13px; max-width: 46ch; margin-top: 20px; }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 24px; border-radius: 999px;
  border: 1px solid var(--hair);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.pill:hover { border-color: var(--amber); color: var(--amber); }
.pill--solid { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.pill--solid:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.pill--sm { height: 34px; padding: 0 16px; }

/* ---------- Entry reveals (fire once; scoped to .motion, which JS adds only without reduced motion) ---------- */
.motion .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.motion .reveal.in { opacity: 1; transform: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  background: rgba(10, 12, 14, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
}
.nav__mark { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: -0.02em; text-transform: uppercase; }
.nav__mark span { color: var(--amber); }
.nav__links { display: none; gap: 36px; }
.nav__links a {
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-2); transition: color 0.25s;
}
.nav__links a:hover { color: var(--amber); }
@media (min-width: 760px) {
  .nav__links { display: flex; position: absolute; left: 50%; transform: translateX(-50%); }
}

/* ---------- Portal hero ----------
   --p: progress through the hero (0..1), --o: panel opening (0..1, completes early).
   Defaults are the finished, open state so no-JS and reduced-motion render the end result. */
.portal { position: relative; height: 100vh; height: 100svh; }
.portal-on .portal { height: 250vh; }
.portal-on .portal__stage { --p: 0; --o: 0; }
.portal__stage {
  --p: 1; --o: 1; --split: 0.5;
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden; isolation: isolate;
  display: grid; place-items: center;
}
.portal__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 60%;
  transform: scale(calc(1.16 - 0.16 * var(--o)));
}
.portal__wash {
  position: absolute; inset: 0;
  background: linear-gradient(125deg, var(--amber), var(--teal));
  mix-blend-mode: overlay; opacity: calc(0.3 * var(--o));
}
.portal__veil {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 75% 70% at 50% 50%, transparent 35%, rgba(10, 12, 14, 0.82) 100%);
}
.portal__panel {
  position: absolute; top: 0; bottom: 0; width: 50.6%;
  background: var(--ground-2);
}
.portal__panel--l { left: 0; border-right: 1px solid var(--hair); transform: translateX(calc(var(--o) * -104%)); }
.portal__panel--r { right: 0; border-left: 1px solid var(--hair); transform: translateX(calc(var(--o) * 104%)); }
.portal__dot {
  position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
}
.portal__dot--a {
  background: var(--amber); box-shadow: 0 0 10px 2px rgba(232, 145, 60, 0.55);
  transform: translate(calc(var(--o) * -40vw), calc(-3.5em + var(--o) * -34vh));
}
.portal__dot--t {
  background: var(--teal); box-shadow: 0 0 10px 2px rgba(46, 107, 114, 0.75);
  transform: translate(calc(var(--o) * 40vw), calc(3.5em + var(--o) * 34vh));
}
.portal__title {
  position: relative; z-index: 2; white-space: nowrap;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 1;
  font-size: clamp(30px, 5.2vw, 112px);
  letter-spacing: calc(0.06em - 0.09em * var(--p));
  transform: scale(calc(1 + 0.3 * var(--p)));
}
.portal__title span { display: inline-block; }
.portal__title span:first-child { transform: translateX(calc(var(--p) * var(--split) * -100%)); }
.portal__title span:last-child { transform: translateX(calc(var(--p) * var(--split) * 100%)); }
@media (max-width: 640px) {
  .portal__stage { --split: 0.12; }
  .portal__title { font-size: 6.6vw; }
}

.meta {
  position: absolute; z-index: 2;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.meta--tl { top: calc(var(--nav) + 22px); left: var(--gutter); }
.meta--tr { top: calc(var(--nav) + 22px); right: var(--gutter); text-align: right; }
.meta--bl { bottom: 26px; left: var(--gutter); }
.meta--br { bottom: 26px; right: var(--gutter); }
.portal__cue { display: inline-block; opacity: calc(1 - var(--o) * 1.6); }
.portal__cue::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 10px; vertical-align: middle; background: var(--amber); }
@media (max-width: 640px) { .meta--tr { display: none; } }

/* ---------- Statement fold ---------- */
.fold {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: grid; align-items: center; padding: 120px 0;
}
.fold__disc {
  --f: 0;
  position: absolute; top: 50%; right: -22vw; width: min(78vw, 820px); height: auto;
  border-radius: 50%; opacity: 0.42; pointer-events: none;
  transform: translateY(calc(-50% + var(--f) * -120px)) rotate(calc(var(--f) * 120deg));
}
.fold__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.fold__statement {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(24px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -0.02em;
  max-width: 22ch;
}
.fold__statement em { font-style: normal; color: var(--amber); }
.fold__index { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; }
.fold__num {
  font-family: var(--display); font-weight: 800; line-height: 0.8; letter-spacing: -0.03em;
  font-size: clamp(88px, 15vw, 240px);
  color: transparent; -webkit-text-stroke: 1px var(--ink-2);
}
.fold__index .label { color: var(--muted); padding-bottom: 6px; }

/* ---------- Releases + deck ---------- */
.releases { padding: 120px 0; border-top: 1px solid var(--hair); overflow-x: clip; }
.releases__grid { display: grid; gap: 64px; align-items: center; }
.releases__copy { display: grid; gap: 24px; justify-items: start; }
@media (min-width: 960px) { .releases__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

.deck-wrap { width: 100%; max-width: 540px; justify-self: center; }
.deck {
  position: relative; aspect-ratio: 1; width: 100%;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  border-radius: 8px;
}
.card {
  position: absolute; inset: 0; overflow: hidden; border-radius: 6px;
  background: var(--ground-2); border: 1px solid var(--hair);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 6px 14px rgba(0, 0, 0, 0.35);
  display: flex; flex-direction: column; justify-content: space-between; padding: 22px;
  transform-origin: 50% 100%;
  transition: transform 0.55s var(--ease), opacity 0.4s;
  cursor: grab; will-change: transform;
}
.card.is-drag { cursor: grabbing; transition: none; }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } }
.card__art {
  position: absolute; inset: 0; z-index: -1;
  background: url(img/hero.jpg) var(--x) var(--y) / calc(var(--s) * 100%) auto no-repeat;
}
.card__art--disc { background-image: url(img/record.jpg); background-size: calc(var(--s) * 100%); }
.card__art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 12, 14, 0.92) 0%, rgba(10, 12, 14, 0.25) 55%, rgba(10, 12, 14, 0.4) 100%);
}
.card { isolation: isolate; }
.card__top { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.card__artist { font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.card__title { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1; letter-spacing: -0.03em; margin: 8px 0 12px; }
.card__date { font-size: 12px; color: var(--ink-2); letter-spacing: 0.04em; }

.deck__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }
.deck__hint { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.deck__dots { display: flex; gap: 8px; }
.deck__dots li { width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--muted); transition: background-color 0.3s, border-color 0.3s; }
.deck__dots li.on { background: var(--amber); border-color: var(--amber); }

/* ---------- Roster ---------- */
.roster, .dates { padding: 110px 0; border-top: 1px solid var(--hair); }
.head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.rows { border-bottom: 1px solid var(--hair); }
.row {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 24px;
  padding: 24px 0; border-top: 1px solid var(--hair);
}
.row__tag { grid-column: 1 / -1; font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.row__tag::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 10px; border-radius: 50%; background: var(--amber); vertical-align: 2px; }
.row__tag--t::before { background: var(--teal); }
.row__name { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 4vw, 54px); line-height: 1.05; letter-spacing: -0.03em; transition: color 0.3s; }
.row__count { font-size: 12px; color: var(--ink-2); letter-spacing: 0.06em; text-align: right; white-space: nowrap; }
@media (min-width: 760px) {
  .row { grid-template-columns: 160px 1fr auto; }
  .row__tag { grid-column: auto; }
}

/* ---------- Dates ---------- */
.table { width: 100%; border-collapse: collapse; }
.table thead th {
  text-align: left; font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); padding: 0 16px 14px 0; border-bottom: 1px solid var(--hair);
}
.table tbody th, .table td { text-align: left; padding: 22px 16px 22px 0; border-bottom: 1px solid var(--hair); vertical-align: baseline; }
.table tbody th { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; }
.table td { font-size: 14px; color: var(--ink-2); }
@media (max-width: 719px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
  .table tbody tr:first-child { border-top: 1px solid var(--hair); }
  .table tbody th { grid-column: 1 / -1; padding: 0; border: 0; }
  .table td { padding: 0; border: 0; font-size: 13px; }
  .table td::before { content: attr(data-k); display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
}

/* ---------- Close ---------- */
.close { position: relative; overflow: hidden; padding-top: 120px; border-top: 1px solid var(--hair); }
.close__grid { display: grid; gap: 40px; align-items: end; padding-bottom: 80px; }
@media (min-width: 860px) {
  .close__grid { grid-template-columns: 1fr auto; }
  .close__btns { justify-content: flex-end; }
}
.strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--hair);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.strip a:hover { color: var(--amber); }
.close__mark {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; white-space: nowrap;
  font-size: 10vw; line-height: 0.8; letter-spacing: -0.03em; text-align: center;
  margin-top: 3vw; transform: translateY(14%);
}
