/* ==========================================================================
   PEACE TO YOU — kemaromuir.com/peace
   Mobile-first. The card, opened into a world.
   Palette is sampled from the physical card: ivory paper, deep navy, warm gold,
   dawn-blue mountains.
   ========================================================================== */

:root {
  --ivory: #FBF4E8;
  --cream: #FFFAEE;
  --paper: #F4E9D2;
  --navy: #0F2247;
  --navy-deep: #0A1630;
  --navy-soft: #3B4D75;
  --gold: #B87A2B;
  --gold-deep: #8A5A18;      /* small gold text — passes AA on ivory */
  --gold-light: #E8BE72;     /* gold on navy */
  --sky: #7C97BD;
  --haze: #DCE4EF;

  --display: "Playfair Display", "Times New Roman", Georgia, serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;

  --measure: 40rem;
  --gutter: 2rem;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --paper-texture: url("../assets/paper.png");
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 4.25rem;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--paper-texture), var(--ivory);
  font-family: var(--text);
  font-size: clamp(1.125rem, 1.04rem + .42vw, 1.3rem);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, figure, blockquote, dl, dd { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

[hidden] { display: none !important; }

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

.skip-link {
  position: absolute; left: .75rem; top: -4rem; z-index: 100;
  padding: .7rem 1rem; border-radius: 10px; background: var(--navy); color: var(--cream);
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: .75rem; }

/* ---------- Layout ---------- */

.wrap {
  width: min(100% - var(--gutter), 64rem);
  margin-inline: auto;
  text-align: center;
}
.wrap > * { max-width: var(--measure); margin-inline: auto; }
.wrap > .wide { max-width: none; }

.section { padding-block: clamp(4.5rem, 13vw, 8rem); position: relative; overflow-x: clip; }

section[id], [id="start"] { scroll-margin-top: 3.5rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 244, 232, .9);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
  backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid rgba(15, 34, 71, .1);
}
.site-header__bar {
  position: relative;
  width: min(100% - var(--gutter), 64rem);
  margin-inline: auto;
  min-height: 3.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: .25rem 1rem;
}

.brand {
  font-family: var(--display); font-weight: 800; text-decoration: none;
  text-transform: uppercase; letter-spacing: .09em; font-size: 1.08rem; color: var(--navy);
  padding-block: .6rem;
}
.brand span { font-size: .72em; letter-spacing: .12em; opacity: .85; }

.site-nav { display: flex; flex-wrap: wrap; gap: .1rem .25rem; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .35rem .75rem;
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  color: var(--navy-soft); transition: background .2s, color .2s;
}
.site-nav a:hover { background: rgba(184, 122, 43, .14); color: var(--navy); }

.nav-toggle { display: none; }

.js .nav-toggle {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .25rem .9rem;
  border: 1.5px solid rgba(15, 34, 71, .35); border-radius: 999px; background: transparent;
  color: var(--navy); font: 600 .9rem/1 var(--text); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.nav-toggle__icon, .nav-toggle__icon::before {
  display: block; width: 1rem; height: 2px; background: currentColor; position: relative; border-radius: 2px;
  transition: transform .25s var(--ease);
}
.nav-toggle__icon::before { content: ""; position: absolute; left: 0; top: -5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(5px) rotate(-90deg); }

@media (max-width: 47.99rem) {
  .js .site-nav {
    display: none; position: absolute; top: 100%; left: -1rem; right: -1rem; z-index: 5;
    flex-direction: column; gap: 0; padding: .5rem 1rem 1rem;
    background: var(--ivory); border-bottom: 1px solid rgba(15, 34, 71, .15);
    box-shadow: 0 24px 40px -24px rgba(15, 34, 71, .4);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav a {
    min-height: 3.5rem; padding-inline: 1rem; font-size: 1.15rem; border-radius: 12px;
    font-family: var(--display); font-weight: 700; color: var(--navy);
    border-bottom: 1px solid rgba(15, 34, 71, .08);
  }
}
@media (min-width: 48rem) {
  .js .nav-toggle { display: none; }
}

.progress { height: 3px; background: transparent; }
.progress i {
  display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--navy), var(--gold) 70%, var(--gold-light));
}

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .85s ease, transform .85s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.js .waiting li {
  opacity: 0; transform: translateY(12px);
  transition: opacity .7s ease, transform .7s var(--ease);
}
.js .waiting.is-visible li {
  opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 170ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .waiting li { opacity: 1; transform: none; transition: none; }
}

