/* Artificially Related — shared styles
   Palette from the intro: navy/black, cyan glow, gold, cream. */

:root {
  --navy: #0a0f1a;
  --navy-2: #121826;
  --navy-3: #1a2233;
  --cyan: #00e5ff;
  --cyan-2: #29b6f6;
  --gold: #ffc107;
  --gold-2: #ffd54f;
  --cream: #f4f1ea;
  --cream-dim: #cfc6b8;
  --cream-mute: #9a917f;
  --line: rgba(255, 193, 7, 0.22);
  --font-serif: "Playfair Display", Georgia, "Iowan Old Style", Palatino, serif;
  --font-sans: Inter, system-ui, "Segoe UI", sans-serif;
  --max: 72rem;
  --nav-h: 4.25rem;
  --radius: 1.15rem;
  color-scheme: dark;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100%;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--cream); }
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 0.9rem;
  z-index: 40;
  font-weight: 600;
}
.skip:focus { top: 0.6rem; }

/* ----- type ----- */
.kicker, .label {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin: 0;
}
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; margin: 0; }
.lede, .subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* ----- nav ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--navy) 78%, transparent);
  border-bottom: 1px solid rgba(255, 213, 79, 0.12);
}
.site-header-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--cream); }
.wordmark .rel {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--cream);
  border-bottom-color: var(--gold);
}

/* ----- hero ----- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}
.hero-montage,
.hero-stars,
.hero-circuits,
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-montage {
  z-index: 0;
  overflow: hidden;
  opacity: 0.2;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9) 10%, rgba(0,0,0,0.45) 48%, transparent 74%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9) 10%, rgba(0,0,0,0.45) 48%, transparent 74%);
}
.hero-montage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  width: 118%;
  height: 118%;
  margin: -9%;
  animation: montage-zoom 32s ease-in-out alternate infinite;
}
.hero-montage-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.85);
}
@keyframes montage-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-stars { z-index: 1; width: 100%; height: 100%; }
.hero-circuits { z-index: 2; width: 100%; height: 100%; }
.hero-circuits path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: circuit-draw 1.55s cubic-bezier(0.22, 0.7, 0.2, 1) forwards;
}
.hero-circuits .gold { stroke: var(--gold); stroke-width: 1.6; filter: drop-shadow(0 0 4px rgba(255, 193, 7, 0.65)); }
.hero-circuits .gold-soft { stroke: var(--gold-2); stroke-width: 1.1; opacity: 0.75; filter: drop-shadow(0 0 3px rgba(255, 213, 79, 0.5)); }
.hero-circuits .cyan { stroke: var(--cyan); stroke-width: 1.5; filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.55)); }
.hero-circuits .cyan-soft { stroke: var(--cyan-2); stroke-width: 1.1; opacity: 0.8; filter: drop-shadow(0 0 3px rgba(41, 182, 246, 0.5)); }
.hero-circuits .dot {
  fill: var(--gold-2);
  opacity: 0;
  animation: circuit-node 0.4s ease-out 1.2s forwards;
}
.hero-circuits .dot.cyan { fill: var(--cyan); }
@keyframes circuit-draw { to { stroke-dashoffset: 0; } }
@keyframes circuit-node { to { opacity: 1; } }
.hero-vignette {
  z-index: 3;
  background:
    radial-gradient(ellipse at 50% 42%, transparent 0%, rgba(10, 15, 26, 0.25) 42%, rgba(10, 15, 26, 0.78) 78%, var(--navy) 100%),
    linear-gradient(to bottom, rgba(10,15,26,0.2), transparent 18%, transparent 78%, var(--navy));
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 3rem 1.25rem 4.5rem;
  max-width: 56rem;
}
.hero-content .kicker {
  color: var(--cream-dim);
  margin-bottom: 1.1rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.55s forwards;
}
.hero-title {
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
  opacity: 0;
  animation: title-reveal 1.05s cubic-bezier(0.22, 0.7, 0.2, 1) 0.7s forwards;
}
.hero-title .art {
  color: var(--cream);
  text-shadow: 0 0 28px rgba(244, 241, 234, 0.18);
}
.hero-title .rel {
  background: linear-gradient(180deg, #fff4c2 0%, var(--gold-2) 38%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 193, 7, 0.45)) drop-shadow(0 0 40px rgba(255, 193, 7, 0.18));
}
.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  color: var(--cream-dim);
  margin: 1.05rem 0 0;
  opacity: 0;
  animation: fade-up 0.8s ease 1.15s forwards;
}
.portraits {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: clamp(1.5rem, 6vw, 4rem);
  margin-top: 2.4rem;
}
.portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
  opacity: 0;
  transform: scale(0.72) translateY(12px);
  animation: portrait-pop 0.7s cubic-bezier(0.22, 1.4, 0.36, 1) forwards;
}
.portrait.sean { animation-delay: 1.35s; }
.portrait.heather { animation-delay: 1.5s; }
.portrait-ring {
  width: clamp(6.4rem, 16vw, 9.2rem);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 3px;
  background:
    conic-gradient(from 200deg, var(--gold), var(--gold-2), var(--cyan), var(--gold-2), var(--gold));
  box-shadow: 0 0 0 1px rgba(255, 213, 79, 0.25), 0 0 24px rgba(255, 193, 7, 0.28);
}
.portrait-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  background: var(--navy-2);
  border: 3px solid var(--navy);
}
.portrait.heather .portrait-ring img { object-position: center 20%; }
.portrait .name {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.portrait:hover .name { color: var(--gold-2); }
@keyframes title-reveal {
  from { opacity: 0; letter-spacing: 0.08em; filter: blur(6px); }
  to { opacity: 1; letter-spacing: -0.02em; filter: blur(0); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes portrait-pop {
  0% { opacity: 0; transform: scale(0.72) translateY(12px); }
  72% { opacity: 1; transform: scale(1.06) translateY(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  opacity: 0;
  animation: fade-up 0.8s ease 1.8s forwards;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 1.6rem;
  background: linear-gradient(var(--gold), transparent);
  animation: cue-pulse 2.2s ease-in-out 2s infinite;
}
@keyframes cue-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ----- page sections ----- */
.page-main { background: var(--navy); }
.section {
  width: min(100% - 2rem, 48rem);
  margin: 0 auto;
  padding: 4.5rem 0 1rem;
}
.section.wide { width: min(100% - 2rem, 64rem); }
.section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin: 0.55rem 0 1.1rem;
}
.section p { color: var(--cream); }
.section p + p { margin-top: 1rem; }
.pullquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.4;
  color: var(--gold-2);
  text-align: center;
  margin: 2.2rem 0 0;
  padding: 0 0.5rem;
}

