/* ==========================================================================
   Our Lady of Guadalupe — baroque premium design system
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0B0A0E;
  --ink-2: #121017;
  --ink-3: #191420;
  --parchment: #F7F1E6;
  --parchment-2: #EFE6D5;
  --cream: #EDE6DA;
  --muted: #B4A99A;
  --muted-dark: #6B6154;

  --gold: #E8C56A;
  --gold-deep: #C9A227;
  --gold-soft: #F4E3C1;
  --crimson: #7A1220;
  --crimson-bright: #A31D33;
  --rose: #C9707C;
  --teal: #1C5A66;
  --teal-bright: #2E7C86;

  --line: rgba(232, 197, 106, .22);
  --line-soft: rgba(232, 197, 106, .12);
  --glass: rgba(20, 16, 26, .6);
  --glass-strong: rgba(16, 13, 22, .82);
  --shadow: 0 24px 70px -28px rgba(0, 0, 0, .85);
  --shadow-gold: 0 18px 50px -20px rgba(232, 197, 106, .35);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-inscribe: "Cinzel", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 18px;
  --radius-lg: 26px;

  --ease: cubic-bezier(.22, .8, .26, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 74px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
/* `hidden` must always win over component display rules (buttons, panels…) */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); overflow-x: clip; }
html:focus-within { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
ul, ol { list-style: none; padding: 0; }

::selection { background: rgba(232, 197, 106, .28); color: #fff; }

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

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 300;
  background: var(--gold); color: #17130A; font-weight: 600;
  padding: .7rem 1.1rem; border-radius: 0 0 10px 10px;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }

/* Film grain */
.grain {
  position: fixed; inset: -50%; z-index: 120; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: .05; animation: grain 7s steps(8) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0) } 25% { transform: translate(-2%,3%) }
  50% { transform: translate(3%,-2%) } 75% { transform: translate(-3%,-3%) }
}

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - var(--gutter) * 2); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }

/* ---------- Typography ---------- */
.eyebrow {
  display: flex; align-items: center; gap: .9rem;
  font-family: var(--font-inscribe);
  font-size: clamp(.68rem, .62rem + .25vw, .78rem);
  letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.eyebrow-rule { width: clamp(28px, 6vw, 54px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }

.section-head { max-width: 780px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head-left { margin-bottom: 2rem; }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  margin-top: 1.1rem;
  color: var(--parchment);
}
.section-title em, .finale-title em, .hero-title em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(100deg, var(--gold-soft), var(--gold) 45%, #B98A2E);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-lede { margin-top: 1.2rem; color: var(--muted); font-size: clamp(1rem, .95rem + .3vw, 1.14rem); max-width: 62ch; }
.lede-note { display: block; margin-top: .5rem; font-size: .84em; color: #8D8375; font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem; padding: .95rem 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  background: var(--btn-bg); color: var(--cream);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease),
              background-color .3s, border-color .3s, color .3s;
  overflow: hidden; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.38) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .7s var(--ease-out);
}
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: scale(.97); }

.btn-gold {
  background: linear-gradient(135deg, #F2D892, var(--gold) 45%, #C99B31);
  color: #1C1608; border-color: rgba(255,255,255,.25);
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -18px rgba(232,197,106,.55), inset 0 1px 0 rgba(255,255,255,.5); }

.btn-ghost { border-color: rgba(237,230,218,.3); background: rgba(255,255,255,.03); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }

.btn-ghost-dark { border-color: rgba(27,21,32,.25); color: var(--ink-2); background: rgba(255,255,255,.4); }
.btn-ghost-dark:hover { border-color: var(--crimson); color: var(--crimson); transform: translateY(-2px); }

.btn-sm { padding: .62rem 1.15rem; font-size: .86rem; }
.btn-lg { padding: 1.1rem 2.1rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-flame {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #FFF6DA, #E8A13C 60%, #B4501B);
  box-shadow: 0 0 10px 2px rgba(232,161,60,.75);
  animation: flicker 2.4s ease-in-out infinite;
}
@keyframes flicker {
  0%,100% { transform: scale(1); opacity: 1; }
  40% { transform: scale(1.25) translateY(-1px); opacity: .85; }
  60% { transform: scale(.92); opacity: 1; }
}

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(160deg, rgba(28,23,38,.72), rgba(14,12,20,.66));
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 150; height: var(--nav-h);
  transition: background-color .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11,10,14,.72);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line-soft);
}
.nav-progress {
  position: absolute; top: 0; left: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--crimson-bright), var(--gold));
  transform: scaleX(0); transform-origin: 0 50%;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--gold); }