/* ---------- Type system: sentence → picture → punch → push ---------- */


.hero-title, .section-title, .punch, .statement, .name, .question, .triad, .closer strong,
.pillar__name, .pillar__punch, .start__title, .test-card h3, .bridger-card h3, .tagline {
  font-family: var(--display); text-wrap: balance;
}

.hero-title {
  margin-block: 1.1rem 0; font-weight: 800; letter-spacing: -.012em;
  font-size: clamp(2.35rem, 9.6vw, 4.7rem); line-height: 1.05; color: var(--navy);
}

.section-title {
  font-weight: 800; letter-spacing: -.01em; line-height: 1.1;
  font-size: clamp(2rem, 7.8vw, 3.5rem); margin-block: 0 clamp(2rem, 6vw, 3rem);
}
.section-title--caps {
  text-transform: uppercase; letter-spacing: .07em; font-size: clamp(1.9rem, 7.2vw, 3rem);
}

.sentence { font-size: 1.1em; line-height: 1.5; margin-block: .6em; text-wrap: pretty; }
.sentence--soft { color: var(--navy-soft); }
.sentence--lead {
  font-size: clamp(1.35rem, 5.3vw, 1.95rem); line-height: 1.35; font-weight: 600; text-wrap: balance;
}
.sentence strong { font-weight: 700; }

.statement {
  font-weight: 700; font-size: clamp(1.5rem, 5.8vw, 2.4rem); line-height: 1.2; margin-block: .7em;
}
.statement--soft { font-family: var(--text); font-weight: 600; font-style: italic; color: var(--navy-soft); font-size: clamp(1.3rem, 5vw, 1.9rem); }

.punch {
  font-weight: 800; letter-spacing: -.01em; line-height: 1.08;
  font-size: clamp(1.95rem, 7.6vw, 3.3rem);
  margin-block: clamp(2.25rem, 7vw, 4rem);
}
.punch--xl { font-size: clamp(2.7rem, 12.4vw, 5.6rem); line-height: 1; letter-spacing: -.02em; }
.punch--sm { font-size: clamp(1.45rem, 5.6vw, 2.25rem); }

.punch--gold, .tagline > span:first-child {
  color: var(--gold);
}
.punch--gold { padding-bottom: .16em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .punch--gold, .punch .punch--gold {
    background: linear-gradient(180deg, #B97C2A 10%, #9A6016 95%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
}

.push {
  margin-block: clamp(2.5rem, 8vw, 4rem) 0; font-style: italic; font-weight: 600;
  font-size: clamp(1.25rem, 4.8vw, 1.6rem); color: var(--gold-deep);
}
.push::after {
  content: ""; display: block; width: 1px; height: 3rem; margin: 1rem auto 0;
  background: linear-gradient(var(--gold), transparent);
}

.beat { margin-block: clamp(2.25rem, 7vw, 3.75rem); }
.beat--roomy { margin-block: clamp(3rem, 10vw, 5.5rem); }
.beat .punch { margin-block: .5em 0; }

.question {
  font-weight: 700; font-size: clamp(1.5rem, 5.8vw, 2.4rem); line-height: 1.22;
  margin-block: clamp(2.5rem, 8vw, 4.5rem) clamp(1rem, 4vw, 2rem);
}

/* Scripture */
.scripture { margin-block: clamp(2.5rem, 8vw, 4.5rem); position: relative; padding-top: 2rem; }
.scripture::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 3.5rem; height: 2px;
  transform: translateX(-50%); background: var(--gold);
}
.scripture p {
  font-style: italic; font-size: clamp(1.3rem, 5.1vw, 1.85rem); line-height: 1.4; text-wrap: balance;
}
.scripture figcaption {
  margin-top: .9rem; font-size: .95rem; letter-spacing: .08em; color: var(--gold-deep); font-weight: 600;
}
.scripture figcaption::before { content: "— "; }
.scripture--feature p { font-size: clamp(1.45rem, 5.9vw, 2.3rem); font-weight: 600; }
.monday .scripture p, .monday .scripture figcaption { color: var(--ivory); }

.triad { margin-block: clamp(3rem, 9vw, 5rem) 0; font-weight: 800; line-height: 1.2; font-size: clamp(1.45rem, 5.6vw, 2.3rem); }
.triad span { display: block; }
.triad__last { color: var(--gold); margin-top: .35em; font-size: 1.04em; }
.triad--tight { margin-block: clamp(2.5rem, 8vw, 4rem) 0; }

/* ---------- Buttons ---------- */

.cta-row { display: flex; flex-direction: column; gap: .8rem; margin-block: clamp(2.25rem, 6vw, 3rem) 0; }
.cta-row--single { margin-block: clamp(2.5rem, 7vw, 3.5rem) 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.6rem; padding: .95rem 1.7rem;
  border-radius: 999px; text-decoration: none; text-align: center;
  font: 700 .92rem/1.25 var(--text); letter-spacing: .1em; text-transform: uppercase;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
}
.btn:active { transform: scale(.98); }
.btn--primary {
  background: var(--navy); color: var(--cream);
  box-shadow: 0 14px 28px -14px rgba(15, 34, 71, .65), inset 0 0 0 1px rgba(232, 190, 114, .4);
}
.btn--primary:hover { background: var(--navy-deep); box-shadow: 0 18px 32px -14px rgba(15, 34, 71, .75), inset 0 0 0 1px var(--gold-light); }
.btn--ghost { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); background: rgba(255, 250, 238, .35); }
.btn--ghost:hover { background: var(--navy); color: var(--cream); }
.btn--lg { min-height: 4rem; font-size: 1rem; padding-inline: 2.2rem; }

