/* Extra life for the public page: progress bar, fireflies, remembrance band, candles,
   photo strip, calendar of activities, dark footer. Loaded after motion.css. */
:root { --navy: #18223a; --navy2: #2a3a5e; --gold: #e9c46a; --gold2: #f6dd9b; --cream: #f6efe2; }
html, body { overflow-x: clip; }

.progress-top { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--lavender), var(--gold), var(--copper)); pointer-events: none; }
.fireflies { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.38) 50%, transparent 65%); transform: translateX(-130%); pointer-events: none; }
.btn:hover::after { transform: translateX(130%); transition: transform .8s ease; }
.btn--gold { background: linear-gradient(135deg, var(--gold2), #e0b24f); border-color: #d9a93f; color: #2a2110; }
.btn--gold:hover { background: linear-gradient(135deg, #fbe7b0, #e8bd5f); box-shadow: 0 8px 22px rgba(233,196,106,.45); }

/* ---------- hero ---------- */
.hero__rays { position: absolute; left: 50%; top: 30%; width: min(1300px, 170vw); aspect-ratio: 1; margin: calc(min(1300px, 170vw) / -2) 0 0 calc(min(1300px, 170vw) / -2); pointer-events: none; z-index: 0;
  background: repeating-conic-gradient(from 0deg, rgba(246,221,155,.28) 0 5deg, transparent 5deg 16deg);
  -webkit-mask: radial-gradient(circle, #000 0, rgba(0,0,0,.5) 28%, transparent 62%); mask: radial-gradient(circle, #000 0, rgba(0,0,0,.5) 28%, transparent 62%);
  translate: calc(var(--mx, 0) * 16px) calc(var(--my, 0) * 12px); }
.hero__floral { translate: calc(var(--mx, 0) * -18px) calc(var(--my, 0) * -12px + var(--sy, 0) * -0.06px); transition: translate .5s ease-out; }
.portrait-wrap { translate: calc(var(--mx, 0) * 10px) calc(var(--my, 0) * 8px); transition: translate .5s ease-out; }
.hero__inner { translate: 0 calc(var(--sy, 0) * -0.1px); opacity: calc(1 - var(--sy, 0) * 0.0006); }
.tw { display: inline-block; }
.hero__next { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 9px 18px; border-radius: 99px; background: rgba(255,255,255,.78); border: 1px solid var(--line); font: 0.74rem/1.4 var(--font-label); letter-spacing: .06em; color: var(--ink); text-decoration: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .3s, box-shadow .3s; }
.hero__next:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(63,91,130,.15); }
.hero__next b { font-weight: 600; color: var(--slate-blue); }
.next__dot { width: 9px; height: 9px; border-radius: 50%; background: #2e9d57; flex: none; box-shadow: 0 0 0 0 rgba(46,157,87,.5); }

/* ---------- services: rosary card ---------- */
.service--wide { grid-column: 1 / -1; }
.service--rosary { background: linear-gradient(135deg, #fff, #fbf5e6); border-color: #e6d3a3; }
.service--rosary .btn { margin: 4px 4px 0; }

/* ---------- remembrance band ---------- */
.band { position: relative; overflow: hidden; padding: 88px 0 80px; text-align: center; color: var(--cream);
  background: radial-gradient(900px 420px at 50% 0%, #34476f 0%, transparent 70%), linear-gradient(180deg, #18223a, #212e4c 55%, #18223a); }
.band__fl { position: absolute; width: clamp(120px, 22vw, 270px); opacity: .32; pointer-events: none; z-index: 0; }
.band__fl--l { left: 0; top: 0; } .band__fl--r { right: 0; bottom: 0; }
.band__inner { position: relative; z-index: 1; }
.quote { margin: 0 auto 70px; max-width: 34em; min-height: 11.5em; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity .9s ease, transform .9s ease; }
.quote.swap { opacity: 0; transform: translateY(10px); }
.quote__text { margin: 0; font-size: clamp(1.45rem, 4.2vw, 2.25rem); font-style: italic; line-height: 1.38; text-wrap: balance; }
.quote__text::before { content: "“"; display: block; font-size: 3.4rem; line-height: .6; color: var(--gold); margin-bottom: 8px; }
.quote__by { margin-top: 14px; min-height: 1.2em; font: .74rem var(--font-label); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.quote__dots { margin-top: 18px; display: flex; gap: 8px; }
.quote__dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); transition: background .4s, transform .4s; }
.quote__dots i.on { background: var(--gold); transform: scale(1.5); }

.candles__title { color: var(--cream); font-size: clamp(1.5rem, 4.6vw, 2.1rem); margin-bottom: 10px; }
.shelf { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 14px 22px; min-height: 140px; margin: 14px auto 10px; max-width: 760px; padding: 0 10px 34px; }
.candles__form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.candles__form input { font: inherit; padding: 12px 16px; min-width: 220px; border-radius: 3px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: var(--cream); }
.candles__form input::placeholder { color: rgba(246,239,226,.55); }
.candles__form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(233,196,106,.18); }
.candles__note { margin: 16px 0 0; font-size: .95rem; font-style: italic; color: rgba(246,239,226,.6); }

.cd { position: relative; width: 44px; height: 96px; flex: none; }
.cd--main { transform: scale(1.35); transform-origin: 50% 100%; margin: 0 22px; }
.cd__body { position: absolute; left: 50%; bottom: 0; width: 16px; height: 46px; margin-left: -8px; border-radius: 3px; background: linear-gradient(90deg, #efe3c9, #fbf5e6 45%, #e6d8b8); }
.cd__wick { position: absolute; left: 50%; bottom: 46px; width: 2px; height: 7px; margin-left: -1px; background: #4a3b30; }
.cd__flame { position: absolute; left: 50%; bottom: 52px; width: 11px; height: 23px; margin-left: -5.5px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: linear-gradient(#fff8d6 0%, #f8c64f 55%, #e8862b 100%); transform-origin: 50% 100%; box-shadow: 0 0 16px 6px rgba(245,185,66,.55); }
.cd__glow { position: absolute; left: 50%; bottom: 30px; width: 110px; height: 110px; margin-left: -55px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,120,.3), transparent 68%); pointer-events: none; }
.cd__name { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 8px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: .68rem var(--font-label); letter-spacing: .1em; color: rgba(246,239,226,.78); }
.spark { position: absolute; left: 50%; bottom: 62px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold2); opacity: 0; pointer-events: none; }

/* ---------- photo strip ---------- */
.strip { margin: 0 calc(50% - 50vw) 30px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.strip__track { display: flex; gap: 12px; width: max-content; padding: 4px 0; }
.strip__item { flex: none; height: clamp(120px, 21vw, 200px); border: 0; padding: 0; border-radius: 6px; overflow: hidden; background: var(--lavender-tint); cursor: zoom-in; box-shadow: 0 6px 16px rgba(63,91,130,.16); }
.strip__item img { height: 100%; width: auto; max-width: none; display: block; transition: transform .7s var(--ease), filter .4s; }
.strip__item:hover img { transform: scale(1.08); }
.strip:hover .strip__track { animation-play-state: paused; }

/* ---------- calendar of activities ---------- */
.next { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; width: max-content; max-width: 100%; margin: 0 auto 36px; padding: 12px 22px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(63,91,130,.1); font: .8rem/1.5 var(--font-label); letter-spacing: .05em; text-align: center; }
.next b { color: var(--slate-blue); font-weight: 600; }
.timeline { position: relative; display: grid; gap: 26px; max-width: 800px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 41px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--lavender), var(--copper)); opacity: .35; }
.day { display: grid; grid-template-columns: 84px 1fr; gap: 22px; position: relative; }
.day__date { position: relative; z-index: 1; align-self: start; width: 84px; text-align: center; padding: 10px 4px 9px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 16px rgba(63,91,130,.1); transition: background .4s, color .4s, transform .4s var(--ease); }
.day__date small { display: block; font: .62rem var(--font-label); letter-spacing: .22em; text-transform: uppercase; color: var(--copper); }
.day__date b { display: block; font-size: 2.3rem; line-height: 1.05; font-weight: 600; color: var(--slate-blue); }
.day__date span { display: block; font: .6rem var(--font-label); letter-spacing: .12em; text-transform: uppercase; }
.day__date--tba b { font-size: 1.6rem; letter-spacing: .1em; }
.day:hover .day__date { transform: scale(1.05); }
.day.is-today .day__date { background: var(--slate-blue); border-color: var(--slate-blue); }
.day.is-today .day__date small, .day.is-today .day__date b, .day.is-today .day__date span { color: #fff; }
.day.is-today .day__date::after { content: "Today"; position: absolute; left: 50%; top: 100%; transform: translate(-50%, 6px); font: .58rem var(--font-label); letter-spacing: .18em; text-transform: uppercase; color: var(--copper); }
.day.is-past .day__date { opacity: .55; }
.day__list { display: grid; gap: 14px; }
.ev { display: grid; grid-template-columns: 92px 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--lavender); border-radius: 6px; padding: 16px 20px; transition: transform .4s var(--ease), box-shadow .4s, opacity .4s; }
.ev:hover { transform: translateX(4px); box-shadow: 0 12px 28px rgba(63,91,130,.12); }
.ev__time { font: .78rem/1.5 var(--font-label); letter-spacing: .08em; text-transform: uppercase; color: var(--copper); padding-top: 4px; }
.ev__title { font-size: 1.4rem; line-height: 1.25; }
.ev__badge { display: inline-block; margin-left: 10px; padding: 3px 9px; border-radius: 99px; font: .6rem var(--font-label); letter-spacing: .14em; text-transform: uppercase; background: #b3261e; color: #fff; vertical-align: middle; }
.ev__place { margin: 4px 0 0; }
.ev__note { margin: 6px 0 0; font-style: italic; color: #6d6d75; }
.ev__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ev__btn { display: inline-block; font: .66rem var(--font-label); letter-spacing: .14em; text-transform: uppercase; padding: .65em 1.1em; border: 1px solid var(--slate-blue); border-radius: 2px; color: var(--slate-blue); text-decoration: none; transition: background .25s, color .25s; }
.ev__btn:hover { background: var(--slate-blue); color: #fff; }
.ev__btn--gold { background: linear-gradient(135deg, var(--gold2), #e0b24f); border-color: #d9a93f; color: #2a2110; }
.ev__btn--gold:hover { background: #e8bd5f; color: #2a2110; }
.ev__cal { margin: 12px 0 0; font-size: .92rem; color: #7d7d85; }
.ev.is-live { border-left-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 12px 34px rgba(233,196,106,.35); }
.ev.is-past { opacity: .55; }
@media (max-width: 600px) {
  .timeline::before { display: none; }
  .day { grid-template-columns: 1fr; gap: 10px; }
  .day__date { width: auto; display: flex; align-items: baseline; gap: 10px; justify-content: flex-start; padding: 8px 16px; border-radius: 99px; justify-self: start; }
  .day__date small, .day__date span { display: inline; }
  .day__date b { display: inline; font-size: 1.5rem; }
  .day.is-today .day__date::after { position: static; transform: none; margin-left: 4px; color: var(--gold2); }
  .ev { grid-template-columns: 1fr; gap: 4px; }
  .next { border-radius: 18px; }
}

/* ---------- dark footer ---------- */
.footer { position: relative; overflow: hidden; margin-top: 0; padding: 72px var(--gutter) 56px; background: linear-gradient(180deg, #18223a, #0e1525); color: var(--cream); }
.footer > *:not(canvas) { position: relative; z-index: 1; }
.footer .divider { color: var(--gold); }
.footer .footer__quote { color: var(--cream); }
.footer__love { font-style: italic; }
.footer__credit { margin-top: 26px !important; font: .7rem var(--font-label) !important; font-style: normal !important; letter-spacing: .18em; text-transform: uppercase; color: rgba(246,239,226,.6); }
.footer__credit a { color: var(--gold2); text-decoration: none; border-bottom: 1px solid rgba(246,223,155,.4); }
.footer__credit a:hover { color: #fff; }

/* =====================================================================
   MOTION
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @keyframes spinRays { to { transform: rotate(360deg); } }
  @keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
  @keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(46,157,87,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(46,157,87,0); } }
  @keyframes ignite { 0% { transform: scale(0); opacity: 0; } 40% { transform: scale(1.5, 1.7); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
  @keyframes sparkOut { from { opacity: 1; transform: rotate(var(--a)) translateX(0); } to { opacity: 0; transform: rotate(var(--a)) translateX(40px); } }
  @keyframes candleIn { from { opacity: 0; transform: translateY(18px) scale(.8); } to { opacity: 1; transform: none; } }
  @keyframes livePulse { 0%, 100% { box-shadow: 0 0 0 1px var(--gold), 0 12px 34px rgba(233,196,106,.25); } 50% { box-shadow: 0 0 0 1px var(--gold), 0 12px 44px rgba(233,196,106,.6); } }
  @keyframes bandFl { from { transform: rotate(-2deg) scale(1); } to { transform: rotate(2.5deg) scale(1.04); } }

  .hero__rays { animation: spinRays 160s linear infinite; }
  .js .hero__tagline { opacity: 1; animation: none; }
  .js .tw { opacity: 0; animation: rise .9s var(--ease) calc(1.9s + var(--n) * 70ms) forwards; }
  .js .hero__next:not([hidden]) { animation: rise 1s var(--ease) 2.5s both; }
  .next__dot { animation: pulseDot 1.8s ease-out infinite; }

  .strip__track { animation: marquee calc(var(--n, 12) * 5s) linear infinite; }

  .band__fl { animation: bandFl 12s ease-in-out infinite alternate; }
  .band__fl--l { transform-origin: 0 0; } .band__fl--r { transform-origin: 100% 100%; }
  .cd__flame { animation: flicker 2.4s ease-in-out infinite; }
  .cd:nth-child(2n) .cd__flame { animation-duration: 2.9s; animation-delay: -.7s; }
  .cd:nth-child(3n) .cd__flame { animation-duration: 3.3s; animation-delay: -1.4s; }
  .cd__glow { animation: glow 3.2s ease-in-out infinite; }
  .cd--new { animation: candleIn .7s var(--ease) both; }
  .cd--new .cd__flame { animation: ignite 1.1s ease-out .35s both, flicker 2.6s ease-in-out 1.5s infinite; }
  .cd--new .spark { animation: sparkOut var(--d) ease-out .5s forwards; }

  .ev.is-live { animation: livePulse 2.6s ease-in-out infinite; }
  .timeline::before { transform-origin: 50% 0; animation: draw2 1.6s var(--ease) both; }
  @keyframes draw2 { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  .js .day.reveal { transform: translateX(-24px) translateY(14px); }
  .js .day.reveal.in { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .strip { overflow-x: auto; }
  .strip__track { animation: none; }
  .hero__rays, .fireflies { display: none; }
}

/* =====================================================================
   NEXT EVENT HIGHLIGHT
   ===================================================================== */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.nextfeat { max-width: 800px; margin: 0 auto 46px; }
.feat { position: relative; overflow: hidden; text-align: center; padding: 34px 26px 30px; border-radius: 18px; color: var(--cream); border: 2px solid transparent;
  background:
    radial-gradient(620px 260px at 50% 0%, rgba(60,84,134,.9), transparent 72%) padding-box,
    linear-gradient(180deg, #1c2846, #111829) padding-box,
    conic-gradient(from var(--a), #e9c46a, #fff3c9 12%, rgba(233,196,106,.18) 36%, #e9c46a 60%, rgba(233,196,106,.18) 86%, #e9c46a) border-box;
  box-shadow: 0 22px 60px rgba(24,34,58,.35), 0 0 54px rgba(233,196,106,.2); }
.feat > *:not(.feat__glow) { position: relative; z-index: 1; }
.feat__glow { position: absolute; left: 50%; top: -90px; width: 460px; max-width: 120%; height: 280px; margin-left: -230px; border-radius: 50%; background: radial-gradient(closest-side, rgba(233,196,106,.32), transparent); pointer-events: none; }
.feat__label { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 7px 16px; border-radius: 99px; background: rgba(233,196,106,.14); border: 1px solid rgba(233,196,106,.45); font: .7rem var(--font-label); letter-spacing: .24em; text-transform: uppercase; color: var(--gold2); }
.feat__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(233,196,106,.6); }
.feat__title { margin: 16px 0 10px; font-size: clamp(1.7rem, 6.4vw, 2.7rem); line-height: 1.12; font-weight: 500; text-wrap: balance; }
.feat__when { margin: 0; font: .82rem/2.2 var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: rgba(246,239,226,.82); }
.feat__when b { display: inline-block; margin-left: 10px; padding: .15em .9em; border-radius: 99px; background: linear-gradient(135deg, var(--gold2), #e0b24f); color: #2a2110; font-weight: 600; letter-spacing: .1em; }
.feat__place { margin: 6px 0 0; font-size: 1.2rem; color: rgba(246,239,226,.9); }
.feat__note { margin: 6px 0 0; font-style: italic; color: rgba(246,239,226,.65); }
.feat__count { display: flex; justify-content: center; gap: 10px; margin: 24px 0 4px; }
.feat__cell { min-width: 76px; padding: 12px 6px 10px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); }
.feat__n { display: block; font-size: 2.4rem; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--gold2); }
.feat__u { display: block; margin-top: 2px; font: .58rem var(--font-label); letter-spacing: .22em; text-transform: uppercase; color: rgba(246,239,226,.62); }
.feat__live { margin: 20px 0 2px; font-size: 1.25rem; font-style: italic; color: var(--gold2); }
.feat__links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.feat__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .7em 1.3em; border: 1px solid rgba(255,255,255,.38); border-radius: 3px; font: .68rem var(--font-label); letter-spacing: .15em; text-transform: uppercase; color: var(--cream); text-decoration: none; transition: background .25s, transform .25s; }
.feat__btn:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.feat__btn--gold { background: linear-gradient(135deg, var(--gold2), #e0b24f); border-color: #d9a93f; color: #2a2110; }
.feat__btn--gold:hover { background: #ecc566; }
.feat.is-live { box-shadow: 0 22px 60px rgba(24,34,58,.35), 0 0 80px rgba(233,196,106,.4); }

.ev.is-next { border-left-color: var(--gold); background: linear-gradient(135deg, #fff, #fbf5e6); box-shadow: 0 0 0 1px rgba(233,196,106,.75), 0 14px 36px rgba(233,196,106,.28); }
.ev__badge--next { background: linear-gradient(135deg, var(--gold2), #e0b24f); color: #2a2110; }
.day.has-next .day__date { box-shadow: 0 0 0 2px var(--gold), 0 8px 22px rgba(233,196,106,.45); }

/* ---------- highlighted tribute form card ---------- */
.section--share { padding: 56px 0; }
.sharecard { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 44px 48px; border-radius: 22px; color: #f4ecdc; background: radial-gradient(120% 140% at 0% 0%, #2d3f69 0%, var(--navy) 60%, #101727 100%); box-shadow: 0 0 0 1px rgba(233,196,106,.7), 0 24px 60px rgba(24,34,58,.35); isolation: isolate; }
.sharecard__glow { position: absolute; inset: -30% -10% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(233,196,106,.28), transparent 65%); z-index: -1; pointer-events: none; }
.sharecard__eyebrow { display: inline-block; padding: .4em 1.1em; border: 1px solid rgba(233,196,106,.7); border-radius: 99px; color: var(--gold2); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; }
.sharecard .section__title { color: #fff; text-align: left; margin: 16px 0 12px; }
.sharecard__lead { margin: 0 0 24px; font-size: 1.14rem; line-height: 1.6; color: #e4dccb; max-width: 34em; }
.sharecard__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sharecard .btn--ghost { color: #f4ecdc; border-color: rgba(244,236,220,.5); }
.sharecard .btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--lg { font-size: .92rem; padding: 1.05em 2em; }
.sharecard__qr { margin: 0; text-align: center; }
.sharecard__qrbox { width: 210px; padding: 10px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 4px rgba(233,196,106,.85), 0 14px 34px rgba(0,0,0,.4); }
.sharecard__qrbox svg { display: block; width: 100%; height: auto; }
.sharecard__qr figcaption { margin-top: 14px; font-family: var(--font-label); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold2); }
.sharecard--noqr { grid-template-columns: 1fr; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes shareGlow { 0%, 100% { box-shadow: 0 0 0 1px rgba(233,196,106,.6), 0 24px 60px rgba(24,34,58,.35), 0 0 0 rgba(233,196,106,0); } 50% { box-shadow: 0 0 0 1px rgba(233,196,106,.95), 0 24px 60px rgba(24,34,58,.35), 0 0 46px rgba(233,196,106,.35); } }
  .sharecard { animation: shareGlow 3.4s ease-in-out infinite; }
  .sharecard__glow { animation: glowBig 6s ease-in-out infinite; }
  .sharecard .btn--gold { animation: dotGold 2.2s ease-out infinite; }
}
@media (max-width: 760px) {
  .sharecard { grid-template-columns: 1fr; padding: 30px 20px 28px; gap: 26px; text-align: center; }
  .sharecard .section__title { text-align: center; }
  .sharecard__lead { font-size: 1.05rem; margin-left: auto; margin-right: auto; }
  .sharecard__btns { justify-content: center; flex-direction: column; align-items: center; }
  .sharecard__btns .btn { width: min(320px, 100%); }
  .sharecard__qrbox { width: min(220px, 68vw); margin: 0 auto; }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes spinA { to { --a: 360deg; } }
  @keyframes glowBig { 0%, 100% { opacity: .65; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
  @keyframes dotGold { 0% { box-shadow: 0 0 0 0 rgba(233,196,106,.65); } 70%, 100% { box-shadow: 0 0 0 11px rgba(233,196,106,0); } }
  @keyframes nextPulse { 0%, 100% { box-shadow: 0 0 0 1px rgba(233,196,106,.75), 0 14px 36px rgba(233,196,106,.2); } 50% { box-shadow: 0 0 0 1px rgba(233,196,106,.95), 0 14px 44px rgba(233,196,106,.5); } }
  .feat { animation: spinA 7s linear infinite, pop .8s var(--ease) both; }
  .feat__glow { animation: glowBig 4s ease-in-out infinite; }
  .feat__dot { animation: dotGold 1.8s ease-out infinite; }
  .ev.is-next { animation: nextPulse 2.8s ease-in-out infinite; }
}

/* =====================================================================
   PHONE POLISH
   ===================================================================== */
html { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
.container { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.nav { padding-top: env(safe-area-inset-top, 0px); }
.music { left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
.totop { right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
@media (max-width: 600px) {
  .section { padding: 44px 0; }
  .btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: min(320px, 100%); }
  .hero__next { margin-top: 20px; font-size: .68rem; text-align: left; }
  .nav__links a { padding: 12px 13px; }
  .chip { min-height: 42px; display: inline-flex; align-items: center; }
  .center--tight .btn { width: min(320px, 100%); }
  .service, .tribute, .pr { padding-left: 18px; padding-right: 18px; }
  .band { padding: 64px 0 56px; }
  .quote { min-height: 10.5em; margin-bottom: 52px; }
  .candles__form { flex-direction: column; align-items: stretch; }
  .candles__form input { min-width: 0; font-size: 16px; }
  .shelf { gap: 12px 14px; }
  .feat { padding: 28px 14px 24px; border-radius: 16px; }
  .feat__count { gap: 8px; }
  .feat__cell { flex: 1; min-width: 0; padding: 10px 2px 8px; }
  .feat__n { font-size: 1.9rem; }
  .feat__when b { display: block; width: max-content; margin: 8px auto 0; }
  .feat__links { flex-direction: column; }
  .feat__btn { width: 100%; }
  .ev { padding: 14px 16px; }
  .ev__btn { min-height: 40px; display: inline-flex; align-items: center; }
  .ev__cal a { display: inline-block; padding: 6px 2px; }
  .footer { padding: 56px var(--gutter) calc(56px + env(safe-area-inset-bottom, 0px)); }
}
.sharecard .section__title::after { display: none; }

/* ---------- QR for the prayer guide ---------- */
.rosaryqr { margin: 22px auto 0; text-align: center; }
.rosaryqr__box { width: 150px; margin: 0 auto; padding: 8px; background: #fff; border-radius: 12px; box-shadow: 0 0 0 3px #e6d3a3, 0 8px 22px rgba(24,34,58,.15); }
.rosaryqr__box svg, .feat__qrbox svg { display: block; width: 100%; height: auto; }
.rosaryqr span, .feat__qr span { display: block; margin-top: 12px; font-family: var(--font-label); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); line-height: 1.6; }
.feat__qr { margin: 24px auto 0; text-align: center; }
.feat__qrbox { width: 132px; margin: 0 auto; padding: 7px; background: #fff; border-radius: 12px; box-shadow: 0 0 0 3px rgba(233,196,106,.85); }
.feat__qr span { color: var(--gold2); }
