/* That I May Know Him — Podcast (prelaunch)
   Theme: glossy embossed gold · royal purple · silver · white (9 Nov 2026) */
:root {
  --ink: #241640;            /* body text on white */
  --ink-soft: #3b2d58;
  --muted: #5b5072;
  --white: #ffffff;
  --pearl: #f7f5fb;
  --lavender: #efe9f8;
  --purple-ink: #2a0f52;
  --purple-deep: #160733;
  --purple: #2d1060;
  --purple-royal: #4a1d8f;
  --purple-bright: #6c3bbf;
  --gold: #d4a63a;
  --gold-light: #f6dc8a;
  --gold-deep: #7a5512;      /* gold text on white (AA) */
  --silver: #c9ccd6;
  --silver-light: #eef0f5;
  --silver-deep: #8d92a3;
  --on-purple: #f4f1fa;
  --on-purple-soft: #dcd6ea;
  --line: #d6d8e2;
  --gold-grad: linear-gradient(180deg, #fff6d0 0%, #f6d77a 18%, #d9a93c 46%, #b5831f 54%, #e9c45d 78%, #fbe7a6 100%);
  --gold-text: linear-gradient(180deg, #fff8dc 0%, #f8dc84 30%, #e2b247 52%, #f3d27a 70%, #fff1c2 100%);
  --silver-grad: linear-gradient(180deg, #ffffff 0%, #eef0f5 30%, #c9cdd8 52%, #e6e8ee 74%, #ffffff 100%);
  --purple-grad: linear-gradient(160deg, #1b0840 0%, #2d1060 45%, #3e1879 100%);
  --emboss: inset 0 1px 0 rgba(255,255,255,0.85), inset 0 -2px 0 rgba(90,60,0,0.35), 0 2px 0 rgba(60,30,0,0.25), 0 8px 18px rgba(10,0,30,0.35);
  --emboss-silver: inset 0 1px 0 rgba(255,255,255,0.95), inset 0 -2px 0 rgba(70,74,90,0.28), 0 2px 0 rgba(30,20,60,0.18), 0 6px 14px rgba(10,0,30,0.22);
  --shadow: 0 18px 50px rgba(8, 0, 30, 0.38);
  --radius: 18px;
  --max: 1080px;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --cross-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff3c4'/%3E%3Cstop offset='.45' stop-color='%23e2b247'/%3E%3Cstop offset='.55' stop-color='%23b5831f'/%3E%3Cstop offset='1' stop-color='%23f6d77a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M10 1h4v8h9v4h-9v18h-4V13H1V9h9z' fill='url(%23g)' stroke='%237a5512' stroke-width='.8'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--on-purple);
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(108,59,191,0.35), transparent 60%),
    radial-gradient(800px 500px at 110% 80%, rgba(212,166,58,0.10), transparent 60%),
    linear-gradient(180deg, #1a0840 0%, #240c52 40%, #1b0842 100%);
  background-attachment: fixed;
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); }
a:hover { color: #fff; }
.panel a { color: var(--purple-royal); }
.panel a:hover { color: var(--gold-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--purple-deep);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Gold embossed text helper */
.gold-text, .hero h1, .section-head h2, .brand-title, .glory {
  color: var(--gold-light);           /* fallback */
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(90,55,0,0.9)) drop-shadow(0 2px 3px rgba(0,0,0,0.45));
}

/* Header */
.site-header {
  position: static;
  background: linear-gradient(180deg, rgba(22,7,51,0.97), rgba(36,12,82,0.97));
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, #c9ccd6 15%, #ffffff 50%, #c9ccd6 85%, transparent) 1;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--on-purple);
  min-width: 0;
}
.brand-mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #5b2aa6, #2a0f52 70%);
  border: 2px solid #dfe2ea;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 0 0 1px rgba(212,166,58,0.6), 0 4px 10px rgba(0,0,0,0.35);
}
.brand-mark svg { width: 20px; height: 26px; filter: drop-shadow(0 1px 0 rgba(0,0,0,0.5)); }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 600;
}
.brand-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  border: 1px solid #fff;
  background: var(--silver-grad);
  box-shadow: var(--emboss-silver);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font: inherit;
  font-weight: 700;
  color: var(--purple-ink);
  cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { background: var(--gold-grad); box-shadow: var(--emboss); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.35rem 1.1rem;
  align-items: center;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  color: var(--silver-light);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0.15rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }

/* Hero */
.hero {
  padding: clamp(2rem, 6vw, 4rem) 0 2rem;
}
.hero-card {
  background:
    linear-gradient(90deg, rgba(22,7,51,0.94) 0%, rgba(30,10,66,0.86) 38%, rgba(30,10,66,0.25) 62%, rgba(30,10,66,0) 100%),
    url("../assets/hero-ascending-christ.jpg") right center / cover no-repeat,
    var(--purple-grad);
  color: var(--on-purple);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.75rem, 5vw, 3.25rem);
  min-height: 520px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,0.25);
  border: 2px solid #cfd3de;
  outline: 1px solid rgba(212,166,58,0.7);
  outline-offset: -8px;
  position: relative;
  overflow: hidden;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), transparent 30%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  align-items: center;
  max-width: 560px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--silver-grad);
  box-shadow: var(--emboss-silver);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-ink);
  font-weight: 800;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 3.8rem);
  line-height: 1.1;
  margin: 0.9rem 0 0.85rem;
  font-weight: 700;
}
.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--on-purple);
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  max-width: 34rem;
  margin: 0 0 1.4rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font-weight: 800;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--gold-grad);
  color: var(--purple-ink);
  border-color: #fff0b8 #a8791c #8a6216;
  box-shadow: var(--emboss);
  text-shadow: 0 1px 0 rgba(255,250,225,0.75);
}
.btn-primary:hover, .panel a.btn-primary:hover { color: var(--purple-ink); }
.btn-secondary {
  background: var(--silver-grad);
  color: var(--purple-ink);
  border-color: #ffffff #a9aebb #8d92a3;
  box-shadow: var(--emboss-silver);
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}
.btn-secondary:hover { color: var(--purple-ink); }