@media (min-width: 36rem) {
  .cta-row { flex-direction: row; justify-content: center; }
}

/* ---------- Icons (each drawn once in the symbol library at the top of the page) ---------- */

.icon {
  display: block; width: 1.5rem; height: 1.5rem; overflow: visible;
  fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}

/* ==========================================================================
   1 · HERO — Jesus for Monday
   ========================================================================== */

.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(2.5rem, 8vw, 5.5rem);
  padding-bottom: clamp(10rem, 30vw, 20rem);
  background:
    radial-gradient(70% 38% at 82% 100%, rgba(255, 228, 160, .95), rgba(255, 228, 160, 0) 70%),
    var(--paper-texture),
    linear-gradient(180deg, #FFFBF1 0%, var(--ivory) 45%, #F9E8C6 100%);
}

.waiting { margin-block: clamp(1.75rem, 5vw, 2.75rem) 0; }
.waiting li {
  font-style: italic; font-size: clamp(1.15rem, 4.6vw, 1.6rem); line-height: 1.35; color: var(--navy-soft);
  padding-block: .22em;
}
.waiting li:last-child { font-style: normal; font-weight: 600; color: var(--navy); }

.tagline {
  margin-block: clamp(2rem, 6vw, 3rem) 0; position: relative; padding-top: 1.75rem;
}
.tagline::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 3.5rem; height: 2px; transform: translateX(-50%); background: var(--gold);
}
.tagline > span:first-child {
  display: block; font-weight: 800; font-size: clamp(2rem, 8.8vw, 3.7rem); line-height: 1.05; letter-spacing: -.01em;
}
.tagline__sub {
  display: block; margin-top: .3em; font-family: var(--text); font-style: italic; font-weight: 600;
  font-size: clamp(1.25rem, 5vw, 1.8rem); color: var(--gold-deep);
}

