/* ============================================================
   FORGIVENESS — A Ministry of Reconciliation
   Stylesheet. All art is CSS + inline SVG. No image assets.
   ============================================================ */

:root {
  --ink:        #0b0910;
  --ink-2:      #121020;
  --ink-3:      #1b1728;
  --stone:      #221c2e;
  --gold:       #c9a227;
  --gold-lit:   #f2dc9b;
  --gold-dim:   #8a6f2a;
  --oxblood:    #6d1f2c;
  --parch:      #f6efdc;
  --parch-2:    #ece1c7;
  --parch-3:    #dfd0ac;
  --text-dark:  #241d2c;
  --text-mid:   #4a4055;
  --text-light: #efe7d6;
  --text-dim:   #b6aac4;

  --serif-display: "Cormorant Garamond", "Times New Roman", serif;
  --serif-body:    "EB Garamond", Georgia, serif;

  --wrap: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-light);
  font-family: var(--serif-body);
  font-size: 1.125rem;
  line-height: 1.72;
  font-feature-settings: "liga" 1, "kern" 1;
  font-variant-numeric: lining-nums tabular-nums;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--serif-display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.005em; }
a { color: inherit; }
strong { font-weight: 500; color: var(--gold-lit); }

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

.skip {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--gold); color: var(--ink); padding: .7rem 1.2rem;
  font-family: var(--serif-body); text-decoration: none; border-radius: 2px;
  transition: top .2s var(--ease);
}
.skip:focus { top: 1rem; }

:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-lit);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 3rem, 800px); }

/* Paper grain over everything, very faint */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ══════════════ HEADER ══════════════ */

.site-head {
  position: sticky; top: 0; z-index: 80;
  background: rgba(9,7,14,.9);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(201,162,39,.18);
}
.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; min-height: 74px;
}
.wordmark { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.wordmark-glyph { color: var(--gold); font-size: 1.15rem; line-height: 1; }
.wordmark-text {
  font-family: var(--serif-display);
  font-size: 1.45rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--parch); font-weight: 500;
}
.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  font-family: var(--serif-body);
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--text-dim);
  transition: color .25s var(--ease);
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover, .nav a:focus-visible { color: var(--gold-lit); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.nav-cta {
  border: 1px solid rgba(201,162,39,.55);
  padding: .55rem 1.1rem; color: var(--gold-lit) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: rgba(201,162,39,.12); }

.nav-toggle { display: none; }
.nav-toggle span { display: block; width: 26px; height: 1px; background: var(--gold-lit); }

/* ══════════════ BUTTONS ══════════════ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--serif-body);
  font-size: .84rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 1rem 1.9rem; border: 1px solid transparent; border-radius: 2px;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(168deg, #e6c96f 0%, var(--gold) 46%, #a8831c 100%);
  color: #1a1408; border-color: #d8b94f;
  box-shadow: 0 10px 30px -12px rgba(201,162,39,.75), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn-gold:hover { box-shadow: 0 16px 44px -14px rgba(201,162,39,.9), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-gold::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.btn-gold:hover::after { transform: translateX(120%); }

.btn-ghost { border-color: rgba(201,162,39,.42); color: var(--gold-lit); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); background: rgba(201,162,39,.1); }

.btn-dark { background: var(--ink); color: var(--parch); border-color: var(--ink); }
.btn-dark:hover { background: var(--oxblood); border-color: var(--oxblood); color: #fff; }

.btn-sm { padding: .72rem 1.3rem; font-size: .76rem; }
.btn-lg { padding: 1.15rem 2.6rem; font-size: .88rem; }

/* ══════════════ BANDS ══════════════ */

.band { position: relative; padding: clamp(4.5rem, 9vw, 8rem) 0; }

.band-parchment {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #fdf8ea 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 100% 100%, #e6d9b9 0%, transparent 70%),
    var(--parch);
  color: var(--text-dark);
}
.band-parchment::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(120,95,40,.045) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 20% 30%, rgba(140,110,50,.07), transparent 45%);
  opacity: .8;
}
.band-parchment > .wrap { position: relative; z-index: 1; }

.band-dark { background: var(--ink-2); color: var(--text-light); }
.band-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201,162,39,.07), transparent 70%);
}
.band-dark > .wrap { position: relative; z-index: 1; }

