/* ==========================================================
   He Is Rizzin’ — devotional catalog stylesheet
   ========================================================== */

:root {
  --parchment: #F4E8CF;
  --ivory: #FFF8E8;
  --oxblood: #6E1423;
  --wine: #3B0D16;
  --gold: #B88932;
  --ink: #1B1713;
  --umber: #6F5A3E;
  --candle: #F2C166;
  --verdigris: #61735D;

  /* Darker gold for text on light grounds (gold itself fails contrast) */
  --gold-text: #7A5A1E;

  --font-display: "Grenze Gotisch", "UnifrakturCook", Georgia, serif;
  --font-heading: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --font-body: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-label: "Cinzel", "Cormorant Garamond", Georgia, serif;

  --radius: 4px;
  --shadow-card: 0 1px 0 rgba(255, 248, 232, 0.8) inset, 0 10px 30px -12px rgba(59, 13, 22, 0.35);
  --focus: 0 0 0 3px var(--ivory), 0 0 0 6px var(--oxblood);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--parchment);
  /* Subtle aged-paper mottling, no images required */
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(255, 248, 232, 0.9), transparent 55%),
    radial-gradient(ellipse at 85% 40%, rgba(184, 137, 50, 0.10), transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(111, 90, 62, 0.10), transparent 45%),
    radial-gradient(ellipse at 90% 95%, rgba(110, 20, 35, 0.06), transparent 40%);
  background-attachment: fixed;
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--wine);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.65rem); }

p { margin: 0 0 1em; }

a { color: var(--oxblood); text-underline-offset: 0.18em; }
a:hover { color: var(--wine); }

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: var(--radius);
}

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

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--wine);
  color: var(--ivory);
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}
.container--narrow { width: min(760px, 100% - 2rem); }

.eyebrow {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.9rem;
}

.divider {
  width: min(240px, 60%);
  height: 24px;
  margin: 1.25rem auto;
  color: var(--gold);
}
.divider--section { margin-block: 0; }

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

.btn {
  --glow: rgba(242, 193, 102, 0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: box-shadow 0.3s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn--primary {
  background: linear-gradient(180deg, var(--oxblood), var(--wine));
  color: var(--ivory);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--wine), 0 0 24px 2px var(--glow);
}
.btn--primary:hover {
  --glow: rgba(242, 193, 102, 0.55);
  color: var(--ivory);
  transform: translateY(-1px);
}
.btn--primary:focus-visible {
  box-shadow: 0 0 0 3px var(--ivory), 0 0 0 6px var(--oxblood), 0 0 24px 4px rgba(242, 193, 102, 0.55);
}

.btn--ghost {
  background: rgba(255, 248, 232, 0.6);
  color: var(--wine);
  border-color: var(--wine);
}
.btn--ghost:hover { background: var(--ivory); color: var(--oxblood); }

.btn--large { font-size: 1rem; padding: 1rem 2rem; }

.btn__flame { width: 12px; height: 18px; flex: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(3rem, 6vw, 5.5rem) 1rem clamp(3rem, 6vw, 5rem);
  border-bottom: 3px double var(--gold);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 248, 232, 0.95) 0%, rgba(244, 232, 207, 0.4) 45%, transparent 70%),
    linear-gradient(180deg, rgba(59, 13, 22, 0.08), transparent 30%, transparent 70%, rgba(59, 13, 22, 0.10));
}

.hero__rays {
  position: absolute;
  inset: -50% -50% auto;
  height: 150%;
  background: repeating-conic-gradient(from 0deg at 50% 50%,
    rgba(184, 137, 50, 0.10) 0deg 4deg,
    transparent 4deg 12deg);
  mask-image: radial-gradient(circle at 50% 50%, black 10%, transparent 55%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 10%, transparent 55%);
  pointer-events: none;
}

.hero__inner { position: relative; max-width: 860px; margin: 0 auto; }

.hero__seal-wrap {
  width: clamp(120px, 18vw, 170px);
  margin: 0 auto 1rem;
}

.halo-seal { width: 100%; height: auto; overflow: visible; }
.halo-seal__rays { transform-origin: 100px 100px; }
.halo-seal__ring-text {
  font-family: var(--font-label);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 1.5rem + 9vw, 8rem);
  line-height: 0.95;
  color: var(--oxblood);
  letter-spacing: 0.01em;
  margin: 0 0 0.35rem;
  text-shadow: 0 2px 0 rgba(255, 248, 232, 0.9), 0 4px 18px rgba(184, 137, 50, 0.25);
}