.hero-aside {
  background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05));
  backdrop-filter: blur(3px);
  border: 1px solid rgba(230,232,240,0.55);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
  background-color: rgba(22,7,51,0.55);
}
.hero-aside h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-light);
}
.hero-aside p { margin: 0; color: var(--on-purple); font-size: 0.98rem; }
.verse {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(220,222,232,0.45);
  font-family: var(--font-display);
  font-style: italic;
  color: #fff;
  font-size: 0.98rem;
}
.verse cite {
  display: block;
  margin-top: 0.4rem;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--gold-light);
}

/* Sections */
section { padding: clamp(2.25rem, 5vw, 3.5rem) 0; }
.section-head {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}
/* Cross divider above each section heading */
.section-head::before {
  content: "";
  display: block;
  width: 180px;
  height: 30px;
  margin-bottom: 0.6rem;
  background:
    var(--cross-gold) center / 18px 26px no-repeat,
    linear-gradient(90deg, transparent, #c9ccd6 30%, #ffffff 45%, transparent 45%, transparent 55%, #ffffff 55%, #c9ccd6 70%, transparent) center / 100% 2px no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.5));
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 0.55rem;
  line-height: 1.2;
}
.section-head p {
  margin: 0;
  color: var(--on-purple-soft);
  font-size: 1.05rem;
}

.panel {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 70%, var(--pearl) 100%);
  color: var(--ink);
  border: 1px solid var(--silver);
  border-top: 3px solid transparent;
  border-image: none;
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.85rem);
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 0 1px rgba(255,255,255,0.25),
    0 14px 36px rgba(8, 0, 30, 0.35);
  position: relative;
}
.panel::before {
  /* gold hairline at the top of every white card */
  content: "";
  position: absolute;
  left: 18px; right: 18px; top: -3px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold-grad);
}
.panel .panel::before { display: none; }
.panel + .panel { margin-top: 1rem; }
.panel h3 { color: var(--purple); }

.purpose-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) {
  .purpose-grid { grid-template-columns: repeat(3, 1fr); }
}
.purpose-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.purpose-card p { margin: 0; color: var(--ink-soft); }