/* The week: the light that usually stays on Saturday and Sunday reaches every day. */
.week { display: flex; gap: .35rem; max-width: 27rem; margin-block: clamp(1.5rem, 5vw, 2.25rem) 0; padding-top: .4rem; }
.day {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: .6rem;
  padding: .75rem 0 .8rem; border-radius: 12px;
  font: 700 clamp(.6rem, 2.6vw, .78rem)/1 var(--text); letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(180deg, #FFF6DC, #F6D898);
  border: 1px solid rgba(184, 122, 43, .55);
  box-shadow: 0 8px 18px -10px rgba(225, 165, 70, .9);
  transition: background .7s ease, border-color .7s ease, box-shadow .7s ease, color .7s ease, transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 190ms + 150ms);
}
.day i {
  display: block; width: .8rem; height: .8rem; border-radius: 50%;
  background: radial-gradient(circle, #FFF8E0 0 35%, #E9B45A 100%);
  box-shadow: 0 0 10px 2px rgba(245, 200, 110, .85);
  transition: inherit;
}
.day--mon {
  transform: translateY(-6px);
  background: linear-gradient(180deg, #FFF1C6, #F0BF68);
  box-shadow: 0 14px 28px -8px rgba(225, 150, 50, .95);
}
.day--mon i { transform: scale(1.7); }
/* Before it scrolls into view, only the weekend is lit. */
.js .week:not(.is-visible) .day:not(.day--weekend) {
  color: var(--navy-soft); background: rgba(15, 34, 71, .05); border-color: rgba(15, 34, 71, .14);
  box-shadow: none; transform: none;
}
.js .week:not(.is-visible) .day:not(.day--weekend) i {
  background: transparent; box-shadow: inset 0 0 0 1.5px rgba(15, 34, 71, .3); transform: none;
}

.meet .name {
  font-weight: 700; font-size: clamp(1.35rem, 5.2vw, 2.1rem); line-height: 1.25; margin-block: .3em .9em;
}

/* Video */
.video {
  position: relative; z-index: 2;
  width: min(100% - var(--gutter), 52rem);
  margin: clamp(3rem, 8vw, 4.5rem) auto 0;
  scroll-margin-top: 4.5rem;
}
.video__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
  background:
    radial-gradient(60% 70% at 75% 85%, rgba(255, 233, 176, .95), rgba(255, 233, 176, 0) 70%),
    linear-gradient(180deg, #0F2247 0%, #2B4778 55%, #D9B27C 100%);
  background-size: cover; background-position: center;
  box-shadow: 0 40px 70px -40px rgba(15, 34, 71, .75), 0 0 0 1px rgba(15, 34, 71, .25);
}
.video__frame iframe, .video__frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000;
}
.video__play { display: none; }
.video__note {
  position: absolute; inset: 0; display: grid; place-content: center; padding: 1rem; text-align: center;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 4.6vw, 1.9rem); color: var(--cream); line-height: 1.3;
}
.video__note span { font-family: var(--text); font-weight: 400; font-style: italic; font-size: .8em; color: var(--gold-light); }
.video.is-ready .video__note { display: none; }
.video.is-ready .video__play {
  display: grid; place-items: center; position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  background: linear-gradient(180deg, rgba(10, 22, 48, .05), rgba(10, 22, 48, .35)); color: var(--cream);
}
.video__play svg { width: clamp(4.25rem, 16vw, 6rem); filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .4)); transition: transform .25s var(--ease); }
.video__play circle { fill: rgba(251, 244, 232, .16); stroke: var(--cream); stroke-width: 2.5; }
.video__play path { fill: var(--cream); }
.video__play:hover svg { transform: scale(1.08); }
.video.is-playing .video__play { display: none; }

/* Horizons — shared artwork */
.horizon { position: absolute; left: 0; bottom: 0; width: 100%; height: clamp(9rem, 26vw, 21rem); display: block; pointer-events: none; }
.horizon--hero { --r1: #F1D7B0; --r2: #D4C9CB; --r3: #B6C6DD; --r4: #F2E6D0; }

/* ==========================================================================
   2 · STORY
   ========================================================================== */

.story {
  background:
    var(--paper-texture),
    linear-gradient(180deg, #F6EBD6 0%, #FFF9EC 18%, #FFFBF2 55%, #FBEFD6 100%);
}
.story .punch--xl { position: relative; }
.story .punch--xl::before {
  content: ""; position: absolute; inset: -30% 0; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 224, 150, .55), rgba(255, 224, 150, 0));
}

/* ==========================================================================
   3 · REALIZATION
   ========================================================================== */

.realization {
  background: linear-gradient(180deg, #FBEFD6 0%, #E7EDF5 14%, var(--haze) 52%, #E9EDF3 100%);
}

/* Emergency religion: a break-glass box */
.glass-box {
  width: min(100%, 20rem); margin-block: clamp(1.75rem, 5vw, 2.75rem);
  padding: .45rem .55rem .55rem; border-radius: 16px; background: #9E3B2E;
  box-shadow: 0 22px 36px -24px rgba(70, 15, 8, .7), inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 -3px 0 rgba(0, 0, 0, .15);
}
.glass-box__head, .glass-box__foot {
  padding: .4rem 0 .5rem; font: 700 .7rem/1 var(--text); letter-spacing: .26em; text-transform: uppercase; color: #FFF3E6;
}
.glass-box__foot { padding: .6rem 0 .3rem; }
.glass-box__glass {
  position: relative; overflow: hidden; display: grid; gap: .1rem; padding: 1rem .9rem;
  border-radius: 9px; background: linear-gradient(140deg, #F7F9FC 0%, #E2E9F3 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85), inset 0 3px 10px rgba(15, 34, 71, .22);
}
.glass-box__glass::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, transparent 0 28%, rgba(255, 255, 255, .85) 29% 33%, transparent 34% 42%, rgba(255, 255, 255, .6) 43% 45%, transparent 46%);
}
.glass-box__glass li { position: relative; padding-block: .3rem; font-size: 1.05rem; color: var(--navy-soft); }
.glass-box__glass b { color: var(--navy); margin-right: .2em; }

