/* ============================================
   UNDAUNTED.LIFE — FORGED METAL DESIGN SYSTEM
   ============================================ */

:root {
  /* Undaunted Palette — Black & Blue */
  --void: #000000;
  --obsidian: #08080a;
  --forge: #101014;
  --steel: #1a1a20;
  --iron: #282830;
  --ember: #1c4add;
  --ember-glow: #3a6aef;
  --ember-hot: #5a85f5;
  --smoke: #a0a0a8;
  --ash: #686870;
  --bone: #e8e8ee;
  --parchment: #f2f2f6;
  --white: #ffffff;

  /* Semantic */
  --bg-primary: var(--void);
  --bg-section: var(--obsidian);
  --bg-card: var(--forge);
  --bg-elevated: var(--steel);
  --accent: var(--ember);
  --accent-hover: var(--ember-glow);
  --text-primary: var(--bone);
  --text-secondary: var(--smoke);
  --text-muted: var(--ash);
  --border-color: var(--iron);

  /* Typography — shared across the main site and /podcast/ */
  --font-display: 'Bebas Neue', sans-serif;
  --font-accent: 'DM Serif Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Layout */
  --max-width: 1280px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --nav-height: 76px;
  --subnav-height: 52px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-primary);
  /* 1.65 matches /podcast/ — keeps body copy rhythm identical site-wide */
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
ul, ol { list-style: none; }

/* Grain Overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.display-xl {
  font-family: var(--font-display);
  /* Tightened from 8rem upper bound — sub-pages don't need viewport-eating
     hero text. Home page hero uses its own .hero__title (unaffected). */
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.heading-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* Heading metrics aligned with /podcast/assets/archive.css for one shared system */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.015em;
  font-weight: 400;
  line-height: 0.98;
  color: var(--bone);
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: 0.005em; }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); }

.body-lg { font-size: 1.2rem; line-height: 1.75; }
.body-sm { font-size: 0.875rem; line-height: 1.6; }

/* .meta — unified with /podcast/: JetBrains Mono, uppercase, wider tracking.
   Was Source Sans 3 600; now matches the dossier-style mono labels used on inner pages. */
.meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.mono { font-family: var(--font-mono); }
.accent-text { color: var(--accent); }

/* ============================================
   UTILITIES
   ============================================ */

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space-2xl) 0; position: relative; }
.section--dark { background: var(--bg-section); }
.section--forge { background: var(--forge); }
.section--steel { background: var(--steel); }
.grid { display: grid; gap: var(--space-lg); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================
   COMPONENTS
   ============================================ */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1em 2.2em;
  border: 1px solid transparent;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--ember-glow);
  border-color: var(--ember-glow);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(28,74,221,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--iron);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 0.5em 0;
  border-bottom: 1px solid var(--accent);
  letter-spacing: 0.1em;
}
.btn-ghost:hover { color: var(--ember-glow); border-color: var(--ember-glow); }

/* Ember line divider */
.ember-line {
  width: 60px;
  height: 2px;
  background: var(--accent);
  border: none;
}
.ember-line--wide { width: 120px; }

/* Tags */
.tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35em 0.8em;
  border: 1px solid var(--iron);
  color: var(--smoke);
  transition: all 0.3s ease;
}
.tag:hover { border-color: var(--accent); color: var(--accent); }
.tag--active { border-color: var(--accent); color: var(--accent); background: rgba(28,74,221,0.08); }

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(28,74,221,0.1);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }

/* ============================================
   RESOURCE CARDS (home page "Equip Yourself")
   3-up grid of free resource teasers with bg image, icon, big number
   ============================================ */