.hero__subtitle {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: clamp(0.95rem, 0.8rem + 0.8vw, 1.35rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
  margin: 0;
  text-wrap: balance;
}

.hero__copy {
  max-width: 38em;
  margin: 0 auto 2rem;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  color: var(--ink);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero__badge {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.75rem;
  margin: 0;
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--gold);
  outline: 1px solid var(--gold);
  outline-offset: 3px;
  background: rgba(255, 248, 232, 0.75);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--umber);
}

/* ---------- Disclaimer strip ---------- */

.disclaimer-strip {
  background: var(--wine);
  color: var(--ivory);
  border-bottom: 2px solid var(--gold);
  padding: 0.9rem 1rem;
  text-align: center;
  font-size: 1rem;
}
.disclaimer-strip p { margin: 0 auto; max-width: 60em; }
.disclaimer-strip strong {
  font-family: var(--font-label);
  letter-spacing: 0.08em;
  color: var(--candle);
}

/* ---------- Sections ---------- */

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }

.section__head { text-align: center; max-width: 44em; margin: 0 auto 2.75rem; }
.section__intro { color: var(--umber); font-style: italic; margin: 0; }

.two-col {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 820px) {
  .two-col { grid-template-columns: 1.15fr 1fr; gap: 4rem; }
}

.lede { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); }

.dropcap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.6em;
  line-height: 0.8;
  margin: 0.08em 0.1em 0 0;
  padding: 0.08em 0.12em;
  color: var(--ivory);
  background: var(--oxblood);
  border: 2px solid var(--gold);
}

/* Parchment scroll card with corner flourishes */
.scroll-card,
.cta-panel {
  position: relative;
  background: var(--ivory);
  border: 1px solid rgba(111, 90, 62, 0.35);
  outline: 1px solid rgba(184, 137, 50, 0.6);
  outline-offset: -10px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
}

.corner {
  position: absolute;
  width: 34px; height: 34px;
  color: var(--gold);
}
.corner--tl { top: 4px; left: 4px; }
.corner--tr { top: 4px; right: 4px; transform: scaleX(-1); }
.corner--bl { bottom: 4px; left: 4px; transform: scaleY(-1); }
.corner--br { bottom: 4px; right: 4px; transform: scale(-1, -1); }

.scroll-card__label {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oxblood);
  text-align: center;
  margin-bottom: 1.25rem;
}

.rubric-list { list-style: none; margin: 0; padding: 0; }
.rubric-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
  border-bottom: 1px dotted rgba(111, 90, 62, 0.45);
}
.rubric-list li:last-child { border-bottom: 0; }
.rubric-list li::before {
  content: "✠";
  position: absolute;
  left: 0.2rem;
  top: 0.5rem;
  color: var(--oxblood);
}

/* ---------- Prayer cards ---------- */

.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.prayer-card { height: 100%; }

.prayer-card__inner {
  position: relative;
  height: 100%;
  min-height: 300px;
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 1), rgba(244, 232, 207, 0.95));
  border: 2px solid var(--gold);
  outline: 1px solid var(--gold);
  outline-offset: -9px;
  border-radius: 14px 14px 4px 4px;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
/* Arched prayer-card top */
.prayer-card__inner::before {
  content: "";
  position: absolute;
  top: 16px; left: 50%;
  width: 70%; height: 36px;
  transform: translateX(-50%);
  border: 1px solid rgba(184, 137, 50, 0.6);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}

.prayer-card:hover .prayer-card__inner {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255, 248, 232, 0.8) inset, 0 18px 36px -14px rgba(59, 13, 22, 0.45);
}

.prayer-card__face {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 2.4rem 1.75rem 1.75rem;
}
.prayer-card__face[hidden] { display: none; }
.prayer-card__back { background: radial-gradient(ellipse at 50% 0%, rgba(242, 193, 102, 0.22), transparent 70%); border-radius: inherit; }
.prayer-card__face.is-revealing { animation: card-reveal 0.4s ease both; }

@keyframes card-reveal {
  from { opacity: 0; transform: rotateY(-12deg); }
  to   { opacity: 1; transform: none; }
}

.prayer-card__numeral {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--oxblood);
  color: var(--candle);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4px var(--gold);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.95rem;
  transition: box-shadow 0.4s ease;
}
.prayer-card:hover .prayer-card__numeral {
  box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4px var(--gold), 0 0 18px 4px rgba(242, 193, 102, 0.6);
}

