/* Bri Lewis — release site styles. Warm, elegant, dark by default. */
:root {
  --bg: #0f0d0b;
  --bg-2: #171310;
  --card: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.10);
  --text: #f4efe8;
  --muted: #b5aa9c;
  --accent: #d4a85a;         /* warm gold */
  --accent-ink: #1a1408;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #faf6f0; --bg-2: #f1eae0; --card: rgba(0,0,0,0.03); --line: rgba(0,0,0,0.10);
  --text: #1d1813; --muted: #6b6158; --accent: #a97b2c; --accent-ink: #fff; color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
[hidden] { display: none !important; }

/* release-state visibility (body gets .prerelease or .released from app.js) */
body.prerelease .post-only { display: none !important; }
body.released  .pre-only  { display: none !important; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--bg) 70%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-brand { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.04em; text-decoration: none; }
.nav-links { display: flex; gap: 18px; font-size: 0.9rem; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 56px 20px 48px; }
.hero-bg {
  position: absolute; inset: -40px; background-size: cover; background-position: center;
  filter: blur(60px) saturate(1.2) brightness(0.45); opacity: 0.8; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1; max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 48px; align-items: center;
}
.cover { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.55); aspect-ratio: 1; background: var(--bg-2); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover.empty img { display: none; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; color: var(--accent); margin: 0 0 10px; font-weight: 600; }
.title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
.byline { font-family: var(--serif); font-size: 1.5rem; margin: 8px 0 18px; color: var(--muted); font-style: italic; }
.blurb { max-width: 48ch; margin: 0 0 22px; }

.countdown { display: flex; gap: 14px; margin: 6px 0 26px; }
.countdown div { min-width: 68px; padding: 10px 8px; text-align: center; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.countdown b { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; font-weight: 500; }
.countdown span { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.countdown.compact div { min-width: 56px; padding: 8px 6px; }
.countdown.compact b { font-size: 1.5rem; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 1px solid var(--line); cursor: pointer; font-family: var(--sans);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn-ghost { background: transparent; color: var(--text); }
.btn.wide { width: 100%; }

/* sections */
.section { max-width: 1040px; margin: 0 auto; padding: 56px 20px; border-top: 1px solid var(--line); }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0 0 8px; }

.platforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 22px; }
.platforms.stacked { grid-template-columns: 1fr; }
.platform {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; text-decoration: none;
  border: 1px solid var(--line); background: var(--card); font-weight: 500; transition: border-color .15s, transform .15s;
}
.platform:hover { border-color: var(--brand, var(--accent)); transform: translateY(-1px); }
.platform .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--brand, var(--accent)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.platform .arrow { margin-left: auto; color: var(--muted); }

.video-wrap { position: relative; aspect-ratio: 16/9; margin-top: 22px; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.about { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 40px; align-items: start; }
.about-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--bg-2); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo.empty { display: none; }
.about:has(.about-photo.empty) { grid-template-columns: 1fr; }
.about-copy p { margin: 0 0 14px; }
.credits { font-size: 0.9rem; }
.socials { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; font-size: 0.92rem; }
.socials a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; }
.socials a:hover { border-bottom-color: var(--accent); }

.newsletter { text-align: center; }
.signup { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.signup input {
  flex: 1 1 260px; max-width: 380px; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font: inherit;
}
.signup input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-msg { flex-basis: 100%; margin: 6px 0 0; min-height: 1.4em; color: var(--muted); font-size: 0.9rem; }

.footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-inner { max-width: 1040px; margin: 0 auto; padding: 36px 20px; text-align: center; }
.footer-inner p { margin: 0 0 10px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; font-size: 0.92rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* listen.html — smart-link card */
.page-listen { min-height: 100vh; }
.listen-card-wrap { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; overflow: hidden; }
.listen-card {
  position: relative; z-index: 1; width: 100%; max-width: 420px; text-align: center;
  padding: 28px 22px 22px; border-radius: 20px; background: color-mix(in srgb, var(--bg) 82%, transparent);
  border: 1px solid var(--line); backdrop-filter: blur(20px); box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.listen-card .cover.small { width: 240px; margin: 0 auto 20px; }
.listen-card .title { font-size: 2.2rem; }
.listen-card .byline { font-size: 1.2rem; margin: 4px 0 14px; }
.listen-card .countdown { justify-content: center; }
.listen-card .btn.wide { margin-bottom: 10px; }
.listen-card .platforms { margin-top: 10px; }
.listen-card .socials { justify-content: center; margin: 18px 0 8px; }
.listen-card .muted a { color: var(--muted); text-decoration: none; }

/* responsive */
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .cover { max-width: 360px; margin: 0 auto; }
  .blurb { margin-left: auto; margin-right: auto; }
  .countdown, .cta { justify-content: center; }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; }
  .nav-links { gap: 12px; font-size: 0.85rem; }
  .nav-links a:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .platform { transition: none; } }