.resource-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}
.resource-card {
  position: relative;
  display: block;
  min-height: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  color: inherit;
  text-decoration: none;
}
.resource-card__bg {
  position: absolute;
  inset: 0;
  background-image: var(--bg-image, none);
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: grayscale(20%) contrast(1.05);
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}
.resource-card__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,10,0.55) 0%, rgba(8,8,10,0.78) 55%, rgba(8,8,10,0.95) 100%),
    linear-gradient(135deg, rgba(28,74,221,0.15) 0%, transparent 50%);
}
.resource-card__body {
  position: relative;
  z-index: 1;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 360px;
}
.resource-card__icon {
  width: 38px;
  height: 38px;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  opacity: 0.95;
  transition: transform 0.3s ease, color 0.3s ease;
}
.resource-card__number {
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--accent);
  line-height: 0.9;
  letter-spacing: 0.005em;
  margin-bottom: 0.4rem;
  text-shadow: 0 4px 30px rgba(28,74,221,0.4);
}
.resource-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: var(--space-xs);
}
.resource-card__desc {
  color: var(--smoke);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: var(--space-md);
  flex: 1;
}
.resource-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--accent);
  align-self: flex-start;
  transition: color 0.2s ease, gap 0.2s ease;
}
.resource-card__arrow { transition: transform 0.25s ease; display: inline-block; }
.resource-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(28,74,221,0.18), 0 0 0 1px var(--accent);
}
.resource-card:hover .resource-card__bg {
  opacity: 0.55;
  transform: scale(1.04);
}
.resource-card:hover .resource-card__icon {
  transform: rotate(-4deg) scale(1.08);
  color: var(--accent-hover, var(--ember-glow));
}
.resource-card:hover .resource-card__cta { gap: 0.6rem; }
.resource-card:hover .resource-card__arrow { transform: translateX(3px); }

/* Testimonial cards — real DOMINION member quotes */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.testimonial {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.testimonial:hover { border-color: var(--accent); transform: translateY(-3px); }
.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover, #3a6aef));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  flex-shrink: 0;
}
.testimonial__quote-text {
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex: 1;
}
.testimonial__attr {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
/* legacy single-quote marker (kept for any other use) */
.testimonial__quote {
  width: 32px;
  height: 32px;
  color: var(--accent);
  opacity: 0.55;
  margin-bottom: var(--space-sm);
}

/* FAQ <details> +/- indicator (when summary has list-style:none) */
details > summary { position: relative; padding-right: 2rem; }
details > summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.2s ease;
}
details[open] > summary::after { content: '−'; }

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* Fixed height so it never jumps between pages. 76px = matches --nav-height
     used by /podcast/ sticky sub-nav. .nav__inner does the flex layout. */
  height: var(--nav-height, 76px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  background: rgba(6,6,6,0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(46,43,39,0.4);
}
/* When scrolled, just deepen the bg + shadow — no padding shrink (that caused
   the sticky sub-nav to leave a gap on /podcast/). */
.nav.scrolled {
  background: rgba(6,6,6,0.96);
  border-bottom-color: rgba(46,43,39,0.7);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
/* On /podcast/ the nav is rendered as <header class="nav"> wrapping both the
   main row and the sticky sub-nav, so we let it grow naturally. */
header.nav { height: auto; }
.nav__inner {
  /* Nav uses its OWN max-width + gutter (not the page-level --max-width which
     differs: 1280 on main site, 1480 on /podcast/). This keeps logo + links
     in identical screen positions across every page. */
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: var(--nav-height, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Hard minimum gap so the logo wordmark and the links can NEVER collide.
     The mobile-menu breakpoint below switches to the hamburger well before the
     bar ever gets this tight, so this is a belt-and-suspenders safety floor. */
  gap: 1.5rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}
.nav__logo:hover .nav__logo-img { opacity: 0.8; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__link {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
  transition: color 0.3s ease;
  position: relative;
}
.nav__link:hover { color: var(--white); }
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav__link:hover::after { width: 100%; }

.nav__cta {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.7em 1.8em;
  background: var(--accent);
  color: var(--white);
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__cta:hover {
  background: var(--ember-glow);
  box-shadow: 0 4px 20px rgba(28,74,221,0.3);
}

/* Mobile Nav Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--bone);
  transition: all 0.3s ease;
}

/* Old breakpoint replaced by the unified mobile rule near the bottom of this
   file (max-width: 860px). Leaving a no-op so any old cached HTML still works. */

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  padding: 0 0 0;
}

/* Background layers */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-image {
  position: absolute;
  inset: 0;
  background: url('/assets/img/kyle-preaching.webp') center 30% / cover no-repeat;
  filter: saturate(0.3) brightness(0.4);
}
.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,6,6,0.3) 0%,
    rgba(6,6,6,0.1) 30%,
    rgba(6,6,6,0.5) 60%,
    rgba(6,6,6,0.95) 85%,
    var(--void) 100%
  );
}

/* Ember particles */
.hero__embers {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.ember-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--ember);
  border-radius: 50%;
  opacity: 0;
  animation: float-ember linear infinite;
  box-shadow: 0 0 6px 1px rgba(28,74,221,0.5);
}
@keyframes float-ember {
  0% { opacity: 0; transform: translateY(0) translateX(0); }
  10% { opacity: 0.8; }
  90% { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-100vh) translateX(40px); }
}
.ember-particle:nth-child(1) { left: 10%; bottom: -10px; animation-duration: 8s; animation-delay: 0s; }
.ember-particle:nth-child(2) { left: 25%; bottom: -10px; animation-duration: 11s; animation-delay: 2s; width: 2px; height: 2px; }
.ember-particle:nth-child(3) { left: 45%; bottom: -10px; animation-duration: 9s; animation-delay: 4s; }
.ember-particle:nth-child(4) { left: 65%; bottom: -10px; animation-duration: 12s; animation-delay: 1s; width: 2px; height: 2px; }
.ember-particle:nth-child(5) { left: 80%; bottom: -10px; animation-duration: 10s; animation-delay: 3s; }
.ember-particle:nth-child(6) { left: 35%; bottom: -10px; animation-duration: 14s; animation-delay: 5s; width: 2px; height: 2px; }
.ember-particle:nth-child(7) { left: 55%; bottom: -10px; animation-duration: 9s; animation-delay: 7s; }
.ember-particle:nth-child(8) { left: 90%; bottom: -10px; animation-duration: 11s; animation-delay: 2.5s; width: 2px; height: 2px; }

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl) var(--gutter) var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ember-hot);
  text-shadow: 0 1px 14px rgba(0,0,0,0.95), 0 0 3px rgba(0,0,0,0.9);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero__eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--ember-hot);
  box-shadow: 0 0 8px rgba(0,0,0,0.9);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-md);
  max-width: 900px;
}
.hero__title em {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--accent);
  font-size: 0.55em;
  display: block;
  margin-bottom: 0.15em;
  text-transform: none;
  letter-spacing: 0;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: var(--smoke);
  max-width: 520px;
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Stats bar */
.stats-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--iron);
  background: rgba(6,6,6,0.6);
  backdrop-filter: blur(10px);
}
.stats-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md) var(--gutter);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.stat {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.stat__icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
  opacity: 0.85;
}
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--accent);
  letter-spacing: 0.02em;
}
.stat__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
}
/* archive-pillar (home page Archive grid) — icon at top */
.archive-pillar__icon { transition: transform 0.25s ease; }
.archive-pillar:hover .archive-pillar__icon { transform: translateX(2px) translateY(-2px); }