.what-about { max-width: 30rem; margin-block: clamp(2rem, 6vw, 3rem) clamp(2.5rem, 8vw, 4.5rem); text-align: left; }
.what-about li {
  display: flex; align-items: center; gap: .9rem;
  font-size: clamp(1.15rem, 4.6vw, 1.45rem); line-height: 1.35; padding-block: .7em;
  border-bottom: 1px solid rgba(15, 34, 71, .12);
}
.what-about li:last-child { border-bottom: 0; }
.what-about .icon {
  flex: none; width: 2.9rem; height: 2.9rem; padding: .55rem; border-radius: 50%;
  background: rgba(184, 122, 43, .14); color: var(--gold-deep);
}
.what-about strong { font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--gold); }

.venn { margin-block: clamp(2rem, 6vw, 3rem) 0; }
.venn svg { display: block; width: min(100%, 24rem); height: auto; margin-inline: auto; overflow: visible; }

/* ==========================================================================
   4 · THE CHIEF PROBLEM BRIDGER
   ========================================================================== */

.bridger { background: var(--ivory); }
.bridger__sky {
  background: var(--navy-deep); color: var(--ivory);
  padding-top: clamp(4.5rem, 13vw, 8rem);
}
.bridger__sky .section-title { color: var(--ivory); }
.bridger__sky .sentence--lead { color: var(--gold-light); }

.bridge-scene {
  position: relative; margin-top: clamp(2.5rem, 7vw, 4rem);
  aspect-ratio: 1 / 1; max-height: 44rem; width: 100%;
}
.bridge-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; max-width: none; }
.bridge-labels {
  position: absolute; left: 50%; bottom: 1rem; z-index: 2; transform: translateX(-50%);
  width: min(100% - var(--gutter), 40rem);
  display: flex; align-items: center; gap: .6rem; white-space: nowrap;
  font-size: clamp(.62rem, 2.7vw, .78rem); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--navy);
}
.bridge-labels__line { flex: 1; min-width: 1rem; height: 0; border-top: 2px dotted var(--gold-deep); }
@media (min-width: 48rem) { .bridge-scene { aspect-ratio: 16 / 8; } }

.bridger__body { padding-top: clamp(1rem, 4vw, 2rem); background: var(--ivory); }

.bridger-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; margin-block: clamp(2.5rem, 7vw, 4rem);
}
.bridger-card {
  display: grid; justify-items: center; align-content: start; gap: .35rem;
  padding: 1.3rem .85rem 1.2rem; border-radius: 20px;
  background: rgba(255, 252, 244, .85); border: 1px solid rgba(184, 122, 43, .35);
  box-shadow: 0 18px 36px -26px rgba(15, 34, 71, .5);
}
.bridger-card svg {
  width: 2.7rem; height: 2.7rem; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.bridger-card h3 { font-weight: 700; font-size: clamp(1.1rem, 4.4vw, 1.35rem); line-height: 1.2; margin-top: .3rem; }
.bridger-card p { font-style: italic; font-weight: 600; color: var(--gold-deep); font-size: clamp(1.05rem, 4.2vw, 1.25rem); line-height: 1.3; }
@media (min-width: 48rem) {
  .bridger-cards { grid-template-columns: repeat(4, 1fr); }
  .wrap > .bridger-cards { max-width: 64rem; }
}

.closer { margin-block: clamp(2.5rem, 8vw, 4.5rem); }
.closer span { display: block; font-size: clamp(1.2rem, 4.8vw, 1.6rem); color: var(--navy-soft); text-wrap: balance; }
.closer strong { display: block; margin-top: .2em; font-weight: 800; font-size: clamp(1.9rem, 7.6vw, 3.1rem); line-height: 1.1; }

/* The recurring Monday device */
.monday-question {
  margin-block: clamp(2.5rem, 8vw, 4.5rem) 0; padding: 1.6rem 1.25rem 1.7rem;
  border-radius: 22px; background: var(--navy); color: var(--cream);
  box-shadow: 0 30px 50px -30px rgba(15, 34, 71, .8), inset 0 0 0 1px rgba(232, 190, 114, .45);
}
.monday-question__label {
  font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--gold-light);
}
.monday-question__text {
  margin-top: .6rem; font-family: var(--text); font-style: italic; font-weight: 600;
  font-size: clamp(1.45rem, 5.8vw, 2.2rem); line-height: 1.25; text-wrap: balance;
}