.brand-mark { width: 34px; height: 34px; transition: transform .6s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(45deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-kicker { font-family: var(--font-inscribe); font-size: .56rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.brand-name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; color: var(--parchment); letter-spacing: .02em; }

.nav-links { display: flex; gap: clamp(.4rem, 1.6vw, 1.4rem); }
.nav-links a {
  position: relative; text-decoration: none; color: var(--muted);
  font-size: .9rem; font-weight: 500; padding: .4rem .15rem;
  transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .4s var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--gold-soft); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }

.nav-actions { display: flex; align-items: center; gap: .8rem; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none;
  border: 1px solid var(--line-soft); border-radius: 12px; cursor: pointer;
}
.nav-toggle .bar { height: 1.6px; background: var(--gold-soft); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: max(100svh, 720px);
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + clamp(2rem, 5vh, 4rem));
  padding-bottom: clamp(4rem, 10vh, 7rem);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; transform: scale(1.06); }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,7,11,.96) 8%, rgba(8,7,11,.86) 38%, rgba(10,8,14,.55) 68%, rgba(10,8,14,.62)),
    radial-gradient(60% 55% at 78% 30%, rgba(232,197,106,.16), transparent 70%),
    linear-gradient(to top, var(--ink) 2%, transparent 26%);
}
.hero-dust { position: absolute; inset: 0; z-index: -2; pointer-events: none; }

.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center; position: relative; z-index: 1;
}

.hero-title { margin-top: 1.3rem; font-weight: 600; line-height: 1; }
.hero-title-kicker {
  display: block; font-family: var(--font-inscribe);
  font-size: clamp(.72rem, .65rem + .3vw, .88rem);
  letter-spacing: .42em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.15rem; font-weight: 500;
}
.hero-title-main {
  display: flex; flex-wrap: wrap; column-gap: .28em;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 1.7rem + 6.4vw, 6.6rem);
  letter-spacing: -.02em; color: var(--parchment);
}
.word { display: inline-block; overflow: hidden; padding-bottom: .08em; }
.word i {
  display: inline-block; font-style: normal; transform: translateY(112%);
  animation: wordUp 1.05s var(--ease-out) forwards; animation-delay: var(--d, 0s);
}
.word-gold i {
  font-style: italic; font-weight: 500;
  background: linear-gradient(105deg, #F8EBC8, var(--gold) 42%, #B98A2E 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 220% 100%;
  animation: wordUp 1.05s var(--ease-out) forwards, sheen 6s ease-in-out 1.6s infinite;
  animation-delay: var(--d, 0s), 1.6s;
}
@keyframes wordUp { to { transform: translateY(0); } }
@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-lede {
  margin-top: 1.6rem; max-width: 54ch; color: #CFC6B8;
  font-size: clamp(1.03rem, .98rem + .35vw, 1.19rem); line-height: 1.7;
}
.hero-lede em { color: var(--gold-soft); font-family: var(--font-display); font-size: 1.1em; font-style: italic; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; }

.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.9rem, 2vw, 1.6rem);
  margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
}
.hero-meta li { display: flex; flex-direction: column; line-height: 1.25; }
.hero-meta strong { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; color: var(--gold-soft); }
.hero-meta span { font-size: .78rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }

/* Entrance for non-word elements */
.js .hero-anim { opacity: 0; transform: translateY(26px); animation: heroIn 1s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* Hero consecration card */
.hero-prayer {
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 2.4vw, 2.2rem);
  position: relative; max-height: min(78vh, 720px); display: flex; flex-direction: column;
}
.hero-prayer::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(90% 60% at 50% 0%, rgba(232,197,106,.12), transparent 60%);
}
.prayer-ornament { color: var(--gold); opacity: .8; width: 120px; margin: 0 auto .8rem; }
.prayer-label {
  font-family: var(--font-inscribe); font-size: .68rem; letter-spacing: .36em;
  text-transform: uppercase; color: var(--gold); text-align: center;
}
.prayer-title {
  font-family: var(--font-display); font-weight: 600; text-align: center;
  font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); color: var(--parchment); margin-top: .45rem;
}
.prayer-body {
  margin-top: 1.1rem; overflow-y: auto; padding-right: .4rem; scrollbar-width: thin;
  scrollbar-color: rgba(232,197,106,.4) transparent; font-size: .95rem; color: #C9C0B2;
}
.prayer-body p + p { margin-top: .85rem; }
.prayer-body em { color: var(--gold-soft); font-family: var(--font-display); font-size: 1.06em; }
.prayer-amen { color: var(--parchment); }
.prayer-amen strong, .prayer-body strong { color: var(--gold); }
.hero-prayer .btn { margin-top: 1.2rem; }
.prayer-foot { text-align: center; font-size: .78rem; color: #8D8375; margin-top: .75rem; }

/* Scroll cue */
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  text-decoration: none; color: var(--muted); z-index: 2;
}
.hero-scroll-line { width: 1px; height: 52px; background: linear-gradient(to bottom, transparent, var(--gold)); overflow: hidden; position: relative; }
.hero-scroll-line::after {
  content: ""; position: absolute; inset: 0; background: var(--parchment);
  animation: scrollDrop 2.2s var(--ease) infinite;
}
@keyframes scrollDrop { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }
.hero-scroll-text { font-family: var(--font-inscribe); font-size: .6rem; letter-spacing: .4em; text-transform: uppercase; }

/* ==========================================================================
   PROOF
   ========================================================================== */