.host-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 760px) {
  .host-grid { grid-template-columns: 220px 1fr; }
}
.host-photo {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center center;
  background: #2a0f52;
  border-radius: 50%;
  border: 5px solid #eef0f5;
  box-shadow: 0 0 0 3px var(--gold), 0 0 0 5px #fff6d0, 0 14px 30px rgba(20,0,50,0.35);
  margin-inline: auto;
}
.host-copy h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
}
.host-role {
  margin: 0 0 0.9rem;
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.host-copy p { margin: 0 0 0.9rem; color: var(--ink-soft); }
.host-copy p:last-child { margin-bottom: 0; }

.coming {
  text-align: center;
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.coming .badge {
  display: inline-block;
  background: linear-gradient(180deg, #5b2aa6, #2d1060);
  color: #fff;
  border: 1px solid var(--gold);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 3px 8px rgba(30,0,60,0.3);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.coming h2 {
  font-family: var(--font-display);
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  color: var(--purple);
}
.coming p {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--ink-soft);
}

.glory {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  padding: 0.5rem 0 2rem;
}

.site-footer {
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, #c9ccd6 15%, #ffffff 50%, #c9ccd6 85%, transparent) 1;
  background: rgba(14,4,34,0.6);
  padding: 1.5rem 0 2.25rem;
  color: var(--on-purple-soft);
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
}
.site-footer strong { color: var(--gold-light); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    width: 100%;
  }
  .site-nav.is-open { display: block; }
  .header-inner { flex-wrap: wrap; }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.35rem 0 0.5rem;
    gap: 0.15rem;
  }
  .site-nav a { padding: 0.55rem 0; width: 100%; }

  /* Hero: artwork on top, text below on solid purple */
  .hero-card {
    min-height: 0;
    padding-top: calc(70vw + 0.5rem);
    background:
      linear-gradient(180deg, rgba(30,10,66,0) 0%, rgba(30,10,66,0) 50vw, rgba(26,8,60,0.92) 72vw, #1e0a46 78vw),
      url("../assets/hero-ascending-christ.jpg") 100% 0 / auto 80vw no-repeat,
      var(--purple-grad);
    background-color: #1e0a46;
  }
  .hero-grid { max-width: none; }
}

/* Interactive + books */
.notice {
  background: var(--lavender);
  border: 1px solid #d4c7ec;
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.notice strong { color: var(--ink); }
.notice.review-mode { border-left-color: var(--purple-bright); }
.notice.error { background: #fdeceb; border-color: #e2b6b2; color: #6b2a24; }
.notice.ok { background: #eaf5ea; border-color: #b7d7b7; color: #234723; }

.form-grid { display: grid; gap: 0.85rem; }
.form-row { display: grid; gap: 0.35rem; }
.form-row label { font-weight: 700; color: var(--ink-soft); font-size: 0.92rem; }
.form-row .hint { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.form-row input[type="text"],
.form-row textarea,
.form-row select {
  width: 100%;
  border: 1px solid var(--silver-deep);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 2px 3px rgba(40,20,80,0.08);
}
.form-row input[type="text"]:focus,
.form-row textarea:focus { border-color: var(--gold); }
.form-row textarea { min-height: 7rem; resize: vertical; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; filter: grayscale(0.2); }


.poll-options { display: grid; gap: 0.55rem; margin: 0.75rem 0 1rem; }
.poll-option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--silver);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, var(--pearl));
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(40,20,80,0.08);
}
.poll-option input { accent-color: var(--purple-royal); margin-top: 0.3rem; }
.poll-option span { color: var(--ink-soft); }
.poll-results { display: grid; gap: 0.55rem; margin-top: 0.75rem; }
.poll-bar-wrap { background: var(--lavender); border: 1px solid #d4c7ec; border-radius: 999px; overflow: hidden; height: 12px; }
.poll-bar { height: 100%; background: var(--gold-grad); width: 0; }
.poll-meta { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.88rem; color: var(--muted); }

.books-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) {
  .books-grid { grid-template-columns: 1fr 1fr; }
}
.book-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: start;
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(40,20,80,0.12);
}
.book-card img {
  width: 110px;
  border-radius: 6px;
  border: 1px solid var(--silver);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(212,166,58,0.8), 0 8px 20px rgba(30,0,60,0.25);
}
.book-card h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
}
.book-card .sub {
  margin: 0 0 0.55rem;
  color: var(--gold-deep);
  font-size: 0.92rem;
}
.book-card p { margin: 0 0 0.7rem; color: var(--ink-soft); font-size: 0.95rem; }
.buy-links { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.buy-links a, .panel .buy-links a {
  text-decoration: none;
  border: 1px solid #a9aebb;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--purple-ink);
  background: var(--silver-grad);
  box-shadow: var(--emboss-silver);
}
.buy-links a:hover, .panel .buy-links a:hover { background: var(--gold-grad); border-color: #a8791c; color: var(--purple-ink); }

.comments-list { display: grid; gap: 0.75rem; margin-top: 0.75rem; }
.comment {
  border: 1px solid var(--silver);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: #fff;
}
.comment .who { font-weight: 700; color: var(--purple); margin-bottom: 0.25rem; }
.comment .body { color: var(--ink-soft); white-space: pre-wrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Cards inside grids sit level with each other */
.purpose-grid > .panel + .panel,
.books-grid > .panel + .panel { margin-top: 0; }

/* Honour the hidden attribute even on grid/flex elements */
[hidden] { display: none !important; }
.btn[disabled] { opacity: 0.72; }
.poll-preview-title { margin: 0 0 0.25rem; font-family: var(--font-display); font-size: 1.25rem; }

@media (max-width: 480px) {
  #books-root { padding: 0.8rem; }
  .book-card { grid-template-columns: 84px 1fr; gap: 0.8rem; padding: 1rem; }
  .book-card img { width: 84px; }
}

.books-group { margin-top: 1.4rem; }
.books-group:first-child { margin-top: 0; }
.books-group-title {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--purple);
}
.books-group-intro {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.availability-badge {
  display: inline-block;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--purple-ink);
  background: linear-gradient(180deg, #fff8e4, #f3e0a8);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(40,20,80,0.08);
}
