/* =====================================================================
   Enhancements: line icons, back-to-home, 3D scenes, 3D scroll reveals
   (layered on top of styles.css; same Marian blue + gold palette)
   ===================================================================== */

/* ---------- line icons ---------- */
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex-shrink: 0; }
.support-icon, .explore-icon, .value-icon, .mv-icon, .faq-thumb, .bl-cta-icon,
.pathway-card-icon, .ref-modal-icon, .founder-contact-icon, .content-note-icon {
  color: var(--mary-deep);
}
.support-icon .ic, .explore-icon .ic { font-size: 1.45rem; }
.value-icon .ic, .mv-icon .ic { font-size: 1.55rem; }
.faq-thumb .ic { font-size: 1.75rem; }
.bl-cta-icon .ic, .ref-modal-icon .ic { font-size: 1.6rem; }
.pathway-card-icon .ic { font-size: 2.1rem; color: #A88A33; }
.vision .mv-icon, .vi-2, .vi-5 { color: #A88A33; }
.founder-contact-icon .ic { font-size: 0.95rem; }
.content-note-icon .ic { font-size: 1.9rem; }
.support-icon .ic, .explore-icon .ic, .value-icon .ic, .mv-icon .ic, .faq-thumb .ic {
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.support-card:hover .support-icon .ic, .explore-card:hover .explore-icon .ic,
.value-card:hover .value-icon .ic, .mv-card:hover .mv-icon .ic, .faq-card:hover .faq-thumb .ic {
  transform: rotateY(360deg) scale(1.08);
}
.support-icon, .explore-icon, .value-icon, .mv-icon, .faq-thumb { perspective: 200px; }
.journey-size-badge .ic { font-size: 0.95rem; }
.pathway-flow-step { display: inline-flex; align-items: center; gap: 0.45rem; }
.pathway-flow-step .ic { font-size: 1rem; }
.form-btn .ic { font-size: 1rem; }
.form-privacy { display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.form-privacy .ic { font-size: 0.85rem; }
.form-option-icon .ic, .form-success-icon .ic { font-size: 1.6rem; color: var(--mary-light); }
.form-success-icon .ic { font-size: 3rem; color: var(--mary-pale); }
.prayer-request-icon .ic { font-size: 2rem; color: var(--gold-light); }
.verse-daily-label .ic { font-size: 0.8rem; color: var(--mary-blue); }
.verse-ornament { opacity: 0.55; color: var(--gold); }
.verse-ornament .ic { font-size: 2.6rem; stroke-width: 1.4; }
.hero-cross .ic { stroke-width: 1.2; }
.hero-cross { opacity: 0.12; }
.article-byline-mark .ic { font-size: 1.05rem; color: var(--gold); }
.footer-credit-heart .ic { font-size: 0.85rem; color: #E0667A; fill: #E0667A; vertical-align: -0.1em; }
.nav-drop-arrow { display: inline-flex; font-size: 0.85rem; opacity: 0.6; }
.nav-drop-arrow .ic { stroke-width: 2.2; }
.guide-icon { color: var(--mary-deep); margin-bottom: 0.75rem; }
.guide-icon .ic { font-size: 2.4rem; }
.quiz-result-icon { color: var(--mary-deep); margin-bottom: 0.75rem; }
.quiz-result-icon .ic { font-size: 2.6rem; }
.ic-inline { font-size: 1.05em; margin-right: 0.3rem; color: var(--mary-blue); }

/* ---------- back to home ---------- */
.page { position: relative; }
.page:not(#page-home) > section:first-of-type { padding-top: 10rem; }
.back-home {
  position: absolute;
  top: 6.4rem;
  left: max(1.5rem, calc(50% - 540px));
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.15rem 0.55rem 0.9rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mary-deep);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--mary-pale);
  border-radius: 99px;
  box-shadow: 0 6px 22px rgba(44, 90, 158, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background-color 0.3s ease;
}
.back-home .ic { font-size: 1rem; transition: transform 0.3s ease; }
.back-home:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(44, 90, 158, 0.2); background: white; }
.back-home:hover .ic { transform: translateX(-3px); }
#page-contact > .back-home { color: var(--mary-royal); }
.back-home-foot { display: flex; justify-content: center; padding: 1rem 1.5rem 5rem; position: relative; z-index: 3; }
#page-contact .back-home-foot { background: #0F1F38; padding-top: 3rem; }
.back-home--card {
  position: static;
  padding: 1rem 1.75rem;
  font-size: 0.92rem;
  gap: 0.7rem;
  border-radius: 18px;
  background: white;
}
.back-home--card .ic { font-size: 1.15rem; }
.back-home--card:hover .ic { transform: none; }

/* ---------- hero: text left, mother & child figure right ---------- */
.hero { justify-content: center; text-align: left; }
.hero-content { width: 100%; max-width: 1180px; margin: 0 auto; }
.hero-content > * { max-width: 600px; }
.hero h1 { font-size: clamp(2.6rem, 4.8vw, 4.3rem); }
.hero-sub { margin-left: 0; margin-right: 0; }
.hero-actions { justify-content: flex-start; }
html.three-on .hero-deco, html.three-on .hero .blob { display: none; }
@media (max-width: 860px) {
  .hero { align-items: flex-end; padding-top: 52vh; padding-bottom: 3.5rem; }
  .hero-content > * { max-width: none; }
}

/* ---------- 3D scene containers ---------- */
.verse-cross3d { width: 100%; height: 150px; margin: -1.5rem auto 0.25rem; display: none; }
.verse-card.has-3d .verse-cross3d { display: block; }
.verse-card.has-3d .verse-ornament { display: none; }
.hearts3d { width: 220px; height: 190px; margin: 0 auto 0.5rem; display: none; }
.cta-inner.has-3d .hearts3d { display: block; }
.cta-inner.has-3d .cta-heart { display: none; }
.verse-cross3d canvas, .hearts3d canvas, .helix-canvas canvas { display: block; width: 100%; height: 100%; }

/* ---------- journey: DNA helix behind 3D cards ---------- */
.journey-track { position: relative; }
.helix-stage { position: absolute; inset: 0; pointer-events: none; z-index: 0; display: none; }
.journey-track.helix-on .helix-stage { display: block; }
.helix-canvas { position: sticky; top: 0; height: 100vh; width: 100%; }
.journey-track.helix-on .journey-line,
.journey-track.helix-on .journey-line-fill,
.journey-track.helix-on .journey-dot { display: none; }
.journey-milestone { z-index: 2; perspective: 1400px; }
.journey-content {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(184, 212, 240, 0.9);
  border-radius: 26px;
  padding: 1.75rem 1.75rem 1.5rem !important;
  box-shadow: 0 18px 50px rgba(44, 90, 158, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 410px;
  transform-style: preserve-3d;
}
.journey-milestone:nth-child(odd) .journey-content { margin-left: auto; margin-right: calc(50% + 3rem); }
.journey-milestone:nth-child(even) .journey-content { margin-right: auto; margin-left: calc(50% + 3rem); }
.journey-milestone { justify-content: center; margin-bottom: 6rem; }
.journey-milestone:not(.visible) {
  opacity: 0;
  transform: perspective(1400px) translate3d(-80px, 40px, -220px) rotateY(32deg);
}
.journey-milestone:nth-child(even):not(.visible) {
  transform: perspective(1400px) translate3d(80px, 40px, -220px) rotateY(-32deg);
}
.journey-milestone { transition: opacity 1s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
@media (max-width: 768px) {
  .journey-milestone:nth-child(odd) .journey-content,
  .journey-milestone:nth-child(even) .journey-content { margin: 0; max-width: none; }
  .journey-milestone, .journey-milestone:nth-child(odd) { padding-left: 0; }
}

/* ---------- testimonials: 3D carousel ---------- */
.testimonial-strip.t3d {
  perspective: 1700px;
  overflow: hidden;
  padding: 2.5rem 0 4rem;
  background: linear-gradient(180deg, white, var(--mary-ice));
}
.t3d-ring {
  position: relative;
  width: 340px;
  height: 300px;
  margin: 0 auto;
  transform-style: preserve-3d;
  animation: t3d-spin 48s linear infinite !important;
  width: 340px !important;
}
.t3d-ring:hover { animation-play-state: paused !important; }
@keyframes t3d-spin { from { transform: rotateY(0deg); } to { transform: rotateY(-360deg); } }
.t3d-ring .testimonial-item {
  position: absolute;
  inset: 0;
  width: 340px;
  height: 290px;
  margin: 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px rgba(44, 90, 158, 0.15);
  transform: rotateY(calc(var(--i) * 60deg)) translateZ(480px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.t3d-ring .testimonial-item:hover { transform: rotateY(calc(var(--i) * 60deg)) translateZ(510px); }
@media (max-width: 700px) {
  .t3d-ring, .t3d-ring .testimonial-item { width: 260px !important; }
  .t3d-ring .testimonial-item { height: 320px; padding: 1.5rem; transform: rotateY(calc(var(--i) * 60deg)) translateZ(300px); }
  .t3d-ring .testimonial-item:hover { transform: rotateY(calc(var(--i) * 60deg)) translateZ(320px); }
  .testimonial-strip.t3d { perspective: 1100px; }
}

/* ---------- 3D scroll reveals for every card and block ---------- */
html.fx3d .reveal:not(.visible) {
  transform: perspective(1200px) translate3d(0, 70px, -160px) rotateX(-38deg);
  transform-origin: 50% 100%;
}
html.fx3d .reveal-left:not(.visible) { transform: perspective(1200px) translate3d(-120px, 0, -160px) rotateY(42deg); }
html.fx3d .reveal-right:not(.visible) { transform: perspective(1200px) translate3d(120px, 0, -160px) rotateY(-42deg); }
html.fx3d .reveal-scale:not(.visible) { transform: perspective(1200px) translateZ(-320px) rotateX(18deg); }
html.fx3d .reveal, html.fx3d .reveal-left, html.fx3d .reveal-right, html.fx3d .reveal-scale {
  transition: opacity 0.9s ease, transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
}

/* split section titles: each word flips up */
.section-title.split .w { display: inline-block; transform-origin: 50% 100% -30px; }
html.fx3d .section-title.split:not(.visible) .w { opacity: 0; transform: perspective(800px) rotateX(-95deg) translateY(30%); }
html.fx3d .section-title.split .w {
  transition: opacity 0.6s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--w) * 70ms + 120ms);
}
html.fx3d .section-title.split:not(.visible) { transform: none !important; opacity: 1 !important; }

/* tab change: pages swing in with depth */
html.fx3d .page.active { animation: page-in-3d 0.8s cubic-bezier(0.16, 1, 0.3, 1); transform-origin: 50% 0; }
@keyframes page-in-3d {
  from { opacity: 0; transform: perspective(1600px) translate3d(0, 40px, -140px) rotateX(7deg); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .t3d-ring { animation: none !important; }
}
.journey-milestone .journey-content { flex: 0 1 410px; }
/* sticky helix needs a non-scrolling ancestor */
.journey-section { overflow: clip; }
.testimonial-strip.t3d { height: 560px; padding: 0; display: flex; align-items: center; }
.t3d-ring { height: 330px; }
.t3d-ring .testimonial-item { height: auto; min-height: 280px; }
@media (max-width: 700px) { .testimonial-strip.t3d { height: 520px; } }
.t3d-ring .testimonial-item { min-height: 0; height: 250px; transform: rotateY(calc(var(--i) * 60deg)) translateZ(430px); }
.t3d-ring .testimonial-item:hover { transform: rotateY(calc(var(--i) * 60deg)) translateZ(460px); }
.t3d-ring { height: 250px; }
.testimonial-strip.t3d { height: 480px; }
@media (max-width: 700px) {
  .t3d-ring .testimonial-item { height: 300px; transform: rotateY(calc(var(--i) * 60deg)) translateZ(280px); }
  .t3d-ring .testimonial-item:hover { transform: rotateY(calc(var(--i) * 60deg)) translateZ(300px); }
}

/* ---------- journey: 3D card spiral ---------- */
.journey-track.jh-on { max-width: none; padding: 0; }
.journey-track.jh-on > .journey-line,
.journey-track.jh-on > .journey-line-fill,
.journey-track.jh-on > .journey-milestone { display: none; }
.jh { position: relative; height: calc(var(--n) * 60vh + 100vh); margin: 0 -2rem; }
.jh-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1900px;
  perspective-origin: 50% 42%;
  overflow: hidden;
}
.jh-glow {
  position: absolute;
  width: 70vmin; height: 70vmin;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 212, 240, 0.55) 0%, rgba(232, 216, 153, 0.18) 45%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.jh-ring {
  position: relative;
  width: 340px;
  height: 500px;
  margin-top: 60px;
  transform-style: preserve-3d;
  will-change: transform;
}
.jh-card {
  position: absolute;
  top: 0; left: 0;
  width: 340px;
  min-height: 470px;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--tint-a) 0%, var(--tint-b) 40%, #FFFFFF 40.1%);
  border: 1px solid rgba(184, 212, 240, 0.9);
  box-shadow: 0 30px 70px rgba(30, 63, 115, 0.18), 0 2px 0 rgba(255, 255, 255, 0.8) inset;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: box-shadow 0.4s ease;
}
.jh-card.is-front { box-shadow: 0 40px 90px rgba(30, 63, 115, 0.28), 0 0 0 1px rgba(201, 168, 76, 0.35); }
.jh-card .journey-content {
  position: static;
  max-width: none !important;
  margin: 0 !important;
  padding: 1.5rem 1.6rem 1.6rem !important;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: left !important;
  align-items: flex-start !important;
}
.jh-card .journey-illust { width: 150px; height: 150px; margin: 0.2rem auto 1.4rem !important; }
.jh-card .journey-illust img, .jh-card .journey-illust .journey-svg { animation-play-state: paused; }
.jh-card.is-front .journey-illust img, .jh-card.is-front .journey-illust .journey-svg { animation-play-state: running; }
.jh-card .journey-week, .jh-card .journey-title, .jh-card .journey-fact,
.jh-card .journey-size-badge, .jh-card .journey-more { margin-left: 0 !important; text-align: left; max-width: none; }
.jh-card .journey-title { font-size: 1.35rem; }
.jh-card .journey-fact { font-size: 0.88rem; }

.jh-steps {
  position: absolute;
  left: max(1.5rem, calc(50% - 600px));
  top: 50%;
  transform: translateY(-50%);
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  z-index: 5;
  border-left: 2px solid var(--mary-pale);
}
.jh-steps button {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-faint);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.45rem 0 0.45rem 1rem;
  margin-left: -2px;
  border-left: 2px solid transparent;
  text-align: left;
  transition: color 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}
.jh-steps button:hover { color: var(--mary-deep); }
.jh-steps button.active { color: var(--mary-deep); border-left-color: var(--gold); padding-left: 1.35rem; }
.jh-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.45rem 1rem;
  border-radius: 99px;
  border: 1px solid var(--mary-pale);
  transition: opacity 0.5s ease;
}
.jh-hint span {
  width: 14px; height: 22px;
  border: 1.5px solid var(--mary-blue);
  border-radius: 8px;
  position: relative;
}
.jh-hint span::after {
  content: '';
  position: absolute;
  left: 50%; top: 4px;
  width: 2px; height: 5px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--mary-blue);
  animation: jh-wheel 1.6s ease-in-out infinite;
}
@keyframes jh-wheel { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(7px); } }
.jh.jh-started .jh-hint { opacity: 0; }

@media (max-width: 960px) { .jh-steps { display: none; } }
@media (max-width: 760px) {
  .jh { margin: 0 -1rem; }
  .jh-ring, .jh-card { width: 270px; }
  .jh-card { min-height: 430px; }
  .jh-stage { perspective: 1300px; }
  .jh-card .journey-illust { width: 120px; height: 120px; }
}

/* ---------- groups of mothers ---------- */
.mothers3d { display: none; position: relative; }
.mothers3d.has-3d { display: block; }
.mothers3d canvas { display: block; width: 100%; height: 100%; }
.mothers3d--trio { height: 520px; }
.mothers3d--pair { height: 460px; max-width: 900px; margin: 3rem auto 0; }
.mothers3d--solo { height: 440px; max-width: 620px; margin: 2.5rem auto 0; }
.unseen-wrap { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: center; }
@media (min-width: 1000px) {
  .unseen-wrap:has(.mothers3d.has-3d) { grid-template-columns: minmax(0, 1fr) minmax(0, 720px); gap: 2rem; }
  .unseen-wrap .unseen-inner { margin: 0; }
}
@media (max-width: 999px) { .mothers3d--trio { height: 380px; } }
@media (max-width: 700px) { .mothers3d--pair { height: 380px; } .mothers3d--solo { height: 380px; } }
@media (max-width: 768px) { nav.scrolled { padding: 0.6rem 1.25rem; } }

/* founder photo: keep natural proportions */
.founder-photo img { height: auto !important; aspect-ratio: 400 / 533; object-fit: cover; object-position: 50% 30%; }
.founder-name-card { position: relative; z-index: 2; }
.founder-role { line-height: 1.5; }

/* ---------- scrollbars inside rounded popups ---------- */
.quiz-modal, .ref-modal { overscroll-behavior: contain; }
/* Firefox only: Chrome/Safari drop the ::-webkit-scrollbar styling below if these are set */
@supports (-moz-appearance: none) {
  .quiz-modal, .ref-modal { scrollbar-width: thin; scrollbar-color: var(--mary-light) transparent; }
}
.quiz-modal::-webkit-scrollbar, .ref-modal::-webkit-scrollbar { width: 10px; }
.quiz-modal::-webkit-scrollbar-track, .ref-modal::-webkit-scrollbar-track {
  background: transparent;
  margin: 26px 0;              /* keep the track clear of the 24px rounded corners */
}
.quiz-modal::-webkit-scrollbar-thumb, .ref-modal::-webkit-scrollbar-thumb {
  background: var(--mary-light);
  border-radius: 99px;
  border: 3px solid transparent;   /* floats the thumb away from the edge */
  background-clip: padding-box;
}
.quiz-modal::-webkit-scrollbar-thumb:hover { background-color: var(--mary-blue); }

/* ---------- journey spiral: performance ---------- */
.journey-section:has(.jh-on) .journey-bg-orbs,
.journey-section:has(.jh-on) .journey-shimmer { display: none; }
.journey-section:has(.jh-on)::after { display: none; }
.jh-glow { filter: none; }
.jh-ring { will-change: transform; }
.jh-card { contain: layout paint style; transition: box-shadow 0.4s ease; }
.jh-card .journey-illust img, .jh-card .journey-illust .journey-svg {
  filter: drop-shadow(0 6px 14px rgba(74, 126, 194, 0.18));
  animation: none !important;
  will-change: transform;
}
.jh-card .journey-illust::before { animation: none; opacity: 0; transition: opacity 0.6s ease; }

/* the card in front comes alive: transform/opacity only, so it stays smooth */
.jh-card.is-front .journey-illust::before {
  opacity: 1;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.28) 0%, rgba(74, 126, 194, 0.12) 45%, transparent 70%);
  animation: j-img-ring 4s ease-in-out infinite;
}
.jh-card.is-front .journey-illust.stage-1 img, .jh-card.is-front .journey-illust.stage-1 .journey-svg { animation: jh-arrive 0.9s ease-in-out, j-img-pulse 4s ease-in-out 0.9s infinite !important; }
.jh-card.is-front .journey-illust.stage-2 img, .jh-card.is-front .journey-illust.stage-2 .journey-svg { animation: jh-arrive 0.9s ease-in-out, j-img-heartbeat 2s ease-in-out 0.9s infinite !important; }
.jh-card.is-front .journey-illust.stage-3 img, .jh-card.is-front .journey-illust.stage-3 .journey-svg { animation: jh-arrive 0.9s ease-in-out, j-img-breathe 3.5s ease-in-out 0.9s infinite !important; }
.jh-card.is-front .journey-illust.stage-4 img, .jh-card.is-front .journey-illust.stage-4 .journey-svg { animation: jh-arrive 0.9s ease-in-out, j-img-float 6s ease-in-out 0.9s infinite !important; }
.jh-card.is-front .journey-illust.stage-5 img, .jh-card.is-front .journey-illust.stage-5 .journey-svg { animation: jh-arrive 0.9s ease-in-out, j-img-wiggle 4s ease-in-out 0.9s infinite !important; }
.jh-card.is-front .journey-illust.stage-6 img, .jh-card.is-front .journey-illust.stage-6 .journey-svg { animation: jh-arrive 0.9s ease-in-out, j-img-float 5s ease-in-out 0.9s infinite !important; }
@keyframes jh-arrive {
  0% { transform: none; }
  45% { transform: translateY(-6px) scale(1.05); }
  100% { transform: none; }
}