.proof {
  padding-block: clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(70% 130% at 50% 0%, rgba(122,18,32,.28), transparent 60%),
    linear-gradient(to bottom, var(--ink), var(--ink-2));
  border-block: 1px solid var(--line-soft);
}
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.proof-item { text-align: center; padding-inline: .6rem; position: relative; }
.proof-item + .proof-item::before {
  content: ""; position: absolute; left: calc(-1 * clamp(.75rem, 1.5vw, 1.25rem)); top: 15%; bottom: 15%;
  width: 1px; background: linear-gradient(to bottom, transparent, var(--line), transparent);
}
.proof-num {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem); line-height: 1; letter-spacing: -.02em;
  background: linear-gradient(160deg, var(--gold-soft), var(--gold) 55%, #A87B22);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.proof-num-word { font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.4rem); }
.proof-label { display: block; margin-top: .8rem; color: var(--muted); font-size: .87rem; line-height: 1.55; }

/* ==========================================================================
   MIRACLES / FEATURES
   ========================================================================== */
.miracles {
  background:
    radial-gradient(55% 40% at 85% 0%, rgba(122,18,32,.18), transparent 65%),
    var(--ink-2);
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }

.feature-card {
  position: relative; padding: clamp(1.5rem, 2.4vw, 2rem);
  border-radius: var(--radius); border: 1px solid var(--line-soft);
  background: linear-gradient(165deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s, background-color .4s;
  overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(232,197,106,.14), transparent 65%);
  pointer-events: none;
}
.feature-card:hover, .feature-card:focus-visible {
  transform: translateY(-6px); border-color: var(--line);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(232,197,106,.08);
}
.feature-card:hover::before, .feature-card:focus-visible::before { opacity: 1; }

.feature-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  color: var(--gold); margin-bottom: 1.2rem;
  background: linear-gradient(150deg, rgba(232,197,106,.16), rgba(232,197,106,.04));
  border: 1px solid var(--line-soft);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.feature-icon svg { width: 34px; height: 34px; }
.feature-card:hover .feature-icon { transform: translateY(-3px) rotate(-4deg); box-shadow: var(--shadow-gold); }
.feature-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--parchment); letter-spacing: .005em; }
.feature-card p { margin-top: .7rem; color: var(--muted); font-size: .94rem; }
.feature-card p em { color: var(--gold-soft); }
.feature-tag {
  display: inline-block; margin-top: 1.15rem; font-family: var(--font-inscribe);
  font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  padding: .35rem .7rem; border: 1px solid var(--line-soft); border-radius: 999px;
  background: rgba(232,197,106,.05);
}

/* ==========================================================================
   SHOWCASE / EXPLORER
   ========================================================================== */
.showcase {
  background:
    radial-gradient(60% 45% at 15% 20%, rgba(28,90,102,.22), transparent 65%),
    radial-gradient(50% 40% at 90% 85%, rgba(122,18,32,.2), transparent 65%),
    var(--ink);
  overflow: hidden;
}
.explorer {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: center;
}
.explorer-visual { position: relative; }
.mandorla {
  position: absolute; inset: -8% -12%; z-index: 0; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 46%,
    rgba(232,197,106,.14) 0deg 4deg, transparent 4deg 15deg);
  mask-image: radial-gradient(closest-side at 50% 46%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(closest-side at 50% 46%, #000 30%, transparent 78%);
  animation: slowSpin 110s linear infinite;
}
@keyframes slowSpin { to { transform: rotate(360deg); } }

.explorer-frame {
  position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow), 0 0 90px -30px rgba(232,197,106,.4);
  background: linear-gradient(180deg, #10131C, #0A0B10 60%, #0D0A10);
  aspect-ratio: 600 / 900; max-height: 74vh; margin-inline: auto;
}
.tilma-art { width: 100%; height: 100%; }
.sun-rays { transform-origin: 300px 420px; animation: slowSpin 160s linear infinite reverse; }
.tilma-stars circle { animation: starTwinkle 4.5s ease-in-out infinite; }
.tilma-stars circle:nth-child(3n) { animation-delay: 1.4s; }
.tilma-stars circle:nth-child(3n + 1) { animation-delay: 2.8s; }
@keyframes starTwinkle { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
.nahui-ollin { transform-origin: 322px 556px; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 0%,100% { opacity: .92; } 50% { opacity: 1; filter: drop-shadow(0 0 8px rgba(242,223,174,.8)); } }

.hotspot {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(11,10,14,.55); z-index: 3;
  display: grid; place-items: center; padding: 0;
  transition: transform .35s var(--ease-out), background-color .3s;
}
.hotspot span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold-soft); box-shadow: 0 0 0 0 rgba(232,197,106,.55);
  transition: transform .3s;
}
.hotspot::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(232,197,106,.65);
  animation: pulseRing 2.6s var(--ease) infinite;
}
@keyframes pulseRing {
  0% { transform: scale(.6); opacity: 1; }
  75%,100% { transform: scale(1.7); opacity: 0; }
}
.hotspot:hover, .hotspot:focus-visible { transform: translate(-50%, -50%) scale(1.18); background: rgba(11,10,14,.8); }
.hotspot.is-active { background: rgba(232,197,106,.22); }
.hotspot.is-active span { transform: scale(1.25); background: #FFF3D6; }
.hotspot.is-active::before { animation: none; opacity: .9; transform: scale(1.25); }

.explorer-panel {
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 2.6vw, 2.4rem);
  min-height: 340px; display: flex; flex-direction: column;
}
.explorer-index { font-family: var(--font-inscribe); font-size: .72rem; letter-spacing: .3em; color: var(--gold); }
.explorer-panel h3 {
  font-family: var(--font-display); font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem);
  font-weight: 600; color: var(--parchment); margin-top: .8rem; line-height: 1.15;
}
.explorer-panel p:not(.explorer-index):not(.explorer-hint) {
  margin-top: 1rem; color: var(--muted); font-size: .98rem;
}
.explorer-panel em { color: var(--gold-soft); }
.explorer-hint {
  margin-top: auto; padding-top: 1.4rem; font-size: .8rem; color: #8D8375;
  border-top: 1px solid var(--line-soft); font-style: italic;
}
.explorer-panel.is-switching { animation: panelSwap .5s var(--ease-out); }
@keyframes panelSwap {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: none; }
}