/* ==========================================================================
   5 · THE UNIFIED LIFE
   ========================================================================== */

.unified {
  background: var(--paper-texture), linear-gradient(180deg, var(--ivory) 0%, #FFFBF1 40%, #F8EDD6 100%);
}

/* The house: the Source is the foundation, four pillars hold up one life. */
.house { margin-block: clamp(2.5rem, 7vw, 4rem) clamp(1rem, 4vw, 2rem); }
.house svg { display: block; width: min(100%, 30rem); height: auto; margin-inline: auto; overflow: visible; }
.house text { font-family: var(--display); }
.house .house__kicker { font-family: var(--text); font-size: 10.5px; font-weight: 700; letter-spacing: 2.6px; fill: #7A4D10; }
.house .house__source { font-size: 17px; font-weight: 800; fill: var(--navy); }
.house .house__life { font-size: 14.5px; font-weight: 800; letter-spacing: 1.8px; fill: #FFFAEE; }
.house .house__arenas { font-family: var(--text); font-size: 12.5px; font-weight: 600; fill: var(--gold-light); }
.house .house__pname { font-size: 13px; font-weight: 800; letter-spacing: 2px; fill: var(--navy); }
.house__cap { fill: #F3E8D2; stroke: rgba(15, 34, 71, .3); }
.house__shaft { stroke: rgba(15, 34, 71, .3); }
.house__icon { color: var(--gold-deep); fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
/* It builds itself: foundation, steps, pillars, beam, then the roof settles on top. */
.js .house .house__part { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .7s var(--ease); }
.js .house .house__roof { transform: translateY(-16px); }
.js .house.is-visible .house__part { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 130ms + 200ms); }

.pillars { display: grid; gap: 1.1rem; margin-block: clamp(3rem, 8vw, 4.5rem); text-align: left; }
@media (min-width: 56rem) { .pillars { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

.wrap > .pillars { max-width: 64rem; }

.pillar {
  position: relative;
  padding: 1.5rem 1.25rem 1.4rem; border-radius: 24px;
  background: rgba(255, 252, 244, .85); border: 1px solid rgba(184, 122, 43, .35);
  box-shadow: 0 24px 44px -30px rgba(15, 34, 71, .55);
}
.pillar__icon {
  float: right; width: 3.3rem; height: 3.3rem; margin: -.2rem -.2rem .6rem .8rem; padding: .6rem; border-radius: 50%;
  background: rgba(184, 122, 43, .12); color: var(--gold-deep);
}
.pillar__num { font-family: var(--display); font-style: italic; color: var(--gold); font-size: 1.1rem; font-weight: 500; }
.pillar__name { font-weight: 800; text-transform: uppercase; letter-spacing: .07em; font-size: clamp(1.7rem, 6.4vw, 2.2rem); line-height: 1.1; }
.pillar__tag { margin-top: .25rem; font-style: italic; font-weight: 600; font-size: 1.2rem; color: var(--gold-deep); }
.pillar__q { margin-top: 1rem; font-size: 1.1rem; font-weight: 600; color: var(--navy-soft); }
.pillar__punch { margin-top: 1.1rem; font-weight: 800; font-size: clamp(1.35rem, 5vw, 1.65rem); line-height: 1.2; }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: .9rem 0; }
.chips li {
  padding: .28rem .85rem; border-radius: 999px; font-size: .98rem; line-height: 1.4;
  background: rgba(15, 34, 71, .06); border: 1px solid rgba(15, 34, 71, .16);
}
.chips--light li { background: rgba(255, 255, 255, .07); border-color: rgba(232, 190, 114, .45); color: var(--cream); }

.imc {
  margin-block: 1.1rem 0; padding: 1rem 1rem 1.05rem; border-radius: 18px;
  background: rgba(15, 34, 71, .05); border: 1px solid rgba(15, 34, 71, .14);
}
.imc__title { font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.imc__body { display: grid; gap: 1rem; margin-top: .9rem; justify-items: center; }
.imc__compass { width: min(100%, 10.5rem); height: auto; }
.imc dl { display: grid; gap: .7rem; justify-self: stretch; }
.imc dt { display: flex; align-items: center; font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.2; }
.imc dd { color: var(--navy-soft); font-size: 1.05rem; padding-left: 1.5rem; }
@media (min-width: 30rem) {
  .imc__body { grid-template-columns: 9.5rem minmax(0, 1fr); align-items: center; gap: 1.25rem; }
  .imc__compass { width: 100%; }
}
/* Legend keys match the compass: gold centre, navy needle, hatched no-go zone */
.key { flex: none; display: inline-block; width: 1rem; height: 1rem; margin-right: .5rem; }
.key--identity { border-radius: 50%; background: #D9A24A; box-shadow: 0 0 0 2px #FFFDF6, 0 0 0 3px rgba(15, 34, 71, .3); }
.key--mission { background: var(--navy); clip-path: polygon(50% 0, 100% 100%, 50% 74%, 0 100%); }
.key--contrast { border-radius: 3px; border: 1.5px solid #9E3B2E; background: repeating-linear-gradient(45deg, #9E3B2E 0 1.5px, #F7E3DC 1.5px 4.5px); }

.monday-test {
  margin-block: 1.2rem 0; padding: .85rem 1rem .95rem; border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0; background: rgba(184, 122, 43, .1); font-weight: 600; line-height: 1.4;
}
.monday-test span {
  display: block; margin-bottom: .2rem; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep);
}


/* ==========================================================================
   6 · THE MONDAY TEST (the long dark before the dawn)
   ========================================================================== */

.monday {
  color: var(--ivory);
  background: linear-gradient(180deg, #0F2247 0%, var(--navy-deep) 55%, #0D1B3A 100%);
}
.monday { padding-bottom: clamp(13rem, 38vw, 19rem); }
.monday::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(11rem, 32vw, 16rem); pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 27, 58, 0) 0%, #2F4673 30%, #6F86AE 55%, #E8C48E 82%, #F3E9D4 100%);
}
.monday .section-title { color: var(--gold-light); }
.monday .sentence--lead { color: var(--cream); }
.monday .punch--gold {
  background: linear-gradient(180deg, #F8DA9A 10%, #D6A04A 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

.test-cards { display: grid; gap: 1rem; margin-block: clamp(3rem, 8vw, 4.5rem); text-align: left; }
.wrap > .test-cards { max-width: 64rem; }
.test-card {
  padding: 1.4rem 1.25rem 1.5rem; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid rgba(232, 190, 114, .32);
}
.test-card__head { display: flex; align-items: center; gap: .85rem; }
.test-card__head .icon {
  flex: none; width: 3rem; height: 3rem; padding: .55rem; border-radius: 50%;
  background: rgba(232, 190, 114, .14); color: var(--gold-light);
}
.test-card h3 { font-weight: 700; font-size: clamp(1.4rem, 5.4vw, 1.75rem); line-height: 1.2; color: var(--cream); }
.test-card__label { margin-top: .9rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--gold-light); }
.test-card .chips { margin-top: .6rem; }

@media (min-width: 40rem) {
  .test-cards { grid-template-columns: 1fr 1fr; }
  .test-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - 1rem) / 2); }
}
@media (min-width: 64rem) {
  .test-cards { grid-template-columns: repeat(6, 1fr); }
  .test-card { grid-column: span 2; }
  .test-card:last-child:nth-child(odd) { grid-column: span 2; width: auto; justify-self: stretch; }
  .test-card:nth-child(4) { grid-column: 2 / span 2; }
  .test-card:nth-child(5) { grid-column: 4 / span 2; }
}

.monday-defining { margin-block: clamp(2.5rem, 8vw, 4.5rem); }
.monday-defining .punch { margin-block: .35em; }
.monday .punch { color: var(--cream); }
.monday .punch--gold { color: transparent; }


/* ==========================================================================
   7 · THE SOURCE — the quietest, lightest part of the page
   ========================================================================== */

.source {
  padding-block: clamp(6rem, 18vw, 11rem);
  background: var(--paper-texture), linear-gradient(180deg, #F3E9D4 0%, #FFFBF1 14%, #FFFBF1 78%, #FBEFD2 100%);
}
.source .punch { margin-block: clamp(3rem, 10vw, 5.5rem); }
.source .sentence { font-size: clamp(1.2rem, 4.8vw, 1.55rem); }

.start { margin-block: clamp(4rem, 12vw, 7rem); }
.start__title { font-weight: 800; font-size: clamp(1.9rem, 7.4vw, 3rem); line-height: 1.12; }
.prayer {
  margin: clamp(1.75rem, 5vw, 2.5rem) auto 0; padding: clamp(2rem, 7vw, 3.25rem) 1.5rem; border-radius: 28px;
  background: var(--paper-texture), #FFFDF6;
  border: 1px solid rgba(184, 122, 43, .45);
  box-shadow: 0 36px 60px -38px rgba(15, 34, 71, .55), inset 0 0 0 7px #FFFDF6, inset 0 0 0 8px rgba(184, 122, 43, .28);
}
.prayer p { font-size: clamp(1.28rem, 5vw, 1.6rem); line-height: 1.5; }
.prayer p + p { margin-top: 1.5em; }
.prayer__amen { font-style: italic; font-weight: 600; color: var(--gold-deep); }

/* ==========================================================================
   FINAL CLOSE — first light
   ========================================================================== */

.close {
  position: relative; overflow: hidden; text-align: center;
  padding-top: clamp(5rem, 14vw, 8rem);
  background: linear-gradient(180deg, #FBEFD2 0%, #F8DDAA 50%, #F3C98E 100%);
}
.close .wrap { position: relative; z-index: 2; padding-bottom: clamp(13rem, 44vw, 24rem); }
.close .punch { margin-block: .2em; }
.close .punch--gold {
  background: linear-gradient(180deg, #9A6016 10%, #7A4D10 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.close-scene { position: absolute; left: 0; bottom: 0; width: 100%; max-width: none; height: clamp(14rem, 46vw, 26rem); display: block; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: var(--ivory); padding-block: 2.5rem 3rem; text-align: center; }
.site-footer__brand {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 1.1rem;
}
.site-footer__brand span { font-size: .72em; opacity: .85; }
.site-footer__tag { margin-top: .3rem; font-style: italic; color: var(--gold-light); }
.site-footer__legal { margin-top: 1.1rem; font-size: .8rem; line-height: 1.55; color: rgba(251, 244, 232, .72); }
.site-footer__legal + .site-footer__legal { margin-top: .5rem; }
.site-footer .wrap > * { max-width: 34rem; }

/* ---------- Reduced motion: later rules (house, week, buttons) also arrive in their final state ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .house .house__part { opacity: 1; transform: none; transition: none; }
  .day, .day i, .btn { transition: none; }
}

/* ==========================================================================
   Folding cards: the four pillars and the Monday Test areas open on tap
   ========================================================================== */

.fold__summary { display: block; cursor: pointer; list-style: none; border-radius: 16px; }
.fold__summary::-webkit-details-marker { display: none; }
.fold__summary:focus-visible { outline-offset: 6px; }
.fold__chev { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.fold[open] .fold__chev { transform: rotate(180deg); }
.fold[open] .fold__body { animation: fold-in .35s var(--ease); }
@keyframes fold-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* pillars */
.pillars { align-items: start; }
.pillar.fold { padding-block: 1.25rem 1.1rem; }
.fold__hint {
  display: flex; align-items: center; gap: .35rem; clear: both; margin-top: .8rem;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep);
}
.pillar[open] .fold__hint { display: none; }
.pillar .fold__body { padding-top: .2rem; }

/* monday test */
.test-cards { align-items: start; }
.test-card.fold { padding-block: 1.1rem; }
.test-card__head.fold__summary { display: flex; }
.test-card__head h3 { flex: 1; }
.test-card .fold__chev { color: var(--gold-light); }
.test-card .fold__body { padding-left: 3.85rem; }

@media (prefers-reduced-motion: reduce) {
  .fold__chev { transition: none; }
  .fold[open] .fold__body { animation: none; }
}

.pillar__num, .pillar__tag { display: block; }