/* small sparkles drift up around the illustration in front */
.jh-card .journey-illust::after {
  content: '';
  position: absolute;
  inset: -10px;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 18% 70%, rgba(201, 168, 76, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 60%, rgba(123, 164, 217, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 30% 25%, rgba(232, 216, 153, 0.95) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 72% 20%, rgba(201, 168, 76, 0.8) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 50% 88%, rgba(184, 212, 240, 0.95) 0 2px, transparent 3px);
}
.jh-card .journey-illust::after { transition: opacity 0.6s ease; }
.jh-card.is-front .journey-illust::after { animation: jh-sparkle 3.2s ease-in-out 0.4s infinite; }
@keyframes jh-sparkle {
  0% { opacity: 0; transform: translateY(10px) scale(0.95); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-16px) scale(1.05); }
}

/* the light behind the spiral breathes */
.jh-glow { animation: jh-breathe 7s ease-in-out infinite; will-change: transform, opacity; }
@keyframes jh-breathe { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.12); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .jh-card.is-front .journey-illust img, .jh-card.is-front .journey-illust .journey-svg,
  .jh-card.is-front .journey-illust::after, .jh-glow { animation: none !important; }
}

/* ---------- close buttons stay pinned top-right while the popup scrolls ---------- */
/* sticky inside the scrolling box; the margins cancel out so the content layout is unchanged */
.quiz-modal, .ref-modal { --pad-t: 2.5rem; --pad-r: 2rem; --btn: 34px; --inset: 14px; --scroller-pad: var(--pad-t); }
.article-modal { --pad-t: 3.25rem; --pad-r: 3.25rem; --btn: 38px; --inset: 16px; --scroller-pad: 2.5rem; }
@media (max-width: 768px) { .article-modal { --pad-t: 2.5rem; --pad-r: 1.5rem; --scroller-pad: 1rem; } }
.quiz-close, .ref-modal-close, .article-modal-close {
  position: sticky;
  top: calc(var(--inset) - var(--scroller-pad));
  right: auto;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--btn);
  height: var(--btn);
  margin: calc(var(--inset) - var(--pad-t)) calc(var(--inset) - var(--pad-r)) calc(var(--pad-t) - var(--inset) - var(--btn)) auto;
  background: white;
  color: var(--mary-deep);
  border: 1px solid var(--mary-pale);
  box-shadow: 0 4px 14px rgba(30, 63, 115, 0.14);
  opacity: 1;
  transition: opacity 0.3s ease, background-color 0.2s ease, transform 0.2s ease;
}
.is-scrolled .quiz-close, .is-scrolled .ref-modal-close, .is-scrolled .article-modal-close { opacity: 0.45; }
.quiz-close:hover, .ref-modal-close:hover, .article-modal-close:hover,
.quiz-close:focus-visible, .ref-modal-close:focus-visible, .article-modal-close:focus-visible {
  opacity: 1 !important;
  background: var(--mary-ice);
  transform: scale(1.06);
}

/* tinted band ends just below the illustration on every card, however long the text */
.jh-card { --band: 192px; background: linear-gradient(180deg, var(--tint-a) 0, var(--tint-b) var(--band), #FFFFFF var(--band)); }
.jh-card .journey-week { margin-top: 0.15rem; }
@media (max-width: 760px) { .jh-card { --band: 162px; } }

/* ---------- journey: gentle looping shimmer on the card in front ----------
   the highlight always starts and ends outside the card, so nothing ever pops in */
.jh-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, transparent 42%, rgba(255, 255, 255, 0.5) 50%, transparent 58%, transparent 100%) no-repeat;
  background-size: 280% 100%;
  background-position: 160% 0;
}
.jh-card.is-front::after { animation: jh-shimmer 5.5s ease-in-out 1.2s infinite; }
@keyframes jh-shimmer {
  0% { background-position: 160% 0; }
  32% { background-position: -60% 0; }
  100% { background-position: -60% 0; }
}

/* ---------- journey: scroll prompt ---------- */
.jh-hint {
  gap: 0.75rem;
  padding: 0.6rem 1.15rem 0.6rem 0.9rem;
  font-size: 0.85rem;
  color: var(--mary-deep);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(44, 90, 158, 0.16);
  animation: jh-hint-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both, jh-hint-float 2.6s ease-in-out 1.4s infinite;
}
.jh-hint b { font-weight: 700; }
.jh-hint .jh-mouse { width: 16px; height: 25px; border: 1.75px solid var(--mary-blue); border-radius: 9px; position: relative; flex-shrink: 0; }
.jh-hint .jh-mouse::after {
  content: ''; position: absolute; left: 50%; top: 4px; width: 2.5px; height: 6px; margin-left: -1.25px;
  border-radius: 2px; background: var(--mary-blue); animation: jh-wheel 1.6s ease-in-out infinite;
}
.jh-hint span:not(.jh-mouse):not(.jh-chevrons) { border: none; width: auto; height: auto; }
.jh-hint span.jh-hint-text::after { display: none; }
.jh-chevrons { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.jh-chevrons i {
  width: 8px; height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  opacity: 0;
  animation: jh-chev 1.6s ease-in-out infinite;
}
.jh-chevrons i:nth-child(2) { animation-delay: 0.18s; }
.jh-chevrons i:nth-child(3) { animation-delay: 0.36s; }
@keyframes jh-chev { 0% { opacity: 0; transform: translateY(-4px) rotate(45deg); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(4px) rotate(45deg); } }
@keyframes jh-hint-in { from { opacity: 0; transform: translate(-50%, 24px) scale(0.92); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes jh-hint-float { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }
.jh.jh-started .jh-hint { opacity: 0; animation: none; transform: translate(-50%, 12px); transition: opacity 0.5s ease, transform 0.5s ease; }
@media (max-width: 760px) { .jh-hint { bottom: 1.25rem; font-size: 0.8rem; } }
@media (prefers-reduced-motion: reduce) {
  .jh-card.is-front::after, .jh-hint, .jh-chevrons i, .jh-hint .jh-mouse::after { animation: none !important; }
  .jh-chevrons i { opacity: 1; }
}
.jh-hint .jh-chevrons, .jh-hint .jh-hint-text { border: none; width: auto; height: auto; border-radius: 0; }
.jh-hint .jh-chevrons::after, .jh-hint .jh-hint-text::after { content: none; }

/* ---------- journey: robust rendering on GPU Chrome ----------
   cards are flat, fully-painted surfaces; far cards are hidden via opacity/visibility,
   not back-face culling, which some GPUs apply to the card's content and leave it blank */
.jh-card {
  backface-visibility: visible !important;
  -webkit-backface-visibility: visible !important;
  contain: none !important;
  transform-style: flat !important;
}
.jh-card .journey-content { transform-style: flat !important; }
.jh-card .journey-illust img, .jh-card .journey-illust .journey-svg { will-change: auto !important; }
.jh-card.is-hidden { visibility: hidden; }

/* scroll prompt sits at the top of the stage, just under the navigation */
.jh-hint { top: 92px; bottom: auto; }
@keyframes jh-hint-in { from { opacity: 0; transform: translate(-50%, -18px) scale(0.92); } to { opacity: 1; transform: translate(-50%, 0); } }
.jh.jh-started .jh-hint { transform: translate(-50%, -12px); }
@media (max-width: 760px) { .jh-hint { top: 76px; bottom: auto; } }

/* ---------- nature: corner vines & birds ---------- */
.vine {
  position: fixed;
  width: clamp(150px, 17vw, 270px);
  height: clamp(150px, 17vw, 270px);
  z-index: 40;
  pointer-events: none;
  overflow: visible;
  filter: drop-shadow(0 4px 8px rgba(30, 63, 115, 0.12));
}
.vine--bl { left: 0; bottom: 0; }
.vine--br { right: 0; bottom: 0; transform: scaleX(-1); }
.vine--tr { right: 0; top: 66px; transform: scale(-1, -1); width: clamp(110px, 12vw, 190px); height: clamp(110px, 12vw, 190px); opacity: 0.9; }
.vine-sway { transform-origin: 0 300px; animation: vine-sway 7s ease-in-out infinite; }
.vine--br .vine-sway { animation-delay: -2.5s; }
.vine--tr .vine-sway { animation-delay: -4.5s; }
@keyframes vine-sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(1.6deg); } }
.vine .bloom, .vine .leaf { transform-box: fill-box; }
.vine .leaf { transform-origin: 0 50%; }
.vine .bloom > g { animation: bloom-breathe 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bloom-breathe { 0%, 100% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(8deg) scale(1.05); } }
@media (max-width: 760px) {
  .vine { width: 120px; height: 120px; opacity: 0.85; }
  .vine--tr { display: none; }
}

.bird { position: fixed; z-index: 45; pointer-events: none; will-change: transform; filter: drop-shadow(0 3px 4px rgba(30, 63, 115, 0.18)); }
.bird .bird-wing { animation: bird-flap 0.26s ease-in-out infinite alternate; transform-box: view-box; }
@keyframes bird-flap { from { transform: scaleY(1) rotate(0deg); } to { transform: scaleY(-0.55) rotate(-8deg); } }

/* ---------- 3D nature layer ---------- */
.nature3d { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; }
@media (max-width: 760px) { .nature3d { opacity: 0.85; } }
.nature3d { transition: opacity 0.6s ease; }
.nature3d.dimmed { opacity: 0.18; }

/* ---------- hero eyebrow: editorial line instead of a pill badge ---------- */
.hero-badge.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  margin-bottom: 1.6rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  letter-spacing: 0.01em;
  color: var(--mary-deep);
}
.eyebrow-rule {
  width: 2.6rem;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold));
  transform-origin: left;
  animation: eyebrow-rule 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
