:root {
  --aether-pulse: #712B8C;
  --deep-circuit: #203F7B;
  --neutral-zone: #E7E7E7;
  --neon-veil: #BC489A;
  --midnight: #0D1731;
  --signal-gold: #F2C94C;
  --static-cyan: #1BBBC4;
  --ghostly-green: #71C388;
  --text-light: #FFFFFF;
  --text-dark: #111111;
  /* Deep Circuit blended into Midnight — every card surface ties back to a
     named brand color instead of an arbitrary navy. */
  --card-bg: #16294F;
  --card-border: rgba(32, 63, 123, 0.45);
  --card-border-hover: rgba(27, 187, 196, 0.55);
  --gutter: clamp(20px, 6vw, 48px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--midnight);
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
}

a { text-decoration: none; color: inherit; }

.eyebrow {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 500;
}

/* Header
   Fluid shrink between a 640px and 1200px viewport: every clamp() below
   ramps linearly from its "narrow" to "wide" value across that same
   window, so the whole header contracts as one coordinated unit instead
   of each piece hitting its own breakpoint at a different width. */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(6px, calc(6px + 18 * (100vw - 640px) / 560), 24px);
  padding: 16px clamp(14px, calc(14px + 34 * (100vw - 640px) / 560), 48px);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 23, 49, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand img { width: 38px; height: auto; display: block; }

.brand span {
  font-family: 'Cerulean Nights', 'Audiowide', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, calc(16px + 3 * (100vw - 640px) / 560), 19px);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-short { display: none; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(4px, calc(4px + 26 * (100vw - 640px) / 560), 30px);
  flex-wrap: wrap;
}

.main-nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(12px, calc(12px + 3 * (100vw - 640px) / 560), 15px);
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}

.main-nav a:hover {
  color: #ffffff;
  border-bottom: 2px solid var(--static-cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(6px, calc(6px + 12 * (100vw - 640px) / 560), 18px);
  flex: 0 0 auto;
}

.btn-cta {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(11.5px, calc(11.5px + 2.5 * (100vw - 640px) / 560), 14px);
  color: #ffffff;
  background: linear-gradient(135deg, var(--aether-pulse), var(--neon-veil));
  padding:
    clamp(6px, calc(6px + 6 * (100vw - 640px) / 560), 12px)
    clamp(8px, calc(8px + 14 * (100vw - 640px) / 560), 22px);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(188, 72, 154, 0.35);
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .brand-full { display: none; }
  .brand-short { display: inline; }
}

.btn-cta:hover { box-shadow: 0 6px 24px rgba(188, 72, 154, 0.55); }

.btn-gold {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--signal-gold);
  padding: 14px 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 22px rgba(242, 201, 76, 0.30);
}

.btn-gold:hover { filter: brightness(1.06); }

.btn-ghost {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--signal-gold);
  background: transparent;
  border: 1.5px solid rgba(242, 201, 76, 0.55);
  padding: 12px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost:hover { background: rgba(242, 201, 76, 0.08); }

.social-row {
  display: flex;
  align-items: center;
  gap: clamp(3px, calc(3px + 5 * (100vw - 640px) / 560), 8px);
}

.social-badge {
  width: clamp(22px, calc(22px + 12 * (100vw - 640px) / 560), 34px);
  height: clamp(22px, calc(22px + 12 * (100vw - 640px) / 560), 34px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  flex: 0 0 auto;
  transition: color .15s, border-color .15s;
}

.social-badge svg {
  width: clamp(12px, calc(12px + 4 * (100vw - 640px) / 560), 16px);
  height: clamp(12px, calc(12px + 4 * (100vw - 640px) / 560), 16px);
  fill: currentColor;
  display: block;
}

.social-badge:hover { color: var(--signal-gold); border-color: var(--signal-gold); }

/* Hero */
.hero {
  position: relative;
  padding: 130px var(--gutter) 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 23, 49, 0.35) 0%, rgba(13, 23, 49, 0.55) 55%, var(--midnight) 100%),
    radial-gradient(60% 55% at 50% 0%, rgba(113, 43, 140, 0.35), transparent 70%),
    radial-gradient(45% 45% at 85% 30%, rgba(27, 187, 196, 0.15), transparent 70%);
  pointer-events: none;
}

.hero .eyebrow { position: relative; color: var(--static-cyan); margin-bottom: 22px; }