/* ============================================
   PODCAST / LATEST EPISODES
   ============================================ */

.episodes-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.episodes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.episode-card { position: relative; }
.episode-card__image {
  aspect-ratio: 1/1;
  background: var(--steel);
  overflow: hidden;
  position: relative;
}
.episode-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Many of Kyle's episode covers are portrait (900x1400) with a big title
     banner at the bottom. Anchoring the crop to the top shows the face/visual
     and clips the bottom title (which is also in the card body — redundant). */
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.episode-card:hover .episode-card__image img { transform: scale(1.05); }

.episode-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,6,6,0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.episode-card:hover .episode-card__play { opacity: 1; }
.episode-card__play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(28,74,221,0.4);
}
.episode-card__play-btn svg { margin-left: 3px; }

/* Body has insets on all sides so text never sits at the card's edge.
   Image above stays edge-to-edge by design. */
.episode-card__body { padding: var(--space-md) var(--space-md) var(--space-md); }
.episode-card__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}
.episode-card__title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--bone);
  transition: color 0.3s ease;
}
.episode-card:hover .episode-card__title { color: var(--accent); }
.episode-card__meta {
  display: block;
  font-size: 0.75rem;
  color: var(--ash);
  margin-top: 0.5rem;
}

/* Featured (large) episode — side-by-side: square art + title beside */
.episode-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 38%) 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-md);   /* breathe room around the whole side-by-side */
}
.episode-card--featured .episode-card__image { aspect-ratio: 1/1; max-width: 480px; }
.episode-card--featured .episode-card__body { padding: 0 var(--space-md) 0 0; }   /* right inset so title doesn't hit card edge */
.episode-card--featured .episode-card__title { font-size: clamp(1.4rem, 2.8vw, 2.2rem); line-height: 1.2; }
.episode-card--featured .episode-card__meta { font-size: 0.85rem; margin-top: 0.75rem; }