@keyframes eyebrow-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.eyebrow-love { position: relative; display: inline-block; color: #A88A33; font-weight: 600; }
.eyebrow-swash {
  position: absolute;
  left: -4%;
  bottom: -0.22em;
  width: 108%;
  height: 0.55em;
  overflow: visible;
}
.eyebrow-swash path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 130;
  stroke-dashoffset: 130;
  animation: eyebrow-swash 1.2s cubic-bezier(0.65, 0, 0.35, 1) 1.2s forwards;
}
@keyframes eyebrow-swash { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .eyebrow-rule { animation: none; }
  .eyebrow-swash path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- home: tighter rhythm between sections ---------- */
#page-home .scripture { padding: 4.5rem 2rem 1.5rem; }
#page-home #explore { padding-top: 2.5rem; padding-bottom: 1.5rem; }
#page-home .verse-section { padding-top: 2.5rem; }
#page-home #testimonials { padding-top: 2.5rem; padding-bottom: 0; }
#page-home #testimonials .section-desc { margin-bottom: 0; }
.testimonial-strip.t3d { border-top: none; border-bottom: none; background: linear-gradient(180deg, transparent, var(--mary-ice)); height: 440px; }

/* ---------- hand-drawn olive sprig between sections ---------- */
.sprig { width: min(360px, 78vw); margin: 0 auto; padding: 0.5rem 0; position: relative; z-index: 2; }
.sprig svg { display: block; width: 100%; height: auto; overflow: visible; }
.sprig .sprig-line { fill: none; stroke-width: 1.2; stroke-linecap: round; }
.sprig .sprig-stem { fill: none; stroke: #A88A33; stroke-width: 1.4; stroke-linecap: round; }
.sprig .sprig-leaf { fill: rgba(201, 168, 76, 0.22); stroke: #A88A33; stroke-width: 1.1; stroke-linejoin: round; }
.sprig .sprig-berry { fill: #7BA4D9; }
/* drawn by hand when it scrolls into view */
html.fx3d .sprig.reveal:not(.visible) { transform: none; opacity: 1; }
.sprig .sprig-line, .sprig .sprig-stem { stroke-dasharray: 140; stroke-dashoffset: 140; transition: stroke-dashoffset 1.4s cubic-bezier(0.65, 0, 0.35, 1); }
.sprig .sprig-leaf, .sprig .sprig-berry { transform-box: fill-box; transform-origin: 0% 100%; transform: scale(0) rotate(-20deg); transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.sprig.visible .sprig-line, .sprig.visible .sprig-stem { stroke-dashoffset: 0; }
.sprig.visible .sprig-stem { transition-delay: 0.35s; }
.sprig.visible .sprig-leaf, .sprig.visible .sprig-berry { transform: none; }
.sprig.visible .sprig-leaf:nth-of-type(1) { transition-delay: 0.7s; }
.sprig.visible .sprig-leaf:nth-of-type(2) { transition-delay: 0.85s; }
.sprig.visible .sprig-leaf:nth-of-type(3) { transition-delay: 1.0s; }
.sprig.visible .sprig-leaf:nth-of-type(4) { transition-delay: 1.15s; }
.sprig.visible .sprig-berry { transition-delay: 1.3s; }
/* and it sways ever so slightly afterwards */
.sprig.visible svg { animation: sprig-sway 6s ease-in-out 2s infinite; transform-origin: 50% 60%; }
@keyframes sprig-sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-1.2deg) translateY(-1px); } }

/* ---------- title underline: a gold hand-drawn swash instead of a gradient bar ----------
   the clip lives on an inner layer so the element itself stays fully visible to the scroll observer */
.animated-line {
  width: 132px !important;
  height: 16px;
  background: none !important;
  margin: 0.2rem auto 1.6rem;
  position: relative;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.animated-line::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 16'%3E%3Cpath d='M4 10 C 22 3, 38 13, 58 8 S 96 2, 116 7 C 121 8, 125 6, 128 3' fill='none' stroke='%23C9A84C' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='4' cy='10' r='1.8' fill='%237BA4D9'/%3E%3C/svg%3E") center / contain no-repeat;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.3s;
}
.animated-line.visible::before { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .animated-line::before { clip-path: none; }
  .sprig .sprig-line, .sprig .sprig-stem { stroke-dashoffset: 0; }
  .sprig .sprig-leaf, .sprig .sprig-berry { transform: none; }
}

/* sprig variants: a dove before the verse, a heart before the testimonials */
.sprig .sprig-fill {
  fill: rgba(201, 168, 76, 0.2); fill-opacity: 0;
  stroke: #A88A33; stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 160; stroke-dashoffset: 160;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.65, 0, 0.35, 1) 0.35s, fill-opacity 0.8s ease 1.4s;
}
.sprig.visible .sprig-fill { stroke-dashoffset: 0; fill-opacity: 1; }
.sprig--dove .sprig-leaf { fill: rgba(141, 182, 118, 0.35); stroke: #7C9A6B; }
.sprig .sprig-motif { transform-box: fill-box; transform-origin: 50% 60%; }
.sprig--dove.visible svg, .sprig--heart.visible svg { animation: none; }
.sprig--dove.visible .sprig-motif { animation: sprig-dove 4.5s ease-in-out 2.2s infinite; }
@keyframes sprig-dove { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-2.5px) rotate(-2deg); } }
.sprig--heart.visible .sprig-motif { animation: sprig-beat 2.6s ease-in-out 2.2s infinite; }
@keyframes sprig-beat { 0%, 100% { transform: scale(1); } 8% { transform: scale(1.09); } 16% { transform: scale(1); } 24% { transform: scale(1.05); } 32% { transform: scale(1); } }
.sprig--heart .sprig-berry { fill: #C9A84C; }
@media (prefers-reduced-motion: reduce) {
  .sprig .sprig-fill { stroke-dashoffset: 0; fill-opacity: 1; }
  .sprig .sprig-motif { animation: none !important; }
}

/* ---------- independent & open to all ---------- */
.indep-section { padding-top: 3rem; padding-bottom: 2rem; }
.indep {
  max-width: 1020px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--mary-pale);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3.5rem);
  box-shadow: 0 18px 50px rgba(44, 90, 158, 0.08);
  position: relative;
  overflow: hidden;
}
.indep::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mary-light), var(--gold), var(--mary-light));
}
.indep-lead {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto 1rem;
}
.indep-lead strong { color: var(--mary-royal); font-weight: 600; }
.indep-middle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--mary-deep);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}
.indep-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
  text-align: left;
}
.indep-point { border-top: 1.5px solid var(--gold-light); padding-top: 1.1rem; }
.indep-num { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.1rem; color: #A88A33; }
.indep-point h3 { font-family: 'Bodoni Moda', Georgia, serif; font-size: 1.2rem; color: var(--mary-royal); margin: 0.2rem 0 0.5rem; }
.indep-point p { font-size: 0.92rem; line-height: 1.7; color: var(--text-light); }
@media (max-width: 760px) { .indep-points { grid-template-columns: 1fr; } }

/* ---------- navigation: what each option holds ---------- */
.nav-drop-menu { min-width: 320px; padding: 0.55rem; }
.nav-drop-menu a {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
}
.nav-item-title { font-weight: 600; color: var(--mary-royal); font-size: 0.86rem; }
.nav-desc { font-size: 0.76rem; font-weight: 400; color: var(--text-light); line-height: 1.45; }
.nav-drop-menu a:hover .nav-item-title { color: var(--mary-deep); }
.nav-drop-menu a { position: relative; }
.nav-drop-menu a::before {
  content: '';
  position: absolute;
  left: 0.3rem; top: 50%;
  width: 3px; height: 0;
  border-radius: 3px;
  background: var(--gold);
  transform: translateY(-50%);
  transition: height 0.25s ease;
}
.nav-drop-menu a:hover::before { height: 60%; }

.nav-links > a { position: relative; }
.nav-tip {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: max-content;
  max-width: 230px;
  padding: 0.7rem 0.95rem;
  background: white;
  border: 1px solid var(--mary-pale);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(30, 63, 115, 0.14);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-light);
  text-align: left;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 0.2s ease, transform 0.25s ease;
  z-index: 120;
}
.nav-tip::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  width: 10px; height: 10px;
  background: white;
  border-left: 1px solid var(--mary-pale);
  border-top: 1px solid var(--mary-pale);
  transform: translateX(-50%) rotate(45deg);
}
.nav-cta .nav-tip { left: auto; right: 0; transform: translateY(6px); }
.nav-cta .nav-tip::before { left: auto; right: 22px; transform: rotate(45deg); }
.nav-links > a:hover .nav-tip, .nav-links > a:focus-visible .nav-tip { opacity: 1; transform: translate(-50%, 0); transition-delay: 0.15s; }
.nav-cta:hover .nav-tip, .nav-cta:focus-visible .nav-tip { transform: translateY(0); }
.nav-cta { overflow: visible !important; }
.nav-cta::after { display: none; }
@media (max-width: 768px), (hover: none) {
  .nav-tip { display: none; }
  .nav-drop-menu { min-width: 0; }
}

/* ---------- Safari: lighter rendering for the 3D spiral ---------- */
html.is-safari nav, html.is-safari nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(250, 252, 255, 0.97); }
html.is-safari .jh-card { box-shadow: 0 14px 30px rgba(30, 63, 115, 0.12); }
html.is-safari .jh-card.is-front { box-shadow: 0 18px 40px rgba(30, 63, 115, 0.18), 0 0 0 1px rgba(201, 168, 76, 0.35); }
html.is-safari .jh-card .journey-illust img, html.is-safari .jh-card .journey-illust .journey-svg { filter: none; }
html.is-safari .jh-glow { animation: none; }
html.is-safari .jh-card .journey-illust::after { display: none; }
html.is-safari .jh-ring { will-change: transform; }
html.is-safari .jh-card { will-change: opacity; }

/* perspective lives on a non-sticky inner layer: WebKit/Safari mis-projects 3D children of a sticky element */
.jh-stage { perspective: none !important; }
.jh-persp {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1900px;
  perspective-origin: 50% 42%;
  pointer-events: none;
}
.jh-persp .jh-ring { pointer-events: auto; }
@media (max-width: 760px) { .jh-persp { perspective: 1300px; } }

/* spiral: one flat perspective container; each card carries its own 3D transform */
.jh-persp { perspective: none !important; }
.jh-ring {
  transform: none !important;
  transform-style: flat !important;
  perspective: 1900px;
  perspective-origin: 50% 42%;
  will-change: auto !important;
}
.jh-card { will-change: transform, opacity; }
@media (max-width: 760px) { .jh-ring { perspective: 1300px; } }

/* ---------- hero slideshow caption ---------- */
.hero-slides-ui {
  position: absolute;
  left: 0; top: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}
.hero-slide-caption {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: var(--mary-deep);
  white-space: nowrap;
  opacity: 0;
}
.hero-slide-caption.in { animation: hero-cap-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards; }
@keyframes hero-cap-in { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hero-slide-dots { display: flex; gap: 0.55rem; pointer-events: auto; }
.hero-slide-dots button {
  width: 8px; height: 8px;
  padding: 0;
  border-radius: 99px;
  border: none;
  background: var(--mary-pale);
  cursor: pointer;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}
.hero-slide-dots button:hover { background: var(--mary-light); }
.hero-slide-dots button.active { width: 26px; background: var(--gold); }
@media (max-width: 860px) { .hero-slide-caption { font-size: 1.05rem; } }
@media (max-width: 860px) { .hero { padding-top: max(54vh, 445px); } }

/* ---------- podcast episode ---------- */
.episode {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: white;
  border: 1px solid var(--mary-pale);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(44, 90, 158, 0.1);
  text-align: left;
}
.episode-art {
  position: relative;
  background: radial-gradient(120% 90% at 30% 20%, #E8F1FA 0%, #B8D4F0 55%, #7BA4D9 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.6rem;
  min-height: 260px;
}
.episode-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 70% 75%, rgba(232, 216, 153, 0.5), transparent 70%);
}
.episode-num {
  position: relative; z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--mary-royal);
}
.episode-heartbeat { position: relative; z-index: 1; width: 100%; height: auto; }
.episode-heartbeat path {
  fill: none; stroke: white; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 300; stroke-dashoffset: 300;
  animation: ep-beat 3.2s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(30, 63, 115, 0.3));
}
@keyframes ep-beat { 0% { stroke-dashoffset: 300; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -300; } }
.episode-body { padding: clamp(1.5rem, 4vw, 2.5rem); }
.episode-guest { font-family: 'Cormorant Garamond', serif; font-style: italic; color: #A88A33; font-size: 1.1rem; margin-bottom: 0.2rem; }
.episode-title { font-family: 'Bodoni Moda', Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--mary-royal); line-height: 1.15; margin-bottom: 1rem; }
.episode-body > p { font-size: 0.95rem; line-height: 1.75; color: var(--text-light); margin-bottom: 0.9rem; }

.episode-more { max-width: 640px; margin: 2rem auto 0; font-size: 0.92rem; color: var(--text-light); }
.episode-more a { color: var(--mary-blue); font-weight: 600; }
@media (max-width: 760px) {
  .episode { grid-template-columns: 1fr; }
  .episode-art { min-height: 150px; }
}

/* custom audio player */
.player {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: var(--mary-ice);
  border: 1px solid var(--mary-pale);
}
.player audio { display: none; }
.player-play {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--mary-blue), var(--mary-deep));
  box-shadow: 0 6px 18px rgba(44, 90, 158, 0.35);
  transition: transform 0.2s ease;
}
.player-play:hover { transform: scale(1.06); }
.player-play svg { width: 22px; height: 22px; fill: white; }
.player-play .i-pause, .player.playing .player-play .i-play { display: none; }
.player.playing .player-play .i-pause { display: block; }
.player-main { flex: 1; min-width: 0; }
.player-bar { position: relative; height: 8px; border-radius: 99px; background: rgba(123, 164, 217, 0.25); cursor: pointer; }
.player-buffer, .player-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; width: 0; }
.player-buffer { background: rgba(123, 164, 217, 0.3); }
.player-fill { background: linear-gradient(90deg, var(--mary-blue), var(--gold)); }
.player-knob {
  position: absolute; right: -7px; top: 50%;
  width: 14px; height: 14px; border-radius: 50%;
  background: white; border: 2px solid var(--gold);
  transform: translateY(-50%) scale(0);
  transition: transform 0.2s ease;
}
.player-bar:hover .player-knob, .player.playing .player-knob { transform: translateY(-50%) scale(1); }
.player-times { display: flex; justify-content: space-between; margin-top: 0.4rem; font-size: 0.75rem; color: var(--text-light); font-variant-numeric: tabular-nums; }
.player-skips { display: flex; gap: 0.35rem; flex-shrink: 0; }
.player-skip, .player-rate {
  border: 1px solid var(--mary-pale); background: white; color: var(--mary-deep);
  font-family: 'Source Serif 4', Georgia, serif; font-size: 0.75rem; font-weight: 600;
  border-radius: 99px; padding: 0.35rem 0.6rem; cursor: pointer;
}
.player-skip:hover, .player-rate:hover { border-color: var(--mary-blue); }
@media (max-width: 560px) {
  .player { flex-wrap: wrap; }
  .player-skips { width: 100%; justify-content: flex-end; }
}

/* ---------- disclaimer: animated ---------- */
.indep { isolation: isolate; }
.indep-orb { position: absolute; border-radius: 50%; filter: blur(40px); z-index: -1; pointer-events: none; }
.indep-orb--a { width: 320px; height: 320px; left: -80px; top: -60px; background: rgba(184, 212, 240, 0.55); animation: indep-drift 14s ease-in-out infinite alternate; }
.indep-orb--b { width: 260px; height: 260px; right: -60px; bottom: -40px; background: rgba(245, 237, 208, 0.7); animation: indep-drift 17s ease-in-out infinite alternate-reverse; }
@keyframes indep-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.15); } }
.indep::before { background-size: 200% 100%; animation: indep-shimmer 6s linear infinite; background-image: linear-gradient(90deg, var(--mary-light), var(--gold), var(--mary-light), var(--gold), var(--mary-light)); }
@keyframes indep-shimmer { to { background-position: -200% 0; } }
.indep-lead mark {
  background: linear-gradient(transparent 62%, rgba(232, 216, 153, 0.7) 62%) no-repeat 0 0 / 0% 100%;
  color: var(--mary-royal); font-weight: 600; padding: 0 0.1em;
  transition: background-size 1s cubic-bezier(0.65, 0, 0.35, 1);
}
.indep.visible .indep-lead mark { background-size: 100% 100%; }
.indep.visible .indep-lead mark:nth-of-type(1) { transition-delay: 0.6s; }
.indep.visible .indep-lead mark:nth-of-type(2) { transition-delay: 1s; }
.indep.visible .indep-lead mark:nth-of-type(3) { transition-delay: 1.4s; }