.hero h1 {
  position: relative;
  font-family: 'Cerulean Nights', 'Audiowide', sans-serif;
  font-weight: 800;
  font-size: 88px;
  line-height: 0.98;
  margin: 0 0 26px;
  max-width: 900px;
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--aether-pulse), var(--neon-veil));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .tagline {
  position: relative;
  color: var(--signal-gold);
  font-size: 15px;
  letter-spacing: 0.22em;
  margin: 0;
}

/* Shadows RPG band */
.shadows-band {
  position: relative;
  padding: 96px var(--gutter);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  overflow: hidden;
}

.shadows-band img.band-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shadows-band .band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(32, 63, 123, 0.82), rgba(113, 43, 140, 0.82));
}

.shadows-band .band-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 560px;
}

.shadows-band .band-content .eyebrow { color: var(--static-cyan); }

.shadows-band h2 {
  font-family: 'Cerulean Nights', 'Audiowide', sans-serif;
  font-weight: 700;
  font-size: 46px;
  margin: 0;
  color: #ffffff;
}

.shadows-band p {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.shadows-band .band-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shadows-band .band-visual-card {
  width: 280px;
  height: 280px;
  border-radius: 20px;
  background: rgba(13, 23, 49, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(113, 43, 140, 0.35);
}

.shadows-band .band-visual-card img { width: 170px; height: auto; display: block; }

/* Pillars */
.pillars {
  padding: 100px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
}

.pillars-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.pillars-heading .eyebrow { color: var(--neon-veil); }

.pillars-heading h2 {
  font-family: 'Cerulean Nights', 'Audiowide', sans-serif;
  font-weight: 700;
  font-size: 34px;
  margin: 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  max-width: 1200px;
}

@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .shadows-band { grid-template-columns: 1fr; }
  .hero h1 { font-size: 56px; }
}

.pillar-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: border-color .15s, transform .15s;
}

.pillar-card:hover { transform: translateY(-4px); }

.pillar-card h3 {
  font-family: 'Cerulean Nights', 'Audiowide', sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin: 0;
}

.pillar-card p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--neutral-zone);
  margin: 0;
}

.pillar-link {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* About — crew cards */
.crew-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid currentColor;
  object-fit: cover;
  display: block;
}

.crew-handle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
}

.about-cta {
  padding: 0 var(--gutter) 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.about-cta p {
  font-size: 16px;
  color: var(--neutral-zone);
  margin: 0;
}

/* Blog empty state */
.blog-empty-wrap {
  padding: 20px var(--gutter) 110px;
  display: flex;
  justify-content: center;
}

.blog-empty {
  width: 100%;
  max-width: 720px;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.015);
}

.blog-empty .eyebrow { color: rgba(255, 255, 255, 0.45); }

.blog-empty h3 {
  font-family: 'Cerulean Nights', 'Audiowide', sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin: 0;
}

.blog-empty p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
  max-width: 440px;
}

/* Secondary page header (compact hero) */
.page-header {
  position: relative;
  padding: 100px var(--gutter) 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-header img.page-header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-header .page-header-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 23, 49, 0.35) 0%, rgba(13, 23, 49, 0.6) 55%, var(--midnight) 100%),
    radial-gradient(60% 55% at 50% 0%, rgba(113, 43, 140, 0.32), transparent 70%);
  pointer-events: none;
}

.page-header .eyebrow { position: relative; margin-bottom: 20px; }

.page-header h1 {
  position: relative;
  font-family: 'Cerulean Nights', 'Audiowide', sans-serif;
  font-weight: 800;
  font-size: 54px;
  line-height: 1.05;
  margin: 0 0 20px;
  max-width: 760px;
}

.page-header p {
  position: relative;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 0;
}

@media (max-width: 700px) {
  .page-header h1 { font-size: 36px; }
}

/* Generic content section */
.content-section {
  padding: 84px var(--gutter);
  max-width: 1200px;
  margin: 0 auto;
}

.content-section.tight { padding-top: 0; }

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-family: 'Cerulean Nights', 'Audiowide', sans-serif;
  font-weight: 700;
  font-size: 30px;
  margin: 0;
}

.section-heading p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--neutral-zone);
  margin: 0;
  max-width: 660px;
}

.section-cta { margin-top: 32px; display: flex; }

/* Media (video/playlist) cards — YouTube */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

.media-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .15s, border-color .15s;
}

.media-card:hover { transform: translateY(-4px); border-color: var(--card-border-hover); }

