/* ============================================
   ALEXSTRAVS·X — Website Stylesheet
   Cinematic editorial atmosphere
   Author: Alexander Strauss
   ============================================ */

/* ===== Design Tokens ===== */
:root {
  /* Album palette */
  --c-bg-deep:      #0A1628;   /* deep cosmic blue, near black */
  --c-bg-mid:       #122039;   /* mid-tone for sections */
  --c-bg-soft:      #1A2A45;   /* subtle elevation */
  --c-blue-accent:  #4A7BA6;   /* accent blue */
  --c-blue-glow:    #5B8FBF;   /* slightly lighter for highlights */
  --c-amber:        #D4A574;   /* warm amber accent */
  --c-amber-soft:   #E8C49A;   /* lighter amber for hover */
  --c-text:         #E8E4DC;   /* off-white body text */
  --c-text-dim:     #A8AFB9;   /* dimmed text */
  --c-text-faint:   #6B7280;   /* faint metadata */
  --c-line:         rgba(232, 228, 220, 0.12);
  --c-line-hover:   rgba(212, 165, 116, 0.4);

  /* Typography */
  --font-display:   'Cormorant Garamond', 'Times New Roman', serif;
  --font-body:      'Manrope', system-ui, sans-serif;
  --font-mono:      'JetBrains Mono', 'Courier New', monospace;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-xxl: 10rem;

  /* Layout */
  --max-width:    1280px;
  --content-pad:  clamp(1.5rem, 4vw, 4rem);
  --nav-height:   75px;

  /* Motion */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
}

/* ===== Reset & base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text);
  background-color: var(--c-bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
}

/* When mobile menu is open, prevent body scrolling */
body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

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

/* ===== Animated starfield canvas ===== */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* ===== Subtle scanlines for cinematic feel ===== */
.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, 0.04) 2px,
    rgba(0, 0, 0, 0.04) 4px
  );
  opacity: 0.5;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--content-pad);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(10, 22, 40, 0.85);
  border-bottom: 1px solid var(--c-line);
  height: var(--nav-height);
}

.nav__logo {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--c-text);
  display: inline-flex;
  align-items: baseline;
  gap: 0.05em;
  position: relative;
}

.logo-glyph {
  color: var(--c-amber);
  font-weight: 600;
}

.logo-dot {
  color: var(--c-blue-accent);
  margin: 0 0.15em;
}

.logo-text {
  letter-spacing: 0.08em;
}

/* ===== Nav Links — DESKTOP: Positioned as overlay onto .nav ===== */
/* Now .nav__links is sibling of .nav (not child), so we position it manually */
.nav__links {
  position: fixed;
  top: 0;
  right: var(--content-pad);
  height: var(--nav-height);
  z-index: 111;             /* Just above nav so links sit on top of nav background */
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  font-weight: 400;
  position: relative;
  padding: 0.5rem 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--c-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.nav__links a:hover {
  color: var(--c-amber);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

/* ===== Burger Button (hidden on Desktop) ===== */
.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  background: transparent;
  border: 1px solid var(--c-line);
  cursor: pointer;
  transition: border-color 0.3s var(--ease-out);
  padding: 0;
}

.nav__burger:hover {
  border-color: var(--c-amber);
}

.burger-line {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1px;
  background: var(--c-text);
  transform-origin: center;
  transition: all 0.3s var(--ease-out);
  transform: translateX(-50%);
}

.burger-line:nth-child(1) { top: 13px; }
.burger-line:nth-child(2) { top: 19px; }
.burger-line:nth-child(3) { top: 25px; }

/* Burger animation when menu is open */
.nav__burger.active .burger-line:nth-child(1) {
  top: 19px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--c-amber);
}
.nav__burger.active .burger-line:nth-child(2) {
  opacity: 0;
}
.nav__burger.active .burger-line:nth-child(3) {
  top: 19px;
  transform: translateX(-50%) rotate(-45deg);
  background: var(--c-amber);
}