.indep-promise {
  position: relative;
  max-width: 680px;
  margin: 2rem auto 2.6rem;
  padding: 1.8rem 2rem 1.9rem;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--mary-ice), #FFFDF5);
  border: 1px solid var(--mary-pale);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.indep-promise::before, .indep-promise::after {
  content: '\201C'; position: absolute; font-family: 'Bodoni Moda', Georgia, serif; font-size: 5rem; line-height: 1; color: var(--gold-light); opacity: 0.8;
}
.indep-promise::before { left: 1rem; top: -0.4rem; }
.indep-promise::after { content: '\201D'; right: 1rem; bottom: -2.4rem; }
.indep-promise-kicker { font-family: 'Cormorant Garamond', serif; font-style: italic; color: #A88A33; font-size: 1.1rem; }
.indep-promise-line { font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.2rem); color: var(--mary-royal); line-height: 1.2; }
.indep-promise-line span {
  background: linear-gradient(transparent 70%, rgba(201, 168, 76, 0.35) 70%) no-repeat 0 0 / 0% 100%;
  transition: background-size 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.5s;
}
.indep-promise.visible .indep-promise-line span { background-size: 100% 100%; }
.indep-promise-sub { font-size: 1rem; line-height: 1.7; color: var(--text-light); max-width: 540px; }
.indep-promise.visible { animation: indep-breathe 5s ease-in-out 2s infinite; }
@keyframes indep-breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0); } 50% { box-shadow: 0 0 0 8px rgba(201, 168, 76, 0.08), 0 16px 40px rgba(44, 90, 158, 0.1); } }

.indep-point { position: relative; transition: transform 0.4s ease; }
.indep-point:hover { transform: translateY(-4px); }
.indep-ic { width: 38px; height: 38px; fill: none; stroke: var(--mary-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 0.5rem; display: block; }
.indep-ic * { stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 1.4s ease; }
.indep-point.visible .indep-ic * { stroke-dashoffset: 0; }
.indep-point:nth-child(2).visible .indep-ic * { transition-delay: 0.2s; }
.indep-point:nth-child(3).visible .indep-ic * { transition-delay: 0.4s; }
.indep-point:hover .indep-ic { animation: indep-wiggle 0.6s ease; }
@keyframes indep-wiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-8deg); } 60% { transform: rotate(6deg); } }
.indep-point { border-top-width: 1.5px; background-image: linear-gradient(90deg, var(--gold), var(--gold)); background-repeat: no-repeat; background-size: 0% 2px; background-position: 0 -1px; transition: background-size 1s ease, transform 0.4s ease; }
.indep-point.visible { background-size: 100% 2px; }
@media (prefers-reduced-motion: reduce) {
  .indep-orb, .indep::before, .indep-promise.visible { animation: none; }
  .indep-ic * { stroke-dashoffset: 0; }
}

/* ---------- podcast artwork ---------- */
.episode-art { align-items: center; text-align: center; overflow: hidden; gap: 0.8rem; background: radial-gradient(120% 90% at 30% 15%, #F4F8FD 0%, #B8D4F0 50%, #4A7EC2 100%); }
.episode-num { align-self: flex-start; }
.ep-visual { position: relative; width: 170px; height: 150px; display: grid; place-items: center; z-index: 1; }
.ep-ring { position: absolute; inset: 0; margin: auto; width: 120px; height: 120px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.7); animation: ep-ripple 3.6s ease-out infinite; }
.ep-ring--2 { animation-delay: 1.2s; }
.ep-ring--3 { animation-delay: 2.4s; }
@keyframes ep-ripple { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(1.5); opacity: 0; } }
.ep-hearts { width: 130px; height: auto; position: relative; filter: drop-shadow(0 8px 14px rgba(30, 63, 115, 0.3)); }
.ep-heart--a { fill: #fff; transform-origin: 42px 50px; animation: ep-thump 1.6s ease-in-out infinite; }
.ep-heart--b { fill: #E8D899; transform-origin: 80px 62px; animation: ep-thump 1.6s ease-in-out 0.25s infinite; }
@keyframes ep-thump { 0%, 100% { transform: scale(1); } 10% { transform: scale(1.1); } 20% { transform: scale(1); } 30% { transform: scale(1.06); } 40% { transform: scale(1); } }
.episode-heartbeat path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ep-beat2 3.2s ease-in-out infinite; }
@keyframes ep-beat2 { 0% { stroke-dashoffset: 1; } 50% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.ep-wave { position: relative; z-index: 1; display: flex; align-items: center; gap: 4px; height: 34px; }
.ep-wave i { width: 4px; height: 100%; border-radius: 4px; background: rgba(255, 255, 255, 0.85); transform-origin: center; transform: scaleY(0.25); animation: ep-bar 1.2s ease-in-out infinite; }
.ep-wave i:nth-child(3n) { animation-duration: 0.9s; }
.ep-wave i:nth-child(3n+1) { animation-duration: 1.4s; animation-delay: -0.3s; }
.ep-wave i:nth-child(4n) { animation-delay: -0.6s; }
.ep-wave i:nth-child(5n) { animation-delay: -0.9s; }
@keyframes ep-bar { 0%, 100% { transform: scaleY(0.2); } 50% { transform: scaleY(1); } }
.episode:not(.is-playing) .ep-wave i { animation-duration: 2.4s; opacity: 0.7; }
.ep-brand { position: relative; z-index: 1; font-family: 'Cormorant Garamond', serif; font-style: italic; color: white; font-size: 1rem; text-shadow: 0 1px 6px rgba(30, 63, 115, 0.35); }

/* ---------- independent section (matches "What support looks like here") ---------- */
.indep2 { padding-top: 2rem; }
.indep-scale3d { width: 240px; height: 190px; margin: 0 auto -0.5rem; display: none; }
.indep-scale3d.has-3d { display: block; }
.indep-scale3d canvas { display: block; width: 100%; height: 100%; }
.indep2 .support-card { cursor: default; }

/* ---------- independent: a night-sky panel ---------- */
.indep3 { padding: 1rem 1.5rem 1rem; position: relative; z-index: 2; }
.indep-panel {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2rem, 5vw, 3.75rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: 34px;
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(60% 80% at 22% 45%, rgba(123, 164, 217, 0.35), transparent 70%),
    radial-gradient(40% 60% at 90% 10%, rgba(201, 168, 76, 0.18), transparent 70%),
    linear-gradient(150deg, #1A3560 0%, #14294A 55%, #0F1F38 100%);
  box-shadow: 0 40px 80px -30px rgba(15, 31, 56, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  isolation: isolate;
}
.indep-panel::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 26px;
  border: 1px solid rgba(232, 216, 153, 0.28);
  pointer-events: none;
}
.indep-stars {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.7;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 20%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 70%, #E8D899 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 48% 14%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 62% 82%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 32%, #E8D899 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 66%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 88%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 40% 44%, #B8D4F0 50%, transparent 51%);
  animation: indep-twinkle 5s ease-in-out infinite alternate;
}
@keyframes indep-twinkle { from { opacity: 0.35; } to { opacity: 0.85; } }
.indep-stage { display: flex; flex-direction: column; align-items: center; }
.indep3 .indep-scale3d { display: block; width: 100%; max-width: 380px; height: 320px; margin: 0; }
.indep-caption { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--gold-light); font-size: 1.05rem; margin-top: -0.6rem; letter-spacing: 0.02em; }
.indep-title {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1.1rem;
}
.indep-title em { font-style: italic; font-weight: 400; color: var(--gold-light); }
.indep-intro { font-size: 1.02rem; line-height: 1.75; color: rgba(255, 255, 255, 0.78); margin-bottom: 1.6rem; max-width: 34rem; }
.indep-list { list-style: none; margin: 0 0 1.8rem; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.indep-list li {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.93rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.indep-panel.visible .indep-list li { opacity: 1; transform: none; }
.indep-panel.visible .indep-list li:nth-child(1) { transition-delay: 0.35s; }
.indep-panel.visible .indep-list li:nth-child(2) { transition-delay: 0.5s; }
.indep-panel.visible .indep-list li:nth-child(3) { transition-delay: 0.65s; }
.indep-term { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.2rem; color: #fff; line-height: 1.35; }
.indep-vow {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: #fff;
  padding-left: 1.1rem;
  border-left: 2px solid var(--gold);
}
@media (max-width: 860px) {
  .indep-panel { grid-template-columns: 1fr; text-align: left; }
  .indep3 .indep-scale3d { height: 240px; }
  .indep-list li { grid-template-columns: 1fr; gap: 0.2rem; }
}
@media (prefers-reduced-motion: reduce) { .indep-stars { animation: none; } .indep-list li { opacity: 1; transform: none; } }

.episode-note { font-style: italic; font-size: 0.88rem !important; border-left: 2px solid var(--gold-light); padding-left: 0.9rem; }

/* episode label in the artwork */
.ep-badge { position: relative; z-index: 1; align-self: flex-start; display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.ep-badge-word { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.15rem; color: var(--mary-deep); margin-bottom: -0.15rem; padding-left: 0.2rem; }
.ep-badge-num {
  font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; font-size: 3.6rem; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.5px var(--mary-royal);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.35)); -webkit-background-clip: text; background-clip: text;
}
.ep-badge-swash { width: 78px; height: 10px; margin-top: 0.15rem; overflow: visible; }
.ep-badge-swash path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }

/* independence panel: softer Marian blue so it sits with the light page */
.indep-panel {
  background:
    radial-gradient(55% 75% at 24% 50%, rgba(214, 232, 247, 0.38), transparent 70%),
    radial-gradient(40% 60% at 92% 8%, rgba(232, 216, 153, 0.22), transparent 70%),
    linear-gradient(150deg, #4A7EC2 0%, #2C5A9E 55%, #24508F 100%);
  box-shadow: 0 30px 70px -30px rgba(44, 90, 158, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.indep-intro, .indep-list li { color: rgba(255, 255, 255, 0.86); }
.indep-list, .indep-list li { border-color: rgba(255, 255, 255, 0.2); }
.indep-stars { opacity: 0.5; }
.indep-stage { align-self: stretch; justify-content: center; }
.indep3 .indep-scale3d { max-width: 460px; height: 440px; }
.indep-caption { margin-top: -1.4rem; }
@media (max-width: 860px) { .indep3 .indep-scale3d { height: 300px; } .indep-caption { margin-top: -0.6rem; } }
.episode-heartbeat { display: none; }

/* ---------- "Get to Know Us": a deep blue band, to alternate with the light sections ---------- */
#page-home #explore {
  position: relative;
  margin: 3.5rem 0 2.5rem;
  padding: 5.5rem 1.5rem 5.5rem;
  background:
    radial-gradient(32% 38% at 18% 45%, rgba(184, 212, 240, 0.26), transparent 100%),
    radial-gradient(28% 34% at 84% 58%, rgba(232, 216, 153, 0.16), transparent 100%),
    linear-gradient(180deg, #3F72B8 0%, #2C5A9E 50%, #24508F 100%);
  color: white;
  isolation: isolate;
}
#page-home #explore::before, #page-home #explore::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 60px;
  background: inherit;
  z-index: -1;
}
#page-home #explore::before {
  top: -59px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 240 10, 480 0, 720 24 S 1200 58, 1440 14 V60 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 240 10, 480 0, 720 24 S 1200 58, 1440 14 V60 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  background: #3F72B8;
}
#page-home #explore::after {
  bottom: -59px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1440 V40 C 1180 6, 960 54, 720 36 S 260 2, 0 44 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1440 V40 C 1180 6, 960 54, 720 36 S 260 2, 0 44 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  background: #24508F;
}
#page-home #explore .section-title { color: white; }
#page-home #explore .explore-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 14px 34px rgba(15, 31, 56, 0.18);
}
#page-home #explore .explore-card:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(232, 216, 153, 0.6); }
#page-home #explore .explore-card h3 { color: white; }
#page-home #explore .explore-card p { color: rgba(255, 255, 255, 0.8); }
#page-home #explore .explore-go { color: var(--gold-light); }
#page-home #explore .explore-icon { background: rgba(255, 255, 255, 0.14); color: white; }
#page-home #explore .tilt-glare { background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.22), transparent 60%); }
html.is-safari #page-home #explore .explore-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, 0.13); }

/* ---------- tighter gap between "What support looks like here" and the "unseen" section ---------- */
#page-home #support { padding-bottom: 2.5rem; }
#page-home #unseen { padding-top: 2.5rem; }

/* ---------- independence: a full-width wave band instead of a boxed panel ---------- */
#page-home .indep3 {
  position: relative;
  margin: 3.5rem 0 3rem;
  padding: 3.5rem 1.5rem 3.5rem;
  background:
    radial-gradient(30% 42% at 22% 50%, rgba(214, 232, 247, 0.3), transparent 100%),
    radial-gradient(26% 36% at 86% 40%, rgba(232, 216, 153, 0.16), transparent 100%),
    linear-gradient(180deg, #3F72B8 0%, #2C5A9E 50%, #24508F 100%);
  isolation: isolate;
}
#page-home .indep3::before, #page-home .indep3::after {
  content: ''; position: absolute; left: 0; right: 0; height: 60px; z-index: -1;
}
#page-home .indep3::before {
  top: -59px; background: #3F72B8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 300 4, 620 50, 900 22 S 1300 6, 1440 30 V60 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 300 4, 620 50, 900 22 S 1300 6, 1440 30 V60 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
#page-home .indep3::after {
  bottom: -59px; background: #24508F;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1440 V30 C 1160 60, 880 8, 620 34 S 180 52, 0 22 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1440 V30 C 1160 60, 880 8, 620 34 S 180 52, 0 22 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
#page-home .indep3 .indep-panel {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 1rem 0;
  overflow: visible;
}
#page-home .indep3 .indep-panel::before { display: none; }
#page-home .indep3 .indep-stars { inset: -40px 0; }

/* ---------- podcast: "With Marie" ---------- */
.episode-guest {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: normal;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--mary-blue);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.episode-guest::before { content: ''; width: 1.6rem; height: 2px; border-radius: 2px; background: var(--gold); }

/* =====================================================================
   SQUARE CORNERS + NO GLASS
   Containers get crisp square corners and solid fills with fine lines
   (an editorial, print-like finish). Round things that should stay round
   (play button, dots, avatars) are untouched. Delete this block to revert.
   ===================================================================== */
