/* ============================================================
   Revelation COGIC — Candlelit Chapel (warm dark)
   Reverent dark mode. Brass/copper accent. Newsreader serif + Inter body.
   ============================================================ */

:root {
  /* Warm dark palette — reads as "candlelit chapel," not "tech bunker" */
  --bg: #11131a;
  --bg-elev-1: #181b25;
  --bg-elev-2: #232733;
  --bg-elev-3: #2c3140;
  --line: rgba(244, 237, 225, 0.08);
  --line-strong: rgba(244, 237, 225, 0.16);
  --text: #f4ede1;
  --text-muted: #98978f;
  --text-dim: #5e5d57;
  --copper: #d4894a;
  --copper-bright: #ecb070;
  --copper-soft: rgba(212, 137, 74, 0.16);
  --wine: #6b2230;
  --wine-bright: #a04054;
  --rose: #c45f5f;

  --font-display: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --font-heading: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --step-0: clamp(0.95rem, 0.92rem + 0.15vw, 1.03rem);
  --step-1: clamp(1.04rem, 1rem + 0.2vw, 1.15rem);
  --step-2: clamp(1.2rem, 1.14rem + 0.32vw, 1.42rem);
  --step-3: clamp(1.5rem, 1.4rem + 0.5vw, 1.85rem);
  --step-4: clamp(2rem, 1.7rem + 1.4vw, 2.85rem);
  --step-5: clamp(2.7rem, 2.1rem + 2.8vw, 4.4rem);
  --step-6: clamp(3.6rem, 2.6rem + 4.6vw, 6.8rem);
  --step-7: clamp(4.6rem, 3rem + 7.5vw, 9.2rem);

  --maxw: 1280px;
  --maxw-narrow: 880px;
  --pad-2xl: clamp(5rem, 8vw, 9rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  /* Candle-glow ambient light, not stage spotlight */
  background-image:
    radial-gradient(ellipse 1600px 1000px at 80% -10%, rgba(212, 137, 74, 0.07), transparent 65%),
    radial-gradient(ellipse 1200px 900px at -10% 100%, rgba(107, 34, 48, 0.06), transparent 70%);
  background-attachment: fixed;
  overflow-x: clip;
}

/* Subtle grain — softened, less film-stock, more warm room */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 0.96 0 0 0 0 0.88 0 0 0 0.03 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  mix-blend-mode: overlay;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
/* Headings use Newsreader serif — reverent, not "startup grotesque" */
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-heading); font-weight: 400; line-height: 1.08; letter-spacing: -0.012em; }
h1 { font-size: var(--step-6); font-weight: 400; }
h2 { font-size: var(--step-5); font-weight: 400; }
h3 { font-size: var(--step-4); font-weight: 500; }
h4 { font-size: var(--step-3); font-weight: 500; }
p { margin: 0 0 1em; }

.serif { font-family: var(--font-display); font-style: italic; font-weight: 400; }