.band-stone { background: linear-gradient(180deg, var(--stone), var(--ink-2)); color: var(--text-light); }
.band-stone > .wrap { position: relative; z-index: 1; }

.kicker {
  font-family: var(--serif-body);
  font-size: .74rem; letter-spacing: .34em; text-transform: uppercase;
  color: #7a5f1c; margin: 0 0 1rem;
}
.sec-head { max-width: 660px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.01em; }
.sec-head h2 em { color: var(--gold-dim); }
.sec-sub { margin-top: 1.2rem; font-size: 1.06rem; color: var(--text-mid); max-width: 56ch; }

.sec-head-light .kicker { color: var(--gold); }
.sec-head-light h2 { color: var(--parch); }
.sec-head-light .sec-sub { color: var(--text-dim); }

/* ══════════════ HERO ══════════════ */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(7rem, 11vw, 10rem);
  background:
    radial-gradient(ellipse 60% 55% at 50% -10%, #241a3a 0%, transparent 65%),
    linear-gradient(180deg, #0d0a15 0%, #12101f 55%, #0b0910 100%);
}
.hero-glow {
  position: absolute; left: 50%; top: -18%; width: min(120vw, 1100px); aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(240,215,140,.18) 0%, rgba(201,162,39,.07) 32%, transparent 62%);
  pointer-events: none;
  animation: breathe 11s ease-in-out infinite;
}
.hero-rays {
  position: absolute; left: 50%; top: -30%; width: min(150vw, 1500px); aspect-ratio: 1;
  transform: translateX(-50%);
  background: repeating-conic-gradient(from 0deg at 50% 50%,
    rgba(240,215,140,.055) 0deg 3deg, transparent 3deg 12deg);
  -webkit-mask-image: radial-gradient(circle, #000 8%, transparent 62%);
  mask-image: radial-gradient(circle, #000 8%, transparent 62%);
  pointer-events: none;
  animation: spin 140s linear infinite;
}
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }
@keyframes breathe { 0%,100% { opacity: .75; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.06); } }

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.eyebrow {
  display: flex; align-items: center; gap: .9rem;
  font-family: var(--serif-body);
  font-size: .74rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.6rem;
}
.eyebrow .rule { display: inline-block; width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }

