:root {
  --bg: #FFFFFF;
  --bg-2: #F5F7FA;
  --ink: #141B29;
  --ink-2: #4A5568;
  --muted: #6E7787;
  --amber: #9B1C2E;
  --teal: #1B365D;
  --hairline: rgba(20, 27, 41, 0.13);

  --font-display: 'Syne', sans-serif;
  --font-sans: 'Sora', sans-serif;

  --nav-h: 58px;
  --gutter: clamp(20px, 4vw, 56px);
  --max-w: 1320px;
}

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

html {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background-color: var(--bg);
  color: var(--ink);
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.accent-amber {
  color: var(--amber);
}

.accent-teal {
  color: var(--teal);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.nav-wordmark {
  display: inline-flex;
  align-items: center;
}

.nav-logo {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
}

.nav-links a {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--amber);
}

.nav-pill {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-pill:hover,
.nav-pill:focus-visible {
  border-color: var(--amber);
  color: var(--amber);
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   1. Portal Hero
   -------------------------------------------------------------------------- */
.portal-hero {
  position: relative;
  height: 250vh;
  background-color: var(--bg);
}

.portal-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
}

.portal-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--bg-scale, 1.18));
  transform-origin: center center;
  will-change: transform;
  z-index: 1;
}

.portal-duotone {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, var(--amber) 0%, var(--teal) 100%);
  mix-blend-mode: overlay;
  opacity: var(--duotone-opacity, 0);
  pointer-events: none;
  z-index: 2;
}

.portal-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0.72) 100%
  );
  pointer-events: none;
  z-index: 3;
}

.portal-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52%;
  background-color: var(--bg);
  overflow: hidden;
  will-change: transform;
  z-index: 4;
}

.portal-panel-video {
  position: absolute;
  top: 0;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.portal-panel--left .portal-panel-video {
  left: 0;
}

.portal-panel--right .portal-panel-video {
  right: 0;
}

.portal-panel--left {
  left: 0;
  transform: translate3d(var(--panel-left-x, 0%), 0, 0);
  border-right: 1px solid var(--hairline);
}

.portal-panel--right {
  right: 0;
  transform: translate3d(var(--panel-right-x, 0%), 0, 0);
  border-left: 1px solid var(--hairline);
}

.portal-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  z-index: 5;
  will-change: transform;
}

.portal-dot--amber {
  background-color: var(--amber);
  transform: translate3d(var(--dot-amber-x, -10px), var(--dot-amber-y, 0px), 0);
}

.portal-dot--teal {
  background-color: var(--teal);
  transform: translate3d(var(--dot-teal-x, 10px), var(--dot-teal-y, 0px), 0);
}

.portal-wordmark {
  position: relative;
  z-index: 6;
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(16px, 3.2vw, 48px);
  line-height: 0.95;
  white-space: nowrap;
  color: #FFFFFF;
  letter-spacing: var(--title-track, 0.06em);
  transform: scale(var(--title-scale, 1));
  will-change: transform, letter-spacing;
  user-select: none;
  pointer-events: none;
}

.portal-half {
  display: inline-block;
  will-change: transform;
}

.portal-half--left {
  transform: translate3d(var(--half-left-x, 0%), 0, 0);
}

.portal-half--right {
  transform: translate3d(var(--half-right-x, 0%), 0, 0);
}

.portal-meta {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  z-index: 6;
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  pointer-events: none;
}

.portal-meta--top {
  top: calc(var(--nav-h) + 22px);
}

.portal-meta--bottom {
  bottom: 24px;
}

/* --------------------------------------------------------------------------
   2. Statement Fold
   -------------------------------------------------------------------------- */
.statement-fold {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px var(--gutter);
  border-top: 1px solid var(--hairline);
  overflow: hidden;
  background-color: var(--bg);
}

.statement-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.statement-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 22ch;
}

.statement-index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(80px, 12vw, 160px);
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px var(--hairline);
  user-select: none;
}