/* Utilities */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 2; }
.narrow { max-width: var(--maxw-narrow); margin-inline: auto; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--copper-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--copper);
  display: inline-block;
}

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--copper); color: var(--bg); padding: 0.7rem 1rem; z-index: 999; }
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ===== Marquee ===== */
.marquee {
  background: var(--bg-elev-1);
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.6rem 0;
  text-align: center;
  font-weight: 500;
  position: relative; z-index: 3;
}
.marquee b { color: var(--copper-bright); font-weight: 600; }
.marquee a { color: var(--copper-bright); border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 16, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; line-height: 1; }
.brand__mark {
  width: 38px; height: 38px;
  background: linear-gradient(155deg, var(--copper) 0%, var(--copper-bright) 100%);
  display: grid; place-items: center;
  color: var(--bg);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 400;
  flex-shrink: 0;
  box-shadow: 0 6px 20px -6px rgba(212, 137, 74, 0.5);
}
.brand__text { display: flex; flex-direction: column; gap: 0.18rem; }
.brand__name {
  font-size: 0.96rem;
  letter-spacing: -0.005em;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 600;
}
.brand__sub {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-weight: 500;
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
  transition: color 200ms ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--copper);
}
.nav__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--copper);
  color: var(--bg);
  padding: 0.7rem 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-family: var(--font-body);
  transition: background 200ms ease, transform 200ms ease;
}
.nav__cta:hover { background: var(--copper-bright); transform: translateY(-1px); }
.nav__toggle { display: none; }
@media (max-width: 940px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border: 1px solid var(--line-strong);
    color: var(--text);
  }
  body.is-menu-open .nav__drawer { transform: translateX(0); }
}
.nav__drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 380px);
  background: var(--bg-elev-1);
  padding: 5rem 1.8rem 2rem;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 60;
  display: flex; flex-direction: column; gap: 0.5rem;
  border-left: 1px solid var(--line);
}
.nav__drawer a { font-family: var(--font-heading); font-size: 1.6rem; color: var(--text); padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.nav__drawer a:last-of-type { border-bottom: 0; }
.nav__drawer-close { position: absolute; top: 1.2rem; right: 1.2rem; font-size: 1.6rem; color: var(--text-muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 1rem 1.5rem;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-family: var(--font-body);
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
  border-radius: 0;
  border: 1px solid transparent;
}
.btn--primary { background: var(--copper); color: var(--bg); }
.btn--primary:hover { background: var(--copper-bright); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--copper); color: var(--copper-bright); }
.btn--quiet {
  padding: 0; background: transparent; color: var(--copper-bright);
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  position: relative;
}
.btn--quiet::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; opacity: 0.4; }
.btn--quiet:hover::after { opacity: 1; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 9rem) 0 clamp(5rem, 9vw, 9rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 70% 40%, rgba(212, 137, 74, 0.12), transparent 60%),
    radial-gradient(ellipse 900px 600px at 20% 80%, rgba(45, 111, 106, 0.1), transparent 65%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 2;
}
.hero__badge {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper-bright);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line-strong);
  background: rgba(244, 237, 225, 0.02);
  width: fit-content;
}
.hero__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--copper-bright); box-shadow: 0 0 10px var(--copper-bright); }
.hero__title {
  font-family: var(--font-heading);
  font-size: var(--step-7);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: var(--text);
  margin: 1.6rem 0 1.5rem;
}
.hero__title .accent {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--copper-bright);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero__sub {
  font-size: var(--step-2);
  font-family: var(--font-body);
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 0 2.5rem;
  line-height: 1.5;
  font-weight: 400;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Hero stats strip */
.hero__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(3rem, 6vw, 5.5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  position: relative; z-index: 2;
}
@media (max-width: 880px) { .hero__strip { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; } }
.stat { padding: 0 1.6rem; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; padding-right: 0; }
@media (max-width: 880px) { .stat { padding: 0 1rem; } .stat:nth-child(2n) { border-right: 0; } }
.stat__big {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 0.9;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.stat__big em { color: var(--copper-bright); }
.stat__lbl {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}

/* ===== Sections ===== */
.section { padding: var(--pad-2xl) 0; position: relative; }
.section--elev { background: var(--bg-elev-1); border-block: 1px solid var(--line); }
.section--copper {
  background: linear-gradient(170deg, #2a1c14 0%, #1d1410 100%);
  border-block: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.section--copper::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(240, 162, 94, 0.16), transparent 55%),
    radial-gradient(circle at 15% 80%, rgba(212, 137, 74, 0.08), transparent 60%);
}

.section__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}
@media (max-width: 800px) { .section__head { grid-template-columns: 1fr; gap: 1.4rem; } }
.section__head h2 { max-width: 18ch; }
.section__head .lede { font-family: var(--font-display); font-style: italic; font-size: var(--step-3); line-height: 1.3; color: var(--text-muted); max-width: 52ch; margin: 0; font-weight: 400; }

/* ===== Service times card ===== */
.svc-card {
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: grid; gap: 1.4rem;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.svc-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--copper), transparent);
}
.svc-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1.5rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.svc-row:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-row__day { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }
.svc-row__name { font-family: var(--font-heading); font-size: var(--step-3); color: var(--text); font-weight: 500; line-height: 1.2; }
.svc-row__name small { display: block; font-family: var(--font-body); font-size: 0.84rem; color: var(--text-muted); font-weight: 400; margin-top: 0.4rem; letter-spacing: 0; text-transform: none; }
.svc-row__time { font-family: var(--font-display); font-style: italic; color: var(--copper-bright); font-size: 1.6rem; line-height: 1; white-space: nowrap; }