.prayer-card h3 { margin-bottom: 0.6rem; }
.prayer-card__front p { color: var(--umber); font-style: italic; }

.prayer-card__excerpt {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--wine);
  margin-top: 0.5rem;
}
.prayer-card__excerpt code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78em;
  word-break: break-all;
}
.prayer-card__note {
  font-size: 0.85rem;
  color: var(--umber);
}

.prayer-card__toggle {
  margin-top: auto;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  background: transparent;
  border: 1px solid var(--oxblood);
  border-radius: 2px;
  color: var(--oxblood);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.prayer-card__toggle:hover { background: var(--oxblood); color: var(--ivory); }
.prayer-card__toggle::after { content: " ›"; }
.prayer-card__back .prayer-card__toggle::after { content: ""; }
.prayer-card__back .prayer-card__toggle::before { content: "‹ "; }

/* ---------- Tiers ---------- */

.section--tiers {
  background:
    linear-gradient(180deg, rgba(59, 13, 22, 0.94), rgba(59, 13, 22, 0.98)),
    var(--wine);
  color: var(--ivory);
  border-block: 3px double var(--gold);
}
.section--tiers h2 { color: var(--ivory); }
.section--tiers .eyebrow { color: var(--candle); }
.section--tiers .section__intro { color: rgba(255, 248, 232, 0.82); }

.tier-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.tier {
  position: relative;
  text-align: center;
  padding: 2rem 1.25rem 1.5rem;
  border: 1px solid rgba(184, 137, 50, 0.7);
  background: rgba(255, 248, 232, 0.04);
}
.tier--featured {
  background: rgba(242, 193, 102, 0.1);
  border: 2px solid var(--candle);
}

.tier__ribbon {
  position: absolute;
  top: -0.85rem; left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.2rem 0.9rem;
  background: var(--candle);
  color: var(--wine);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tier__name {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--candle);
  margin-bottom: 0.4rem;
}
.tier__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.8rem;
}
.tier__desc { margin: 0; color: rgba(255, 248, 232, 0.88); font-size: 1rem; }

.fine-print {
  text-align: center;
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255, 248, 232, 0.75);
  margin: 2rem 0 0;
}

/* ---------- Ritual steps ---------- */

.ritual-steps {
  list-style: none;
  margin: 0 0 3.5rem;
  padding: 0;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  counter-reset: none;
}

.ritual-step { text-align: center; }
.ritual-step h3 { margin-bottom: 0.4rem; }
.ritual-step p:last-child { color: var(--umber); }

.ritual-step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--oxblood);
  margin: 0.5rem 0 0.25rem;
}

.candle {
  position: relative;
  width: 40px;
  height: 92px;
  margin: 0 auto;
}
.candle__flame {
  position: absolute;
  left: 50%;
  top: 0;
  width: 16px; height: 26px;
  margin-left: -8px;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 0 8px rgba(242, 193, 102, 0.9));
  animation: flicker 2.8s ease-in-out infinite;
}
.candle--two .candle__flame { animation-delay: -0.9s; animation-duration: 3.3s; }
.candle--three .candle__flame { animation-delay: -1.7s; animation-duration: 2.5s; }
.candle__wax {
  position: absolute;
  bottom: 0; left: 50%;
  width: 22px; height: 62px;
  margin-left: -11px;
  background: linear-gradient(90deg, #e9dcc0, var(--ivory) 40%, #e3d3b2);
  border: 1px solid rgba(111, 90, 62, 0.45);
  border-radius: 3px 3px 2px 2px;
}
.candle__wax::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  width: 2px; height: 7px;
  margin-left: -1px;
  background: var(--ink);
}

@keyframes flicker {
  0%, 100% { transform: scale(1, 1) rotate(0deg); opacity: 1; }
  20% { transform: scale(0.96, 1.05) rotate(-2deg); opacity: 0.94; }
  45% { transform: scale(1.03, 0.95) rotate(1.5deg); opacity: 1; }
  70% { transform: scale(0.98, 1.03) rotate(-1deg); opacity: 0.9; }
}