/* ===== Mobile Navigation ===== */
@media (max-width: 768px) {
  .nav__burger {
    display: block;
  }

  .nav__links {
    /* Now becomes the full overlay, positioned BELOW the nav */
    position: fixed;
    top: var(--nav-height);
    right: 0;
    left: 0;
    bottom: 0;
    height: auto;
    z-index: 105;            /* BELOW nav (110) — header stays visible */
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: var(--content-pad);

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0s linear 0.4s;
  }

  .nav__links.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s var(--ease-out), visibility 0s linear 0s;
  }

  .nav__links a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--c-text);
    padding: 0.5rem 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s var(--ease-out);
  }

  .nav__links.active a {
    transform: translateY(0);
    opacity: 1;
  }

  /* Stagger the link reveal */
  .nav__links.active li:nth-child(1) a { transition-delay: 0.1s; }
  .nav__links.active li:nth-child(2) a { transition-delay: 0.15s; }
  .nav__links.active li:nth-child(3) a { transition-delay: 0.2s; }
  .nav__links.active li:nth-child(4) a { transition-delay: 0.25s; }
  .nav__links.active li:nth-child(5) a { transition-delay: 0.3s; }

  .nav__links a:hover {
    color: var(--c-amber);
  }
}

/* ===== Reveal animation for hero ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 1.2s var(--ease-out) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8rem var(--content-pad) 4rem;
  text-align: center;
  position: relative;
}

.hero__coordinates {
  position: absolute;
  top: 7rem;
  left: var(--content-pad);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-text-faint);
  letter-spacing: 0.15em;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.coord-label {
  text-transform: uppercase;
  color: var(--c-blue-accent);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 900px;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-amber);
  font-weight: 400;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.5rem, 12vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--c-text);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.1em;
}

.title-line {
  display: inline-block;
}

.title-suffix {
  display: inline-block;
  font-size: 0.55em;
  color: var(--c-amber);
  font-style: italic;
  font-weight: 400;
  margin-left: 0.1em;
}

.hero__meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.dot {
  color: var(--c-amber);
}

/* ===== Hero Scroll Indicator ===== */
.hero__scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-text-faint);
  transform: translateX(-50%);
  opacity: 0;
  animation: reveal-scroll 1.2s var(--ease-out) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes reveal-scroll {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 768px) {
  .hero__scroll {
    bottom: 2rem;
    font-size: 0.6rem;
    gap: 0.75rem;
  }
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--c-amber), transparent);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .scroll-line {
    height: 40px;
  }
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--c-amber);
  animation: scroll-pulse 2.5s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* ===== Section base ===== */
section {
  padding: var(--space-xxl) var(--content-pad);
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: var(--space-xl) var(--content-pad);
  }
}

.section__index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-blue-accent);
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-line);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: 2rem;
}

/* ===== ABOUT — Album-Detail-Style Layout ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about__portrait {
  position: relative;
}

@media (max-width: 900px) {
  .about__portrait {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
}

.portrait-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--c-bg-mid);
  border: 1px solid var(--c-line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              0 0 80px rgba(74, 123, 166, 0.1);
}

.portrait-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74, 123, 166, 0.1), rgba(212, 165, 116, 0.05));
  pointer-events: none;
  z-index: 1;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
}

.portrait-empty-text {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--c-text-faint);
  letter-spacing: 0.15em;
}

.portrait-empty .portrait-empty-text {
  display: block;
}

.portrait-caption {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.caption-label {
  color: var(--c-text-faint);
  text-transform: uppercase;
}

.caption-value {
  color: var(--c-text);
  margin-top: 0.25rem;
}

.about__text p {
  margin-bottom: 1.5rem;
  color: var(--c-text-dim);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about__lead {
  font-size: 1.3rem !important;
  color: var(--c-text) !important;
  font-weight: 400;
  line-height: 1.6 !important;
}

.about__quote {
  margin-top: 3rem;
  padding-left: 2rem;
  position: relative;
}

.about__statement {
  display: inline;
  color: var(--c-text);
  font-weight: 400;
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.15em;
  letter-spacing: 0.005em;
}

.quote-mark {
  position: absolute;
  left: -0.5rem;
  top: -1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--c-amber);
  line-height: 1;
  opacity: 0.6;
}

.about__quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--c-text);
  line-height: 1.4;
  margin: 0 !important;
}

/* ===== LATEST RELEASE (data-driven hero card) ===== */
.latest__container {
  min-height: 200px;
}

