/*
  FLDC Showcase Styles
  Mobile-first, lightweight, and framework-free.
*/

:root {
  /*
    Core tokens chosen to be adapted from FLDC logo tones.
    Update these values once final brand color extraction is confirmed.
  */
  --bg: #0f1116;
  --surface: #1a1f2b;
  --text: #f4f5f8;
  --muted: #b7bfd2;
  --accent: #7ee1ff;
  --accent-2: #ffc857;
  --focus: #ffffff;

  --radius: 0.75rem;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;

  --max-width: 72rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at top right, #242b3b 0%, var(--bg) 45%);
  color: var(--text);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-2);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: var(--space-2) var(--space-3);
  z-index: 1000;
}

.skip-link:focus {
  left: var(--space-3);
  top: var(--space-3);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: var(--space-5) 0;
}

.site-header,
.site-footer {
  background: rgb(0 0 0 / 35%);
  border-bottom: 1px solid rgb(255 255 255 / 9%);
}

.site-footer {
  border-top: 1px solid rgb(255 255 255 / 9%);
  border-bottom: none;
}

.header-inner,
.footer-inner {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  gap: var(--space-2);
  align-items: center;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.brand span {
  font-size: 0.92rem;
  line-height: 1.3;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-2);
}

.hero-grid {
  display: grid;
  gap: var(--space-4);
}

.eyebrow {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin: 0 0 var(--space-2);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.9rem, 6vw, 3rem);
}

h2 {
  font-size: clamp(1.4rem, 4.5vw, 2rem);
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-art {
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 2%));
  min-height: 18rem;
  display: grid;
  place-items: center;
  padding: var(--space-4);
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #0a0d14;
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-2);
  color: #0a0d14;
}

.card-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

.release-card {
  background: var(--surface);
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: var(--radius);
  overflow: hidden;
}

.release-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.release-content {
  padding: var(--space-3);
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 var(--space-1);
}

.link-list {
  list-style: none;
  margin: var(--space-3) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.prose {
  max-width: 70ch;
}

.contact-line a {
  font-size: 1.2rem;
  font-weight: 700;
}

/* Tablet and up adjustments while preserving mobile-first behavior. */
@media (min-width: 48rem) {
  .hero-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand span {
    font-size: 1rem;
  }
}