@media (max-width: 700px) {
  .episodes-grid { grid-template-columns: 1fr; }
  .episode-card--featured {
    display: block;
    padding: 0;     /* image goes edge-to-edge on mobile */
  }
  .episode-card--featured .episode-card__body { padding: var(--space-md); }
  .episode-card--featured .episode-card__image { max-width: none; }
}

/* ============================================
   CONTENT PILLARS
   ============================================ */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.pillar {
  padding: var(--space-lg) var(--space-md);
  background: var(--forge);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.pillar:hover::before { transform: scaleX(1); }
.pillar:hover { background: var(--steel); }

.pillar__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  color: var(--accent);
}
.pillar__number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(28,74,221,0.1);
  line-height: 1;
  margin-bottom: var(--space-xs);
}
.pillar__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: var(--space-xs);
}
.pillar__desc {
  font-size: 0.85rem;
  color: var(--smoke);
  line-height: 1.6;
}

@media (max-width: 1000px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .pillars-grid { grid-template-columns: 1fr; } }

/* ============================================
   ABOUT / KYLE
   ============================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.about__image-wrapper {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.about__image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  transform: translate(12px, 12px);
  pointer-events: none;
}
.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.1);
}
.about__label {
  margin-bottom: var(--space-md);
}
.about__bio {
  color: var(--smoke);
  margin: var(--space-md) 0 var(--space-lg);
  line-height: 1.9;
}
.about__bio strong { color: var(--bone); font-weight: 600; }

@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }

/* ============================================
   GUESTS MARQUEE
   ============================================ */

.guests-strip {
  overflow: hidden;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--iron);
  border-bottom: 1px solid var(--iron);
  background: var(--obsidian);
}
.guests-marquee {
  display: flex;
  gap: var(--space-xl);
  white-space: nowrap;
  width: max-content;
}
/* Two rows: top scrolls left, bottom scrolls right, so more names read at once */
.guests-marquee--a { animation: marquee 50s linear infinite; }
.guests-marquee--b { animation: marquee-rev 55s linear infinite; margin-top: 0.6rem; }
.guests-marquee span {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--iron);
  flex-shrink: 0;
}
.guests-marquee span.highlight { color: var(--ash); }
.guests-marquee .separator { color: var(--accent); }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-rev {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ============================================
   DOMINION PROGRAM
   ============================================ */

.dominion {
  position: relative;
  overflow: hidden;
}
.dominion__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 18rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(28,74,221,0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.dominion__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.dominion__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5em 1em;
  border: 1px solid var(--accent);
  margin-bottom: var(--space-md);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.dominion__title {
  margin-bottom: var(--space-md);
}
.dominion__desc {
  color: var(--smoke);
  margin-bottom: var(--space-lg);
  line-height: 1.9;
}
.dominion__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
.dominion__feature {
  padding: var(--space-md);
  background: var(--forge);
  border: 1px solid var(--border-color);
  text-align: center;
}
.dominion__feature-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.dominion__feature-desc {
  font-size: 0.8rem;
  color: var(--ash);
}

@media (max-width: 800px) {
  .dominion__grid { grid-template-columns: 1fr; }
}

/* ============================================
   NEWSLETTER / EMAIL CAPTURE
   ============================================ */

.newsletter {
  text-align: center;
  position: relative;
}
.newsletter__border {
  border: 1px solid var(--iron);
  padding: var(--space-xl);
  position: relative;
}
.newsletter__border::before,
.newsletter__border::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--accent);
  border-style: solid;
}
.newsletter__border::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.newsletter__border::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.newsletter__title { margin-bottom: var(--space-xs); }
.newsletter__subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: var(--space-md);
}
.newsletter__desc {
  color: var(--smoke);
  max-width: 550px;
  margin: 0 auto var(--space-lg);
}