/* ==========================================================================
   BENEFITS (parchment)
   ========================================================================== */
.benefits {
  background:
    radial-gradient(80% 60% at 50% -10%, #FFFaf0, transparent 60%),
    linear-gradient(to bottom, var(--parchment), var(--parchment-2));
  color: var(--ink-2);
}
.benefits .section-title { color: var(--ink-2); }
.benefits .eyebrow { color: var(--crimson); }
.benefits .eyebrow-rule { background: linear-gradient(90deg, transparent, var(--crimson)); }
.benefits .section-lede { color: var(--muted-dark); }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem); }
.benefit-card {
  position: relative; padding: clamp(1.8rem, 3vw, 2.6rem); border-radius: var(--radius);
  background: rgba(255,255,255,.65); border: 1px solid rgba(27,21,32,.09);
  box-shadow: 0 20px 50px -34px rgba(27,21,32,.45);
  transition: transform .5s var(--ease-out), box-shadow .5s;
  overflow: hidden;
}
.benefit-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--gold-deep));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-out);
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -36px rgba(27,21,32,.5); }
.benefit-card:hover::after { transform: scaleX(1); }
.benefit-num {
  font-family: var(--font-inscribe); font-size: .95rem; letter-spacing: .3em;
  color: var(--crimson); opacity: .75;
}
.benefit-card h3 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 1.3rem + .8vw, 1.85rem);
  font-weight: 600; margin-top: .9rem; color: var(--ink-2); line-height: 1.2;
}
.benefit-card p { margin-top: .9rem; color: #51473C; font-size: .95rem; }
.benefit-list { margin-top: 1.3rem; display: grid; gap: .6rem; }
.benefit-list li {
  position: relative; padding-left: 1.6rem; font-size: .9rem; color: #3C342B; font-weight: 500;
}
.benefit-list li::before {
  content: ""; position: absolute; left: 0; top: .48em; width: 9px; height: 9px;
  background: var(--gold-deep); transform: rotate(45deg);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.7);
}

/* ==========================================================================
   ROSARY
   ========================================================================== */
.rosary {
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(122,18,32,.5), transparent 65%),
    linear-gradient(to bottom, #1A0D13, var(--ink-2) 70%);
  overflow: hidden;
}
.rosary-glow {
  position: absolute; left: 50%; top: -180px; width: 620px; height: 620px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(circle, rgba(232,197,106,.16), transparent 65%);
  animation: glowBreathe 8s ease-in-out infinite;
}
@keyframes glowBreathe { 0%,100% { opacity: .65; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.06); } }

.mystery-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(.8rem, 1.6vw, 1.2rem);
  counter-reset: none; position: relative; z-index: 1;
}
.mystery-card {
  position: relative; padding: clamp(1.3rem, 2vw, 1.7rem) clamp(1.1rem, 1.6vw, 1.4rem);
  border-radius: var(--radius); border: 1px solid rgba(232,197,106,.16);
  background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  transition: transform .5s var(--ease-out), border-color .4s, background-color .4s, box-shadow .5s;
}
.mystery-card:hover, .mystery-card:focus-visible {
  transform: translateY(-8px); border-color: rgba(232,197,106,.5);
  box-shadow: 0 30px 55px -30px rgba(0,0,0,.85), 0 0 40px -22px rgba(232,197,106,.5);
}
.mystery-num {
  font-family: var(--font-inscribe); font-size: .8rem; letter-spacing: .28em; color: var(--gold);
  display: inline-block; padding-bottom: .7rem; border-bottom: 1px solid var(--line-soft); min-width: 3.2rem;
}
.mystery-card h3 {
  font-family: var(--font-display); font-size: 1.32rem; font-weight: 600;
  color: var(--parchment); margin-top: .95rem; line-height: 1.2;
}
.mystery-card p { margin-top: .6rem; font-size: .87rem; color: var(--muted); }

.rosary-cta {
  margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius-lg); display: flex; flex-wrap: wrap; gap: 1.5rem;
  align-items: center; justify-content: space-between;
  border: 1px solid var(--line); position: relative; z-index: 1;
  background: linear-gradient(120deg, rgba(232,197,106,.1), rgba(122,18,32,.22));
}
.rosary-cta-copy h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); font-weight: 600; color: var(--parchment); }
.rosary-cta-copy p { color: var(--muted); margin-top: .5rem; max-width: 56ch; font-size: .95rem; }

/* ==========================================================================
   VOICES
   ========================================================================== */