/* ===== Bento grid for ministries / split-content sections ===== */
.bento { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.bento--3 { grid-template-columns: repeat(3, 1fr); }
.bento--4 { grid-template-columns: repeat(4, 1fr); }
.bento--mixed { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.bento--mixed > :first-child { grid-row: 1 / 3; }
@media (max-width: 880px) { .bento--3, .bento--4 { grid-template-columns: 1fr 1fr; } .bento--mixed { grid-template-columns: 1fr; grid-template-rows: auto; } .bento--mixed > :first-child { grid-row: auto; } }
@media (max-width: 560px) { .bento--3 { grid-template-columns: 1fr; } }
.bento-cell {
  background: var(--bg);
  padding: 2rem 1.7rem;
  position: relative;
  transition: background 220ms ease;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.bento-cell:hover { background: var(--bg-elev-1); }
.bento-cell__tag {
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 0.3rem;
}
.bento-cell h4 { font-family: var(--font-heading); font-size: var(--step-3); color: var(--text); font-weight: 500; line-height: 1.15; }
.bento-cell p { color: var(--text-muted); font-size: 0.95rem; margin: 0; line-height: 1.55; }
.bento-cell__num { font-family: var(--font-display); font-style: italic; font-size: 0.92rem; color: var(--text-dim); position: absolute; top: 1.4rem; right: 1.5rem; }

.bento-cell--feature {
  background: var(--bg-elev-2);
  padding: 2.6rem 2.2rem;
}
.bento-cell--feature h4 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.bento-cell--feature p { font-size: 1.05rem; max-width: 36ch; }

/* ===== Pastor / portrait block ===== */
.pastor {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 800px) { .pastor { grid-template-columns: 1fr; } }
.pastor__visual {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse at 60% 30%, rgba(212, 137, 74, 0.45), transparent 55%),
    linear-gradient(155deg, #2c1f17 0%, #15110d 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.pastor__visual::after {
  content: "RDS";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(7rem, 14vw, 12rem);
  color: rgba(240, 162, 94, 0.16);
  font-weight: 400;
  letter-spacing: -0.04em;
}
.pastor__visual::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 12, 16, 0.85) 100%);
}
.pastor__cap {
  position: absolute; left: 1.5rem; bottom: 1.4rem; z-index: 2;
}
.pastor__cap b { font-family: var(--font-heading); display: block; font-size: 1.1rem; color: var(--text); font-weight: 600; letter-spacing: -0.005em; }
.pastor__cap small { font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--copper-bright); font-weight: 600; display: block; margin-top: 0.3rem; }
.pastor__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-4);
  line-height: 1.3;
  color: var(--text);
  margin: 1rem 0 1.6rem;
  font-weight: 400;
}
.pastor__quote::before { content: "“"; color: var(--copper); }
.pastor__quote::after { content: "”"; color: var(--copper); }

/* ===== Watch live block ===== */
.live { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: stretch; }
@media (max-width: 900px) { .live { grid-template-columns: 1fr; } }
.live__player {
  aspect-ratio: 16 / 9;
  background: var(--bg-elev-2);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.live__poster {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(212, 137, 74, 0.22), transparent 60%),
    linear-gradient(165deg, #1f1812 0%, #15110d 100%);
  display: grid; place-items: center;
  text-align: center;
}
.live__pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(212, 80, 79, 0.14);
  color: #f78c8b;
  padding: 0.45rem 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(212, 80, 79, 0.3);
}
.live__pill::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #d4504f;
  box-shadow: 0 0 0 0 rgba(212, 80, 79, 0.6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 80, 79, 0.6); } 70% { box-shadow: 0 0 0 14px rgba(212, 80, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 80, 79, 0); } }
.live__poster h3 { color: var(--text); font-size: var(--step-3); margin-bottom: 0.4rem; }
.live__poster p { font-family: var(--font-display); font-style: italic; color: var(--copper-bright); margin-bottom: 1.4rem; }

.live__side { display: flex; flex-direction: column; gap: 1.2rem; padding: 1.5rem 0; }
.live__times { font-family: var(--font-display); font-size: var(--step-3); color: var(--text); line-height: 1.4; font-style: italic; }
.live__times b { color: var(--copper-bright); font-style: normal; font-family: var(--font-heading); font-weight: 500; }