.support-card, .explore-card, .value-card, .mv-card, .blog-card, .faq-card, .pathway-card, .podcast-card,
.testimonial-item, .verse-card, .unseen-inner, .offer-note, .values-truth, .design-story, .content-note,
.coming-soon, .bl-cta, .ua-item, .ua-urgent, .ref-link, .founder-contact, .founder-name-card, .founder-photo,
.founder-quote, .journey-content, .jh-card, .episode, .player, .prayer-request-card, .flow-card, .form-option,
.form-input, .prayer-input, .quiz-modal, .quiz-option, .ref-modal, .article-modal, .article-modal-cover,
.nav-drop-menu, .nav-drop-menu a, .nav-tip, .back-home--card, .indep, .indep-panel, .indep-panel::before,
.indep-promise, .mv-card::before, .rosary-details,
.support-icon, .explore-icon, .value-icon, .mv-icon, .faq-thumb, .pathway-card-icon, .ref-modal-icon, .founder-contact-icon {
  border-radius: 0 !important;
}
.tilt-glare { border-radius: 0 !important; }

/* no frosted glass: solid surfaces with hairlines */
.journey-content, #page-home #explore .explore-card, .back-home, .hero-badge {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
#page-home #explore .explore-card {
  background: #2F62AA;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}
#page-home #explore .explore-card:hover { background: #3466AE; border-color: var(--gold-light); }
#page-home #explore .explore-icon { background: transparent; border: 1px solid rgba(255, 255, 255, 0.35); }

/* softer, flatter shadows so the square shapes feel printed rather than floating */
.support-card, .value-card, .blog-card, .faq-card, .pathway-card, .unseen-inner, .verse-card, .episode, .jh-card {
  box-shadow: 0 1px 0 rgba(30, 63, 115, 0.04), 0 10px 24px -14px rgba(30, 63, 115, 0.18);
}
/* a thin gold rule along the top of the main cards, in place of the rounded softness */
.support-card, .value-card, .explore-card, .faq-card, .pathway-card, .blog-card { border-top: 2px solid var(--gold-light) !important; }
#page-home #explore .explore-card { border-top-color: var(--gold) !important; }

/* ---------- footer brand: keep the name in one run of text ---------- */
.footer-brand-name .fbn-text { color: white; }
.footer-brand-name .fbn-text span { color: var(--mary-light); }

/* ---------- mobile polish ---------- */
@media (max-width: 768px) {
  /* menu panel: submenus sit in place instead of the desktop centring shift */
  .nav-links.open { max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
  .nav-drop-menu, .nav-dropdown:hover .nav-drop-menu { left: auto; transform: none !important; width: 100%; }
  .nav-dropdown { width: 100%; }
  .nav-drop-menu { padding: 0.25rem 0 0.5rem; }
  .nav-drop-menu a { text-align: left; }
  .nav-links { align-items: stretch; }
  .nav-links > a:not(.nav-cta) { text-align: left; }
  .nav-links > a.nav-cta { text-align: center; justify-content: center; margin-top: 0.75rem; }

  /* footer: brand on top, links in tidy columns, room for the back-to-top button */
  footer { padding: 3rem 1.5rem 6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.25rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: none; }
  .footer-brand-name { font-size: 1.5rem; }
  .footer-col:nth-child(2) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
  .footer-col:nth-child(2) h4 { grid-column: 1 / -1; }
  .footer-col a { padding: 0.4rem 0; line-height: 1.4; }
}

/* ---------- testimonials on phones: a swipeable row instead of the 3D ring ---------- */
@media (max-width: 700px) {
  .testimonial-strip.t3d { height: auto; perspective: none; display: block; overflow: visible; padding: 1.5rem 0 3rem; }
  .t3d-ring {
    animation: none !important;
    transform: none !important;
    transform-style: flat;
    width: auto !important;
    height: auto;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 9vw 1.75rem;
    scrollbar-width: none;
  }
  .t3d-ring::-webkit-scrollbar { display: none; }
  .t3d-ring .testimonial-item,
  .t3d-ring .testimonial-item:hover {
    position: relative;
    inset: auto;
    flex: 0 0 82vw;
    width: 82vw !important;
    height: auto;
    min-height: 0;
    padding: 1.75rem 1.5rem;
    transform: none !important;
    scroll-snap-align: center;
    box-shadow: 0 14px 34px rgba(44, 90, 158, 0.12);
  }
  .testimonial-more { opacity: 1; }
  .testimonial-strip.t3d::after {
    content: 'Swipe for more  \2192';
    display: block;
    text-align: center;
    font-size: 0.74rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--mary-blue);
    opacity: 0.7;
  }
}

/* iOS Safari only sends taps up to the page-level handler from elements that look clickable */
[data-action] { cursor: pointer; }
@media (hover: none) {
  [data-backdrop] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
}

/* ---------- Understanding Life: adoption feature ---------- */
.adoption-section { background: linear-gradient(180deg, var(--mary-ice) 0%, var(--cream) 100%); padding-top: 1rem; }
.adoption-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.25rem 3rem 3rem;
  background: white;
  border: 1px solid var(--mary-pale);
  border-top: 3px solid var(--gold);
  box-shadow: 0 24px 60px -28px rgba(30, 63, 115, 0.28);
  position: relative;
}
.adoption-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.1rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-pale), #FFF8E8);
  color: var(--gold);
  font-size: 1.8rem;
}
.adoption-panel .section-title { margin-bottom: 0.4rem; }
.adoption-desc { max-width: 560px; margin: 0 auto 2.25rem; }
.adoption-panel .ua-item { box-shadow: none; }
@media (max-width: 768px) { .adoption-panel { padding: 2.5rem 1.25rem 1.5rem; } }
.ua-a a { color: var(--mary-blue); text-decoration-color: var(--mary-pale); text-underline-offset: 3px; transition: color 0.2s, text-decoration-color 0.2s; }
.ua-a a:hover { color: var(--mary-deep); text-decoration-color: var(--gold); }

/* rendered illustrations with a white studio backdrop: let the white melt into the card tint */
.journey-illust.jimg-render img, .jh-card .journey-illust.jimg-render img { mix-blend-mode: multiply; filter: none !important; }

/* ---------- square corners on every button and everything in the quiz ---------- */
button, .btn, a[class*="-btn"], [class*="-btn"], summary, .nav-cta, .nav-links > a, .nav-drop-trigger,
.blog-filter, .unseen-btn, .to-top, .player-play, .player-skip, .player-rate,
.quiz-close, .ref-modal-close, .article-modal-close, .hero-slide-dots button, .jh-steps button,
.quiz-overlay, .quiz-overlay *, .quiz-overlay *::before, .quiz-overlay *::after {
  border-radius: 0 !important;
}

/* form controls take the page font instead of the browser's system font */
button, input, textarea, select { font-family: inherit; }
.back-home, .back-home--card { border-radius: 0 !important; }
.hero-sub { font-size: 1.22rem; }
@media (max-width: 768px) { .hero-sub { font-size: 1.12rem; } }
.pathway-flow-step, .verse-toast, .journey-size-badge, .bl-cta-icon, .ref-modal-stance, .ref-modal-visit,
.rosary-day-badge, .player-bar, .player-buffer, .player-fill { border-radius: 0 !important; }

/* =====================================================================
   SECTION HEADINGS: three editorial variants instead of one repeated
   "centred title + squiggle + grey line" formula
   ===================================================================== */
.sec-head { max-width: 1040px; margin: 0 auto 3rem; text-align: left; }
.sec-head .section-title { margin: 0; }
.sec-head .sec-head-desc { margin: 0; max-width: none; text-align: left; }

/* split: title left, description right behind a fine gold rule */
.sec-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: end;
}
.sec-head--split .sec-head-desc {
  border-left: 2px solid var(--gold-light);
  padding: 0.2rem 0 0.35rem 1.6rem;
  font-size: 1.08rem;
}

/* ruled: left title, short gold bar, description below */
.sec-head--rule .section-title {
  padding-bottom: 1.1rem;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 64px 2px no-repeat;
}
.sec-head--rule .sec-head-desc { margin-top: 1.2rem; max-width: 640px; }

/* plain: centred title only, a quieter moment */
.sec-head--plain { text-align: center; max-width: 640px; }
.sec-head--plain .sec-head-desc { text-align: center; margin-top: 0.9rem; font-style: italic; }

/* the dark "Get to Know Us" band keeps light text */
#explore .sec-head--rule .section-title { background-image: linear-gradient(var(--gold-light), var(--gold-light)); }

@media (max-width: 860px) {
  .sec-head { margin-bottom: 2.25rem; }
  .sec-head--split { grid-template-columns: 1fr; gap: 1.1rem; }
  .sec-head--split .sec-head-desc { padding-left: 1.1rem; font-size: 1rem; }
}

/* =====================================================================
   CARD LAYOUTS WITH SOME CHARACTER (instead of rows of identical boxes)
   ===================================================================== */

/* What support looks like: one lead card, two lighter companions */
#support .support-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  max-width: 1040px;
  gap: 1.25rem;
}
#support .support-card--lead {
  grid-row: span 2;
  background: #2F62AA;
  border-color: #2F62AA;
  padding: 2.75rem 2.5rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 330px;
}
#support .support-card--lead .support-icon { background: transparent; border: 1px solid rgba(255,255,255,0.4); color: white; margin-bottom: auto; }
#support .support-card--lead h3 { color: white; font-size: 1.75rem; margin-top: 2.5rem; }
#support .support-card--lead p { color: rgba(255,255,255,0.86); font-size: 1rem; max-width: 34ch; }
#support .support-card--lead .support-go { color: var(--gold-light); }
#support .support-card--lead:hover { background: #3466AE; border-color: var(--gold-light); }
#support .support-card:not(.support-card--lead) .support-icon { display: none; }
#support .support-card:not(.support-card--lead) { padding: 1.6rem 1.75rem; border-top: 2px solid var(--gold-light) !important; }
@media (max-width: 760px) {
  #support .support-grid { grid-template-columns: 1fr; }
  #support .support-card--lead { grid-row: auto; min-height: 0; }
}

/* What we stand for: numbered editorial statements, still in cards */
.values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; }
.value-card { text-align: left; padding: 2.25rem 2.25rem 2rem; }
.value-num {
  display: block;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 1rem;
  font-feature-settings: "lnum";
}
.value-card h3 { text-align: left; }
.value-card p { text-align: left; }
@media (max-width: 760px) { .values-grid { grid-template-columns: 1fr; } }

/* Mission & vision: plain cards with a large opening mark, no pastel fills */
.mv-card, .mv-card.mission, .mv-card.vision {
  background: white !important;
  border: 1px solid var(--mary-pale);
  border-top: 3px solid var(--mary-blue) !important;
  text-align: left;
  padding: 2.75rem 2.5rem 2.5rem;
}
.mv-card.vision { border-top-color: var(--gold) !important; }
.mv-card::before { display: none !important; }
.mv-card h3 { text-align: left; font-size: 1.6rem; margin-bottom: 0.9rem; }
.mv-card h3::before {
  content: '\201C';
  display: block;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--mary-pale);
  margin-bottom: 0.6rem;
}
.mv-card.vision h3::before { color: var(--gold-light); }
.mv-card p { text-align: left; }
.mv-card:hover { transform: none; }

/* Get to know us: a contents list rather than four icon boxes */
#page-home #explore .explore-index {
  display: block;
  max-width: 1040px;
  border-top: 1px solid rgba(255,255,255,0.28);
}
#page-home #explore .explore-index .explore-card {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.4fr) 2.5rem;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.6rem 0.5rem;
  background: transparent;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.28) !important;
  box-shadow: none;
  transform: none !important;
  transition: background 0.3s ease, padding 0.3s ease;
}
#page-home #explore .explore-index .explore-card:hover { background: rgba(255,255,255,0.06); padding-left: 1rem; }
#page-home #explore .explore-num { font-family: 'Bodoni Moda', Georgia, serif; font-size: 1.1rem; color: var(--gold-light); }
#page-home #explore .explore-index h3 { margin: 0; font-size: 1.5rem; }
#page-home #explore .explore-index p { margin: 0; font-size: 1rem; }
#page-home #explore .explore-index .explore-go { font-size: 1.4rem; text-align: right; transition: transform 0.3s ease; }
#page-home #explore .explore-index .explore-card:hover .explore-go { transform: translateX(6px); }
#page-home #explore .explore-index .tilt-glare { display: none; }
@media (max-width: 760px) {
  #page-home #explore .explore-index .explore-card { grid-template-columns: 2.6rem minmax(0, 1fr) 1.5rem; gap: 0.4rem 1rem; }
  #page-home #explore .explore-index p { grid-column: 2; grid-row: 2; }
  #page-home #explore .explore-index .explore-go { grid-column: 3; grid-row: 1; }
}

/* =====================================================================
   FOOTER: one warm closing line, a way to reach out, one row of links
   ===================================================================== */
footer { padding: 5rem 3rem 3rem; }
.foot { position: relative; z-index: 2; max-width: 1040px; margin: 0 auto; }
.foot-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: end;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.foot-line {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: white;
  margin: 0;
}
.foot-line em { font-style: italic; font-weight: 400; color: var(--gold-light); }
.foot-reach { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.foot-cta {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  background: var(--gold);
  color: #0F1F38;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease;
}
.foot-cta:hover { background: var(--gold-light); }
.foot-mail { color: rgba(255, 255, 255, 0.7); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.25); padding-bottom: 2px; font-size: 0.95rem; }
.foot-mail:hover { color: white; border-bottom-color: var(--gold-light); }
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.8rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.foot-links a { color: rgba(255, 255, 255, 0.62); text-decoration: none; font-size: 0.93rem; transition: color 0.2s ease; }
.foot-links a:hover { color: white; }
.foot-base { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; padding-top: 1.75rem; }
.foot-mark { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.25rem; white-space: nowrap; }
.foot-base p { margin: 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.42); max-width: 520px; text-align: right; }
@media (max-width: 768px) {
  footer { padding: 3.5rem 1.5rem 6rem; }
  .foot-lead { grid-template-columns: 1fr; gap: 1.75rem; padding-bottom: 2.25rem; }
  .foot-links { gap: 0.8rem 1.4rem; }
  .foot-base { flex-direction: column; gap: 0.6rem; }
  .foot-base p { text-align: left; }
}

/* "unseen" list: a quiet litany instead of a ticked checklist */
.unseen-list li {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.22rem;
  line-height: 1.45;
  color: var(--mary-deep);
  padding: 0.85rem 0 0.85rem 0 !important;
}
.unseen-list li::before { display: none !important; content: none !important; }

/* Billings: the call-to-action becomes a wide band, text left and button right */
.bl-cta {
  max-width: 1040px !important;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "icon title btn" "icon desc btn" "icon note note";
  align-items: center;
  gap: 0.35rem 2rem;
  text-align: left !important;
  padding: 2.25rem 2.5rem !important;
  border-top: 3px solid var(--gold) !important;
}
.bl-cta .bl-cta-icon { grid-area: icon; margin: 0 !important; width: 64px; height: 64px; }
.bl-cta .bl-cta-title { grid-area: title; margin: 0; }
.bl-cta .bl-cta-desc { grid-area: desc; margin: 0; max-width: 60ch; }
.bl-cta .bl-cta-btn { grid-area: btn; white-space: nowrap; }
.bl-cta .bl-cta-note { grid-area: note; margin-top: 1rem; }
@media (max-width: 760px) {
  .bl-cta { grid-template-columns: 1fr; grid-template-areas: "icon" "title" "desc" "btn" "note"; gap: 0.8rem; }
  .bl-cta .bl-cta-btn { justify-self: start; }
}