.voices { background: var(--ink-2); }
.voice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.voice-card {
  position: relative; padding: clamp(1.7rem, 3vw, 2.4rem); border-radius: var(--radius);
  border: 1px solid var(--line-soft); background: linear-gradient(165deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  transition: transform .5s var(--ease-out), border-color .4s;
  display: flex; flex-direction: column;
}
.voice-card:hover { transform: translateY(-5px); border-color: var(--line); }
.voice-mark { width: 30px; color: var(--gold); opacity: .55; margin-bottom: 1.1rem; }
.voice-card blockquote p {
  font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem);
  font-style: italic; font-weight: 500; line-height: 1.4; color: var(--parchment);
}
.voice-card figcaption { margin-top: auto; padding-top: 1.4rem; display: flex; flex-direction: column; gap: .2rem; }
.voice-card figcaption strong { font-size: .92rem; color: var(--gold-soft); font-weight: 600; }
.voice-card figcaption span { font-size: .8rem; color: #8D8375; }
.voice-featured {
  grid-row: span 2; justify-content: center;
  background:
    radial-gradient(80% 60% at 20% 0%, rgba(122,18,32,.35), transparent 70%),
    linear-gradient(165deg, rgba(232,197,106,.08), rgba(255,255,255,.02));
  border-color: var(--line);
}
.voice-featured blockquote p { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.2rem); }
.voice-featured .voice-mark { width: 40px; opacity: .85; }

/* ==========================================================================
   PATHS (free devotion plans)
   ========================================================================== */
.paths {
  background:
    radial-gradient(70% 50% at 50% 0%, #FFFBF2, transparent 55%),
    linear-gradient(to bottom, var(--parchment), var(--parchment-2));
  color: var(--ink-2);
}
.paths .section-title { color: var(--ink-2); }
.paths .eyebrow { color: var(--crimson); }
.paths .eyebrow-rule { background: linear-gradient(90deg, transparent, var(--crimson)); }
.paths .section-lede { color: var(--muted-dark); }

.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.2vw, 1.8rem); align-items: stretch; }
.path-card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.7rem, 2.8vw, 2.4rem); border-radius: var(--radius-lg);
  background: rgba(255,255,255,.72); border: 1px solid rgba(27,21,32,.1);
  box-shadow: 0 24px 55px -40px rgba(27,21,32,.5);
  transition: transform .5s var(--ease-out), box-shadow .5s, border-color .4s;
}
.path-card:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -44px rgba(27,21,32,.55); }
.path-featured {
  background: linear-gradient(175deg, #17121D, #0E0B13 70%);
  color: var(--cream); border-color: rgba(232,197,106,.4);
  box-shadow: 0 40px 80px -40px rgba(14,11,19,.75), 0 0 0 1px rgba(232,197,106,.12);
  transform: scale(1.03);
}
.path-featured:hover { transform: scale(1.03) translateY(-8px); }
.path-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-inscribe); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
  background: linear-gradient(135deg, #F2D892, var(--gold)); color: #1C1608;
  padding: .5rem 1.1rem; border-radius: 999px; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow-gold);
}
.path-name { font-family: var(--font-display); font-size: clamp(1.5rem, 1.3rem + .8vw, 1.85rem); font-weight: 600; }
.path-featured .path-name { color: var(--parchment); }
.path-price { display: flex; align-items: baseline; gap: .6rem; margin-top: 1rem; }
.price-amount {
  font-family: var(--font-display); font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem);
  font-weight: 600; line-height: 1;
  background: linear-gradient(160deg, var(--crimson), #4E0B15);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.path-featured .price-amount {
  background: linear-gradient(160deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text; background-clip: text;
}
.price-note { font-family: var(--font-inscribe); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-dark); }
.path-featured .price-note { color: var(--muted); }
.path-desc { margin-top: .9rem; font-size: .93rem; color: #51473C; }
.path-featured .path-desc { color: var(--muted); }
.path-list { margin-top: 1.4rem; display: grid; gap: .7rem; flex: 1; }
.path-list li { position: relative; padding-left: 1.75rem; font-size: .9rem; color: #3C342B; }
.path-featured .path-list li { color: #CFC6B8; }
.path-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 14px; height: 14px;
  border-radius: 50%; background: rgba(163,29,51,.12);
  box-shadow: inset 0 0 0 1.5px var(--crimson-bright);
}
.path-featured .path-list li::before { background: rgba(232,197,106,.14); box-shadow: inset 0 0 0 1.5px var(--gold); }
.path-list li::after {
  content: ""; position: absolute; left: 4px; top: .55em; width: 6px; height: 3.5px;
  border-left: 1.6px solid var(--crimson-bright); border-bottom: 1.6px solid var(--crimson-bright);
  transform: rotate(-45deg);
}
.path-featured .path-list li::after { border-color: var(--gold); }
.path-card .btn { margin-top: 1.7rem; }
.paths-note {
  margin-top: clamp(2rem, 4vw, 3rem); text-align: center; font-family: var(--font-display);
  font-style: italic; font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); color: var(--muted-dark);
}

/* ==========================================================================
   PETITIONS
   ========================================================================== */
.petitions { position: relative; overflow: hidden; background: var(--ink); }
.petitions-media { position: absolute; inset: 0; }
.petitions-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .5; }
.petitions-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(8,7,11,.97) 30%, rgba(8,7,11,.82) 62%, rgba(8,7,11,.6)),
    radial-gradient(50% 60% at 85% 40%, rgba(232,197,106,.12), transparent 70%),
    linear-gradient(to top, var(--ink) 3%, transparent 30%);
}
.petitions-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
  gap: clamp(2rem, 4vw, 4rem); align-items: start;
}
.petition-aside { margin-top: 2.4rem; display: grid; grid-template-columns: 140px 1fr; gap: 1.1rem; align-items: center; }
.petition-roses { border-radius: 16px; width: 100%; height: 190px; object-fit: cover; border: 1px solid var(--line-soft); box-shadow: var(--shadow); }
.petition-aside-body { border-radius: 18px; padding: 1.3rem 1.4rem; }
.petition-aside-body .prayer-label { text-align: left; }
.petition-aside-prayer { margin-top: .7rem; font-family: var(--font-display); font-style: italic; font-size: 1.08rem; color: var(--parchment); line-height: 1.5; }
.petition-aside-prayer em { color: var(--gold); }
.petition-count { margin-top: .9rem; font-size: .8rem; color: var(--muted); }
.petition-count span { color: var(--gold-soft); font-weight: 600; }