.about-section { width: min(100% - 2rem, 42rem); padding-top: 4.2rem; }
/* Keep hash / About-nav targets clear of the sticky header. */
#about, #intro, #latest, #content {
  scroll-margin-top: calc(var(--nav-h) + 0.85rem);
}

.about-title {
  font-size: clamp(1.85rem, 4.4vw, 2.75rem);
  line-height: 1.22;
  margin: 0.55rem 0 1.25rem;
}
.about-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.2vw, 1.38rem);
  line-height: 1.45;
  color: var(--cream-dim);
  margin: 0 0 1.5rem;
}
.pullline {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  line-height: 1.4;
  color: var(--gold-2);
  text-align: center;
  margin: 1.85rem 0;
  padding: 0 0.25rem;
}
.about-section .pullquote { margin-top: 1.8rem; }

.intro-block { padding-bottom: 3rem; }
.intro-player {
  margin: 1.4rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 213, 79, 0.18);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.intro-player video { width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* ----- episode cards ----- */
.episode-list {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0 3rem;
}
.episode-card {
  background: linear-gradient(180deg, var(--navy-2), #0e1420);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.episode-card .ep-kicker {
  color: var(--gold-2);
  margin-bottom: 0.45rem;
}
.episode-card h2, .episode-card h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  margin: 0 0 0.4rem;
}
.episode-card h2 a, .episode-card h3 a { color: inherit; text-decoration: none; }
.episode-card h2 a:hover, .episode-card h3 a:hover { color: var(--gold-2); }
.ep-meta {
  color: var(--cream-mute);
  font-size: 0.92rem;
  margin: 0 0 0.9rem;
}
.ep-teaser { margin: 0; color: var(--cream); }
.ep-teaser + .ep-teaser { margin-top: 0.75rem; }
.ep-status {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--cyan);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ep-embed {
  margin-top: 1.2rem;
  border-radius: 0.8rem;
  overflow: hidden;
  background: #0a0d14;
  border: 1px dashed rgba(255, 213, 79, 0.28);
  min-height: 8rem;
  display: grid;
  place-items: center;
  color: var(--cream-mute);
  font-size: 0.92rem;
  text-align: center;
  padding: 1.2rem;
}
.ep-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}
/* When a real YouTube embed is present, drop the dashed placeholder look. */
.ep-embed:has(iframe) {
  border-style: solid;
  min-height: 0;
  padding: 0;
  display: block;
}
.ep-watch {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
}
.ep-watch a {
  color: var(--cyan);
  text-underline-offset: 0.18em;
}
.ep-watch a:hover { color: var(--gold-2); }