.loading-placeholder {
  padding: 4rem 0;
  text-align: center;
}

.loading-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--c-text-faint);
  text-transform: uppercase;
  opacity: 0;
  animation: fade-pulse 2s ease-in-out infinite;
}

@keyframes fade-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.latest__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .latest__hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.latest__cover {
  position: relative;
}

.cover-link {
  display: block;
  text-decoration: none;
}

.cover-frame {
  position: relative;
  aspect-ratio: 1;
  background: var(--c-bg-mid);
  border: 1px solid var(--c-line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              0 0 80px rgba(74, 123, 166, 0.1);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.cover-link:hover .cover-frame {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
              0 0 100px rgba(212, 165, 116, 0.15);
}

.cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-empty-text {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--c-text-faint);
  letter-spacing: 0.15em;
  padding: 1rem;
  text-align: center;
}

.cover-empty .cover-empty-text {
  display: block;
}

.latest__release-info {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-amber);
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.release-type {
  color: var(--c-amber);
}

.latest__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: 1.5rem;
}

.latest__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--c-amber);
  margin-bottom: 2rem;
  font-weight: 400;
}

.latest__description {
  color: var(--c-text-dim);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.latest__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn--primary {
  background: var(--c-amber);
  color: var(--c-bg-deep);
  border-color: var(--c-amber);
}

.btn--primary:hover {
  background: var(--c-amber-soft);
  border-color: var(--c-amber-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-line);
}

.btn--ghost:hover {
  border-color: var(--c-amber);
  color: var(--c-amber);
}

/* ===== DISCOGRAPHY ===== */
.discography__lead {
  font-size: 1.2rem;
  color: var(--c-text-dim);
  margin-bottom: 3rem;
  font-family: var(--font-display);
  font-style: italic;
}

.filter-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 1.5rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  background: transparent;
  border: 1px solid var(--c-line);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.filter-btn:hover {
  color: var(--c-amber);
  border-color: var(--c-line-hover);
}

.filter-btn.active {
  color: var(--c-bg-deep);
  background: var(--c-amber);
  border-color: var(--c-amber);
}

.releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
}

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

.release-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out);
}

.release-card:hover {
  transform: translateY(-4px);
}

.release-card__cover {
  position: relative;
  aspect-ratio: 1;
  background: var(--c-bg-mid);
  border: 1px solid var(--c-line);
  overflow: hidden;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s var(--ease-out);
}

.release-card:hover .release-card__cover {
  border-color: var(--c-line-hover);
}

.release-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.release-card:hover .release-card__cover img {
  transform: scale(1.05);
}

.release-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.3) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.release-card:hover .release-card__overlay {
  opacity: 1;
}

.release-card__cta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-amber);
  border: 1px solid var(--c-amber);
  padding: 0.6rem 1.2rem;
  background: rgba(10, 22, 40, 0.9);
}

.release-card__info {
  flex: 1;
}

.release-card__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-faint);
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.release-card__type {
  color: var(--c-amber);
}

.release-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--c-text);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  transition: color 0.3s var(--ease-out);
}

.release-card:hover .release-card__title {
  color: var(--c-amber);
}

.release-card__desc {
  color: var(--c-text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Empty state ===== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  border: 1px dashed var(--c-line);
}

.empty-state p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--c-text);
  margin-bottom: 0.5rem;
}

.empty-state code {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  background: var(--c-bg-mid);
  padding: 0.2rem 0.5rem;
  color: var(--c-amber);
}