.hero h1 {
  font-size: clamp(2.4rem, 7.2vw, 5.6rem);
  font-weight: 300; color: var(--parch); line-height: .96;
  letter-spacing: -.02em;
}
.hero h1 em {
  display: block; font-weight: 500; font-style: italic;
  background: linear-gradient(96deg, #8a6f2a 0%, #f2dc9b 32%, #fff8e2 48%, #e2c675 64%, #8a6f2a 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 9s ease-in-out infinite;
  padding-bottom: .08em;
}
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.lede { margin-top: 1.9rem; font-size: clamp(1.1rem, 1.7vw, 1.32rem); color: #ded4c4; max-width: 34ch; }
.lede-sub { font-size: 1rem; color: var(--text-dim); max-width: 38ch; font-style: italic; }

.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.trust {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  list-style: none; padding: 0; margin: 2.6rem 0 0;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #8f84a3;
}
.trust li { display: flex; align-items: center; gap: .5rem; }
.trust span { color: var(--gold-dim); font-size: .7rem; }

/* Arch window */
.hero-art { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.arch {
  position: relative; width: min(100%, 340px); aspect-ratio: 5 / 7;
  border-radius: 999px 999px 6px 6px;
  padding: 12px;
  background: linear-gradient(170deg, #d9bc62, #7a5f1c 40%, #c9a227 70%, #6b5216);
  box-shadow:
    0 40px 90px -30px rgba(0,0,0,.9),
    0 0 80px -20px rgba(201,162,39,.35),
    inset 0 0 0 1px rgba(255,240,190,.35);
}
.arch-glass {
  position: absolute; inset: 12px; border-radius: 999px 999px 2px 2px;
  background:
    radial-gradient(circle at 50% 18%, #fdf3c9 0%, #e8c46a 14%, transparent 42%),
    conic-gradient(from 200deg at 50% 42%,
      #23306b 0deg, #4a1f63 40deg, #7b1f33 80deg, #2a3d7a 120deg,
      #1c4a52 165deg, #6b1f2a 210deg, #3d2358 260deg, #23306b 320deg, #23306b 360deg);
  overflow: hidden;
}
.arch-glass::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 8%, rgba(255,247,214,.75), transparent 60%),
    repeating-linear-gradient(72deg, rgba(11,9,16,.35) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(-72deg, rgba(11,9,16,.28) 0 1px, transparent 1px 34px);
  mix-blend-mode: multiply;
}
.tracery { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; filter: drop-shadow(0 0 6px rgba(255,235,170,.5)); }
.arch-candle {
  position: absolute; bottom: 5%; left: 50%; transform: translateX(-50%);
  width: 34px; height: 46px; z-index: 3;
  background: linear-gradient(90deg, #d9cbb0, #fdf6e6 40%, #c9b795);
  border-radius: 3px 3px 1px 1px;
  box-shadow: 0 0 40px -6px rgba(255,214,120,.55);
}
.hero-art figcaption {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: #7c718f; text-align: center;
  max-width: 300px; width: 100%; line-height: 1.7;
  text-wrap: balance;
}

/* Flame (shared) */
.flame, .flame::after {
  position: absolute; left: 50%; border-radius: 50% 50% 46% 46%;
  background: radial-gradient(ellipse at 50% 78%, #fffbe8 0%, #ffe08a 32%, #ff9d2e 66%, rgba(255,110,20,0) 78%);
  transform: translateX(-50%);
}
.flame {
  bottom: 100%; width: 11px; height: 22px; margin-bottom: -2px;
  filter: drop-shadow(0 0 10px rgba(255,180,60,.85));
  transform-origin: 50% 100%;
  animation: flicker 2.4s ease-in-out infinite;
}
@keyframes flicker {
  0%,100% { transform: translateX(-50%) scale(1,1) rotate(-1deg); opacity: 1; }
  25%     { transform: translateX(-50%) scale(.93,1.07) rotate(1.5deg); opacity: .92; }
  50%     { transform: translateX(-50%) scale(1.04,.95) rotate(-.5deg); opacity: 1; }
  75%     { transform: translateX(-50%) scale(.96,1.05) rotate(1deg); opacity: .88; }
}

.hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 110px;
  background: linear-gradient(180deg, transparent, var(--parch) 92%);
  pointer-events: none; z-index: 1;
}

/* ══════════════ LEDGER ══════════════ */

.ledger-grid {
  display: grid; grid-template-columns: 1.35fr .65fr;
  border: 1px solid rgba(120,95,40,.22);
  background: #fffdf6;
  box-shadow: 0 30px 60px -40px rgba(60,45,15,.5);
}
.ledger-panel { padding: clamp(1.6rem, 3vw, 2.6rem); }
.panel-head h3 { font-size: 1.7rem; margin-bottom: .3rem; }
.panel-head p { font-size: .95rem; color: var(--text-mid); margin-bottom: 1.8rem; }

.sins {
  border: 0; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: .5rem;
}
.sin {
  display: flex; align-items: center; gap: .65rem;
  padding: .62rem .8rem;
  border: 1px solid rgba(120,95,40,.2);
  background: transparent; cursor: pointer;
  font-family: var(--serif-body); font-size: .98rem; color: var(--text-mid);
  transition: all .22s var(--ease);
  text-align: left;
}
.sin:hover { border-color: rgba(201,162,39,.6); background: rgba(201,162,39,.07); color: var(--text-dark); }
.sin[aria-checked="true"] {
  border-color: var(--oxblood); background: var(--oxblood); color: #fdf6e4;
  box-shadow: 0 6px 18px -10px rgba(109,31,44,.9);
}
.sin-mark {
  width: 15px; height: 15px; flex: 0 0 auto;
  border: 1px solid currentColor; border-radius: 50%;
  display: grid; place-items: center; font-size: .6rem; line-height: 1;
}
.sin[aria-checked="true"] .sin-mark::after { content: "✠"; }

.hint { margin: 1.4rem 0 0; font-size: .82rem; color: #7d7059; letter-spacing: .04em; font-style: italic; }
.hint span { color: var(--gold-dim); }

.estimate {
  background: linear-gradient(170deg, #1a1526, #0e0b16);
  color: var(--text-light);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; position: relative;
}
.estimate::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201,162,39,.18); pointer-events: none;
}
.estimate h3 {
  font-size: 1.5rem; color: var(--parch); margin-bottom: 1.4rem;
  padding-bottom: 1rem; border-bottom: 1px solid rgba(201,162,39,.25);
}
.est-rows { margin: 0 0 1.4rem; display: grid; gap: .8rem; }
.est-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.est-rows dt { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #8f84a3; }
.est-rows dd { margin: 0; font-family: var(--serif-display); font-size: 1.25rem; color: var(--gold-lit); }

.est-price {
  margin: 0 0 1rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(201,162,39,.25);
  display: flex; flex-direction: column; gap: .2rem;
}
.est-price-label { font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: #8f84a3; }
.est-price-value {
  font-family: var(--serif-display); font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 300; color: var(--gold-lit); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.est-tier { font-size: .95rem; color: #cfc4dd; font-style: italic; margin-bottom: 1.5rem; min-height: 3.2em; }
.est-tier strong { color: var(--gold-lit); font-style: normal; }
#estCta { margin-top: auto; width: 100%; }
.fineprint { font-size: .74rem; color: #79708c; margin: 1rem 0 0; line-height: 1.5; }

/* ══════════════ TIERS ══════════════ */

.tier-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem); align-items: stretch;
}
.tier {
  position: relative; padding: clamp(1.7rem, 3vw, 2.4rem);
  background: linear-gradient(178deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid rgba(201,162,39,.22);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.tier:hover {
  transform: translateY(-6px); border-color: rgba(201,162,39,.55);
  box-shadow: 0 30px 60px -35px rgba(0,0,0,.9);
}
.tier-featured {
  background: linear-gradient(178deg, rgba(201,162,39,.13), rgba(201,162,39,.03));
  border-color: rgba(201,162,39,.6);
  box-shadow: 0 0 70px -30px rgba(201,162,39,.6);
}
.tier-badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--gold); color: #1a1408; font-size: .66rem;
  letter-spacing: .22em; text-transform: uppercase; padding: .3rem .9rem; margin: 0;
  white-space: nowrap;
}
.tier-ord {
  font-family: var(--serif-display); font-size: .95rem; letter-spacing: .3em;
  color: var(--gold-dim); margin: 0 0 .6rem;
}
.tier h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); color: var(--parch); }
.tier-price {
  font-family: var(--serif-display); font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--gold-lit); line-height: 1;
  margin: 1rem 0 .2rem; display: flex; align-items: baseline;
}
.tier-price span:first-child { font-size: .5em; margin-right: .1em; align-self: flex-start; padding-top: .25em; }
.tier-price span:last-child { font-size: .5em; }
.tier-for { font-size: .92rem; color: #b0a4c2; font-style: italic; margin: 1rem 0 1.4rem; }
.tier-list {
  list-style: none; padding: 1.4rem 0 0; margin: 0 0 1.8rem;
  display: grid; gap: .7rem; border-top: 1px solid rgba(201,162,39,.18);
}
.tier-list li { position: relative; padding-left: 1.3rem; font-size: .92rem; color: #c8bdd7; line-height: 1.5; }
.tier-list li::before { content: "✦"; position: absolute; left: 0; top: .15em; color: var(--gold-dim); font-size: .7rem; }
.tier .btn { margin-top: auto; width: 100%; }

.tier-note {
  margin: clamp(2rem, 4vw, 3rem) auto 0; max-width: 62ch;
  text-align: center; font-size: .86rem; color: #8d829f; font-style: italic;
}
.tier-note span { color: var(--gold-dim); margin-right: .5rem; }

/* ══════════════ HOW ══════════════ */

.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.step { position: relative; padding-top: 1.4rem; border-top: 1px solid rgba(120,95,40,.25); }
.step-num {
  font-family: var(--serif-display); font-size: 2.6rem; line-height: 1; font-weight: 300;
  color: rgba(140,110,40,.45); margin: 0 0 .8rem;
}
.step h3 { font-size: 1.55rem; margin-bottom: .6rem; }
.step p { font-size: .98rem; color: var(--text-mid); margin: 0; }
.how-note { margin-top: clamp(2rem, 4vw, 3rem); font-size: .88rem; font-style: italic; color: #7a6d55; max-width: 62ch; }
.how-note::before { content: "✠ "; color: var(--gold-dim); font-style: normal; }

/* ══════════════ TESTIMONY ══════════════ */

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.quote {
  margin: 0; padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid rgba(201,162,39,.16);
  background: linear-gradient(178deg, rgba(255,255,255,.04), transparent);
  display: flex; flex-direction: column;
}
.quote blockquote { margin: 0 0 1.4rem; position: relative; }
.quote blockquote::before {
  content: "\2766"; position: absolute; top: -.62em; right: -.05em;
  font-family: var(--serif-display); font-size: 2.6rem; color: rgba(201,162,39,.28); line-height: 1;
}
.quote blockquote p {
  font-family: var(--serif-display); font-size: 1.24rem; font-style: italic;
  line-height: 1.5; color: #efe6d6; margin: 0; position: relative; z-index: 1;
}
.quote figcaption {
  margin-top: auto; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); padding-top: 1rem; border-top: 1px solid rgba(201,162,39,.16);
}
.quote figcaption span { color: #857a97; }
.test-note {
  margin: clamp(2rem, 4vw, 2.6rem) auto 0; max-width: 60ch; text-align: center;
  font-size: .8rem; color: #7d728e; font-style: italic;
}

/* ══════════════ CANDLE WALL ══════════════ */

.candle-wrap { display: grid; grid-template-columns: 1fr 260px; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.candle-wall {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(.5rem, 1.4vw, 1rem);
  padding: clamp(1.2rem, 3vw, 2.2rem);
  border: 1px solid rgba(201,162,39,.18);
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201,162,39,.07), transparent 70%),
    rgba(0,0,0,.25);
}
.candle {
  position: relative; aspect-ratio: 2 / 3.4;
  border: 0; background: none; cursor: pointer; padding: 0;
  display: flex; align-items: flex-end; justify-content: center;
  transition: transform .3s var(--ease);
}
.candle:hover { transform: translateY(-3px); }
.candle-body {
  position: relative; width: 50%; height: 70%;
  background: linear-gradient(90deg, #b9ac92 0%, #efe6cd 34%, #fffaf0 50%, #d3c6a8 68%, #9c9079 100%);
  border-radius: 3px 3px 1px 1px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.6);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.candle-wick {
  position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  width: 2px; height: 6px; background: #3a3330;
}
/* The flicker keyframes set opacity, so the animation is only applied once lit;
   an unlit candle therefore stays fully transparent. */
.candle .flame { opacity: 0; animation: none; }
.candle.is-lit .flame { opacity: 1; animation: flicker 2.4s ease-in-out infinite; }
.candle.is-lit .candle-body {
  background: linear-gradient(90deg, #e8dcbe 0%, #fff8e6 40%, #fffdf5 52%, #f0e6cc 70%, #cbbc9c 100%);
  box-shadow: 0 0 26px -2px rgba(255,196,92,.55), inset 0 2px 0 rgba(255,255,255,.75);
}
.candle.is-lit::after {
  content: ""; position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%);
  width: 150%; height: 40%;
  background: radial-gradient(ellipse at 50% 20%, rgba(255,190,80,.22), transparent 70%);
  pointer-events: none;
}

.candle-readout { text-align: left; }
.candle-count {
  font-family: var(--serif-display); font-size: clamp(2.6rem, 4vw, 3.4rem);
  color: var(--gold-lit); line-height: 1; margin: 0 0 .4rem; font-weight: 300;
}
.candle-total { font-size: .95rem; color: var(--text-dim); margin-bottom: 1.2rem; }
.candle-total strong { color: var(--parch); }
.candle-hint { font-size: .82rem; color: #7d728e; font-style: italic; margin-bottom: 1.4rem; }
#candleReset { width: 100%; }

/* ══════════════ CERTIFICATE ══════════════ */

.cert-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cert-form { position: sticky; top: 110px; display: flex; flex-direction: column; gap: .6rem; }
.cert-form label { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: #6d6047; }
.cert-form input {
  font-family: var(--serif-display); font-size: 1.2rem;
  padding: .8rem .9rem; border: 1px solid rgba(120,95,40,.35);
  background: #fffdf6; color: var(--text-dark); border-radius: 1px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.cert-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.18); outline: none; }
.cert-form-hint { font-size: .78rem; color: #7d7059; font-style: italic; margin: .2rem 0 1rem; line-height: 1.5; }
.cert-form .btn { align-self: flex-start; }

.certificate {
  position: relative; padding: clamp(2rem, 4.5vw, 3.6rem);
  background:
    radial-gradient(ellipse at 50% 0%, #fffdf3, transparent 60%),
    radial-gradient(circle at 50% 110%, #e8d9b2, transparent 55%),
    #f9f3e2;
  color: #2b2233; text-align: center;
  border: 1px solid rgba(120,95,40,.5);
  box-shadow: 0 0 0 8px #f9f3e2, 0 0 0 9px rgba(140,110,40,.45), 0 40px 80px -40px rgba(40,30,10,.6);
  transform: rotate(-.35deg);
}
.certificate::before {
  content: ""; position: absolute; inset: 16px; border: 1px solid rgba(140,110,40,.35); pointer-events: none;
}
.corner { position: absolute; color: var(--gold-dim); font-size: .8rem; opacity: .8; }
.corner.tl { top: 26px; left: 26px; } .corner.tr { top: 26px; right: 26px; }
.corner.bl { bottom: 26px; left: 26px; } .corner.br { bottom: 26px; right: 26px; }

.cert-org { font-size: .68rem; letter-spacing: .34em; text-transform: uppercase; color: #7d6a3c; margin-bottom: 1rem; }
.cert-org { padding: 0 1.8rem; }
.cert-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 500; letter-spacing: .02em;
  color: #2b2233; margin-bottom: 1.4rem; position: relative; padding-bottom: 1.2rem;
}
.cert-title::after {
  content: "✦ ✦ ✦"; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  font-size: .55rem; letter-spacing: .8em; color: rgba(140,110,40,.6);
}
.cert-lede {
  font-size: .96rem; color: #574a63; font-style: italic; max-width: 52ch;
  margin-inline: auto; line-height: 1.6;
}
.cert-name {
  font-family: var(--serif-display); font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500; color: #1e1726; margin: .9rem auto 1rem;
  padding-bottom: .3rem; max-width: 22ch; min-height: 1.6em; word-break: break-word;
  border-bottom: 1px solid rgba(140,110,40,.45);
}
.cert-sins {
  font-family: var(--serif-display); font-size: 1.12rem; font-style: italic;
  color: #6d1f2c; margin: .6rem auto 2rem; max-width: 44ch; line-height: 1.5;
}
.cert-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; padding-top: 1.6rem; border-top: 1px solid rgba(140,110,40,.28); text-align: left;
}
.cert-seal {
  width: 74px; height: 74px; flex: 0 0 auto; border-radius: 50%;
  display: grid; place-content: center; justify-items: center;
  background: radial-gradient(circle at 34% 28%, #b8414f, #6d1f2c 62%, #4a1119);
  color: #f6e1b8; font-size: 1.5rem; line-height: 1;
  box-shadow: 0 6px 16px -8px rgba(74,17,25,.9), inset 0 0 0 2px rgba(246,225,184,.45), inset 0 0 0 5px rgba(74,17,25,.6);
  transform: rotate(-8deg);
}
.cert-seal small { font-size: .38rem; letter-spacing: .3em; margin-top: 2px; }
.cert-sign, .cert-date { flex: 1; }
.sign {
  font-family: var(--serif-display); font-style: italic; font-size: 1.35rem;
  color: #2b2233; margin: 0 0 .2rem; padding-bottom: .15rem;
  border-bottom: 1px solid rgba(43,34,51,.35);
}
.sign-label { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: #7d6a3c; margin: 0; }
.cert-tiny { font-size: .62rem; color: #8a7c66; margin: 1.4rem 0 0; letter-spacing: .06em; }

/* ══════════════ SCRIPTURE ══════════════ */

.scripture {
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, #2a1f3d, transparent 70%),
    linear-gradient(180deg, #0e0b17, #15101f);
  text-align: center; padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid rgba(201,162,39,.15);
  border-bottom: 1px solid rgba(201,162,39,.15);
}
.scripture-mark { color: var(--gold-dim); font-size: 1.4rem; margin-bottom: 1.6rem; }
.scripture-quote { margin: 0 auto; max-width: 42ch; }
.scripture-quote p {
  font-family: var(--serif-display); font-style: italic; font-weight: 300;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem); line-height: 1.42; color: var(--parch);
  margin-bottom: 1.4rem;
}
.scripture-quote footer { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.scripture-quote footer em { color: #8f84a3; text-transform: none; letter-spacing: .04em; }
.scripture-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 900px; margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(201,162,39,.14);
  text-align: left;
}
.scripture-row p { font-size: .95rem; color: #a497b6; font-style: italic; margin: 0; }

/* ══════════════ FAQ ══════════════ */

.faq-list { border-top: 1px solid rgba(120,95,40,.25); }
.faq-list details { border-bottom: 1px solid rgba(120,95,40,.25); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2.6rem 1.25rem 0; position: relative;
  font-family: var(--serif-display); font-size: 1.32rem; color: var(--text-dark);
  transition: color .2s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: .35rem; top: 50%;
  width: 11px; height: 11px; margin-top: -5.5px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  color: var(--gold-dim);
  transition: transform .35s var(--ease), color .2s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-list summary:hover::after { color: var(--oxblood); }
.faq-list summary:hover { color: var(--oxblood); }
.faq-list details p {
  padding: 0 2.6rem 1.4rem 0; margin: 0; font-size: .99rem; color: var(--text-mid);
  max-width: 62ch; animation: fadeDown .35s var(--ease);
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ══════════════ CLOSING ══════════════ */

.closing { text-align: center; }
.closing h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 300; color: var(--parch);
  line-height: 1.14; margin-bottom: 1.4rem;
}
.closing h2 em { font-style: italic; color: var(--gold-lit); }
.close-sub { color: var(--text-dim); max-width: 46ch; margin: 0 auto 2.4rem; font-style: italic; }
.close-note { margin-top: 1.6rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #7d728e; }

/* ══════════════ FOOTER ══════════════ */

.site-foot {
  background: #080610; border-top: 1px solid rgba(201,162,39,.22);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: .92rem;
}
.foot-grid {
  display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(201,162,39,.12);
}
.wordmark-foot { margin: 0 0 1rem; }
.wordmark-foot .wordmark-text { font-size: 1.25rem; }
.foot-tag { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: .8rem; }
.foot-addr { font-size: .84rem; color: #6f6582; line-height: 1.6; margin: 0; }
.foot-nav { display: flex; flex-direction: column; gap: .55rem; }
.foot-nav a { text-decoration: none; color: #9a8fae; font-size: .88rem; transition: color .2s var(--ease); width: fit-content; }
.foot-nav a:hover { color: var(--gold-lit); }
.foot-hours { font-size: .84rem; color: #9a8fae; margin-bottom: 1rem; }
.foot-small { font-size: .76rem; color: #625873; line-height: 1.6; margin: 0; }

.disclaimer { padding-top: 2rem; max-width: 78ch; }
.disclaimer p { font-size: .8rem; color: #6f6582; line-height: 1.65; margin-bottom: .8rem; }
.disclaimer strong { color: #a6978f; font-weight: 500; }

/* ══════════════ CHECKOUT DIALOG ══════════════ */

.checkout {
  border: 0; padding: 0; background: transparent; color: var(--parch);
  max-width: min(92vw, 520px); width: 100%; margin: auto;
}
.checkout::backdrop { background: rgba(6,4,10,.82); backdrop-filter: blur(6px); }
.checkout-inner {
  position: relative; padding: clamp(1.8rem, 4vw, 2.8rem);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201,162,39,.1), transparent 70%),
    #121020;
  border: 1px solid rgba(201,162,39,.4);
  box-shadow: 0 50px 100px -40px #000;
  display: flex; flex-direction: column; gap: .5rem;
  animation: dialogIn .32s var(--ease);
}
@keyframes dialogIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.checkout h2 { font-size: 2rem; color: var(--parch); margin-bottom: .2rem; }
.checkout-tier {
  font-family: var(--serif-display); font-style: italic; font-size: 1.15rem;
  color: var(--gold-lit); margin-bottom: 1rem; padding-bottom: 1rem;
  border-bottom: 1px solid rgba(201,162,39,.22);
}
.checkout label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #9a8fae; margin-top: .5rem; }
.checkout input {
  font-family: var(--serif-body); font-size: 1rem; padding: .7rem .8rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(201,162,39,.25);
  color: var(--parch); border-radius: 1px; width: 100%;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.checkout input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.07); }
.checkout input::placeholder { color: #6a607a; }
.checkout-row { display: grid; grid-template-columns: 1fr 110px; gap: .8rem; }
.checkout-close {
  position: absolute; top: .9rem; right: 1rem;
  background: none; border: 0; color: #7d728e; cursor: pointer;
  padding: .4rem; line-height: 1; font-size: 0;
  width: 30px; height: 30px; transition: color .2s var(--ease);
}
.checkout-close::before, .checkout-close::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 13px; height: 1px; background: currentColor;
}
.checkout-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.checkout-close::after  { transform: translate(-50%, -50%) rotate(-45deg); }
.checkout-close:hover { color: var(--gold-lit); }
.checkout-note { font-size: .74rem; color: #7d728e; line-height: 1.5; margin: 1.1rem 0 .3rem; }
.checkout-note span { color: var(--gold-dim); }
.checkout-submit { margin-top: .6rem; }
.checkout-done {
  font-family: var(--serif-display); font-style: italic; font-size: 1.1rem;
  color: var(--gold-lit); text-align: center; margin: .4rem 0 0;
}
.checkout-done[hidden] { display: none; }

/* ══════════════ REVEAL ══════════════ */

/* Reveal helpers kept as no-ops so nothing can hide content. */
.reveal { opacity: 1; transform: none; }

/* ══════════════ RESPONSIVE ══════════════ */

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-art { order: -1; }
  .arch { width: min(70%, 260px); }
  .ledger-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .tier-featured { order: -1; }
  .steps, .quotes { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .cert-form { position: static; max-width: 380px; }
  .candle-wrap { grid-template-columns: 1fr; }
  .candle-readout { text-align: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  body { font-size: 1.05rem; }
  .ledger-panel { padding: 1.25rem 1.1rem; }
  .sins { grid-template-columns: repeat(2, 1fr); gap: .4rem; }
  .sin { font-size: .92rem; padding: .55rem .6rem; gap: .5rem; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 44px; height: 44px; align-items: center;
    background: none; border: 1px solid rgba(201,162,39,.3); cursor: pointer;
  }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(11,9,16,.98);
    border-bottom: 1px solid rgba(201,162,39,.25);
    padding: 0 1.5rem; max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease), padding .4s var(--ease);
  }
  .nav.open { max-height: 480px; padding: 1rem 1.5rem 1.6rem; }
  .nav a { padding: .8rem 0; width: 100%; font-size: .9rem; }
  .nav a::after { display: none; }
  .nav-cta { margin-top: .6rem; text-align: center; width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .scripture-row { grid-template-columns: 1fr; }
  .certificate { transform: none; padding: 1.6rem 1.2rem; }
  .cert-foot { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .cert-seal { width: 62px; height: 62px; }
  .sins { grid-template-columns: 1fr 1fr; }
  .hero-art figcaption { display: none; }
}

@media (max-width: 440px) {
  .cta-row .btn { width: 100%; }
  .candle-wall { grid-template-columns: repeat(6, 1fr); gap: .5rem; padding: 1rem; }
  .candle { aspect-ratio: 2 / 4.2; }
  .checkout-row { grid-template-columns: 1fr; }
}

/* ══════════════ MOTION / PRINT ══════════════ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-head, .site-foot, .band:not(.cert-band), .cert-form, .grain { display: none !important; }
  body { background: #fff; color: #000; }
  .cert-band { padding: 0; background: #fff; }
  .cert-grid { grid-template-columns: 1fr; }
  .certificate { transform: none; box-shadow: none; border: 1px solid #999; }
  .certificate::before { border-color: #999; }
}
