:root {
  /* Design tokens (OKLCH where supported). */
  --fs-base: 16px;
  --max-width: 880px;
  --rhythm: 16px;
  --radius: 8px;

  /* Fallback hex values for older browsers */
  --color-accent-hex: #7c4a99;
  --bg-hex: #fbf8fb;
  --surface-hex: #fff9fb;
  --muted-hex: #6b5b6d;
  --text-hex: #2a2628;

  /* Preferred OKLCH tokens (tint neutrals toward brand hue ~290deg) */
  --color-accent: oklch(44% 0.18 290);
  --bg: oklch(98% 0.005 290);
  --surface: oklch(99% 0.004 290);
  --muted: oklch(45% 0.02 290);
  --text: oklch(13% 0.02 290);
}

/* Backwards-compatible fallbacks (redeclare so older UAs get usable colors) */
:root {
  --color-accent: var(--color-accent-hex);
  --bg: var(--bg-hex);
  --surface: var(--surface-hex);
  --muted: var(--muted-hex);
  --text: var(--text-hex);
}

/* Local brand mark font (Limelight) — used only for the single-letter logo when rendered as text. */
@font-face {
  font-family: "LimelightLocal";
  /* Relative path from styles.css (when deployed under docs/) to the fonts folder */
  src: url("../resources/fonts/Limelight-Regular.ttf") format("truetype");
  font-display: swap;
}

.brand-mark {
  font-family: "LimelightLocal", serif;
  line-height: 1;
}

/* Basic reset */
* {
  box-sizing: border-box;
}
html {
  font-size: var(--fs-base);
}
html,
body {
  height: 100%;
}
body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  line-height: 1.5;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--rhythm) * 1.5);
}
.two-up {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--rhythm);
}
@media (min-width: 900px) {
  .two-up {
    grid-template-columns: 2fr 320px;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  padding: 8px;
  background: #fff;
  color: #000;
}

.site-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.01), transparent);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px calc(var(--rhythm) * 1.5);
}
.logo {
  height: 64px;
}
.brand-mark-svg {
  width: 64px;
  height: 64px;
  display: block;
}
.brand-mark {
  font-family: "LimelightLocal", serif;
  fill: var(--text);
  line-height: 1;
}
.brand-mark[text-anchor] {
  dominant-baseline: middle;
}
/* Scale the inline text to fill the available box; use SVG font-size attribute where needed */
.brand-mark-svg text {
  font-size: 180px;
}
/* Tweak header spacing so larger mark sits comfortably */
.site-header__inner {
  padding: 8px calc(var(--rhythm) * 1.25);
}
.site-nav a {
  margin-left: 16px;
  color: var(--muted);
  text-decoration: none;
}

.hero {
  padding: 48px 0;
}
.hero__content {
  max-width: 560px;
}
.kicker {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 8px;
}
.site-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 44px);
  margin: 0 0 12px;
  line-height: 1.05;
}
.lead {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 68ch;
}

/* Prose cap for readable blocks */
.prose p,
.prose li {
  max-width: 68ch;
}

/* Use Limelight local font for the brand mark if present */
.logo-img {
  display: inline-block;
}
.brand-mark {
  font-family: "LimelightLocal", serif;
  font-size: 28px;
  display: inline-block;
}
.hero-art {
  width: 220px;
  opacity: 0.9;
  margin-left: 24px;
}
.hero-ctas .btn {
  margin-right: 12px;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text);
  text-decoration: none;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border: none;
}

.releases h2,
.shows h2,
.about h2 {
  margin-top: 0;
}
.release-strip {
  display: flex;
  gap: 16px;
  overflow: auto;
  padding: 12px 0;
}
.release {
  flex: 0 0 160px;
  text-decoration: none;
  color: inherit;
}
.release__art {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}
.release__meta {
  margin-top: 8px;
  color: var(--muted);
}

.shows-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.shows-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: var(--surface);
}
.shows-list time {
  font-weight: 600;
}

.about .link {
  color: var(--color-accent);
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding: 20px 0;
  margin-top: 40px;
}
.site-footer small {
  color: var(--muted);
}

/* Motion utilities */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition:
    transform 0.42s cubic-bezier(0.25, 0.1, 0.25, 1),
    opacity 0.36s;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
  }
}

/* Override: ensure the brand mark text fills header slot */
.brand-mark-text {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark {
  font-family: "LimelightLocal", serif;
  color: var(--text);
  line-height: 1;
  font-size: 56px !important;
  display: inline-block;
}
.site-header__inner {
  align-items: center;
}