/* Replay grid */
.replays { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .replays { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .replays { grid-template-columns: 1fr; } }
.replay {
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color 220ms ease, transform 220ms ease;
}
.replay:hover { border-color: var(--copper); transform: translateY(-3px); }
.replay__thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, #2c1f17 0%, #15110d 100%);
  position: relative;
  display: grid; place-items: center;
}
.replay__thumb::after { content: "▷"; color: var(--copper-bright); font-size: 2.4rem; }
.replay__tag {
  position: absolute; top: 0.6rem; left: 0.6rem;
  background: var(--bg);
  color: var(--copper-bright);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.32rem 0.6rem;
  font-weight: 600;
  border: 1px solid var(--line-strong);
}
.replay__body { padding: 1.3rem 1.4rem 1.5rem; }
.replay h5 { font-family: var(--font-heading); font-size: 1.15rem; color: var(--text); margin: 0 0 0.4rem; font-weight: 500; line-height: 1.25; }
.replay small { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }

/* ===== Quote band ===== */
.qband {
  text-align: center;
  padding: var(--pad-2xl) 0;
  background: var(--bg-elev-1);
  border-block: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.qband::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 50%, rgba(212, 137, 74, 0.08), transparent 70%);
}
.qband blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-5);
  line-height: 1.18;
  color: var(--text);
  font-weight: 400;
  margin: 0 auto;
  max-width: 24ch;
  position: relative; z-index: 2;
}
.qband blockquote .accent { color: var(--copper-bright); }
.qband cite { display: block; margin-top: 1.5rem; font-family: var(--font-body); font-style: normal; font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--copper); font-weight: 600; }

/* ===== Page hero (subpages) ===== */
.phero { padding: clamp(3rem, 6vw, 6rem) 0 clamp(2rem, 4vw, 4rem); border-bottom: 1px solid var(--line); position: relative; }
.phero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 600px 400px at 80% 50%, rgba(212, 137, 74, 0.08), transparent 60%); pointer-events: none; }
.phero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: end; position: relative; z-index: 2; }
@media (max-width: 760px) { .phero__grid { grid-template-columns: 1fr; gap: 1.4rem; } }
.phero h1 { font-size: var(--step-6); font-weight: 400; line-height: 0.96; margin: 1rem 0 0; font-family: var(--font-heading); letter-spacing: -0.035em; }
.phero h1 em { font-family: var(--font-display); font-style: italic; color: var(--copper-bright); font-weight: 400; }
.phero__intro { font-family: var(--font-display); font-style: italic; font-size: var(--step-2); line-height: 1.4; color: var(--text-muted); font-weight: 400; max-width: 44ch; }
.crumb { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }
.crumb a { color: var(--text-dim); }
.crumb a:hover { color: var(--copper-bright); }

/* ===== Prose ===== */
.prose { max-width: 64ch; font-size: var(--step-1); line-height: 1.75; color: var(--text-muted); }
.prose p { margin: 0 0 1.3em; }
.prose h3 { color: var(--text); margin: 2.5rem 0 1rem; font-size: var(--step-3); font-family: var(--font-heading); }
.prose strong { color: var(--text); font-weight: 600; }
.prose blockquote {
  margin: 2.5rem 0;
  padding: 0 0 0 2rem;
  border-left: 2px solid var(--copper);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-3);
  color: var(--text);
  line-height: 1.4;
}
.prose blockquote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--copper); margin-top: 0.9rem; font-weight: 600; }

/* ===== Bio grid ===== */
.bio-grid { display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
@media (max-width: 800px) { .bio-grid { grid-template-columns: 1fr; } }

/* ===== Timeline / succession ===== */
.tl { display: grid; gap: 0; margin: 1rem 0; }
.tl__row { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
@media (max-width: 600px) { .tl__row { grid-template-columns: 1fr; gap: 0.4rem; } }
.tl__year { font-family: var(--font-display); font-style: italic; color: var(--copper); font-size: 1.4rem; }
.tl__body h5 { font-family: var(--font-heading); font-size: 1.12rem; color: var(--text); margin: 0 0 0.3rem; font-weight: 600; }
.tl__body p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* ===== Visit cells ===== */
.visit-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 760px) { .visit-cells { grid-template-columns: 1fr; } }
.vcell { background: var(--bg); padding: 2.4rem 1.8rem; }
.vcell h4 { font-family: var(--font-heading); font-size: var(--step-2); color: var(--text); margin: 0 0 0.7rem; font-weight: 500; }
.vcell p { color: var(--text-muted); font-size: 0.94rem; margin: 0; line-height: 1.6; }

/* ===== FAQ ===== */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1.6rem 0; }
.faq summary {
  font-family: var(--font-heading);
  font-size: var(--step-3);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 2rem; color: var(--copper); line-height: 1; transition: transform 220ms ease; }