.newsletter__form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  gap: 0;
}
.newsletter__input {
  flex: 1;
  padding: 1em 1.2em;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--forge);
  border: 1px solid var(--iron);
  color: var(--bone);
  outline: none;
  transition: border-color 0.3s ease;
}
.newsletter__input::placeholder { color: var(--ash); }
.newsletter__input:focus { border-color: var(--accent); }
.newsletter__submit {
  padding: 1em 2em;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.newsletter__submit:hover {
  background: var(--ember-glow);
  border-color: var(--ember-glow);
}

@media (max-width: 550px) {
  .newsletter__form { flex-direction: column; }
  .newsletter__submit { width: 100%; }
}

/* ============================================
   THE CHARGE (WEEKLY CHALLENGE)
   ============================================ */

.charge {
  text-align: center;
  position: relative;
}
.charge__quote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--bone);
  max-width: 700px;
  margin: 0 auto var(--space-md);
  line-height: 1.5;
}
.charge__quote::before {
  content: '\201C';
  display: block;
  font-size: 4rem;
  color: var(--accent);
  line-height: 0.5;
  margin-bottom: 0.5rem;
}
.charge__attribution {
  font-size: 0.8rem;
  color: var(--ash);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}
.charge__challenge-box {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-lg);
  border: 1px solid var(--accent);
  background: rgba(28,74,221,0.03);
}
.charge__week {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}
.charge__task {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--bone);
  line-height: 1.7;
}

/* ============================================
   LISTEN SECTION
   ============================================ */

.listen-platforms {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}
.listen-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--ash);
  transition: color 0.3s ease;
}
.listen-platform:hover { color: var(--accent); }
.listen-platform__icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--iron);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.listen-platform:hover .listen-platform__icon {
  border-color: var(--accent);
  background: rgba(28,74,221,0.05);
}
.listen-platform__name {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid var(--iron);
  background: var(--void);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.footer__brand-desc {
  color: var(--ash);
  font-size: 0.9rem;
  margin-top: var(--space-sm);
  max-width: 300px;
  line-height: 1.7;
}
.footer__heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}
.footer__link {
  display: block;
  font-size: 0.85rem;
  color: var(--smoke);
  padding: 0.3em 0;
  transition: color 0.3s ease;
}
.footer__link:hover { color: var(--bone); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--iron);
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer__copy {
  font-size: 0.75rem;
  color: var(--ash);
}
.footer__socials {
  display: flex;
  gap: var(--space-sm);
}
.footer__social {
  width: 36px;
  height: 36px;
  border: 1px solid var(--iron);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--smoke);
  transition: all 0.3s ease;
}
.footer__social:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.footer__social svg { width: 16px; height: 16px; }

@media (max-width: 800px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header { margin-bottom: var(--space-xl); }
.section-header__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}
.section-header__label span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-header__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--iron);
}

/* Responsive helpers */
@media (max-width: 600px) {
  .section { padding: var(--space-xl) 0; }
  .hero__title { font-size: clamp(3rem, 14vw, 5rem); }
  .stats-bar__inner { justify-content: center; text-align: center; }
}

/* ============================================
   PREMIUM MOTION LAYER (subtle, performant)
   ============================================ */

/* Refined reveal: gentle blur clearing on entrance */
.reveal { filter: blur(6px); }
.reveal.visible { filter: blur(0); }

/* Primary CTA — sweep shimmer on hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(100%); }

/* Section header label — underline draws on reveal */
.section-header__label span { position: relative; }
.section-header__label span::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  height: 1px; width: 100%;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible .section-header__label span::after { transform: scaleX(1); }

/* Pillar hover lift */
.pillar { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease; }
.pillar:hover { transform: translateY(-4px); }

/* Marquee pause on hover */
.guests-strip { display: flex; flex-direction: column; }
.guests-strip:hover .guests-marquee { animation-play-state: paused; }

/* DOMINION logo lockup in the home promo section */
.dominion__logo { width: clamp(220px, 30vw, 340px); height: auto; margin-bottom: var(--space-md); display: block; }