.statement-vinyl {
  position: absolute;
  right: -14vw;
  top: 50%;
  width: clamp(320px, 44vw, 620px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.24;
  transform: translate3d(0, calc(-50% + var(--vinyl-y, 0px)), 0)
    rotate(var(--vinyl-rot, 0deg));
  will-change: transform;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .statement-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   3. Releases (Two-column + Throwable Deck)
   -------------------------------------------------------------------------- */
.releases-section {
  padding: clamp(80px, 11vw, 140px) var(--gutter);
  border-top: 1px solid var(--hairline);
  background-color: var(--bg-2);
}

.releases-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.releases-lede {
  margin-top: 20px;
  max-width: 40ch;
  font-size: 15px;
  color: var(--ink-2);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
  border-color: var(--amber);
  color: var(--amber);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost {
  color: var(--ink-2);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--ink);
  border-color: var(--ink-2);
}

/* Throwable Deck */
.deck-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.deck {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  touch-action: pan-y;
  outline: none;
  cursor: grab;
}

.deck:focus-visible {
  outline: 1px solid var(--amber);
  outline-offset: 8px;
}

.deck:active {
  cursor: grabbing;
}

.deck-card {
  position: absolute;
  inset: 0;
  background-color: var(--bg);
  border: 1px solid var(--hairline);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  user-select: none;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
  will-change: transform;
}

.deck-card.is-dragging {
  transition: none;
}

.deck-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.card-meta {
  position: relative;
  z-index: 2;
  padding: 20px;
  color: #EDE7DC;
  background: linear-gradient(to top, rgba(10, 12, 14, 0.92) 0%, rgba(10, 12, 14, 0) 100%);
}

.card-code {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.card-artist {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-2);
}

.deck-hint {
  margin-top: 22px;
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.deck-dots {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.deck-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--hairline);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.deck-dot.is-active {
  background-color: var(--amber);
  transform: scale(1.25);
}

@media (max-width: 860px) {
  .releases-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   4. Roster
   -------------------------------------------------------------------------- */
.roster-section {
  padding: clamp(80px, 10vw, 130px) var(--gutter);
  border-top: 1px solid var(--hairline);
  background-color: var(--bg);
}

.section-header,
.roster-list,
.dates-table {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.roster-list {
  list-style: none;
  margin-top: 40px;
  border-top: 1px solid var(--hairline);
}

.roster-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}

.roster-role {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.roster-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 32px);
  letter-spacing: -0.02em;
}

.roster-count {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
}

@media (max-width: 640px) {
  .roster-row {
    grid-template-columns: 1fr auto;
  }

  .roster-role {
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------------------------------
   5. Dates Table
   -------------------------------------------------------------------------- */
.dates-section {
  padding: clamp(80px, 10vw, 130px) var(--gutter);
  border-top: 1px solid var(--hairline);
  background-color: var(--bg-2);
}

.dates-table {
  width: 100%;
  margin-top: 40px;
  border-collapse: collapse;
  text-align: left;
}

.dates-table thead th {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0 14px;
  border-bottom: 1px solid var(--hairline);
}

.dates-table tbody tr {
  border-bottom: 1px solid var(--hairline);
}

.dates-table tbody td {
  padding: 20px 12px 20px 0;
  font-size: 14px;
  color: var(--ink-2);
}

.dates-table tbody td.dates-primary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

@media (max-width: 640px) {
  .dates-table thead {
    display: none;
  }

  .dates-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    padding: 18px 0;
  }

  .dates-table tbody td {
    padding: 0;
  }
}

/* --------------------------------------------------------------------------
   6. Close
   -------------------------------------------------------------------------- */
.close-section {
  padding: clamp(80px, 10vw, 120px) var(--gutter) 0;
  border-top: 1px solid var(--hairline);
  background-color: var(--bg);
  overflow: hidden;
}

.close-top {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.close-fineprint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-2);
  max-width: 44ch;
}

.close-strip {
  max-width: var(--max-w);
  margin: 56px auto 0;
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.close-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 3.8vw, 56px);
  line-height: 0.85;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--ink);
  transform: translateY(18%);
  user-select: none;
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   One-shot Entry Reveals (scoped to .js-reveal)
   -------------------------------------------------------------------------- */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