.faq details[open] summary::after { content: "−"; }
.faq details > p { margin-top: 1rem; max-width: 64ch; color: var(--text-muted); font-size: 1rem; line-height: 1.7; }

/* ===== Give cards ===== */
.give-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 880px) { .give-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .give-grid { grid-template-columns: 1fr; } }
.give-card {
  background: var(--bg);
  padding: 2.2rem 1.8rem;
  display: flex; flex-direction: column; gap: 0.8rem;
  transition: background 220ms ease;
}
.give-card:hover { background: var(--bg-elev-1); }
.give-card__num { font-family: var(--font-display); font-style: italic; color: var(--copper); font-size: 0.95rem; }
.give-card h4 { font-family: var(--font-heading); font-size: var(--step-2); color: var(--text); font-weight: 500; }
.give-card p { color: var(--text-muted); font-size: 0.94rem; margin: 0; flex: 1; }
.give-card .give-card__cta { font-family: var(--font-heading); color: var(--copper-bright); font-weight: 500; font-size: 1.05rem; padding-top: 0.8rem; border-top: 1px solid var(--line); margin-top: auto; }

/* ===== Forms ===== */
.form-stack { display: grid; gap: 1.2rem; max-width: 580px; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper-bright); font-weight: 600; }
.field input, .field textarea, .field select {
  border: 0; border-bottom: 1px solid var(--line-strong);
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 0;
  color: var(--text);
  border-radius: 0;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-bottom-color: var(--copper); }
.field select { background: var(--bg); padding: 0.8rem 0; }
.field option { background: var(--bg); color: var(--text); }

/* ===== Map ===== */
.map { aspect-ratio: 16 / 9; background: var(--bg-elev-1); border: 1px solid var(--line); position: relative; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(0.9) hue-rotate(180deg) saturate(0.7) brightness(0.9); }

/* ===== Footer ===== */
.foot {
  background: linear-gradient(180deg, var(--bg) 0%, #050608 100%);
  color: var(--text-muted);
  padding: var(--pad-2xl) 0 2rem;
  margin-top: 5rem;
  border-top: 1px solid var(--line);
}
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
@media (max-width: 880px) { .foot__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }
.foot h5 { font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--copper); margin: 0 0 1.2rem; font-family: var(--font-body); font-weight: 600; }
.foot a { color: var(--text-muted); transition: color 200ms ease; display: block; padding: 0.25rem 0; font-size: 0.92rem; }
.foot a:hover { color: var(--copper-bright); }
.foot__lede { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; line-height: 1.4; color: var(--text); margin: 1.4rem 0; max-width: 30ch; font-weight: 400; }
.foot__lede em { color: var(--copper-bright); }
.foot__bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.foot__bottom a { display: inline; padding: 0; font-size: 0.78rem; }

/* ===== 404 ===== */
.notfound { min-height: 70vh; display: grid; place-items: center; padding: 5rem 0; text-align: center; }
.notfound__num { font-family: var(--font-display); font-style: italic; font-size: clamp(7rem, 18vw, 14rem); color: var(--copper); line-height: 0.9; }

/* ===== Reveal ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 700ms ease; }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ===== Page transitions (per website-build-standards skill) =====
   Native View Transitions API. Compositor-driven, runs at 60fps. */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 420ms;
  animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
}
::view-transition-old(root) { animation-name: vtFadeOut; }
::view-transition-new(root) { animation-name: vtFadeIn; }
@keyframes vtFadeOut { to { opacity: 0; } }
@keyframes vtFadeIn  { from { opacity: 0; } }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageIn 420ms cubic-bezier(0.32, 0.72, 0, 1) both; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  body { animation: none; }
}

/* ============================================================
   Mobile optimizations
   ============================================================ */