/* Blessing intensity */
.intensity {
  max-width: 520px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: var(--ivory);
  border: 1px solid rgba(111, 90, 62, 0.35);
  box-shadow: var(--shadow-card);
}
.intensity__label {
  display: block;
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--oxblood);
  margin-bottom: 0.9rem;
}
.intensity input[type="range"] {
  width: 100%;
  accent-color: var(--oxblood);
  min-height: 32px;
  cursor: pointer;
}
.intensity__readout { margin: 0.75rem 0 0.25rem; }
.intensity__readout strong { font-family: var(--font-heading); font-size: 1.3rem; color: var(--wine); }
.intensity__note { margin: 0; font-size: 0.9rem; font-style: italic; color: var(--umber); }

/* ---------- Testimonials ---------- */

.section--testimonials {
  background: linear-gradient(180deg, transparent, rgba(184, 137, 50, 0.08) 20%, rgba(184, 137, 50, 0.08) 80%, transparent);
}

.testimonials {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.testimony {
  margin: 0;
  padding: 2rem 1.75rem 1.5rem;
  background: var(--ivory);
  border-left: 4px solid var(--oxblood);
  box-shadow: var(--shadow-card);
  position: relative;
}
.testimony::before {
  content: "“";
  position: absolute;
  top: -0.2rem; right: 1rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(184, 137, 50, 0.45);
}
.testimony blockquote { margin: 0; }
.testimony blockquote p {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--wine);
}
.testimony figcaption {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--umber);
}
.testimony figcaption span { text-transform: none; font-family: var(--font-body); font-style: italic; letter-spacing: 0; font-weight: 400; font-size: 1rem; }

/* ---------- FAQ ---------- */

.faq details {
  border-top: 1px solid rgba(111, 90, 62, 0.4);
}
.faq details:last-child { border-bottom: 1px solid rgba(111, 90, 62, 0.4); }

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--wine);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "✠";
  flex: none;
  color: var(--oxblood);
  transition: transform 0.3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--oxblood); }
.faq details p { padding: 0 0.25rem 1.1rem; margin: 0; }

/* ---------- Final CTA ---------- */

.section--cta { padding-top: 1rem; }
.cta-panel { text-align: center; padding: 3.5rem 2rem; }
.cta-panel h2 { font-family: var(--font-display); font-weight: 800; color: var(--oxblood); }
.cta-panel p { max-width: 32em; margin-inline: auto; }
.notify-status { min-height: 1.6em; margin: 1.25rem auto 0; font-style: italic; color: var(--umber); }

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

.site-footer {
  background: var(--ink);
  color: rgba(255, 248, 232, 0.86);
  padding: 3rem 0 2.5rem;
  border-top: 3px double var(--gold);
  font-size: 0.95rem;
}
.site-footer a { color: var(--candle); }
.site-footer a:hover { color: var(--ivory); }
.site-footer :focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--candle); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  margin-bottom: 2rem;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-nav a { text-decoration: none; padding: 0.35rem 0; }
.footer-nav a:hover { text-decoration: underline; }

.footer-notices {
  display: grid;
  gap: 1.5rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  margin-bottom: 2rem;
}
.footer-notices h2 {
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--candle);
  margin-bottom: 0.5rem;
}
.footer-notices p { margin: 0; line-height: 1.55; }
.footer-notices section { scroll-margin-top: 2rem; }
.footer-notices section:target h2 { text-decoration: underline; text-underline-offset: 0.3em; }

.footer-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184, 137, 50, 0.35);
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 248, 232, 0.7);
}
.footer-cross { width: 12px; height: 12px; color: var(--gold); }
.back-to-top { display: block; text-align: center; font-size: 0.85rem; }

/* ---------- Small screens ---------- */

@media (max-width: 560px) {
  .scroll-card, .cta-panel { padding: 2.25rem 1.25rem; outline-offset: -7px; }
  .corner { width: 24px; height: 24px; }
  .prayer-card__inner { outline-offset: -7px; min-height: 0; }
  .prayer-card__face { padding: 2.2rem 1.25rem 1.5rem; }
  .hero__ctas .btn { width: 100%; }
  .hero__badge { font-size: 0.66rem; letter-spacing: 0.12em; }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: no-preference) {
  .halo-seal__rays { animation: halo-turn 90s linear infinite; }
}
@keyframes halo-turn { to { transform: rotate(360deg); } }

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

/* ---------- Print: for those who want a paper copy of their shame ---------- */

@media print {
  .hero__rays, .skip-link, .intensity, .hero__ctas, #notify { display: none; }
  body { background: #fff; }
  .prayer-card__face[hidden] { display: flex; }
}