/* DOMINION locked-pillar teasers (roman numerals I-VI in cobalt rings) */
.dom-pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  margin-top: var(--space-lg);
}
.dom-pillar {
  width: clamp(64px, 10vw, 96px);
  height: clamp(64px, 10vw, 96px);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at 50% 40%, rgba(28,74,221,0.12), transparent 70%);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.dom-pillar::after {
  /* subtle pillar/column base line under the numeral */
  content: '';
  position: absolute;
  bottom: 24%;
  width: 44%;
  height: 2px;
  background: var(--accent);
  opacity: 0.6;
}
.dom-pillar__num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  color: var(--accent-hover, var(--ember-glow));
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.35em;
}
.dom-pillar:hover {
  transform: translateY(-4px);
  border-color: var(--ember-glow);
  box-shadow: 0 12px 32px rgba(28,74,221,0.25);
}

/* Episode play button — breathe when card hovered */
@keyframes breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 24px rgba(28,74,221,0.4); }
  50% { transform: scale(1.08); box-shadow: 0 4px 36px rgba(28,74,221,0.7); }
}
.episode-card:hover .episode-card__play-btn {
  animation: breathe 1.8s ease-in-out infinite;
}

/* Nav — backdrop blur once scrolled */
.nav.scrolled {
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}

/* About portrait — slow Ken Burns drift */
@keyframes ken-burns-slow {
  0%   { transform: scale(1) translate(0, 0); }
  50%  { transform: scale(1.04) translate(-1%, -1%); }
  100% { transform: scale(1) translate(0, 0); }
}
.about__image { animation: ken-burns-slow 22s ease-in-out infinite; will-change: transform; }

/* Stat numbers — subtle pop when count-up starts */
.stat__number.counting { transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); transform: scale(1.06); }
.stat__number.counted { transform: scale(1); }

/* Mobile — reduce heavy effects */
@media (max-width: 700px) {
  .reveal { filter: none; }
  .about__image { animation-duration: 30s; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { filter: none; opacity: 1; transform: none; }
  .about__image { animation: none; }
  .btn-primary::after { display: none; }
}

/* ============================================
   MULTI-PAGE ADDITIONS
   ============================================ */

.page-hero {
  /* Top padding clears the fixed nav (--nav-height) + adds breathing room.
     Was hardcoded +60px — now uses the variable so it stays in sync. */
  padding: calc(var(--space-2xl) + var(--nav-height, 76px)) 0 var(--space-xl);
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(28,74,221,0.08), transparent 60%),
    var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}
/* Optional hero photo backdrop. Pass via inline style: style="--hero-bg:url(...)" */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg, none);
  background-size: cover;
  background-position: center right;
  opacity: var(--hero-bg-opacity, 0.58);
  filter: grayscale(10%) contrast(1.05);
  z-index: 0;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Lighter overlay so the photo reads clearly while the left edge stays dark
     enough for the headline. Was crushing the image at 0.85/0.55. */
  background:
    linear-gradient(90deg, rgba(6,6,6,0.9) 0%, rgba(0,0,0,0.55) 42%, rgba(0,0,0,0.2) 78%, rgba(0,0,0,0.08) 100%),
    linear-gradient(180deg, transparent 0%, transparent 58%, var(--bg-primary) 100%);
  z-index: 0;
  pointer-events: none;
}
/* When no --hero-bg is set, hide the overlay layer */
.page-hero:not([style*="--hero-bg"])::before,
.page-hero:not([style*="--hero-bg"])::after { display: none; }
.page-hero .container { position: relative; z-index: 1; }

.nav__link--active {
  color: var(--accent) !important;
}
.nav__link--active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
}

/* Form inputs — focus state */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(28,74,221,0.15);
}

/* Details/summary — chevron */
details summary { position: relative; padding-right: 2rem; }
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.2s;
  line-height: 1;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

/* Mobile nav */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 100;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle--open span:nth-child(2) { opacity: 0; }
.nav__toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  /* Switch to the hamburger menu while there is still comfortable room, so the
     logo wordmark and the links never crowd or overlap on mid-size screens. */
  /* Keep the toggle (hamburger / X) above the full-screen menu so it stays tappable. */
  .nav__toggle { display: block; position: relative; z-index: 1002; }
  /* IMPORTANT: a backdrop-filter on .nav makes position:fixed children anchor to
     the 76px nav box instead of the viewport — that collapses the open mobile
     menu into the nav bar and lets the page show through. Drop the filter on
     mobile so the full-screen menu overlay anchors to the viewport. */
  .nav, .nav.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1001;          /* above the nav bar (z-index 1000) */
    overflow-y: auto;        /* scroll if the stack is taller than the screen */
  }
  .nav__links--open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links .nav__link, .nav__links .nav__cta {
    font-size: 1.4rem;
  }
}