.petition-form-wrap { border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.5rem); position: relative; }
.petition-form { display: grid; gap: 1.35rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .5rem; border: 0; padding: 0; }
.field label, .field legend, .ros-intention label {
  font-size: .8rem; font-weight: 600; letter-spacing: .05em; color: var(--gold-soft);
}
.optional { color: #8D8375; font-weight: 400; letter-spacing: 0; }

.field input, .field textarea, .ros-intention input {
  width: 100%; background: rgba(8,7,11,.55); border: 1px solid rgba(237,230,218,.16);
  border-radius: 12px; padding: .85rem 1rem; color: var(--cream);
  transition: border-color .3s, box-shadow .3s, background-color .3s;
  font-size: .96rem;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder, .ros-intention input::placeholder { color: #777063; }
.field input:hover, .field textarea:hover { border-color: rgba(237,230,218,.3); }
.field input:focus, .field textarea:focus, .ros-intention input:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(232,197,106,.16); background: rgba(8,7,11,.8);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #E26A7A; }
.field-error { font-size: .78rem; color: #F0A0AC; min-height: 1em; }
.field-meta { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.char-count { font-size: .75rem; color: #8D8375; font-variant-numeric: tabular-nums; }

.field-chips { margin: 0; }
.field-chips legend { margin-bottom: .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  padding: .55rem .95rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(237,230,218,.2); background: rgba(255,255,255,.03);
  color: var(--muted); font-size: .84rem; font-weight: 500;
  transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.chip[aria-checked="true"] {
  background: linear-gradient(135deg, rgba(242,216,146,.2), rgba(232,197,106,.12));
  border-color: var(--gold); color: var(--gold-soft);
  box-shadow: 0 6px 18px -10px rgba(232,197,106,.6);
}
.chip[aria-checked="true"]::before { content: "✦ "; color: var(--gold); }

.switch { display: flex; align-items: flex-start; gap: .8rem; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track {
  flex: none; width: 46px; height: 26px; border-radius: 999px; margin-top: 2px;
  background: rgba(237,230,218,.14); border: 1px solid rgba(237,230,218,.2);
  position: relative; transition: background-color .3s, border-color .3s;
}
.switch-thumb {
  position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(160deg, #FFF4DA, #D9C9A8); box-shadow: 0 2px 6px rgba(0,0,0,.4);
  transition: transform .35s var(--ease-out);
}
.switch input:checked + .switch-track { background: rgba(232,197,106,.3); border-color: var(--gold); }
.switch input:checked + .switch-track .switch-thumb { transform: translateX(20px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--gold); outline-offset: 3px; }
.switch-label { font-size: .88rem; color: var(--muted); }

.form-foot { font-size: .78rem; color: #8D8375; text-align: center; }

/* Success state */
.petition-success { text-align: center; padding: clamp(1rem, 3vw, 2rem) 0; }
.success-candle { width: 90px; margin: 0 auto 1.4rem; }
.success-candle svg { filter: drop-shadow(0 0 22px rgba(232,161,60,.55)); }
.flame-outer, .flame-inner { transform-origin: 40px 52px; animation: flameDance 2.2s ease-in-out infinite; }
.flame-inner { animation-duration: 1.6s; animation-direction: reverse; }
@keyframes flameDance {
  0%,100% { transform: scaleY(1) skewX(0deg); }
  30% { transform: scaleY(1.12) skewX(3deg); }
  60% { transform: scaleY(.94) skewX(-3deg); }
}
.petition-success h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem); font-weight: 600; color: var(--parchment); }
.petition-success p { margin-top: .8rem; color: var(--muted); max-width: 44ch; margin-inline: auto; }
.success-actions { display: flex; gap: .8rem; justify-content: center; margin-top: 1.7rem; flex-wrap: wrap; }
.petition-form-wrap.is-success .petition-form { display: none; }

/* Prayer wall */
.wall { position: relative; z-index: 1; margin-top: clamp(2.5rem, 5vw, 4rem); }
.wall-title {
  font-family: var(--font-inscribe); font-size: .72rem; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gold); text-align: center; margin-bottom: 1.4rem;
}
.wall-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.wall-item {
  padding: 1.2rem 1.3rem; border-radius: 16px; border: 1px solid var(--line-soft);
  background: rgba(14,12,20,.66); backdrop-filter: blur(10px);
  transition: transform .4s var(--ease-out), border-color .4s;
}
.wall-item:hover { transform: translateY(-4px); border-color: var(--line); }
.wall-item p { font-family: var(--font-display); font-style: italic; font-size: 1.04rem; color: var(--parchment); line-height: 1.5; }
.wall-meta { display: flex; justify-content: space-between; gap: .8rem; margin-top: .9rem; font-size: .76rem; color: #8D8375; }
.wall-meta .wall-cat { color: var(--gold); font-family: var(--font-inscribe); letter-spacing: .16em; text-transform: uppercase; font-size: .62rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--ink-2); }
.faq-list { display: grid; gap: .8rem; }
.faq-item {
  border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden;
  background: linear-gradient(165deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  transition: border-color .35s, background-color .35s;
}
.faq-item:hover { border-color: rgba(232,197,106,.3); }
.faq-item.is-open { border-color: var(--line); background: rgba(232,197,106,.045); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.25rem 1.4rem; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: clamp(1.12rem, 1.05rem + .4vw, 1.35rem);
  font-weight: 600; color: var(--parchment); transition: color .3s;
}
.faq-q:hover { color: var(--gold-soft); }
.faq-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .45s var(--ease-out), background-color .3s; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: var(--gold); border-radius: 2px;
  transition: transform .4s var(--ease-out), opacity .3s;
}
.faq-icon::before { width: 12px; height: 1.6px; }
.faq-icon::after { width: 1.6px; height: 12px; }
.faq-item.is-open .faq-icon { transform: rotate(180deg); background: rgba(232,197,106,.12); }
.faq-item.is-open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 1.4rem 1.4rem; color: var(--muted); font-size: .95rem; max-width: 70ch; }

/* ==========================================================================
   FINALE
   ========================================================================== */
.finale { position: relative; overflow: hidden; text-align: center; padding-block: clamp(6rem, 12vw, 10rem); }
.finale-bg { position: absolute; inset: 0; }
.finale-bg img { width: 100%; height: 100%; object-fit: cover; }
.finale-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,7,11,.9), rgba(8,7,11,.62) 45%, rgba(8,7,11,.92)),
    radial-gradient(55% 55% at 50% 55%, rgba(122,18,32,.35), transparent 70%);
}
.finale-inner { position: relative; z-index: 1; display: grid; justify-items: center; }
.finale-title {
  font-family: var(--font-display); font-weight: 600; line-height: 1.06;
  font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.2rem); letter-spacing: -.018em;
  color: var(--parchment); margin-top: 1.3rem;
}
.finale-lede { margin-top: 1.4rem; max-width: 56ch; color: #CFC6B8; font-size: clamp(1rem, .95rem + .35vw, 1.15rem); }
.finale-ctas { display: flex; gap: 1rem; margin-top: 2.3rem; flex-wrap: wrap; justify-content: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #07060A; border-top: 1px solid var(--line-soft);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer-tagline { margin-top: 1.1rem; color: var(--muted); font-size: .9rem; max-width: 36ch; }
.footer-feast { margin-top: 1rem; font-size: .84rem; color: #8D8375; }
.footer-feast strong { color: var(--gold-soft); }
.footer-col { display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }
.footer-col h3 {
  font-family: var(--font-inscribe); font-size: .68rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; font-weight: 500;
}
.footer-col a, .footer-col button {
  color: var(--muted); text-decoration: none; font-size: .9rem; background: none;
  border: 0; padding: 0; cursor: pointer; text-align: left;
  transition: color .3s, transform .3s;
}
.footer-col a:hover, .footer-col button:hover { color: var(--gold-soft); transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid rgba(237,230,218,.08); padding-block: 1.6rem;
  display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between;
  font-size: .8rem; color: #777063;
}
.footer-disclaimer { color: #5F594E; }

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.2rem; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(5,4,8,.78);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: fadeIn .4s var(--ease-out);
}
.modal-card {
  position: relative; width: min(680px, 100%); max-height: min(88vh, 900px);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3.5vw, 2.8rem);
  overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(232,197,106,.4) transparent;
  animation: modalIn .55s var(--ease-out);
}
.modal-card.modal-rosary { width: min(760px, 100%); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(28px) scale(.97); } }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,.04); color: var(--muted);
  font-size: 1.5rem; line-height: 1; cursor: pointer; transition: all .3s;
}
.modal-close:hover { color: var(--gold); border-color: var(--gold); transform: rotate(90deg); }
.modal-title {
  font-family: var(--font-display); font-size: clamp(1.7rem, 1.4rem + 1.3vw, 2.4rem);
  font-weight: 600; color: var(--parchment); margin-top: .5rem; line-height: 1.15;
}
.modal-prayer { max-height: 46vh; margin-top: 1.3rem; }
.modal-actions { display: flex; gap: .8rem; margin-top: 1.6rem; flex-wrap: wrap; }
.modal-foot { margin-top: 1rem; font-size: .78rem; color: #8D8375; text-align: center; }

/* Rosary modal */
.ros-meditation { margin-top: .8rem; color: var(--muted); font-size: .95rem; font-style: italic; }
.ros-intention { margin-top: 1.3rem; display: grid; gap: .5rem; }
.ros-status {
  margin-top: 1.2rem; font-family: var(--font-inscribe); font-size: .74rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold); text-align: center;
  min-height: 1.4em;
}
.ros-beads { display: grid; gap: .9rem; margin-top: 1.2rem; }
.ros-decade { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; justify-content: center; }
.ros-decade-label {
  font-family: var(--font-inscribe); font-size: .6rem; letter-spacing: .2em;
  color: #8D8375; width: 100%; text-align: center; margin-bottom: .15rem;
}
.bead {
  width: 30px; height: 30px; border-radius: 50%; padding: 0; cursor: default;
  border: 1.5px solid rgba(232,197,106,.28); background: rgba(255,255,255,.04);
  transition: all .3s var(--ease-out); position: relative;
}
.bead.is-done {
  background: radial-gradient(circle at 32% 30%, #F8EBC8, var(--gold) 65%, #A87B22);
  border-color: var(--gold-soft); box-shadow: 0 0 14px rgba(232,197,106,.55);
  animation: beadPop .45s var(--ease-out);
}
@keyframes beadPop { 0% { transform: scale(.55); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.bead.is-next {
  cursor: pointer; border-color: var(--gold); background: rgba(232,197,106,.14);
  animation: beadPulse 1.8s ease-in-out infinite;
}
@keyframes beadPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(232,197,106,.5); }
  50% { box-shadow: 0 0 0 7px rgba(232,197,106,0); }
}
.bead-pater { width: 38px; height: 38px; }
.ros-progress { margin-top: 1.4rem; }
.ros-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.ros-bar span {
  display: block; height: 100%; width: 0%; border-radius: inherit;
  background: linear-gradient(90deg, var(--crimson-bright), var(--gold));
  transition: width .5s var(--ease-out);
}
.ros-counter { margin-top: .55rem; text-align: center; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ros-done { margin-top: 1.3rem; border-top: 1px solid var(--line-soft); padding-top: 1.3rem; animation: heroIn .6s var(--ease-out); }
.ros-done-prayer { font-family: var(--font-display); font-style: italic; font-size: 1.08rem; color: var(--parchment); line-height: 1.55; }
.ros-done-prayer strong { color: var(--gold); font-style: normal; }
.ros-done .btn { margin-top: 1.2rem; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 2rem; transform: translateX(-50%) translateY(20px);
  z-index: 260; background: linear-gradient(160deg, #1C1726, #12101A);
  border: 1px solid var(--line); color: var(--parchment);
  padding: .95rem 1.5rem; border-radius: 999px; font-size: .9rem; font-weight: 500;
  box-shadow: var(--shadow), 0 0 40px -18px rgba(232,197,106,.6);
  opacity: 0; transition: opacity .4s var(--ease), transform .4s var(--ease-out);
  max-width: min(92vw, 480px); text-align: center;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast[hidden] { display: block; visibility: hidden; }
.toast.is-visible[hidden] { visibility: visible; }

/* ==========================================================================
   SCROLL REVEALS
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(34px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s);
}
.js .reveal.is-in { will-change: auto; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-prayer { max-height: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .mystery-grid { grid-template-columns: repeat(3, 1fr); }
  .explorer { grid-template-columns: 1fr; }
  .explorer-frame { max-height: 62vh; }
  .petitions-inner { grid-template-columns: 1fr; }
  .wall-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; gap: 0;
    background: rgba(9,8,12,.96); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-soft); padding: .5rem var(--gutter) 1.2rem;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .45s var(--ease-out), opacity .35s;
  }
  .nav-links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .95rem .3rem; font-size: 1.05rem; border-bottom: 1px solid rgba(237,230,218,.06); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  body.nav-open { overflow: hidden; }

  .proof-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .proof-item:nth-child(odd)::before { display: none; }
  .benefit-grid, .path-grid { grid-template-columns: 1fr; }
  .path-featured { transform: none; }
  .path-featured:hover { transform: translateY(-8px); }
  .voice-grid { grid-template-columns: 1fr; }
  .voice-featured { grid-row: auto; }
  .mystery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .mystery-grid { grid-template-columns: 1fr; }
  .wall-list { grid-template-columns: 1fr; }
  .petition-aside { grid-template-columns: 1fr; }
  .petition-roses { height: 150px; }
  .hero-ctas .btn { width: 100%; }
  .hero-meta { gap: 1rem; }
  .rosary-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .finale-ctas .btn { width: 100%; }
  .bead { width: 26px; height: 26px; }
  .bead-pater { width: 32px; height: 32px; }
  .hero-scroll { display: none; }
}

/* ==========================================================================
   REDUCED MOTION & SUPPORT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal, .js .hero-anim { opacity: 1 !important; transform: none !important; }
  .word i { transform: none !important; }
  .grain { display: none; }
}