/* ---------- Get to Know Us: picture tiles ---------- */
#page-home #explore .explore-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
  max-width: 1040px;
  border: none;
}
.explore-tile { display: block; text-decoration: none; color: inherit; }
.explore-pic {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #EDF4FB;
  margin-bottom: 1.1rem;
  outline: 1px solid rgba(255, 255, 255, 0.25);
  outline-offset: 6px;
  transition: outline-color 0.35s ease;
}
.explore-pic img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.explore-pic--top img { object-position: 50% 15%; }
.explore-pic--contain img { object-fit: contain; padding: 12%; }
.explore-tile:hover .explore-pic img { transform: scale(1.05); }
.explore-tile:hover .explore-pic { outline-color: var(--gold-light); }
#page-home #explore .explore-tile h3 {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 1.3rem;
  color: white;
  margin: 0 0 0.35rem;
  display: inline-block;
  background: linear-gradient(var(--gold-light), var(--gold-light)) left bottom / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.4s ease;
}
.explore-tile:hover h3 { background-size: 100% 1px !important; }
#page-home #explore .explore-tile p { margin: 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); line-height: 1.55; }
@media (max-width: 900px) { #page-home #explore .explore-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; } }
@media (max-width: 480px) { .explore-pic { aspect-ratio: 1 / 1; } }

/* ---------- footer links: fewer, calmer ---------- */
.foot-links { gap: 0.6rem 2.6rem; padding: 2.1rem 0; }
.foot-links a { font-size: 0.88rem; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.55); }

/* ---------- lead support card: content sits together, a reassurance strip below ---------- */
#support .support-card--lead { justify-content: center; }
#support .support-card--lead .support-icon { margin-bottom: 0; }
#support .support-card--lead h3 { margin-top: 1.75rem; font-size: 2rem; }
#support .support-card--lead p { font-size: 1.08rem; max-width: 40ch; }
.support-promise {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  margin-top: 2.25rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.85);
}
.support-promise span + span::before { content: '\00B7'; margin-right: 1.4rem; color: var(--gold-light); font-style: normal; }
@media (max-width: 600px) {
  #page-home #explore .explore-tile h3 { font-size: 1.08rem; }
  #page-home #explore .explore-tile p { font-size: 0.86rem; }
  .explore-pic { outline-offset: 4px; }
}

/* =====================================================================
   HEADINGS: Libre Caslon, set like a book; no coloured-italic accent words
   ===================================================================== */
html { font-synthesis-weight: none; }
h1, h2, .section-title, .indep-title, .foot-line { font-weight: 700 !important; }
h3 { font-weight: 600 !important; }
.hero h1 { font-size: clamp(3.1rem, 5.8vw, 5.2rem); line-height: 1.04; letter-spacing: -0.012em; }
.section-title { letter-spacing: -0.01em; }
.hero-badge .eyebrow-text { font-style: italic; }

/* hand-sketched icons: the line is drawn twice, a little loose, like ink */
.ic-sketch { overflow: visible; }
.ic-sketch .sk2 { opacity: 0.42; stroke-width: 1; }
.btn .ic-sketch { width: 18px; height: 18px; font-size: 18px; }
.btn-primary .ic-sketch { stroke: currentColor; }
.hero h1, .section-title, .foot-line, .indep-title { text-wrap: balance; }

/* Bodoni Moda: high-contrast, fashion-magazine serif */
.section-title, .indep-title, .foot-line { font-variation-settings: 'opsz' 72; letter-spacing: -0.012em; }


/* hero headline: the same bold Bodoni as every other heading, one solid colour */
.hero h1 {
  font-family: 'Bodoni Moda', Georgia, serif !important;
  font-weight: 800 !important;
  font-variation-settings: 'opsz' 11;
  font-size: clamp(2.8rem, 4.9vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--mary-royal);
}
.hero h1 .em {
  font: inherit !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  color: inherit !important;
  animation: none !important;
}

/* =====================================================================
   "A community built on love": the e runs on into a pen stroke and a nib
   ===================================================================== */