/* Responsive grids for multi-page templates */
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr !important; }
  .days-hero-grid { grid-template-columns: 1fr !important; }
  .form-row { grid-template-columns: 1fr !important; }
  /* podcast/index.html — hardcoded inline grid-template-columns (1fr 360px,
     280px 1fr, and 1fr 1fr) with no mobile override forced the whole archive
     home to horizontally scroll on phones. Stack all three to a single column. */
  .scripture-map__grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .scripture-map__note { text-align: left !important; }
  .library__grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .voices-topics__grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
}

/* ============================================================
   UPDATE 2026-06 — Kyle B&W (home), DOMINION home section,
   DOMINION page (pillar marks, goal band, testimonial wall)
   ============================================================ */

/* Home · About — Kyle portrait in black & white (warms to color on hover) */
#about .about__image {
  filter: grayscale(100%) contrast(1.04);
  transition: filter 0.6s ease;
}
#about .about__image:hover { filter: grayscale(0%) contrast(1); }

/* Home · DOMINION section — cinematic backdrop + elevated feature cards */
.dominion::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg-primary) 0%, rgba(6,6,6,0.84) 48%, rgba(6,6,6,0.5) 100%),
    url('/assets/img/kyle-stage-2.webp');
  background-size: cover;
  background-position: center right;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}
.dominion .container { position: relative; z-index: 1; }
.dominion__bg-text { z-index: 0; }
.dominion__feature {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-align: left;
  border-radius: 5px;
  background: linear-gradient(155deg, rgba(22,23,27,0.92), rgba(9,9,11,0.94));
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.dominion__feature::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}
.dominion__feature:hover {
  transform: translateY(-4px);
  border-color: rgba(28,74,221,0.55);
  box-shadow: 0 14px 34px rgba(0,0,0,0.5);
  background: linear-gradient(155deg, rgba(28,30,38,0.96), rgba(11,11,14,0.96));
}
.dominion__feature:hover::before { transform: scaleY(1); }
.dominion__feature-icon { flex: 0 0 auto; width: 30px; height: 30px; margin-top: 2px; color: var(--accent); }
.dominion__feature-icon svg { width: 100%; height: 100%; display: block; }
.dominion__feature-name { margin-bottom: 0.2rem; }

/* DOMINION page — hero logo + promise */
.dominion-page__logo { width: clamp(190px, 26vw, 300px); height: auto; display: block; margin-bottom: var(--space-md); }
.dominion-page__promise {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bone);
  margin: var(--space-md) 0;
  line-height: 1.12;
}

/* DOMINION page — six-pillar grid + brand icon marks */
.pillars-grid--six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .pillars-grid--six { grid-template-columns: 1fr; } }
.pillar__mark {
  width: 52px; height: 52px;
  margin: 0 auto 0.5rem;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.pillar:hover .pillar__mark { opacity: 1; transform: translateY(-2px); }

/* DOMINION page — goal band */
.dominion-goal { text-align: center; }
.dominion-goal__pillars { width: 100%; max-width: 720px; height: auto; margin: var(--space-lg) auto 0; display: block; }

/* DOMINION page — testimonial wall */
.testi-wall { columns: 3 280px; column-gap: var(--space-md); margin-top: var(--space-lg); }
.testi {
  break-inside: avoid;
  margin: 0 0 var(--space-md);
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}
.testi__quote { font-style: italic; color: var(--text-primary); line-height: 1.6; margin-bottom: 0.8rem; }
.testi__who { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.testi__face {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  margin-bottom: 0.9rem;
  border: 1px solid var(--border-color);
  filter: grayscale(100%) contrast(1.05);
}
@media (max-width: 600px) { .testi-wall { columns: 1; } }

/* ============================================================
   DONATION PAGE — Free Donation Kiosk embed (full-size, scrollable)
   ============================================================ */
.donate-embed-wrap { width: 100%; }
.donate-embed {
  width: 100%;
  min-height: 920px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-card);
  display: block;
}
@media (max-width: 640px) { .donate-embed { min-height: 1080px; } }
