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

body {
  font-family: "Space Grotesk", sans-serif;
  background: #fff;
  color: #111;
  min-height: 100vh;
}

/* ── Home corner links ── */
.corner-link {
  position: fixed;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #111;
  transition: color 0.2s ease;
  z-index: 10;
}
.corner-link:hover { color: #555; }
.top-left    { top: 1.5rem;  left: 2.5rem; }
.top-right   { top: 1.5rem;  right: 2.5rem; }
.bottom-left { bottom: 2rem; left: 2.5rem; }
.bottom-right{ bottom: 2rem; right: 2.5rem; }

/* ── Subpage header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 2.5rem;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #f0f0f0;
}
.wordmark {
  font-family: "Figtree", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111;
  text-decoration: none;
}
.site-nav { display: flex; gap: 2rem; }
.site-nav a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: #111;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-nav a:hover { color: #C2410C; }
.site-nav a[aria-current="page"] { border-bottom-color: #C2410C; }

/* ── Subpage footer ── */
.site-footer {
  display: flex;
  justify-content: center;
  padding: 2.5rem 1.5rem 3rem;
}
.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111;
  text-decoration: none;
}
.footer-ig:hover { color: #C2410C; }
.footer-ig svg { width: 18px; height: 18px; }

/* ── Home page layout ── */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 1.25rem;
}

#title {
  font-family: "Figtree", sans-serif;
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.home-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #C2410C;
}

/* ── Logo ── */
#logo {
  max-width: min(260px, 55vw);
  height: auto;
  display: block;
}

/* ── Instagram link ── */
.ig-link {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #111;
  transition: color 0.2s ease;
  z-index: 10;
  line-height: 0;
}
.ig-link:hover { color: #555; }
.ig-link svg { width: 20px; height: 20px; }

/* ── Subpage layout ── */
.page-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 12rem);
  padding: clamp(3rem, 8vh, 6rem) 1.5rem 2rem;
  gap: 2rem;
}
.prose { display: flex; flex-direction: column; gap: 1.5rem; }

.page-title {
  font-family: "Figtree", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111;
}

/* ── Story / text ── */
.body-text {
  font-family: "Figtree", sans-serif;
  font-weight: 400;
  color: #2563EB;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 640px;
  line-height: 1.75;
  text-align: center;
}

.sign-off {
  font-family: "Figtree", sans-serif;
  font-weight: 400;
  color: #2563EB;
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  text-align: center;
  line-height: 1.8;
}
.sign-off .brand { color: #111; }

/* ── Episodes page ── */
.episodes-list {
  width: 100%;
  max-width: 620px;
}

.episode-item {
  padding: 1.75rem 0;
  border-top: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.episode-item:last-child {
  border-bottom: 1px solid #e8e8e8;
}

.episode-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.episode-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #888;
}

.episode-status {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #C2410C;
}

.episode-guest {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111;
}

.episode-title {
  font-family: "Figtree", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  color: #2563EB;
  line-height: 1.55;
}

.listen { margin-top: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.listen-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #888;
}
.listen-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.listen-btn {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.7rem 1.25rem;
  border: 2px solid #111;
  color: #111;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
a.listen-btn:hover { background: #111; color: #fff; }
.listen-btn.is-soon { border-color: #ddd; color: #aaa; }

/* ── Responsive ── */
@media (max-width: 768px) {
  main { gap: 1rem; }
  .site-header { flex-direction: column; gap: 0.75rem; padding: 1rem 1.25rem 0.85rem; }
  .wordmark { font-size: 1.35rem; }
  .site-nav { gap: 1.5rem; }
  .site-nav a { font-size: 0.75rem; }
}

@media (max-width: 480px) {
  .corner-link { font-size: 0.75rem; }
  .top-left     { top: 1rem; left: 1.25rem; }
  .top-right    { top: 1rem; right: 1.25rem; }
  .bottom-left  { bottom: 1.25rem; left: 1.25rem; }
  .bottom-right { bottom: 1.25rem; right: 1.25rem; }
  .site-nav { gap: 1.1rem; }
  .page-content { padding-top: 2.5rem; }
  .episode-meta { gap: 1rem; }
}