.home-latest { padding-bottom: 5rem; }

/* ----- bios ----- */
.bio-hero {
  width: min(100% - 2rem, 68rem);
  margin: 0 auto;
  padding: 3rem 0 4rem;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr);
  gap: 2.5rem 3rem;
  align-items: start;
}
.bio-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 193, 7, 0.08);
}
.bio-photo img { width: 100%; object-fit: cover; object-position: center top; }
.bio-copy .kicker { margin-bottom: 0.6rem; color: var(--gold-2); }
.bio-copy h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 0.3rem; }
.bio-role {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--cream-dim);
  margin: 0 0 1.3rem;
  font-size: clamp(1.12rem, 2vw, 1.28rem);
  line-height: 1.4;
}
.bio-copy p { margin: 0 0 1rem; }
.bio-copy .bio-questions {
  margin: 1.35rem 0 1.5rem;
  padding: 1.05rem 1.2rem 1.1rem 1.25rem;
  border-left: 2px solid var(--gold);
  background: color-mix(in srgb, var(--navy-2) 86%, #000);
  border-radius: 0 0.7rem 0.7rem 0;
}
.bio-copy .pullline {
  text-align: left;
  margin: 1.55rem 0 0.35rem;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  color: var(--gold-2);
}
.bio-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.3rem;
  margin-top: 1.6rem;
  padding: 0;
  list-style: none;
}
.bio-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-2);
  border-bottom: 1px solid rgba(255, 193, 7, 0.4);
  padding-bottom: 0.15rem;
}
.bio-links a:hover { color: var(--cream); }

.page-hero-plain {
  width: min(100% - 2rem, 48rem);
  margin: 0 auto;
  padding: 3.2rem 0 0;
}
.page-hero-plain h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  margin: 0.45rem 0 0.8rem;
}
.page-hero-plain .lede {
  font-size: 1.2rem;
  color: var(--cream-dim);
  margin: 0;
}

/* ----- footer ----- */
.site-footer {
  border-top: 1px solid rgba(255, 213, 79, 0.12);
  margin-top: 2rem;
  padding: 2.2rem 0 2.6rem;
  background: #080c14;
}
.site-footer-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 2rem;
  align-items: baseline;
}
.footer-copy { color: var(--cream-mute); font-size: 0.9rem; margin: 0; text-align: center; }

/* ----- reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-montage-grid,
  .hero-circuits path,
  .hero-circuits .dot,
  .hero-content .kicker,
  .hero-title,
  .hero-subtitle,
  .portrait,
  .scroll-cue,
  .scroll-cue::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    letter-spacing: inherit;
  }
  .hero-circuits path { stroke-dashoffset: 0; }
}

/* ----- responsive ----- */
@media (max-width: 800px) {
  .bio-hero {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }
  .bio-photo { max-width: 28rem; }
  .bio-photo img {
    max-height: min(28rem, 58vh);
    object-fit: cover;
    object-position: center 12%;
  }
  .hero-title { font-size: clamp(2.4rem, 12vw, 3.6rem); }
}
@media (max-width: 700px) {
  .site-header { height: auto; }
  .site-header-inner {
    flex-direction: column;
    align-items: center;
    padding: 0.7rem 0 0.55rem;
    gap: 0.35rem;
  }
  .nav { justify-content: center; }
  .hero { min-height: calc(100svh - 5.4rem); }
  #about, #intro, #latest, #content { scroll-margin-top: 6.2rem; }
}
@media (max-width: 560px) {
  html { font-size: 16px; }
  .site-header-inner { width: calc(100% - 1.25rem); }
  .wordmark { font-size: 1.05rem; }
  .nav { gap: 0.85rem; }
  .nav a { letter-spacing: 0.14em; font-size: 0.68rem; }
  .portraits { gap: 1.2rem; }
  .section, .page-hero-plain { width: calc(100% - 1.5rem); }
  .hero-content { padding-left: 1rem; padding-right: 1rem; }
}