.media-card h3 {
  font-family: 'Cerulean Nights', 'Audiowide', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}

.media-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--neutral-zone);
  margin: 0;
  flex: 1;
}

.media-card a.media-link {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--static-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Podcast shows & episode rows */
.podcast-show { margin-bottom: 64px; }
.podcast-show:last-child { margin-bottom: 0; }

.podcast-show-head { margin-bottom: 26px; max-width: 680px; }

.podcast-show-head .eyebrow { display: block; margin-bottom: 10px; }

.podcast-show-head h2 {
  font-family: 'Cerulean Nights', 'Audiowide', sans-serif;
  font-weight: 700;
  font-size: 27px;
  margin: 0 0 12px;
}

.podcast-show-head p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--neutral-zone);
  margin: 0;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.topic-tags li {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
}

.episode-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.episode-embed {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 12px;
}

.episode-embed iframe {
  display: block;
  width: 100%;
  height: 152px;
  border: 0;
  border-radius: 12px;
}

/* Writing shell — coming-soon story cards */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.story-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s, border-color .15s;
}

.story-card:hover { transform: translateY(-4px); border-color: var(--card-border-hover); }

.story-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.story-card-body {
  padding: 22px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.story-card .status-badge { align-self: flex-start; }

.story-card-foot {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 4px;
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.story-card .coming-soon-tag {
  align-self: flex-start;
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  background: var(--signal-gold);
  padding: 5px 11px;
  border-radius: 999px;
}

.story-card h3 {
  font-family: 'Cerulean Nights', 'Audiowide', sans-serif;
  font-weight: 600;
  font-size: 19px;
  margin: 0;
}

.story-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--neutral-zone);
  margin: 0;
}

/* Contact page */
.contact-wrap {
  padding: 84px var(--gutter) 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
}

.contact-card {
  max-width: 620px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.contact-card img.contact-icon { width: 64px; height: auto; opacity: 0.92; }

.contact-card p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 520px;
}

.contact-channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 720px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--neutral-zone);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: color .15s, border-color .15s, transform .15s;
}

.contact-channel svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.contact-channel:hover {
  color: var(--signal-gold);
  border-color: var(--card-border-hover);
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .contact-channels { gap: 12px; }
  .contact-channel { padding: 12px 18px; font-size: 14px; }
}

/* Blog index */
.tag-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto 40px;
}

.tag-pill {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}

.tag-pill:hover { border-color: rgba(255, 255, 255, 0.32); color: #ffffff; }

.tag-pill.active {
  color: var(--text-dark);
  background: var(--signal-gold);
  border-color: var(--signal-gold);
}

.post-list-empty {
  text-align: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  padding: 30px 0 10px;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.post-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: transform .15s, border-color .15s;
}

.post-card:hover { transform: translateY(-3px); border-color: var(--card-border-hover); }

.post-card[hidden] { display: none; }

.post-card-date { color: rgba(255, 255, 255, 0.45); }

.post-card h3 {
  font-family: 'Cerulean Nights', 'Audiowide', sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin: 0;
}

.post-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--neutral-zone);
  margin: 0;
}

.post-card-tags { margin: 2px 0 0; }

/* Blog post */
.post-header h1 { font-size: 44px; max-width: 820px; }

.post-body, .story-body {
  max-width: 720px;
  margin: 0 auto;
}

.post-body h1, .post-body h2, .post-body h3,
.story-body h1, .story-body h2, .story-body h3 {
  font-family: 'Cerulean Nights', 'Audiowide', sans-serif;
  font-weight: 600;
  color: #ffffff;
  margin: 40px 0 14px;
}

.post-body h1, .story-body h1 { font-size: 26px; }
.post-body h2, .story-body h2 { font-size: 21px; }
.post-body h3, .story-body h3 { font-size: 18px; }

.post-body p, .story-body p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 18px;
}

.post-body ul, .post-body ol, .story-body ul, .story-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.7;
}

.post-body a { color: var(--static-cyan); text-decoration: underline; text-underline-offset: 2px; }
.story-body a { color: var(--story-accent, var(--static-cyan)); text-decoration: underline; text-underline-offset: 2px; }

.post-body img, .story-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px auto;
}

.post-body iframe, .story-body iframe {
  display: block;
  max-width: 100%;
  border: 0;
  border-radius: 12px;
  margin: 24px auto;
}

.post-footer { padding-top: 0; padding-bottom: 90px; }

