/* ==========================================================================
   GLIMPSE — BY STVRRISE
   Pre-order landing page styles

   Design tokens
   -------------
   Color:
     --ink        #0a0a0c   near-black base
     --bone       #ede9e3   off-white text
     --bone-dim   #9c988f   muted bone (secondary text)
     --surface    #17171a   card / panel surface
     --surface-2  #1e1e22   raised surface (hover, inputs)
     --line       #2b2b30   hairline borders
     --flare      #3b82ff   signal-flare accent (CTAs, live states, price)
     --flare-dim  #1e3f7a   flare at low opacity equivalent for borders/glow
     --amber      #c9a876   "coming soon" / pending state

   Type:
     --font-display   condensed, oversized, slightly distressed — headlines
     --font-body       clean grotesk — body copy, UI
     --font-mono      monospace — track numbers, prices, metadata (disc/data feel)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Vazirmatn:wght@400;500;600;700&display=swap');

:root {
  --ink: #0a0a0c;
  --bone: #ede9e3;
  --bone-dim: #9c988f;
  --surface: #17171a;
  --surface-2: #1e1e22;
  --line: #2b2b30;
  --flare: #3b82ff;
  --flare-dim: #1e3f7a;
  --amber: #c9a876;

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Space Grotesk', Vazirmatn, Tahoma, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  --container-w: 1180px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------------------------------------------------------------------------
   Reset & base
   ------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  direction: ltr;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.95;
}

p {
  margin: 0;
}

::selection {
  background: var(--flare);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--flare);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--flare);
  box-shadow: 0 0 8px 1px var(--flare);
  flex-shrink: 0;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-head {
  margin-bottom: 48px;
  max-width: 640px;
}

.section-head .eyebrow {
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(38px, 6vw, 64px);
}

.section-head p {
  margin-top: 14px;
  color: var(--bone-dim);
  font-size: 16px;
  max-width: 52ch;
}

/* Release-date chip, shown wherever the release date sits */
.pending-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flare);
  border: 1px solid color-mix(in srgb, var(--flare) 40%, transparent);
  background: color-mix(in srgb, var(--flare) 8%, transparent);
  padding: 6px 12px;
  border-radius: 999px;
}

.pending-chip::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--flare);
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Skip link for keyboard/screen-reader users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--flare);
  color: var(--ink);
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* -------------------------------------------------------------------------
   Shared image lightbox (tracklist artwork, size guide)
   ------------------------------------------------------------------------- */

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: zoom-out;
}

.lightbox-backdrop.is-open {
  display: flex;
}

.lightbox__image {
  max-width: min(90vw, 900px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  animation: modal-in 0.25s var(--ease);
}

.lightbox__close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  border-color: var(--flare);
}

@media (max-width: 640px) {
  .lightbox-backdrop {
    padding: 16px;
  }

  .lightbox__close {
    top: 16px;
    right: 16px;
  }
}
