/* Founder's Seat: Behind The Build — site styles
   Palette drawn from the cover art: deep green, cream, dusty rose. */

:root {
  --bg: #0e1c13;
  --bg-raised: #16291c;
  --card: #1b3324;
  --line: rgba(244, 239, 228, 0.12);
  --cream: #f4efe4;
  --cream-dim: #c9cfc3;
  --rose: #e8a79d;
  --rose-strong: #f0b9af;
  --green-accent: #8fbf9f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rose); text-decoration: none; }
a:hover { color: var(--rose-strong); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Announcement bar */
.announcement {
  background: var(--card);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(14, 28, 19, 0.92);
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-weight: 600;
  font-size: 1.05rem;
  min-width: 0;
}
.brand img { border-radius: 8px; flex-shrink: 0; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand:hover { color: var(--cream); }

.site-nav { display: flex; gap: 24px; flex-shrink: 0; }
.site-nav a { color: var(--cream-dim); font-size: 0.95rem; font-weight: 500; }
.site-nav a:hover, .site-nav a.active { color: var(--cream); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg-raised) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 20px;
}

.tagline {
  color: var(--cream-dim);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 34em;
}

.hero-art {
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  justify-self: end;
  width: 100%;
  max-width: 440px;
  height: auto;
}

/* Buttons + listen row */
.listen-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.listen-label {
  color: var(--cream-dim);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-right: 4px;
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--cream);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: #234230; border-color: var(--green-accent); color: var(--cream); }

.text-link { font-weight: 500; }

/* Sections */
.section { padding-top: 56px; padding-bottom: 56px; }
.narrow { max-width: 720px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

h2 { font-size: 1.6rem; font-weight: 600; }

.page-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; margin: 12px 0 20px; }

/* Episode cards */
.episode-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 28px;
  margin-bottom: 18px;
  transition: border-color 0.15s ease;
}
.episode-card:hover { border-color: var(--green-accent); }

.episode-card h3 { font-size: 1.25rem; font-weight: 600; margin: 6px 0 10px; }
.episode-card h3 a { color: var(--cream); }
.episode-card h3 a:hover { color: var(--rose); }

.episode-meta {
  color: var(--green-accent);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.episode-summary { color: var(--cream-dim); margin-bottom: 12px; }

/* Episode page */
.episode-page audio {
  width: 100%;
  margin: 24px 0;
  border-radius: 999px;
  accent-color: var(--rose);
}

.prose { color: var(--cream-dim); }
.prose p { margin-bottom: 1em; }
.prose a { text-decoration: underline; }
.prose code {
  background: var(--card);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.9em;
}

.episode-page .listen-row { margin-top: 32px; }
.narrow .listen-row { margin-top: 32px; }

/* Empty state */
.empty-state {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 48px 28px;
  text-align: center;
}
.empty-state h3 { font-size: 1.2rem; margin-bottom: 8px; }
.empty-state p { color: var(--cream-dim); }

/* Newsletter */
.newsletter { padding-bottom: 56px; }
.newsletter h2 { margin-bottom: 16px; }
.newsletter iframe {
  width: 100%;
  max-width: 480px;
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 48px 0 32px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-about { max-width: 480px; }
.footer-about p { color: var(--cream-dim); font-size: 0.92rem; margin-top: 8px; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--cream-dim); font-size: 0.95rem; }
.footer-links a:hover { color: var(--cream); }

.copyright { color: var(--cream-dim); font-size: 0.85rem; opacity: 0.7; }

/* Responsive */
@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; padding-bottom: 48px; }
  .hero-art { justify-self: start; max-width: 340px; order: -1; }
  .site-nav { gap: 16px; }
  .brand span { max-width: 160px; }
  .episode-card { padding: 22px 20px; }
}