@media (max-width: 700px) {
  .post-header h1 { font-size: 32px; }
  .post-card { padding: 24px 22px; }
}

/* Story pages — per-story accent theme, chapter breaks, status */
.story-article { position: relative; }

.story-back {
  position: absolute;
  top: 20px;
  left: var(--gutter);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(13, 23, 49, 0.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--neutral-zone);
}

.story-back:hover {
  border-color: var(--story-accent, var(--static-cyan));
  color: var(--story-accent, var(--static-cyan));
}

.story-hero {
  position: relative;
  height: clamp(200px, 32vw, 360px);
  overflow: hidden;
}

.story-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 23, 49, 0) 0%, rgba(13, 23, 49, 0.5) 60%, var(--midnight) 100%);
}

.story-header--with-hero { padding-top: 48px; }

.story-header .page-header-overlay {
  background:
    linear-gradient(180deg, rgba(13, 23, 49, 0.35) 0%, rgba(13, 23, 49, 0.6) 55%, var(--midnight) 100%),
    radial-gradient(60% 55% at 50% 0%, var(--story-glow-1, rgba(113, 43, 140, 0.32)), transparent 70%),
    radial-gradient(45% 45% at 85% 25%, var(--story-glow-2, rgba(27, 187, 196, 0.18)), transparent 70%);
}

.story-header .eyebrow { color: var(--story-accent, var(--static-cyan)); }

.story-byline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.story-meta {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  font-family: 'Roboto Mono', monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.story-meta-divider { color: rgba(255, 255, 255, 0.25); }

.status-badge {
  --badge-tint: color-mix(in srgb, var(--story-accent, var(--static-cyan)) 45%, white 55%);
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--badge-tint);
  color: var(--badge-tint);
}

.status-badge--complete {
  background: rgba(255, 255, 255, 0.06);
}

.status-badge--ongoing {
  background: var(--badge-tint);
  color: var(--text-dark);
}

.story-status-note {
  position: relative;
  margin: 16px 0 0;
  font-size: 14px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
}

.story-body h2 {
  border-left: 3px solid var(--story-accent, var(--static-cyan));
  padding-left: 14px;
}

.story-body hr {
  border: 0;
  text-align: center;
  margin: 44px 0;
  color: var(--story-accent, rgba(255, 255, 255, 0.35));
  font-size: 13px;
  letter-spacing: 0.5em;
}

.story-body hr::after { content: "\2022 \2022 \2022"; }

.story-body blockquote {
  margin: 28px 0;
  padding-left: 18px;
  border-left: 3px solid var(--story-accent, var(--static-cyan));
  font-style: italic;
  color: rgba(255, 255, 255, 0.72);
}

/* Small phones — the 900px/700px breakpoints above shrink display type once,
   but headlines like the 88px/56px Home hero still don't fit a ~375px
   screen. This tier shrinks the big display type and vertical padding
   further, and drops any grid that can't fit two columns down to one. */
@media (max-width: 560px) {
  .hero { padding-top: 84px; padding-bottom: 64px; }
  .hero h1 { font-size: 38px; }
  .hero .tagline { font-size: 13px; letter-spacing: 0.14em; }

  .shadows-band { padding-top: 64px; padding-bottom: 64px; gap: 32px; }
  .shadows-band h2 { font-size: 28px; }
  .shadows-band p { font-size: 15px; }
  .shadows-band .band-visual-card { width: 190px; height: 190px; }
  .shadows-band .band-visual-card img { width: 110px; }

  .pillars { padding-top: 64px; padding-bottom: 64px; gap: 32px; }
  .pillars-heading h2 { font-size: 26px; }

  .content-section { padding-top: 56px; padding-bottom: 56px; }
  .section-heading h2 { font-size: 24px; }

  .page-header { padding-top: 76px; padding-bottom: 52px; }
  .page-header h1 { font-size: 28px; }
  .page-header p { font-size: 15px; }

  .post-header h1, .story-header h1 { font-size: 26px; }

  .contact-wrap { padding-top: 56px; padding-bottom: 90px; gap: 36px; }

  .episode-list { grid-template-columns: 1fr; }

  .post-card { padding: 22px 20px; }
  .story-card-body { padding: 18px 20px 20px; }
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 44px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.site-footer .footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-nav img { width: 24px; height: auto; display: block; opacity: 0.85; }

.footer-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-link:hover { color: #ffffff; }

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-legal .copyright {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal .disclaimer {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.30);
}