.hero-badge { display: inline-flex; align-items: flex-end; }
.pen-tail { width: 170px; height: 40px; margin-left: -15px; margin-bottom: -11px; overflow: visible; flex: none; }
.pen-line { fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 260; stroke-dashoffset: 260; animation: pen-draw 2.2s cubic-bezier(0.45, 0, 0.2, 1) 1.1s forwards; }
.pen-nib { opacity: 0; animation: nib-in 0.6s ease 3.05s forwards; }
.nib-body { fill: #C9A84C; stroke: #8E6F22; stroke-width: 0.7; stroke-linejoin: round; }
.nib-slit { stroke: #6E5418; stroke-width: 0.8; stroke-linecap: round; }
.nib-hole { fill: #6E5418; }
.nib-grip { fill: #1E3F73; }
@keyframes pen-draw { to { stroke-dashoffset: 0; } }
@keyframes nib-in { from { opacity: 0; transform: translate(158px, 21px) rotate(-28deg); } to { opacity: 1; transform: translate(164px, 15px) rotate(-28deg); } }
.hero-badge .eyebrow-text { color: var(--mary-deep); }
.pen-tail { color: var(--mary-deep); }
@media (max-width: 600px) { .pen-tail { width: 120px; height: 30px; margin-left: -11px; margin-bottom: -8px; } }
@media (prefers-reduced-motion: reduce) {
  .pen-line { animation: none; stroke-dashoffset: 0; }
  .pen-nib { animation: none; opacity: 1; }
}
/* hero headline: exactly two lines on wider screens */
.hero h1 { text-wrap: wrap; font-size: clamp(2.6rem, 4.4vw, 4.4rem); }
@media (min-width: 1000px) { .hero h1 { white-space: nowrap; } }
@media (max-width: 999px) { .hero h1 .br-wide { display: none; } .hero h1 { text-wrap: balance; } }
@media (min-width: 861px) and (max-width: 1150px) { .hero-content { max-width: 52%; margin-left: 0; margin-right: auto; } }

/* =====================================================================
   FIND SUPPORT: three numbered steps and one quiet invitation
   ===================================================================== */
.pw-steps {
  list-style: none;
  max-width: 1040px;
  margin: 0.5rem auto 3.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--mary-pale);
  text-align: left;
}
.pw-steps li { padding: 1.6rem 1.75rem 0 0; position: relative; }
.pw-steps li + li { padding-left: 1.75rem; border-left: 1px solid var(--mary-pale); }
.pw-steps li::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--gold);
}
.pw-steps li + li::before { left: 1.75rem; }
.pw-num { display: block; font-family: 'Bodoni Moda', Georgia, serif; font-size: 1rem; color: var(--gold); letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.pw-name { display: block; font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; font-size: 1.45rem; color: var(--mary-royal); margin-bottom: 0.45rem; }
.pw-line { display: block; font-size: 0.98rem; line-height: 1.6; color: var(--text-light); }

.pw-begin {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2.5rem;
  padding: 2.75rem 3rem;
  background: var(--mary-royal);
  color: white;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}
.pw-begin::after {
  content: ''; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, 0.16); pointer-events: none;
}
.pw-begin:hover { background: #24508F; }
.pw-begin:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.pw-begin-kicker { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.15rem; color: var(--gold-light); margin: 0 0 0.3rem; }
.pw-begin-title { font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: white; margin: 0 0 0.8rem; line-height: 1.15; }
.pw-begin-desc { margin: 0; max-width: 56ch; color: rgba(255, 255, 255, 0.82); font-size: 1rem; line-height: 1.7; }
.pw-begin-btn {
  display: inline-block; white-space: nowrap;
  padding: 1rem 1.7rem; background: var(--gold); color: #0F1F38; font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease;
}
.pw-begin:hover .pw-begin-btn { background: var(--gold-light); transform: translateX(4px); }
@media (max-width: 760px) {
  .pw-steps { grid-template-columns: 1fr; border-top: none; margin-bottom: 2.5rem; }
  .pw-steps li, .pw-steps li + li { padding: 1.3rem 0 1.1rem; border-left: none; border-top: 1px solid var(--mary-pale); }
  .pw-steps li + li::before { left: 0; }
  .pw-begin { grid-template-columns: 1fr; gap: 1.6rem; padding: 2.25rem 1.6rem; }
  .pw-begin-btn { justify-self: start; }
}

/* phones: Bodoni's sturdier small-size letterforms so hairlines stay visible */
@media (max-width: 860px) {
  .section-title, .indep-title, .foot-line, .pw-name, .pw-begin-title, h3 { font-variation-settings: 'opsz' 11 !important; letter-spacing: -0.01em; }
}
@media (max-width: 760px) {
  #support .support-card--lead { padding: 2rem 1.6rem; }
  #support .support-card--lead h3 { font-size: 1.6rem; line-height: 1.15; margin-top: 1.4rem; }
  #support .support-card--lead p { font-size: 1rem; }
  .support-promise { gap: 0.4rem 1rem; font-size: 1.02rem; }
  .support-promise span + span::before { margin-right: 1rem; }
}

/* =====================================================================
   QUIZ GAME (third-person walk)
   ===================================================================== */
.quiz-overlay.game { padding: 0; background: #EAF2FB; backdrop-filter: none; -webkit-backdrop-filter: none; }
.quiz-overlay.game .quiz-modal { display: none; }
.quiz-game { position: absolute; inset: 0; overflow: hidden; }
.quiz-game[hidden] { display: none; }
.qg-stage, .qg-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: manipulation; }
.qg-top {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 2rem 7rem 1.2rem 2.5rem;
  background: linear-gradient(180deg, rgba(234, 242, 251, 0.95), rgba(234, 242, 251, 0));
  pointer-events: none;
}
.qg-count { margin: 0 0 0.35rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.15rem; color: var(--mary-blue); }
.qg-question { margin: 0; font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.12; color: var(--mary-royal); max-width: 22ch; }
.qg-tools { position: absolute; top: 1.5rem; right: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.qg-skip {
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--mary-pale); color: var(--mary-royal);
  padding: 0.55rem 1rem; font-size: 0.85rem; cursor: pointer;
}
.qg-skip:hover { border-color: var(--gold); }
.qg-close {
  width: 42px; height: 42px; background: white; border: 1px solid var(--mary-pale); color: var(--mary-royal);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.qg-bottom {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem 2.5rem 1.6rem;
  background: linear-gradient(0deg, rgba(234, 242, 251, 0.96), rgba(234, 242, 251, 0));
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
}
.qg-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.qg-opt {
  background: white; border: 1px solid var(--mary-pale); border-top: 2px solid var(--gold-light);
  color: var(--mary-royal); padding: 0.7rem 1.1rem; font-size: 0.95rem; cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.qg-opt:hover, .qg-opt:focus-visible { border-color: var(--gold); transform: translateY(-2px); }
.qg-hint { margin: 0; font-size: 0.82rem; color: var(--text-light); text-align: center; }
.qg-back { background: none; border: none; color: var(--mary-blue); font-size: 0.88rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.qg-back[hidden] { display: none; }
.qg-fade { position: absolute; inset: 0; background: #FFFBF0; opacity: 0; pointer-events: none; transition: opacity 0.7s ease; }
.qg-fade.on { opacity: 1; }
@media (max-width: 700px) {
  .qg-top { padding: 1.3rem 1.25rem 1rem; }
  .qg-question { font-size: 1.45rem; max-width: 16ch; }
  .qg-tools { top: auto; bottom: auto; top: 1rem; right: 1rem; flex-direction: column-reverse; align-items: flex-end; gap: 0.5rem; }
  .qg-skip { padding: 0.45rem 0.7rem; font-size: 0.78rem; }
  .qg-bottom { padding: 1rem 1rem 1.2rem; }
  .qg-opt { padding: 0.6rem 0.85rem; font-size: 0.88rem; }
  .qg-hint { font-size: 0.76rem; }
}
.quiz-game.ending .qg-hint, .quiz-game.ending .qg-skip { visibility: hidden; }
.qg-hint-touch { display: none; }
@media (hover: none) { .qg-hint-keys { display: none; } .qg-hint-touch { display: inline; } }

/* =====================================================================
   QUIZ: start choice, prominent skip, and the full-page guide
   ===================================================================== */
.qg-intro { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; padding: 1.5rem;
  background: radial-gradient(ellipse at center, rgba(234, 242, 251, 0.55), rgba(234, 242, 251, 0.88)); z-index: 3; }
.quiz-game.choosing .qg-intro { display: flex; }
.quiz-game.choosing .qg-top, .quiz-game.choosing .qg-bottom, .quiz-game.choosing .qg-skip { display: none; }
.qg-intro-card { max-width: 860px; width: 100%; background: rgba(255, 255, 255, 0.94); border-top: 3px solid var(--gold); padding: 2.75rem 2.75rem 2rem; box-shadow: 0 30px 80px -30px rgba(30, 63, 115, 0.35); text-align: center; }
.qg-intro-k { margin: 0 0 0.4rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.25rem; color: var(--mary-blue); }
.qg-intro-title { margin: 0 0 2rem; font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--mary-royal); line-height: 1.15; }
.qg-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; text-align: left; }
.qg-choice { display: flex; flex-direction: column; gap: 0.45rem; padding: 1.6rem 1.5rem; cursor: pointer; font: inherit;
  background: var(--mary-royal); color: white; border: 1px solid var(--mary-royal); transition: transform 0.25s ease, background 0.25s ease; }
.qg-choice:hover, .qg-choice:focus-visible { transform: translateY(-3px); background: #24508F; }
.qg-choice.plain { background: white; color: var(--mary-royal); border-color: var(--mary-pale); border-top: 3px solid var(--gold); }
.qg-choice.plain:hover, .qg-choice.plain:focus-visible { background: #FFFCF4; }
.qg-choice-k { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }
.qg-choice.plain .qg-choice-k { color: var(--gold); }
.qg-choice-t { font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; font-size: 1.35rem; line-height: 1.2; }
.qg-choice-d { font-size: 0.95rem; line-height: 1.55; opacity: 0.88; }
.qg-intro-note { margin: 1.4rem 0 0; font-size: 0.85rem; color: var(--text-light); }
.qg-skip { background: white !important; border: 1px solid var(--gold) !important; color: var(--mary-royal) !important; font-weight: 600; padding: 0.7rem 1.1rem !important; font-size: 0.9rem !important; box-shadow: 0 8px 24px -12px rgba(30, 63, 115, 0.4); }
.qg-skip-long { font-weight: 400; color: var(--text-light); margin-right: 0.25rem; }
@media (max-width: 700px) {
  .qg-intro-card { padding: 2rem 1.25rem 1.5rem; }
  .qg-choices { grid-template-columns: 1fr; }
  .qg-skip-long { display: none; }
}

/* full-page guide */
.quiz-overlay.guide { padding: 0; background: #F7F4EE; backdrop-filter: none; -webkit-backdrop-filter: none; align-items: stretch; }
.quiz-overlay.guide .quiz-game { display: none; }
.quiz-overlay.guide .quiz-modal { display: block; max-width: none; max-height: none; height: 100%; padding: 0; background: #F7F4EE; box-shadow: none; overflow-y: auto; }
.quiz-overlay.guide .quiz-close { position: fixed; top: 1.25rem; right: 1.25rem; z-index: 5; width: 46px; height: 46px; background: white; border: 1px solid var(--mary-pale); }
.gd { max-width: 980px; margin: 0 auto; padding: 4.5rem 2rem 4rem; text-align: left; }
.gd-head { padding-bottom: 2.25rem; border-bottom: 1px solid #E5DCCB; }
.gd-kicker { margin: 0 0 0.6rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.3rem; color: var(--gold); }
.gd-title { margin: 0 0 1.2rem; font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.06; color: var(--mary-royal); max-width: 18ch; }
.gd-chips { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.gd-chips li { padding: 0.35rem 0.8rem; background: white; border: 1px solid #E5DCCB; font-size: 0.82rem; color: var(--mary-deep); }
.gd-intro { margin: 0; font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; line-height: 1.5; color: #3B4A63; max-width: 60ch; }
.gd-safe { margin: 2rem 0 0; padding: 1rem 1.25rem; background: #FFF2F2; border-left: 3px solid #C0504D; font-size: 0.95rem; color: #5A2A2A; }
.gd-safe a { color: #8E2B28; font-weight: 600; }
.gd-sec { padding: 3rem 0 0; }
.gd-h { margin: 0 0 1.4rem; font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; font-size: 1.7rem; color: var(--mary-royal); padding-bottom: 0.8rem; background: linear-gradient(var(--gold), var(--gold)) left bottom / 48px 2px no-repeat; }
.gd-sub { margin: -0.6rem 0 1.4rem; color: var(--text-light); }
.gd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gd-steps li { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.6rem 1.5rem; background: white; border-top: 3px solid var(--mary-blue); box-shadow: 0 18px 40px -28px rgba(30, 63, 115, 0.35); }
.gd-n { width: 38px; height: 38px; display: grid; place-items: center; background: var(--mary-royal); color: white; font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; }
.gd-steps h4, .gd-point h4, .gd-org h4 { margin: 0 0 0.45rem; font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; font-size: 1.18rem; color: var(--mary-royal); line-height: 1.25; }
.gd-steps p, .gd-point p, .gd-org p { margin: 0; font-size: 0.97rem; line-height: 1.65; color: #46536A; }
.gd-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem !important; }
.gd-call { display: inline-block; padding: 0.55rem 0.9rem; background: var(--mary-royal); color: white !important; text-decoration: none; font-size: 0.88rem; font-weight: 600; }
.gd-call.ghost { background: white; color: var(--mary-royal) !important; border: 1px solid var(--mary-pale); }
.gd-link { display: inline-block; margin-top: 0.8rem; color: var(--mary-blue); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--mary-pale); }
.gd-link:hover { border-bottom-color: var(--gold); }
.gd-link.strong { color: #8A6A1E; border-bottom-color: var(--gold); }
.gd-prayer { margin-top: 3rem; padding: 2.25rem 2.5rem; background: var(--mary-royal); color: white; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; position: relative; }
.gd-prayer::after { content: ''; position: absolute; inset: 9px; border: 1px solid rgba(255,255,255,0.15); pointer-events: none; }
.gd-prayer-k { margin: 0 0 0.3rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.15rem; color: var(--gold-light); }
.gd-prayer h3 { margin: 0 0 0.6rem; font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; font-size: 1.7rem; color: white; }
.gd-prayer p { margin: 0; color: rgba(255,255,255,0.84); }
.gd-prayer-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; position: relative; z-index: 1; }
.gd-prayer .gd-link { color: var(--gold-light); border-bottom-color: rgba(232,216,153,0.4); }
.gd-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gd-point { padding: 1.5rem 1.5rem 1.4rem; background: white; border: 1px solid #ECE4D6; }
.gd-pn { display: block; font-family: 'Bodoni Moda', Georgia, serif; font-size: 1.6rem; color: var(--gold); margin-bottom: 0.4rem; }
.gd-orgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gd-org { padding: 1.4rem; background: white; border-left: 3px solid var(--gold); }
.gd-foot { margin-top: 3.5rem; padding: 2rem 0 0; border-top: 1px solid #E5DCCB; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.gd-foot p { margin: 0; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.25rem; color: var(--mary-deep); }
.gd-foot div { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.gd-btn { display: inline-block; padding: 0.85rem 1.4rem; background: var(--mary-royal); color: white !important; text-decoration: none; font-weight: 600; font: inherit; font-weight: 600; border: 1px solid var(--mary-royal); cursor: pointer; }
.gd-btn.gold { background: var(--gold); border-color: var(--gold); color: #0F1F38 !important; }
.gd-btn.ghost { background: white; color: var(--mary-royal) !important; border-color: var(--mary-pale); }
.gd > * { animation: gd-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.gd > *:nth-child(2) { animation-delay: 0.12s; } .gd > *:nth-child(3) { animation-delay: 0.22s; } .gd > *:nth-child(4) { animation-delay: 0.32s; }
@keyframes gd-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 800px) {
  .gd { padding: 4.5rem 1.25rem 3rem; }
  .gd-steps, .gd-points { grid-template-columns: 1fr; }
  .gd-prayer { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .gd-intro { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .gd > * { animation: none; } }
.qg-choice { align-items: flex-start; text-align: left; }
.qg-tools { z-index: 4; }
.quiz-overlay.guide .quiz-close { position: fixed !important; top: 1.25rem !important; right: 1.25rem !important; width: 48px !important; height: 48px !important; font-size: 1.6rem !important; display: grid; place-items: center; }
@media (max-width: 700px) {
  .qg-tools { left: 1rem; right: 1rem; top: 1rem; flex-direction: row; justify-content: space-between; align-items: center; }
  .qg-top { padding-top: 4.6rem; }
}

/* =====================================================================
   BLOG READER: a full-screen reading page instead of a small popup
   ===================================================================== */
#articleModal { padding: 0; background: #F7F4EE; backdrop-filter: none; -webkit-backdrop-filter: none; }
#articleModal .article-modal {
  --pad-t: 0px; --pad-r: 0px; --scroller-pad: 0px;
  max-width: none; width: 100%; min-height: 100%; margin: 0; padding: 0 0 5rem;
  background: #F7F4EE; box-shadow: none; animation: reader-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes reader-in { from { opacity: 0; } to { opacity: 1; } }
#articleModal .article-modal-close { position: fixed; top: 1.25rem; right: 1.25rem; margin: 0; width: 48px; height: 48px; font-size: 1.6rem; z-index: 10; }
#articleModal .article-modal-cover {
  height: auto; margin: 0 auto; max-width: 1180px; width: 100%; aspect-ratio: 800 / 350; max-height: 62vh;
  background: #EAF1F8; overflow: hidden;
}
#articleModal .article-modal-cover img { width: 100%; height: 100%; object-fit: contain; display: block; transform: none !important; }
#articleModal .article-modal-tag,
#articleModal .article-modal-title,
#articleModal .article-modal-byline,
#articleModal .article-modal-body,
#articleModal .article-modal-foot,
#articleModal .article-more { max-width: 720px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; box-sizing: content-box; }
#articleModal .article-modal-tag { margin-top: 3rem; }
#articleModal .article-modal-title { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin-top: 0.6rem; margin-bottom: 1.6rem; color: var(--mary-royal); }
#articleModal .article-modal-byline { display: flex; align-items: center; gap: 0.9rem; padding-bottom: 1.6rem; border-bottom: 1px solid #E5DCCB; }
.article-meta { margin-left: auto; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.1rem; color: var(--gold); }
#articleModal .article-modal-body { padding-top: 2rem; font-size: 1.14rem; line-height: 1.85; color: #2E3B52; }
#articleModal .article-modal-body > p:first-of-type::first-letter {
  float: left; font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; font-size: 4.2em; line-height: 0.85;
  margin: 0.08em 0.12em 0 0; color: var(--mary-royal);
}
#articleModal .article-modal-body strong { color: var(--mary-royal); }
#articleModal .article-modal-body h3, #articleModal .article-modal-body h4 { font-family: 'Bodoni Moda', Georgia, serif; color: var(--mary-royal); margin-top: 2.2rem; }
#articleModal .article-modal-body blockquote { margin: 2rem 0; padding: 0.4rem 0 0.4rem 1.4rem; border-left: 3px solid var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; line-height: 1.45; color: var(--mary-deep); }
#articleModal .article-modal-foot { margin-top: 3rem; padding-top: 2rem; padding-bottom: 2rem; background: var(--mary-royal); color: white; text-align: left; }
#articleModal .article-modal-foot p { color: rgba(255, 255, 255, 0.88); font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; }
.article-more { margin-top: 3.5rem; }
.article-more-h { font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; font-size: 1.6rem; color: var(--mary-royal); margin: 0 0 1.2rem; padding-bottom: 0.7rem; background: linear-gradient(var(--gold), var(--gold)) left bottom / 44px 2px no-repeat; }
.article-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.article-more-card { display: flex; flex-direction: column; gap: 0.35rem; padding: 0 0 1rem; background: white; border: 1px solid #ECE4D6; text-align: left; cursor: pointer; font: inherit; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.article-more-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -20px rgba(30, 63, 115, 0.4); }
.article-more-card img { width: 100%; height: auto; aspect-ratio: 800 / 350; object-fit: cover; display: block; margin-bottom: 0.5rem; }
.article-more-tag { padding: 0 0.9rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mary-blue); }
.article-more-title { padding: 0 0.9rem; font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; font-size: 1.05rem; line-height: 1.25; color: var(--mary-royal); }
@media (max-width: 760px) {
  #articleModal .article-modal-tag { margin-top: 2rem; }
  #articleModal .article-modal-body { font-size: 1.06rem; }
  .article-more-grid { grid-template-columns: 1fr; }
  .article-meta { margin-left: 0; width: 100%; }
  #articleModal .article-modal-byline { flex-wrap: wrap; }
}
/* the blog cards show the whole illustration too */
.blog-card .article-cover { height: auto !important; aspect-ratio: 800 / 350; }
.blog-card .article-cover-photo { object-fit: cover; }
#articleModal .article-foot-actions { justify-content: flex-start; }
.qg-top { background: linear-gradient(180deg, rgba(241, 246, 251, 0.96) 0%, rgba(241, 246, 251, 0.9) 65%, rgba(241, 246, 251, 0) 100%) !important; padding-bottom: 2.4rem !important; }
.gd-home { display: inline-flex; align-items: center; gap: 0.45rem; margin-bottom: 2rem; padding: 0.55rem 1rem; background: white; border: 1px solid #E5DCCB; color: var(--mary-royal); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.gd-home:hover { border-color: var(--gold); }
.quiz-overlay.guide .quiz-modal .quiz-close { margin: 0 !important; }
/* reader cover: shown no larger than the illustration's own detail allows */
#articleModal .article-modal-cover { max-width: 960px; margin-top: 4.5rem; aspect-ratio: 1024 / 448; box-shadow: 0 30px 60px -40px rgba(30, 63, 115, 0.45); }
@media (max-width: 760px) { #articleModal .article-modal-cover { margin-top: 0; } }
/* blog reader: back to the list */
.article-back {
  position: fixed; top: 1.25rem; left: 1.25rem; z-index: 10;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.75rem 1.1rem; background: white; border: 1px solid var(--mary-pale); color: var(--mary-royal);
  font: inherit; font-weight: 600; font-size: 0.92rem; cursor: pointer;
  box-shadow: 0 6px 18px -10px rgba(30, 63, 115, 0.35); transition: border-color 0.2s ease;
}
.article-back:hover, .article-back:focus-visible { border-color: var(--gold); }
.article-back.inline { position: static; box-shadow: none; }
.article-back-foot { max-width: 720px; margin: 2.5rem auto 0; padding: 0 1.5rem; box-sizing: content-box; }
#articleModal .article-more { margin-top: 2.5rem; }
@media (max-width: 760px) {
  .article-back:not(.inline) { top: 0.9rem; left: 0.9rem; padding: 0.6rem 0.85rem; font-size: 0.85rem; }
  #articleModal .article-modal-cover { margin-top: 4.2rem; }
}
/* keyboard key illustrations in the walk hint */
.qg-hint-keys { display: inline-flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; justify-content: center; }
.qg-keys { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; }
.qg-keys .kr { display: inline-flex; gap: 3px; }
.qg-keys kbd {
  display: inline-grid; place-items: center; width: 30px; height: 28px;
  font-family: 'Source Serif 4', Georgia, serif; font-size: 0.82rem; font-weight: 700; color: var(--mary-royal);
  background: linear-gradient(180deg, #FFFFFF, #EEF3F9);
  border: 1px solid #C9D6E6; border-bottom-width: 3px; border-radius: 5px;
  box-shadow: 0 2px 4px -2px rgba(30, 63, 115, 0.35);
}
.quiz-game.qg-idle .qg-keys kbd { animation: key-tap 3.2s ease-in-out infinite; }
.qg-keys kbd.k-w, .qg-keys .kc kbd { animation-delay: 0s; }
.qg-keys .kr kbd:nth-child(1) { animation-delay: 0.8s; }
.qg-keys .kr kbd:nth-child(2) { animation-delay: 1.6s; }
.qg-keys .kr kbd:nth-child(3) { animation-delay: 2.4s; }
@keyframes key-tap { 0%, 18%, 100% { transform: none; border-bottom-width: 3px; background: linear-gradient(180deg, #FFFFFF, #EEF3F9); } 8% { transform: translateY(2px); border-bottom-width: 1px; background: linear-gradient(180deg, #FFF6DB, #F5E7B8); } }
.qg-keys-or { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.05rem; color: var(--text-light); }
.qg-keys-text { flex-basis: 100%; text-align: center; }
.qg-keys-text strong { color: var(--mary-royal); letter-spacing: 0.08em; }
.qg-keys kbd { border-radius: 5px !important; }
@media (prefers-reduced-motion: reduce) { .qg-keys kbd { animation: none; } }
.qg-keys kbd.pressed { animation: none; transform: translateY(2px); border-bottom-width: 1px; background: linear-gradient(180deg, #FFF1C9, #F2DC97); border-color: var(--gold); }
.quiz-game:has(kbd.pressed) .qg-keys kbd:not(.pressed) { animation: none; }

/* =====================================================================
   QUIZ WALK: instructions popup with an animated demo, joystick, numbers
   ===================================================================== */
.qg-help { position: absolute; inset: 0; z-index: 6; display: none; align-items: center; justify-content: center; padding: 1.25rem;
  background: rgba(20, 38, 70, 0.42); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); overflow-y: auto; }
.quiz-game.helping .qg-help { display: flex; }
.qg-help-card { width: 100%; max-width: 640px; background: white; border-top: 3px solid var(--gold); padding: 2.1rem 2.25rem 1.6rem; box-shadow: 0 30px 80px -30px rgba(10, 25, 50, 0.6); margin: auto; }
.qg-help-title { margin: 0 0 1.1rem; font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; font-size: 1.9rem; color: var(--mary-royal); }
.qg-help-points { margin: 1.3rem 0 1.4rem; padding: 0; list-style: none; counter-reset: hp; display: grid; gap: 0.7rem; }
.qg-help-points li { counter-increment: hp; display: grid; grid-template-columns: 30px 1fr; gap: 0.75rem; align-items: start; font-size: 1rem; line-height: 1.55; color: #3A475E; }
.qg-help-points li::before { content: counter(hp); display: grid; place-items: center; width: 28px; height: 28px; background: var(--mary-royal); color: white; font-weight: 700; font-size: 0.9rem; }
.qg-help-points strong { color: var(--mary-royal); }
.qg-help-go { display: block; width: 100%; padding: 1rem; background: var(--gold); color: #0F1F38; border: none; font: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.qg-help-go:hover { background: var(--gold-light); }
.qg-help-note { margin: 0.9rem 0 0; text-align: center; font-size: 0.86rem; color: var(--text-light); }
.qg-help-btn { background: white; border: 1px solid var(--mary-pale); color: var(--mary-royal); padding: 0.7rem 1rem; font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; }
.qg-help-btn span { display: grid; place-items: center; width: 20px; height: 20px; background: var(--mary-royal); color: white; font-size: 0.75rem; }
.quiz-game.choosing .qg-help-btn { display: none; }
.only-touch { display: none !important; }
@media (hover: none) and (pointer: coarse) { .only-touch { display: grid !important; } .only-keys { display: none !important; } }

/* the little animated demo */
.qg-demo { position: relative; height: 210px; overflow: hidden; background: linear-gradient(180deg, #CFE4F7 0%, #EAF3FB 45%, #A9CF86 46%, #8FC06E 100%); }
.qd-path { position: absolute; left: 50%; bottom: 0; width: 72%; height: 55%; transform: translateX(-50%); background: #E3D2B0; clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); }
.qd-arch { position: absolute; bottom: 44%; width: 62px; height: 58px; border: 5px solid #F7F3EA; border-bottom: none; border-radius: 34px 34px 0 0; box-shadow: inset 0 3px 0 #C9A84C, 0 3px 0 #C9A84C; }
.qd-arch.a1 { left: calc(50% - 72px); }
.qd-arch.a2 { left: calc(50% + 10px); }
.qd-sign { position: absolute; left: 50%; bottom: 66px; transform: translateX(-50%); white-space: nowrap; background: white; border: 2px solid #C9A84C; padding: 2px 7px 2px 3px; font-size: 0.72rem; font-weight: 600; color: var(--mary-royal); display: inline-flex; align-items: center; gap: 5px; }
.qd-sign b { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--mary-royal); color: white; font-size: 0.66rem; }
.qd-arch.a1 { animation: qd-glow 4.2s ease-in-out infinite; }
@keyframes qd-glow { 0%, 45% { filter: none; } 62%, 72% { filter: drop-shadow(0 0 10px rgba(240, 210, 120, 0.95)); } 100% { filter: none; } }
.qd-walker { position: absolute; left: 50%; bottom: 6%; width: 22px; height: 40px; margin-left: -11px; animation: qd-walk 4.2s ease-in-out infinite; }
.qd-walker::before { content: ''; position: absolute; left: 6px; top: 0; width: 11px; height: 11px; border-radius: 50%; background: #6B4A35; }
.qd-walker::after { content: ''; position: absolute; left: 1px; top: 10px; width: 20px; height: 30px; background: linear-gradient(180deg, #F3E2BE 0 30%, #3F74BE 30%); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
@keyframes qd-walk {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  8% { opacity: 1; }
  45% { transform: translate(-36px, -60px) scale(0.62); }
  70% { transform: translate(-40px, -88px) scale(0.42); opacity: 1; }
  82%, 100% { transform: translate(-40px, -96px) scale(0.36); opacity: 0; }
}
.qd-input { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 4px; }
.qd-keys { display: grid; grid-template-columns: repeat(3, 26px); grid-template-rows: 26px 26px; gap: 3px; }
.qd-k { display: grid; place-items: center; background: linear-gradient(180deg, #fff, #EEF3F9); border: 1px solid #C9D6E6; border-bottom-width: 3px; border-radius: 4px; font-weight: 700; font-size: 0.75rem; color: var(--mary-royal); }
.qd-k.qd-up { grid-column: 2; grid-row: 1; animation: qd-press 4.2s ease-in-out infinite; }
.qd-k:nth-child(2) { grid-column: 1; grid-row: 2; } .qd-k:nth-child(3) { grid-column: 2; grid-row: 2; } .qd-k:nth-child(4) { grid-column: 3; grid-row: 2; }
@keyframes qd-press { 0%, 6% { transform: none; background: linear-gradient(180deg, #fff, #EEF3F9); } 10%, 68% { transform: translateY(2px); border-bottom-width: 1px; background: linear-gradient(180deg, #FFF1C9, #F2DC97); } 74%, 100% { transform: none; } }
.qd-touch { display: none; left: 12px; right: auto; }
.qd-stick { position: relative; width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); border: 2px solid rgba(30, 63, 115, 0.3); }
.qd-stick span { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px; border-radius: 50%; background: var(--mary-royal); animation: qd-stick 4.2s ease-in-out infinite; }
@keyframes qd-stick { 0%, 6% { transform: none; } 12%, 68% { transform: translate(-6px, -15px); } 76%, 100% { transform: none; } }
@media (hover: none) and (pointer: coarse) { .qd-keys { display: none; } .qd-touch { display: flex; } }

/* joystick (touch screens only) */
.qg-stickpad { display: none; position: absolute; left: 1rem; bottom: 9.5rem; width: 112px; height: 112px; border-radius: 50%; z-index: 3;
  background: radial-gradient(circle, rgba(255,255,255,0.55), rgba(255,255,255,0.3)); border: 2px solid rgba(30, 63, 115, 0.28); touch-action: none; }
.qg-stick-knob { position: absolute; left: 50%; top: 50%; width: 50px; height: 50px; margin: -25px; border-radius: 50%; background: var(--mary-royal); box-shadow: 0 6px 16px -6px rgba(10, 25, 50, 0.6); transition: transform 0.12s ease; }
@media (hover: none) and (pointer: coarse) { .qg-stickpad { display: block; } .quiz-game.choosing .qg-stickpad, .quiz-game.ending .qg-stickpad { display: none; } }

/* numbered answer buttons, matching the signs */
.qg-opt { display: inline-flex; align-items: center; gap: 0.55rem; }
.qg-opt-n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mary-royal); color: white; font-size: 0.78rem; font-weight: 700; flex: none; }
.qg-help-btn, .qg-skip { white-space: nowrap; }
@media (max-width: 700px) {
  .qg-help-card { padding: 1.6rem 1.2rem 1.2rem; }
  .qg-help-title { font-size: 1.5rem; }
  .qg-demo { height: 180px; }
  .qg-tools { gap: 0.5rem; }
  .qg-help-btn { padding: 0.55rem 0.7rem; font-size: 0.8rem; }
  .qg-skip { padding: 0.55rem 0.7rem !important; font-size: 0.8rem !important; }
  .qg-close { width: 38px; height: 38px; flex: none; }
}
/* keep the round bits round inside the quiz (overrides the square-corner rule) */
.quiz-overlay .qg-stickpad, .quiz-overlay .qg-stick-knob, .quiz-overlay .qg-opt-n,
.quiz-overlay .qd-stick, .quiz-overlay .qd-stick span, .quiz-overlay .qd-sign b, .quiz-overlay .qd-walker::before { border-radius: 50% !important; }
.quiz-overlay .qd-arch { border-radius: 34px 34px 0 0 !important; }
.quiz-overlay .qd-k, .quiz-overlay .qg-keys kbd { border-radius: 5px !important; }
/* touch screens: joystick hint instead of keyboard keys; joystick sits clear of the answers */
@media (hover: none) and (pointer: coarse) {
  .qg-hint-keys { display: none !important; }
  .qg-hint-touch { display: inline !important; }
  .qg-stickpad { bottom: auto; top: 50%; left: 0.9rem; width: 104px; height: 104px; }
}
.qd-arch.a1 { left: calc(50% - 116px); }
.qd-arch.a2 { left: calc(50% + 44px); }
.qd-sign { font-size: 0.68rem; }
@keyframes qd-walk {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  8% { opacity: 1; }
  45% { transform: translate(-62px, -60px) scale(0.62); }
  70% { transform: translate(-74px, -88px) scale(0.42); opacity: 1; }
  82%, 100% { transform: translate(-74px, -96px) scale(0.36); opacity: 0; }
}

/* =====================================================================
   WALK TIPS: floating speech bubbles, one at a time
   ===================================================================== */
.qg-tip { position: fixed; left: 0; top: 0; z-index: 7; width: max-content; max-width: min(340px, calc(100vw - 20px)); pointer-events: none; will-change: transform; }
.qg-tip[hidden] { display: none; }
.qt-card {
  position: relative; pointer-events: auto;
  padding: 1rem 1.15rem 0.8rem; background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(201, 168, 76, 0.55); box-shadow: 0 18px 40px -18px rgba(15, 31, 56, 0.55);
  animation: qt-float 3.4s ease-in-out infinite;
}
.qg-tip.in .qt-card { animation: qt-pop 0.45s cubic-bezier(0.16, 1, 0.3, 1), qt-float 3.4s ease-in-out 0.45s infinite; }
@keyframes qt-pop { from { opacity: 0; transform: translateY(8px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes qt-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
/* the pointer */
.qt-card::after { content: ''; position: absolute; width: 14px; height: 14px; background: inherit; border: inherit; transform: rotate(45deg); }
.qg-tip[data-side="above"] .qt-card::after { bottom: -8px; left: calc(var(--arrow-x, 50%) - 7px); border-top: none; border-left: none; }
.qg-tip[data-side="below"] .qt-card::after { top: -8px; left: calc(var(--arrow-x, 50%) - 7px); border-bottom: none; border-right: none; }
.qg-tip[data-side="right"] .qt-card::after { left: -8px; top: calc(50% - 7px); border-top: none; border-right: none; }
.qt-title { margin: 0; font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; font-size: 1.22rem; line-height: 1.3; color: var(--mary-royal); }
.qt-sub { margin: 0.3rem 0 0; font-size: 0.95rem; line-height: 1.45; color: #3F4C63; }
.qt-card kbd {
  display: inline-grid; place-items: center; min-width: 30px; height: 28px; padding: 0 6px; margin: 0 2px; vertical-align: 2px;
  font-family: 'Source Serif 4', Georgia, serif; font-size: 0.85rem; font-weight: 700; color: var(--mary-royal);
  background: linear-gradient(180deg, #FFFFFF, #EEF3F9); border: 1px solid #C9D6E6; border-bottom-width: 3px;
  border-radius: 5px !important; animation: key-tap 1.8s ease-in-out infinite; cursor: pointer;
}
.qt-sub kbd { min-width: 24px; height: 22px; font-size: 0.75rem; animation: none; }
.qt-foot { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.75rem; padding-top: 0.6rem; border-top: 1px solid rgba(30, 63, 115, 0.12); }
.qt-count { font-size: 0.78rem; color: var(--text-light); margin-right: auto; }
.qt-skip { background: none; border: none; color: var(--text-light); font: inherit; font-size: 0.82rem; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; padding: 0.3rem; }
.qt-skip[hidden] { display: none; }
.qt-next { background: var(--mary-royal); color: white; border: none; font: inherit; font-weight: 600; font-size: 0.88rem; padding: 0.5rem 0.95rem; cursor: pointer; }
.qt-next:hover { background: #24508F; }
/* well done */
.qg-tip.done .qt-card { border-color: #7DB36A; }
.qg-tip.done .qt-title::after { content: '  \2713 Nice!'; font-family: 'Source Serif 4', Georgia, serif; font-size: 0.9rem; font-weight: 700; color: #4E8F3F; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .qt-card, .qg-tip.in .qt-card, .qt-card kbd { animation: none; } }
/* the bottom key hint is clickable too */
.qg-keys kbd { cursor: pointer; }
@media (max-width: 700px) {
  .qg-tip { max-width: min(250px, calc(100vw - 140px)); }
  .qt-card { padding: 0.75rem 0.85rem 0.6rem; }
  .qt-title { font-size: 1.02rem; }
  .qt-sub { font-size: 0.85rem; }
  .qt-next { padding: 0.4rem 0.75rem; font-size: 0.8rem; }
  .qt-skip, .qt-count { font-size: 0.72rem; }
}

/* practice round, ready card, sound toggle */
.qg-ready { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; padding: 1.25rem; background: rgba(20, 38, 70, 0.32); }
.qg-ready[hidden] { display: none; }
.qg-ready-card { max-width: 520px; width: 100%; background: white; border-top: 3px solid var(--gold); padding: 2.2rem 2.2rem 1.6rem; text-align: center; box-shadow: 0 30px 80px -30px rgba(10, 25, 50, 0.6); animation: qt-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.qg-ready-title { margin: 0 0 0.8rem; font-family: 'Bodoni Moda', Georgia, serif; font-weight: 700; font-size: 2.2rem; color: var(--mary-royal); }
.qg-ready-text { margin: 0 0 1.4rem; font-size: 1.05rem; line-height: 1.6; color: #3A475E; }
.qg-ready-go { width: 100%; padding: 1rem; background: var(--gold); color: #0F1F38; border: none; font: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.qg-ready-go:hover { background: var(--gold-light); }
.qg-ready-note { margin: 0.9rem 0 0; font-size: 0.86rem; color: var(--text-light); }
.quiz-game.live .qg-keys, .quiz-game.live .qg-keys-or { display: none; }
.qg-sound { background: white; border: 1px solid var(--mary-pale); color: var(--mary-royal); padding: 0.7rem 0.95rem; font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.qg-sound-i { color: var(--gold); }
.qg-sound.off { color: var(--text-light); }
.qg-sound.off .qg-sound-i { color: var(--text-light); text-decoration: line-through; }
.quiz-game.choosing .qg-sound { display: none; }
@media (max-width: 700px) { .qg-sound { padding: 0.55rem 0.6rem; font-size: 0.8rem; } .qg-sound-t { display: none; } }
/* "Nice!" sits as a neat badge on the bubble's corner */
.qg-tip.done .qt-title::after { content: none !important; }
.qt-done { position: absolute; top: -12px; right: 12px; display: none; align-items: center; gap: 0.3rem; padding: 0.22rem 0.6rem; background: #4E8F3F; color: white; font-size: 0.78rem; font-weight: 700; line-height: 1.2; box-shadow: 0 6px 14px -6px rgba(30, 80, 30, 0.6); }
.qg-tip.done .qt-done { display: inline-flex; animation: qt-pop 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.qg-ready-text.soft { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.2rem; color: var(--mary-deep); }
/* guide page headings: Bodoni's sturdier small-size cut so the thin strokes stay readable */
.gd-title, .gd-h, .gd h4, .gd-prayer h3, .gd-pn, .gd-n, .qg-question, .qg-ready-title, .qg-help-title, .qt-title,
#articleModal .article-modal-title, .article-more-title, .article-more-h {
  font-variation-settings: 'opsz' 11 !important;
}
.gd-title { font-weight: 800 !important; letter-spacing: -0.005em; line-height: 1.1; }
@media (max-width: 760px) {
  .gd-title { font-size: 2.1rem; line-height: 1.15; }
  .gd-h { font-size: 1.5rem; }
  .gd-chips li { font-size: 0.85rem; }
}
.qg-opt.qg-pair { border-color: var(--gold) !important; box-shadow: 0 0 0 3px rgba(232, 216, 153, 0.7), 0 10px 24px -12px rgba(201, 168, 76, 0.9); transform: translateY(-2px); transition: all 0.3s ease; }
/* when a tip is done, the whole bubble turns a satisfying green */
.qg-tip .qt-card { transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; }
.qg-tip.done .qt-card { background: rgba(232, 246, 226, 0.97); border-color: #5FA34B; box-shadow: 0 0 0 3px rgba(95, 163, 75, 0.25), 0 18px 40px -18px rgba(40, 90, 30, 0.55); }
.qg-tip.done .qt-card::after { background: rgba(232, 246, 226, 0.97); border-color: #5FA34B; }
.qg-tip.done .qt-title { color: #2F6B23; }
.qg-tip.done .qt-sub { color: #3E6A35; }
.qg-tip.done .qt-done { top: -14px; right: 14px; padding: 0.3rem 0.75rem; font-size: 0.86rem; background: #3F8A30; }
.qg-tip.done .qt-card kbd { animation: none; background: linear-gradient(180deg, #F1FBEC, #D7EFCC); border-color: #8CC27A; color: #2F6B23; }