.empty-state__sub {
  font-style: italic;
  color: var(--c-text-faint) !important;
  font-size: 1rem !important;
}

/* ===== Disabled platform links ===== */
.platform--disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}



/* ===== LISTEN ===== */
.listen__lead {
  font-size: 1.2rem;
  color: var(--c-text-dim);
  margin-bottom: 4rem;
  font-family: var(--font-display);
  font-style: italic;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.platform {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 2rem;
  background: var(--c-bg-mid);
  border: 1px solid var(--c-line);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.platform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--c-amber);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}

.platform:hover {
  border-color: var(--c-line-hover);
  background: var(--c-bg-soft);
  transform: translateX(4px);
}

.platform:hover::before {
  transform: scaleY(1);
}

.platform__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--c-text);
  font-weight: 400;
  grid-row: 1;
}

.platform__note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--c-text-faint);
  text-transform: uppercase;
  grid-row: 2;
  grid-column: 1;
}

.platform__arrow {
  grid-row: 1 / 3;
  grid-column: 2;
  font-size: 1.5rem;
  color: var(--c-amber);
  transition: transform 0.4s var(--ease-out);
}

.platform:hover .platform__arrow {
  transform: translateX(8px);
}

/* ===== CONTACT / NEWSLETTER ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact__newsletter p,
.contact__direct p {
  color: var(--c-text-dim);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.newsletter-form {
  margin-top: 2rem;
}

.form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

#email {
  flex: 1;
  min-width: 240px;
  padding: 1rem 1.25rem;
  background: var(--c-bg-mid);
  border: 1px solid var(--c-line);
  color: var(--c-text);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: border-color 0.3s var(--ease-out);
}

#email:focus {
  outline: none;
  border-color: var(--c-amber);
}

#email::placeholder {
  color: var(--c-text-faint);
}

.form-status {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  min-height: 1.5em;
}

.form-status.success {
  color: var(--c-amber);
}

.form-status.error {
  color: #E89A8A;
}

.form-disclaimer {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-text-faint);
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.contact__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--c-text);
  margin-bottom: 1rem;
}

.contact__email {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--c-amber);
  letter-spacing: 0.05em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out);
  padding-bottom: 2px;
}

.contact__email:hover {
  border-bottom-color: var(--c-amber);
}

/* ===== FOOTER ===== */
.footer {
  margin-top: var(--space-xxl);
  padding: 3rem var(--content-pad);
  border-top: 1px solid var(--c-line);
  background: rgba(10, 22, 40, 0.5);
  backdrop-filter: blur(10px);
}

.footer__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__logo {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--c-text);
  font-weight: 500;
}

.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--c-text-faint);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer__links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.footer__links a:hover {
  color: var(--c-amber);
}

.footer__legal {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--c-text-faint);
  text-align: right;
  line-height: 1.8;
}

.footer__disclosure {
  margin-top: 0.5rem;
  font-style: italic;
}

.platforms > p {
  flex-basis: 100%;
  width: 100%;
}

/* ===== Availability Note ===== */
.availability-note {
  margin-top: var(--space-xl);
  margin-left: auto;
  margin-right: auto;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  max-width: 720px;
}

.availability-note__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 400;
  color: var(--c-amber);
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.availability-note p {
  color: var(--c-text-dim);
  margin-bottom: var(--space-sm);
  line-height: 1.8;
  font-weight: 300;
  font-size: 0.95rem;
}

.availability-note p:last-child {
  margin-bottom: 0;
}

.availability-note__conclusion {
  margin-top: var(--space-md);
  color: var(--c-text);
}

.availability-note__conclusion em {
  color: var(--c-text);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.05em;
}

/* ===== Justified Text in About Section ===== */
.about__text p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.availability-note p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

@media (max-width: 900px) {
  .footer__legal {
    text-align: center;
  }
}

/* ===== Selection ===== */
::selection {
  background: var(--c-amber);
  color: var(--c-bg-deep);
}

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

  #starfield {
    display: none;
  }
}