@media (max-width: 720px) {
  .container { padding: 0 1.2rem; }

  /* Force inline 2-col grids to collapse on mobile */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1.3fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* 4-col allocation pie → 2x2 on mobile */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Marquee */
  .marquee { font-size: 0.62rem; letter-spacing: 0.1em; padding: 0.55rem 0; line-height: 1.5; }

  /* Section spacing — more breathing room */
  .section { padding: 4.5rem 0; }

  /* Hero */
  .hero { padding: 3rem 0 5rem; }
  .hero__title { font-size: clamp(2.3rem, 9vw, 3.4rem); line-height: 1; margin: 1.4rem 0; }
  .hero__sub { font-size: 1.05rem; max-width: none; margin-bottom: 2.2rem; }
  .hero__strip { gap: 1.4rem 0; padding-top: 2.4rem; margin-top: 3rem; }
  .stat { padding: 0 0.9rem; }
  .stat:first-child { padding-left: 0; }
  .stat__big { font-size: 2.1rem; }

  /* Section heads — stacked with breathing room */
  .section__head { gap: 1.2rem; margin-bottom: 3rem; }
  .section__head h2 { font-size: clamp(2rem, 7.5vw, 2.8rem); line-height: 1.05; }
  .section__head .lede { font-size: 1.05rem; }

  /* Subpage hero */
  .phero { padding: 2.8rem 0 2rem; }
  .phero h1 { font-size: clamp(2.2rem, 8vw, 3rem); line-height: 0.98; }
  .phero__intro { font-size: 1.05rem; }
  .phero__grid { gap: 1.6rem; }

  /* Brand subtitle: hide on mobile — eats vertical nav space */
  .brand__sub { display: none; }

  /* Drawer — wider, smaller text */
  .nav__drawer { width: min(92vw, 380px); padding: 4.5rem 1.6rem 2rem; }
  .nav__drawer a { font-size: 1.35rem; padding: 0.85rem 0; }

  /* Service-time card rows */
  .svc-row { grid-template-columns: 80px 1fr; gap: 0.7rem; padding-bottom: 1.1rem; align-items: start; }
  .svc-row__day { padding-top: 0.4rem; }
  .svc-row__name { grid-column: 2; }
  .svc-row__time { grid-column: 1 / -1; grid-row: 2; padding-left: 0; font-size: 1.5rem; }

  /* Pastor visual */
  .pastor__visual::after { font-size: 7.5rem; }

  /* Quote band */
  .qband { padding: 4.5rem 0; }
  .qband blockquote { font-size: clamp(2rem, 8vw, 3rem); max-width: 18ch; }

  /* Buttons */
  .btn { padding: 0.95rem 1.3rem; font-size: 0.78rem; letter-spacing: 0.04em; }

  /* Footer */
  .foot { padding: 4.5rem 0 2rem; margin-top: 3.5rem; }
  .foot__grid { gap: 2.4rem; margin-bottom: 2.8rem; }
  .foot__bottom { font-size: 0.72rem; gap: 0.6rem; }

  /* Live block padding */
  .live__side { padding: 0; }

  /* FAQ summary slightly smaller */
  .faq summary { font-size: clamp(1.3rem, 5vw, 1.6rem); gap: 1rem; }
  .faq summary::after { font-size: 1.5rem; }

  /* 404 */
  .notfound__num { font-size: clamp(5.5rem, 22vw, 8rem); }

  /* Replays grid: tighter */
  .replays { gap: 1rem; }

  /* Bento cards: tighter padding */
  .bento-cell { padding: 1.6rem 1.3rem; }
  .bento-cell--feature { padding: 2rem 1.5rem; }

  .form-stack { gap: 1rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .marquee { font-size: 0.6rem; letter-spacing: 0.08em; }

  .hero__title { font-size: clamp(2.1rem, 11vw, 3rem); }
  .phero h1 { font-size: clamp(1.95rem, 10vw, 2.6rem); }
  .qband blockquote { font-size: clamp(1.7rem, 9vw, 2.4rem); }

  .section { padding: 3.2rem 0; }
  .qband { padding: 3.5rem 0; }

  /* Hero stats: 4-col to 2-col with extra breathing */
  .hero__strip { grid-template-columns: repeat(2, 1fr) !important; gap: 1.6rem 0.5rem; }
  .stat { border-right: 0; padding: 0 0.5rem; }

  /* Hero CTAs full width for easier tap */
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }

  /* Give cards: tighter */
  .give-card { padding: 1.7rem 1.4rem; }
}

@media print { .nav, .marquee, .foot, .nav__cta, .btn { display: none; } body { background: white; color: black; } body::before { display: none; } }
