/* =========================================================
   Society of Kristhudasis — home page (v4)
   Tokens → base → header → hero → stats → journey → presence
   → ministries → apostolate → videos → news → calendar → birthdays → vocations → contact → obituary → footer → responsive
   ========================================================= */
::selection { background: #f6d891; }
:root {
  --navy: #0b2f7a;
  --navy-d: #061d52;
  --blue: #1a4fb5;
  --blue-50: #eef4fd;
  --blue-100: #dde8f8;
  --gold: #c08a1e;
  --gold-btn: #e3a52c;
  --gold-btn-2: #f2bd45;
  --gold-50: #fbf1dc;
  --cream: #fffaf0;
  --ink: #1d2a44;
  --muted: #5f6b80;
  --line: #e4e9f2;
  --white: #fff;
  --serif: "Poppins", "Noto Sans Malayalam", system-ui, -apple-system, "Segoe UI", sans-serif; /* headings (was EB Garamond) */
  --sans: "Poppins", "Noto Sans Malayalam", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Great Vibes", cursive;
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 10px 30px -12px rgba(11, 47, 122, .25);
  --shadow-sm: 0 4px 14px -6px rgba(11, 47, 122, .2);
  --w: 1240px;
  --hide: 118px; /* height of top bar + masthead, scrolled out of view */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
h1, h2, h3 { letter-spacing: -.01em; }
body { margin: 0; font: 400 15px/1.6 var(--sans); color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold-btn); outline-offset: 2px; border-radius: 4px; }
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.125em; }
.wrap { width: 100%; max-width: var(--w); margin-inline: auto; padding-inline: 24px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; line-height: 1.2; white-space: nowrap; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn .i { font-size: 15px; transition: transform .2s; }
.btn:hover .i { transform: translateX(3px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-btn-2), var(--gold-btn)); color: var(--navy-d); box-shadow: 0 8px 18px -8px rgba(192, 138, 30, .8); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -8px rgba(192, 138, 30, .9); }
.btn-outline-light { border: 1.5px solid rgba(255, 255, 255, .85); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-ghost-gold { border: 1.5px solid var(--gold-btn); color: var(--gold); padding: 9px 20px; font-size: 13.5px; }
.btn-ghost-gold:hover { background: var(--gold-btn); color: var(--navy-d); }
.btn-navy { background: var(--navy); color: #fff; padding: 10px 20px; font-size: 13.5px; }
.btn-navy:hover { background: var(--blue); transform: translateY(-2px); }
.btn-cta { padding: 11px 22px; font-size: 14px; }
.btn-navy-lg { background: var(--navy); color: #fff; padding: 12px 24px; box-shadow: 0 10px 20px -10px rgba(11, 47, 122, .7); }
.btn-navy-lg:hover { background: var(--blue); transform: translateY(-2px); }
.btn-outline-navy { border: 1.5px solid var(--navy); color: var(--navy); padding: 10.5px 24px; background: rgba(255, 255, 255, .55); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: calc(-1 * var(--hide)); z-index: 50; background: #fff; transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px -10px rgba(11, 47, 122, .35); }
.topbar { background: var(--navy); color: #fff; font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 36px; }
.motto { display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: italic 400 13px/1 var(--serif); }
.motto .i { color: var(--gold-btn-2); font-size: 15px; stroke-width: 2.4; }
.tb-links { display: flex; align-items: center; white-space: nowrap; }
.tb-links li + li { margin-left: 18px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .35); line-height: 1; }
.tb-links a { display: inline-flex; align-items: center; gap: 7px; opacity: .95; }
.tb-links a:hover { color: var(--gold-btn-2); }
.tb-links .i { color: var(--gold-btn-2); }

.masthead { background: linear-gradient(90deg, #fff 0%, #fff 60%, var(--blue-50) 100%); }
.masthead-inner { display: flex; align-items: center; gap: 28px; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--blue-100), 0 4px 12px -4px rgba(11, 47, 122, .4); }
.brand-text strong { display: block; font: 700 23px/1.02 var(--serif); color: var(--navy); text-transform: uppercase; letter-spacing: .02em; }
.brand-text small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.search { flex: 1; max-width: 460px; margin-inline: auto; position: relative; }
.search input { width: 100%; height: 42px; border: 1.5px solid #cfdbee; border-radius: 999px; padding: 0 46px 0 18px; font-size: 13.5px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 79, 181, .12); }
.search button { position: absolute; right: 5px; top: 5px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); font-size: 17px; }
.search button:hover { background: var(--blue-50); }

.mainnav { background: linear-gradient(180deg, #fff, #f5f8fe); border-top: 1px solid var(--line); box-shadow: 0 1px 0 var(--line); }
.menu { display: flex; justify-content: space-between; align-items: center; gap: 4px; height: 44px; padding-inline: 0; }
.menu > li { display: flex; }
.menu > li { position: relative; }
.menu > li > a, .sub-toggle { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--navy); white-space: nowrap; transition: background .2s, color .2s; }
.sub-toggle .i { font-size: 13px; transition: transform .2s; }
.menu > li > a:hover, .sub-toggle:hover, .sub-toggle[aria-expanded="true"] { background: var(--blue-50); }
.menu > li > a[aria-current="page"] { gap: 8px; padding-inline: 22px 26px; background: var(--navy); color: #fff; font-weight: 600; box-shadow: 0 6px 14px -8px rgba(11, 47, 122, .8); }
.menu > li > a[aria-current="page"] .i { font-size: 17px; }
.menu > li > a[aria-current="page"]:hover { background: var(--blue); }
.sub { position: absolute; left: 50%; top: calc(100% + 6px); min-width: 210px; translate: -50% 0; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.sub::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.sub a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 13.5px; color: var(--ink); }
.sub a:hover { background: var(--blue-50); color: var(--navy); }
@media (hover: hover) and (min-width: 1181px) {
  .has-sub:hover .sub { opacity: 1; visibility: visible; transform: none; }
  .has-sub:hover .sub-toggle .i { transform: rotate(180deg); }
}
@media (min-width: 1181px) {
  .sub-toggle[aria-expanded="true"] + .sub { opacity: 1; visibility: visible; transform: none; }
  .menu > li.menu-cta { display: none; }
}
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; background: var(--navy); position: relative; flex: none; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 12px; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { content: ""; left: 0; top: -6px; }
.nav-toggle span::after { content: ""; left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.scrim { position: fixed; inset: 0; background: rgba(6, 29, 82, .45); z-index: 40; }

/* ---------- Hero (light: sky, building and sisters on the right, lilies on the left) ---------- */
.hero { position: relative; min-height: clamp(400px, 30vw, 520px); overflow: hidden; isolation: isolate;
  background: radial-gradient(40% 60% at 30% 30%, #fff 0%, transparent 70%), linear-gradient(100deg, #e7f0fb 0%, #f3f7fd 30%, #eaf2fb 52%, #dde9f7 70%); }
.hero-art { position: absolute; top: 0; right: 0; height: 100%; width: 56%; object-fit: cover; object-position: 72% 40%; z-index: -2;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); animation: heroZoom 18s ease-out both; }
.hero-lilies { position: absolute; left: 0; top: 0; height: 100%; width: auto; max-width: 22%; object-fit: cover; object-position: 0 50%; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent); mask-image: linear-gradient(90deg, #000 55%, transparent); }
/* slides: the first stays in the flow (sets the height), the others sit on top */
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; isolation: isolate; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero-slide:first-of-type { position: relative; min-height: inherit; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
/* slide 2: cut-out group photo on a soft sky backdrop, text on the left */
.hero-slide-photo { align-items: center; background: radial-gradient(55% 80% at 70% 30%, #fff 0%, transparent 70%), radial-gradient(40% 60% at 12% 80%, #fff3d6 0%, transparent 70%), linear-gradient(100deg, #e9f1fb 0%, #f5f8fd 40%, #e3edf9 100%); }
.hero-group { position: absolute; right: -1%; bottom: 0; width: 66%; height: auto; max-width: none; z-index: -1; filter: drop-shadow(0 18px 30px rgba(11, 47, 122, .22)); }
.hero-slide-photo.is-active .hero-group { animation: groupRise 1.1s ease-out both; }
@keyframes groupRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-cap { position: relative; max-width: 320px; margin-left: max(24px, 5%); padding: 0 0 70px; color: var(--navy); }
.hero-cap-kicker { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #a2700f; }
.hero-cap-title { margin-top: 8px; font: 700 clamp(30px, 2.8vw, 42px)/1.08 var(--serif); color: var(--navy); }
.hero-cap-title span { display: block; font: 700 clamp(38px, 3.6vw, 56px)/1.05 "Dancing Script", var(--script); color: #1c4fae; letter-spacing: 0; }
.hero-cap-text { margin-top: 12px; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.6; color: #3a4660; }
.hero-cap .btn { margin-top: 18px; }
/* slide 3: the Generalate */
.hero-slide-gen { background: radial-gradient(45% 70% at 25% 40%, #fff 0%, transparent 70%), linear-gradient(100deg, #fbf4e6 0%, #f8efe0 40%, #f3e4cc 100%); }
.hero-slide-gen .hero-art { width: 58%; object-position: 50% 42%; }
.hero-slide-gen .hero-cap-kicker { margin-bottom: 10px; }
.hero-slide-gen .hero-lead { max-width: 40ch; }
.hero-arrow { position: absolute; z-index: 3; top: 46%; translate: 0 -50%; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .78); color: var(--navy); font-size: 18px; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45); transition: background .2s, color .2s, opacity .2s; }
.hero-arrow:hover { background: var(--navy); color: #fff; }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 78px; translate: -50% 0; display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border: 2px solid #fff; border-radius: 999px; background: rgba(255, 255, 255, .45); cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); transition: width .3s, background .3s; }
.hero-dots button[aria-current="true"] { width: 28px; background: var(--gold-btn); border-color: var(--gold-btn); }
.hero-wave { z-index: 2; pointer-events: none; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-inner { position: relative; width: min(46%, 560px); margin-left: max(24px, 14%); padding: 36px 0 84px; text-align: center; color: var(--navy); }
.hero h1, .hero-h { font: 700 clamp(32px, 3.1vw, 46px)/1.1 var(--serif); color: var(--navy); letter-spacing: -.005em; animation: rise .9s .1s both; }
.hero h1 span, .hero-h span { display: block; margin-top: 4px; font: 700 clamp(46px, 4.7vw, 70px)/1.05 "Dancing Script", var(--script); color: #1c4fae; letter-spacing: 0; }
.hero-swoosh { display: block; width: 92%; height: 18px; margin: 2px auto 0; animation: rise .9s .18s both; }
.hero-lead { margin: 12px auto 0; max-width: 32ch; font: italic 500 clamp(15px, 1.3vw, 18px)/1.5 var(--serif); color: var(--navy); animation: rise .9s .25s both; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 22px; animation: rise .9s .4s both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }

/* ---------- Stats ---------- */
.stats-wrap { position: relative; z-index: 5; margin-top: -58px; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: 22px; box-shadow: 0 18px 40px -16px rgba(11, 47, 122, .35); border: 1px solid #e3eaf5; padding: 20px 10px; }
.stats li { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 6px 12px; }
.stats li + li { border-left: 1.5px solid #c9d3e3; }
.stats .i { font-size: 42px; color: #1d4fae; fill: rgba(29, 79, 174, .16); stroke-width: 1.9; }
.stats span { font-size: 13.5px; font-weight: 500; color: var(--navy); line-height: 1.15; }
.stats b { display: block; font: 700 32px/1 var(--serif); color: var(--navy); font-variant-numeric: lining-nums; }

/* ---------- Section heads ---------- */
.section { padding-block: 72px; position: relative; }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head h2 { display: inline-flex; align-items: center; gap: 18px; font: 700 clamp(28px, 3vw, 38px)/1.1 var(--serif); color: var(--navy); }
.sec-head h2::before, .sec-head h2::after { content: ""; width: 54px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-btn)); }
.sec-head h2::after { transform: scaleX(-1); }
.sec-head p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.sec-head .serif-sub { font: 600 20px/1.3 var(--serif); color: var(--navy); }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* =========================================================
   Welcome + Mother General
   ========================================================= */
.welcome { padding-block: 64px; overflow: hidden; }
.welcome-leaf { position: absolute; left: -10px; top: -20px; width: 150px; height: 240px; color: #c9d3e3; opacity: .7; pointer-events: none; }
.welcome-motto { text-align: center; margin-bottom: 30px; font-size: 18px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #b8892a; }
.welcome-motto span { margin-inline: 6px; color: #d4a24c; }
.welcome-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.wcard { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 22px 46px -28px rgba(11, 47, 122, .45); border: 1px solid #edf1f7; }
.wcard-mg { padding: 18px; gap: 24px; }
.wcard-photo { margin: 0; border-radius: 16px; overflow: hidden; background: radial-gradient(60% 55% at 50% 38%, #fffdf6 0%, #f8eed8 62%, #efdfbb 100%); box-shadow: inset 0 0 0 1.5px #e3c37a; }
.wcard-photo img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; object-position: 50% 0; display: block; }
.wcard-patron { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: linear-gradient(135deg, #fff 30%, #e6effa 100%); }
.wcard-art { margin: 0; }
.wcard-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wcard-body { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 8px 10px 0; }
.wcard-patron .wcard-body { padding: 30px 26px 26px; justify-content: center; }
.wcard-kicker { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.wcard-body h2 { margin-top: 10px; font: 700 clamp(22px, 2vw, 30px)/1.2 var(--serif); color: #1d2a44; }
.wcard-rule { position: relative; display: block; width: 176px; height: 14px; margin: 14px 0 6px; background: linear-gradient(90deg, #d4a24c 0 70px, transparent 70px 106px, #d4a24c 106px) center / 100% 1px no-repeat; }
.wcard-rule::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, #f2bd45 0 30%, transparent 32%), conic-gradient(from 0deg, #e3a52c 0 10%, transparent 10% 12.5%, #e3a52c 12.5% 22.5%, transparent 22.5% 25%, #e3a52c 25% 35%, transparent 35% 37.5%, #e3a52c 37.5% 47.5%, transparent 47.5% 50%, #e3a52c 50% 60%, transparent 60% 62.5%, #e3a52c 62.5% 72.5%, transparent 72.5% 75%, #e3a52c 75% 85%, transparent 85% 87.5%, #e3a52c 87.5% 97.5%, transparent 97.5%); }
.wcard-name { margin-top: 8px; font-size: 17px; font-weight: 600; color: var(--navy); }
.wcard-body > p:not(.wcard-kicker):not(.wcard-name):not(.wcard-sign) { margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: #4a5670; }
.wcard-sign { margin-top: 14px; font: 400 30px/1 "Great Vibes", var(--script); color: #1d2a44; }
.wcard-body .btn { margin-top: 18px; padding: 12px 24px; border-radius: 8px; }
.wcard-body .btn .i { transition: transform .2s; }
.wcard-body .btn:hover .i { transform: translateX(3px); }
.wcard-quote { margin: 8px 0 0; }
.wcard-quote p { font: italic 400 clamp(16px, 1.4vw, 19px)/1.5 var(--serif); color: #3a4660; }
.wcard-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; font-weight: 600; color: #b8892a; }

/* =========================================================
   Founder, Patroness & Motto
   ========================================================= */
.founder { padding-block: 48px 72px; background: radial-gradient(50% 70% at 20% 40%, #fff6df 0%, transparent 70%), #fff; }
.founder-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: center; }
.founder-figure { position: relative; width: 100%; max-width: 400px; justify-self: center; text-align: center; }
.founder-frame { position: relative; padding: 12px; border-radius: 200px 200px 22px 22px; background: linear-gradient(180deg, #fff, #f6efe0); box-shadow: 0 0 0 1.5px #e3c37a, 0 0 46px 6px rgba(240, 200, 110, .35), 0 26px 50px -24px rgba(11, 47, 122, .45); }
.founder-frame img { display: block; width: 100%; aspect-ratio: 586 / 760; object-fit: contain; object-position: 50% 100%; padding-top: 18px; background: radial-gradient(60% 50% at 50% 30%, #fffdf6 0%, #f5ead0 60%, #ead9b2 100%); border-radius: 190px 190px 14px 14px; background: #f3f0ea; }
.founder-cap { position: relative; z-index: 1; display: inline-flex; flex-direction: column; gap: 2px; margin-top: -26px; padding: 12px 24px; border-radius: 14px; background: var(--navy); color: #fff; box-shadow: 0 12px 24px -14px rgba(11, 47, 122, .8); }
.founder-cap strong { font-size: 17px; font-weight: 700; }
.founder-cap span { font-size: 12.5px; color: #f0c25a; }
.founder-quote { margin-top: 20px; padding: 0 10px; }
.founder-quote p[lang="ml"] { font: 500 16px/1.6 "Noto Sans Malayalam", var(--sans); color: #9a3b2c; }
.founder-quote-en { margin-top: 6px; font-style: italic; font-size: 14px; color: var(--muted); }
.founder-copy .eyebrow { color: #a2700f; letter-spacing: .18em; }
.founder-copy h2 { margin-top: 10px; font: 700 clamp(28px, 3vw, 40px)/1.12 var(--serif); color: var(--navy); }
.founder-lead { margin-top: 16px; font-size: 15.5px; line-height: 1.75; color: #3a4660; }
.motto-card { position: relative; margin-top: 24px; padding: 22px 26px 20px 74px; border-radius: 16px; background: linear-gradient(120deg, #13204f, #1c3f8f); color: #fff; overflow: hidden; box-shadow: 0 16px 30px -18px rgba(11, 47, 122, .7); }
.motto-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 189, 69, .35), transparent 70%); }
.motto-mark { position: absolute; left: 20px; top: 6px; font: 700 72px/1 Georgia, serif; color: #f2bd45; }
.motto-text { font-size: clamp(19px, 1.9vw, 24px); font-weight: 700; line-height: 1.3; }
.motto-ref { margin-top: 6px; font-size: 13px; letter-spacing: .04em; color: #f0c25a; }
.fact-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact-grid li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid #ebe3d2; box-shadow: 0 8px 20px -16px rgba(80, 60, 20, .45); }
.fact-grid .i { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: #fbf1da; color: #b98a2b; }
.fact-patroness img { flex: none; width: 44px; height: 44px; border-radius: 12px; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 2px #fbf1da; }
.fact-grid small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #a2700f; }
.fact-grid strong { display: block; margin-top: 2px; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.fact-grid span { display: block; font-size: 12.5px; color: var(--muted); }
.founder-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Journey timeline ---------- */
.journey { padding-top: 48px; padding-bottom: 64px; background: linear-gradient(180deg, #fff, var(--cream)); }
/* Horizontal scroller: 9 milestones fit on desktop; add more and the arrows appear */
.tl-scroller { position: relative; }
.timeline { --per: 6; --gap: 18px; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 0 16px; }
.timeline::-webkit-scrollbar { display: none; }
.timeline:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 12px; }
.timeline li { position: relative; flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; }
.timeline li::before { content: ""; position: absolute; top: 37px; left: calc(var(--gap) / -2); right: calc(var(--gap) / -2); height: 2px; background: var(--gold-btn); }
.timeline li:first-child::before { left: 0; background: linear-gradient(90deg, transparent, var(--gold-btn) 30%); }
.timeline li:last-child::before { right: 0; background: linear-gradient(90deg, var(--gold-btn) 70%, transparent); }
.tl-arrow { position: absolute; z-index: 2; top: 50%; translate: 0 -50%; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); font-size: 17px; cursor: pointer; box-shadow: var(--shadow); transition: background .2s, color .2s, opacity .2s; }
.tl-arrow:hover { background: var(--navy); color: #fff; }
.tl-arrow:disabled { opacity: 0; pointer-events: none; }
/* soft fade on the side that has more to scroll */
.tl-scroller.more-r .timeline { -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.tl-scroller.more-l .timeline { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%); mask-image: linear-gradient(90deg, transparent, #000 8%); }
.tl-scroller.more-l.more-r .timeline { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tl-arrow.bd-prev { left: -23px; }
.tl-arrow.bd-next { right: -23px; }
.tl-auto { margin-top: 6px; text-align: center; }
.auto-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .8); font: 500 12.5px/1 var(--sans); color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.auto-toggle:hover { color: var(--navy); border-color: var(--blue-100); }
.auto-toggle .i { font-size: 12px; color: var(--gold-btn); }
.auto-toggle .ic-play, .auto-toggle[aria-pressed="true"] .ic-pause { display: none; }
.auto-toggle[aria-pressed="true"] .ic-play { display: inline; }
.yr { font: 700 22px/1 var(--sans); color: var(--navy); margin-bottom: 34px; position: relative; z-index: 1; }
.yr::after { content: ""; position: absolute; left: 50%; top: calc(100% + 8px); width: 16px; height: 16px; translate: -50% 0; border-radius: 50%; background: #fff; border: 3px solid var(--gold-btn); box-shadow: 0 0 0 4px var(--cream); transition: background .2s; }
.timeline li:hover .yr::after { background: var(--gold-btn); }
.t-card { flex: 1; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 16px 22px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.timeline li:hover .t-card { transform: translateY(-4px); box-shadow: var(--shadow); }
.t-card time { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.t-card h3 { margin-top: 6px; font: 600 17px/1.3 var(--sans); color: var(--navy); }
.t-card p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- Presence ---------- */
.presence { padding-block: 40px 56px; overflow: hidden;
  background: radial-gradient(60% 70% at 10% 40%, #dfe9f8 0%, transparent 70%), linear-gradient(180deg, var(--cream) 0%, #eef4fc 18%, #f1f6fd 85%, #fff 100%); }
.presence::before { content: ""; position: absolute; left: -10%; right: -10%; top: -60px; height: 120px; border-radius: 0 0 50% 50%; background: var(--cream); }
.presence-photo { position: absolute; right: 0; top: 10px; bottom: 30px; width: 26%; height: calc(100% - 40px); object-fit: cover; object-position: 52% 45%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 80%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.presence-grid { position: relative; display: grid; grid-template-columns: 170px 250px 1fr; gap: 30px; align-items: start; }
.presence-map { position: relative; width: 250px; margin: 6px 0 0 -84px; filter: drop-shadow(0 14px 22px rgba(11, 47, 122, .22)); }
.presence-map img { width: 100%; filter: brightness(1.12) saturate(.6); opacity: .95; }
.presence-maps { position: relative; }
.presence-map:not([hidden]) { animation: mapIn .6s ease both; }
@keyframes mapIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.map-europe { width: 250px; margin-top: 64px; }
.map-africa { width: 250px; margin-top: 14px; }
.map-europe img, .map-africa img { filter: saturate(1.15); opacity: 1; -webkit-mask-image: radial-gradient(72% 72% at 50% 50%, #000 66%, transparent 100%); mask-image: radial-gradient(72% 72% at 50% 50%, #000 66%, transparent 100%); }
.dot { position: absolute; width: 6px; height: 6px; translate: -50% -50%; border-radius: 50%; background: #fff6d6; box-shadow: 0 0 0 2px rgba(255, 205, 90, .6), 0 0 10px 4px rgba(255, 190, 60, .85); animation: glow 2.6s ease-in-out infinite; }
.dot:nth-of-type(2n) { animation-delay: -1.1s; }
.dot:nth-of-type(3n) { animation-delay: -1.8s; }
@keyframes glow { 50% { box-shadow: 0 0 0 4px rgba(255, 205, 90, .25), 0 0 14px 6px rgba(255, 190, 60, .6); } }
.presence-info { padding-top: 2px; }
.presence-info h2 { margin-top: 4px; font: 700 30px/1.1 var(--serif); color: var(--navy); }
.big-num { margin-top: 26px; font-weight: 600; font-size: 17px; color: var(--ink); }
.big-num b { display: block; margin-bottom: 4px; font: 700 60px/.9 var(--serif); color: var(--navy); font-variant-numeric: lining-nums; }
.pane-summary > p:not(.big-num) { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.pane-summary .btn { margin-top: 22px; }
.presence-houses { max-width: 660px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.tabs button { padding: 8px 22px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--navy); transition: background .2s, color .2s; }
.tabs button:hover { background: var(--blue-50); }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.houses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.houses a { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 76px; padding: 12px 14px; background: rgba(255, 255, 255, .9); border: 1px solid #e8eef8; border-radius: var(--r); box-shadow: 0 6px 18px -10px rgba(11, 47, 122, .3); font-size: 12px; color: var(--muted); line-height: 1.3; transition: transform .2s, border-color .2s; backdrop-filter: blur(4px); }
.houses a:hover { transform: translateY(-3px); border-color: var(--blue-100); }
.houses .i { font-size: 34px; color: var(--blue); stroke-width: 1.3; }
.houses b { display: block; font-size: 12.5px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }

/* ---------- Ministries ---------- */
.ministries { padding-block: 64px 56px; background: #f4f6fb; }
.min-head { text-align: center; margin-bottom: 40px; }
.min-head .eyebrow { color: #a2700f; letter-spacing: .2em; }
.min-head h2 { margin-top: 10px; font: 700 clamp(30px, 3.2vw, 42px)/1.1 var(--serif); color: var(--navy); }
.min-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; max-width: 1190px; margin-inline: auto; }
.min-grid > li { display: flex; }
.min-card { flex: 1; display: flex; flex-direction: column; color: inherit; }
.min-img { display: block; aspect-ratio: 359 / 270; overflow: hidden; border-radius: 40% 40% 16px 16px / 52% 52% 16px 16px; background: #e3e8f2; }
.min-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.min-card:hover .min-img img { transform: scale(1.06); }
.min-box { position: relative; flex: 1; display: block; margin: -44px 16px 0; padding: 18px 18px 20px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px -14px rgba(11, 47, 122, .28); transition: transform .25s, box-shadow .25s; }
.min-card:hover .min-box { transform: translateY(-4px); box-shadow: 0 18px 34px -16px rgba(11, 47, 122, .35); }
.min-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.min-title h3 { font: 700 19px/1.2 var(--serif); color: var(--navy); }
.min-title i { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #d8deea; color: var(--navy); font-size: 15px; transition: background .2s, color .2s, border-color .2s; }
.min-card:hover .min-title i { background: var(--navy); border-color: var(--navy); color: #fff; }
.min-box p { margin-top: 12px; font-size: 13.5px; line-height: 1.6; color: #4a5670; }
.min-also { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px; font-size: 14.5px; color: #3a4660; }
.min-also span { color: var(--gold-btn); font-weight: 700; }
.min-also a { color: inherit; }
.min-also a:hover { color: var(--blue); text-decoration: underline; }

/* ---------- Apostolate ---------- */
.wrap-wide { max-width: 1400px; }
.apostolate { padding-block: 20px 34px; background: radial-gradient(900px 260px at 50% 100%, var(--gold-50), transparent 70%), #fffaf2; }
.apostolate .sec-head { margin-bottom: 22px; }
.apo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.apo-grid a { display: block; height: 100%; text-align: center; padding: 18px 16px 20px; background: linear-gradient(180deg, #fff, #fdfbf6); border: 1px solid #edf0f6; border-radius: var(--r); box-shadow: 0 8px 22px -14px rgba(11, 47, 122, .35); transition: transform .25s, box-shadow .25s, border-color .25s; }
.apo-grid a:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.apo-grid .i { box-sizing: content-box; font-size: 24px; padding: 8px; border-radius: 50%; background: var(--blue-50); color: var(--navy); stroke-width: 1.5; }
.apo-grid h3 { margin-top: 8px; font: 700 18px/1.2 var(--serif); color: var(--navy); }
.apo-grid p { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ---------- Videos / Events / News ---------- */
.media-sec { padding-block: 44px; }
.videos { padding-block: 60px; background: linear-gradient(180deg, #fffaf2, #fff 40%, #f6f8fd); }
.news-sec { background: #fff; }
.m-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.m-head h2 { display: flex; align-items: center; gap: 12px; font: 600 clamp(22px, 2vw, 26px)/1.2 var(--sans); color: var(--navy); }
.ic-gold { font-size: 26px; color: var(--gold-btn); }
.m-head a { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 500; color: var(--navy); white-space: nowrap; }
.m-head a .i { transition: transform .2s; }
.m-head a:hover { color: var(--gold); }
.m-head a:hover .i { transform: translateX(3px); }
.card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }



.news-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; border: 3px solid #fff; }
.news-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px 9px 0 0; }
.news-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform .6s; }
.news-badge { position: absolute; left: 50%; top: 52%; translate: -50% -50%; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--navy); font-size: 16px; }
.news-badge .i { margin-left: 2px; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-card time { padding: 12px 14px 0; font-size: 12px; color: var(--gold); font-weight: 500; letter-spacing: .02em; }
.news-card h3 { padding: 4px 14px 16px; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--navy); }
.news-card:hover h3 { color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: #13204f; color: rgba(255, 255, 255, .82); }
.ft-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 56px 44px; }
.ft-logo { display: inline-block; padding: 12px 14px; background: #fff; border-radius: 10px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4); }
.ft-logo img { display: block; width: 190px; height: auto; }
.ft-brand > p { margin-top: 18px; max-width: 34ch; font-size: 14.5px; line-height: 1.75; }
.ft-title { font: 700 18px/1.2 var(--serif); color: #fff; }
.ft-brand .ft-title { margin-top: 22px; }
.ft-col .ft-title { margin-top: 6px; margin-bottom: 16px; }
.ft-social { display: flex; gap: 10px; margin-top: 14px; }
.ft-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-size: 17px; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.ft-social a:hover { background: var(--gold-btn); border-color: var(--gold-btn); color: #13204f; transform: translateY(-2px); }
.ft-links { display: grid; gap: 12px; }
.ft-links a, .ft-contact a { font-size: 14.5px; color: rgba(255, 255, 255, .82); transition: color .2s, padding .2s; }
.ft-links a:hover { color: #f0c25a; padding-left: 4px; }
.ft-contact { display: grid; gap: 16px; }
.ft-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.6; }
.ft-contact .i { flex: none; margin-top: 4px; font-size: 16px; color: #e3b453; }
.ft-contact address { font-style: normal; }
.ft-contact a { word-break: break-word; }
.ft-contact a:hover { color: #f0c25a; }
.ft-bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.ft-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding-block: 16px 6px; font-size: 13px; color: rgba(255, 255, 255, .72); }
.ft-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ft-legal a { text-decoration: underline; text-underline-offset: 3px; }
.ft-legal a:hover { color: #f0c25a; }
.ft-credit { padding-bottom: 14px; font-size: 10.5px; color: rgba(255, 255, 255, .4); }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-btn); color: var(--navy-d); box-shadow: var(--shadow); font-size: 20px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.to-top .i { transform: rotate(180deg); stroke-width: 2.4; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Calendar
   ========================================================= */



.cal-sec { padding-block: 24px 60px; background: #fff; }
.cal { background: #f7f9fd; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 36px -18px rgba(11, 47, 122, .35); border: 1px solid #e8edf6; }
.cal-top { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 24px; background: var(--navy); color: #fff; overflow: hidden; }
.cal-top::after { content: ""; position: absolute; right: -30px; top: -30px; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(145deg, #e8bf63, #d4a24c); }
.cal-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, .14); font-size: 22px; color: #fff; }
.cal-top h2 { font: 600 clamp(24px, 2.1vw, 28px)/1 var(--serif); }
.cal-top small { margin-left: auto; position: relative; z-index: 1; padding-right: 56px; font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #e8bf63; }
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.cal-side { display: flex; flex-direction: column; padding: 20px 26px 16px; background: #fff; border-right: 1px solid #e1e7f1; }
.cal-side-title { font: 600 18px/1.2 var(--serif); color: var(--navy); padding-bottom: 6px; }
.cal-panel { display: flex; flex-direction: column; }
.cal-month { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; background: #eef2f9; border-bottom: 1px solid #e1e7f1; }
.cal-month h3 { font: 600 18px/1 var(--serif); letter-spacing: .02em; text-transform: uppercase; color: var(--navy); }
.cal-month button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 8px; background: #fff; color: var(--navy); font-size: 16px; cursor: pointer; box-shadow: 0 2px 6px -2px rgba(11, 47, 122, .2); transition: background .2s, color .2s; }
.cal-month button:hover { background: var(--navy); color: #fff; }
.cal-body { padding: 16px 20px 18px; }
.cal-days, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px 6px; text-align: center; }
.cal-days li { font-size: 9.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #4a5670; padding-bottom: 6px; }
.cal-day { position: relative; height: 40px; display: grid; place-items: center; border: 0; border-radius: 7px; background: none; font: 500 13px/1 var(--sans); color: var(--ink); }
button.cal-day { cursor: pointer; transition: background .2s, box-shadow .2s; }
button.cal-day:hover { box-shadow: inset 0 0 0 1.5px var(--blue-100); }
.cal-day.is-event { background: var(--navy); color: #fff; font-weight: 600; }
.cal-day.is-feast { background: #fbefc8; color: var(--navy); }
.cal-day.is-event.is-feast { background: linear-gradient(135deg, var(--navy) 50%, #f3d98a 50%); }
.cal-day.is-bday::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #d28b16; }
.cal-day.is-event.is-bday::after { background: #f2bd45; }
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--gold-btn); }
.cal-day.is-picked { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--gold-btn); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 12px; border-top: 1px solid #e1e7f1; font-size: 11.5px; color: #4a5670; }
.cal-legend li { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 10px; height: 10px; border-radius: 3px; }
.lg-event { background: var(--navy); }
.lg-feast { background: #fbefc8; box-shadow: inset 0 0 0 1px #e8c96c; }
.lg-bday { width: 6px !important; height: 6px !important; border-radius: 50% !important; background: #d28b16; }
.cal-list { margin-bottom: 8px; max-height: 330px; overflow-y: auto; scrollbar-width: thin; }
.cal-list li { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.cal-list li + li { border-top: 1px solid #e6ebf3; }
.cal-list time { flex: none; width: 42px; padding: 5px 0; border-radius: 7px; background: #e9eff9; text-align: center; font-size: 9.5px; font-weight: 600; text-transform: uppercase; color: var(--navy); line-height: 1; }
.cal-list time b { display: block; margin-bottom: 2px; font: 700 17px/1 var(--serif); font-variant-numeric: lining-nums; }
.cal-list div { padding-left: 12px; border-left: 2px solid var(--gold-btn); }
.cal-list strong { display: block; font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.cal-list span { font-size: 11.5px; color: var(--muted); }
.cal-list .cal-empty { display: block; padding: 18px 0; font-size: 13px; color: var(--muted); text-align: center; }
.cal-reset { border: 0; background: none; padding: 0; margin-left: 6px; font: inherit; font-weight: 600; color: var(--blue); cursor: pointer; text-decoration: underline; }

/* =========================================================
   Birthdays (card slider)
   ========================================================= */
.birthdays { padding-block: 56px 64px; background: #fff; }
.bd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.bd-head h2 { font: 700 clamp(30px, 2.9vw, 40px)/1.1 var(--serif); color: var(--navy); padding-bottom: 14px; position: relative; }
.bd-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; border-radius: 2px; background: var(--gold-btn); }
.bd-nav { display: flex; gap: 10px; }
.bd-nav button { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 17px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.bd-nav button:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: #fff; }
.bd-nav button:disabled { color: #b9c1cf; border-color: #eef1f6; cursor: default; }

.bd-viewport { margin-inline: -6px; }
.bd-track { --gap: 20px; --per: 4; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 6px 14px; }
.bd-track::-webkit-scrollbar { display: none; }
.bd-track:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 20px; }

.bd-card { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; container-type: inline-size;
  background: #f5efe3 url("../images/photos/bg-birthday.jpg") 30% 100% / cover no-repeat; box-shadow: 0 8px 24px -14px rgba(11, 47, 122, .35); transition: transform .3s, box-shadow .3s; }
.bd-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -16px rgba(11, 47, 122, .4); }
/* soft light wash so the text sits on a pale area, like the card artwork */
.bd-card::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(62% 40% at 56% 78%, rgba(255, 252, 238, .9), rgba(255, 252, 238, 0) 72%); }
.bd-photo { position: absolute; top: 2cqw; left: 15cqw; width: 70cqw; aspect-ratio: 1; object-fit: cover; object-position: 50% 0;
  -webkit-mask-image: radial-gradient(50% 52% at 50% 42%, #000 58%, transparent 100%); mask-image: radial-gradient(50% 52% at 50% 42%, #000 58%, transparent 100%); }
.bd-emblem { position: absolute; z-index: 2; top: 4cqw; left: 4cqw; width: 13cqw; height: 13cqw; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); background: #fff; object-fit: cover; }

.bd-body { position: absolute; z-index: 2; left: 0; right: 0; top: 42%; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--navy); }
.bd-script { width: 30cqw; height: auto; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .7)); }
.bd-divider { display: flex; align-items: center; gap: 2.5cqw; margin-top: 1cqw; color: #d4a24c; font-size: 4cqw; }
.bd-divider::before, .bd-divider::after { content: ""; width: 17cqw; height: 1px; background: linear-gradient(90deg, transparent, #d4a24c); }
.bd-divider::after { transform: scaleX(-1); }
.bd-name { margin-top: 2cqw; width: 80cqw; padding: 1.4cqw 2cqw; font: 600 5.2cqw/1.1 var(--sans); letter-spacing: .02em; text-transform: uppercase; color: var(--navy);
  background: linear-gradient(90deg, rgba(196, 216, 240, 0), rgba(196, 216, 240, .85) 18%, rgba(196, 216, 240, .85) 82%, rgba(196, 216, 240, 0));
  text-wrap: balance; }
.bd-date { display: flex; align-items: center; gap: 2cqw; margin-top: 3cqw; font: 700 4.4cqw/1 var(--sans); text-transform: uppercase; color: var(--navy); }
.bd-date .i { color: #d4a24c; font-size: 4.4cqw; }
.bd-date::before, .bd-date::after { content: ""; width: 17cqw; height: 1px; background: linear-gradient(90deg, transparent, #c9b48a); }
.bd-date::before { margin-right: 1cqw; }
.bd-date::after { margin-left: 1cqw; transform: scaleX(-1); }
.bd-wish { margin-top: 2.4cqw; max-width: 76cqw; padding: 1.5cqw 3.5cqw; border-radius: 3cqw; background: rgba(255, 252, 240, .86); box-shadow: 0 1px 6px rgba(80, 60, 20, .12); font: italic 400 3.2cqw/1.4 var(--serif); color: #23314f; }

.bd-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; }
.bd-count { font-size: 14px; color: var(--muted); }
.bd-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.bd-all .i { transition: transform .2s; }
.bd-all:hover { color: var(--blue); }
.bd-all:hover .i { transform: translateX(3px); }

/* =========================================================
   In Loving Memory (obituary)
   ========================================================= */
.obituary { padding-block: 56px 64px; background: #f6f7fb; }
/* Memorial card: 4:5 Instagram portrait. Artwork is obi-bg.jpg (it already has the "In Loving Memory" lettering) */
.ob-card { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; container-type: inline-size;
  background: #0c1d4d url("../images/photos/obi-bg.jpg") center / cover no-repeat; box-shadow: 0 10px 26px -14px rgba(6, 20, 60, .6); transition: transform .3s, box-shadow .3s; }
.ob-card:hover { transform: translateY(-4px); box-shadow: 0 20px 36px -16px rgba(6, 20, 60, .65); }
/* Oval photo frame: put an <img> inside .ob-photo when a photo is available */
.ob-photo { position: absolute; left: 3.5cqw; top: 26cqw; width: 41cqw; height: 52cqw; display: grid; place-items: center; overflow: hidden; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #f7efdd, #e2d3b0); border: .9cqw solid #fff7e4; box-shadow: 0 0 0 .7cqw #d4a547, 0 0 4cqw rgba(255, 215, 130, .35); color: #b98a2b; font-size: 11cqw; }
.ob-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.ob-body { position: absolute; left: 46cqw; right: 3cqw; top: 81cqw; text-align: center; color: #fff; }
.ob-name { font: 700 5.8cqw/1.15 var(--serif); color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .5); text-wrap: balance; }
.ob-date { margin-top: 1.6cqw; font: 500 4.4cqw/1 var(--sans); letter-spacing: .02em; text-transform: uppercase; color: #f0c25a; }
.ob-quote { margin-top: 4cqw; font: italic 400 3.5cqw/1.45 var(--serif); color: #f3f5fb; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }

/* =========================================================
   Videos: SKD Media on YouTube (click-to-load player, list, Shorts)
   ========================================================= */
.yt-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.yt-avatar { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px #e8eef8, 0 8px 18px -10px rgba(11, 47, 122, .5); }
.yt-id { flex: 1; min-width: 220px; }
.yt-id .eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #c4302b; letter-spacing: .16em; }
.yt-id .eyebrow .i { font-size: 16px; }
.yt-id h2 { margin-top: 4px; font: 700 clamp(26px, 2.6vw, 34px)/1.1 var(--serif); color: var(--navy); }
.yt-stats { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.yt-stats a { font-weight: 600; color: var(--navy); }
.yt-stats a:hover { color: #c4302b; }
.yt-stats span { margin-inline: 4px; opacity: .6; }
.yt-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn-yt { background: #e62117; color: #fff; padding: 11px 22px; box-shadow: 0 8px 18px -10px rgba(230, 33, 23, .8); }
.btn-yt:hover { background: #c4120a; transform: translateY(-2px); }
.yt-all { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.yt-all .i { transition: transform .2s; }
.yt-all:hover { color: var(--blue); }
.yt-all:hover .i { transform: translateX(3px); }

.yt-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.yt-player { background: #fff; border-radius: 16px; padding: 10px 10px 14px; box-shadow: 0 16px 36px -20px rgba(11, 47, 122, .45); border: 1px solid #e8edf6; }
.yt-facade, .yt-player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; overflow: hidden; background: #000; }
.yt-facade { position: relative; padding: 0; cursor: pointer; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; }
.yt-facade:hover img { transform: scale(1.03); opacity: .9; }
.yt-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 74px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: #e62117; color: #fff; font-size: 26px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); transition: transform .2s; }
.yt-play .i { fill: currentColor; stroke: none; margin-left: 3px; }
.yt-facade:hover .yt-play { transform: scale(1.08); }
.yt-now { display: flex; flex-direction: column; gap: 4px; padding: 12px 6px 0; }
.yt-now strong { font-size: 16.5px; font-weight: 600; line-height: 1.4; color: var(--navy); }
.yt-now small { font-size: 12.5px; color: var(--muted); }

.yt-side { background: #fff; border-radius: 16px; padding: 16px 12px 10px; border: 1px solid #e8edf6; box-shadow: 0 16px 36px -24px rgba(11, 47, 122, .4); }
.yt-side-title { padding: 0 6px 10px; font-size: 15px; font-weight: 600; color: var(--navy); }
.yt-list { display: grid; gap: 4px; max-height: 470px; overflow-y: auto; scrollbar-width: thin; }
.yt-item { width: 100%; display: flex; gap: 12px; align-items: flex-start; padding: 7px 6px; border: 0; border-radius: 10px; background: none; text-align: left; cursor: pointer; transition: background .2s; }
.yt-item:hover { background: var(--blue-50); }
.yt-item.is-active { background: #eef3fc; box-shadow: inset 3px 0 0 var(--gold-btn); }
.yt-thumb { position: relative; flex: none; width: 132px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #dfe6f1; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-len { position: absolute; right: 5px; bottom: 5px; padding: 2px 5px; border-radius: 4px; background: rgba(0, 0, 0, .8); color: #fff; font-size: 10.5px; font-weight: 600; }
.yt-meta { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.yt-meta strong { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--navy); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt-meta small { font-size: 11.5px; color: var(--muted); }

.yt-shorts-head { display: flex; align-items: center; justify-content: space-between; margin: 34px 0 14px; }
.yt-shorts-head h3 { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: var(--navy); }
.yt-shorts-head h3 .i { width: 26px; height: 26px; padding: 6px; border-radius: 7px; background: #e62117; color: #fff; fill: currentColor; stroke: none; }
.yt-shorts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.yt-short { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #dfe6f1; box-shadow: 0 10px 24px -16px rgba(11, 47, 122, .55); }
.yt-short img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.yt-short:hover img { transform: scale(1.05); }
.yt-short-meta { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; gap: 2px; padding: 40px 10px 10px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78)); color: #fff; }
.yt-short-meta strong { font-size: 12.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt-short-meta small { font-size: 11px; opacity: .85; }

/* =========================================================
   Gallery: Instagram
   ========================================================= */
.gallery { padding-block: 64px; background: #fff; }
.gallery .min-head { margin-bottom: 24px; }
.ig-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; max-width: 1040px; margin: 0 auto 22px; padding: 14px 18px; border-radius: 16px; background: #fbf8f1; border: 1px solid #efe7d6; }
.ig-avatar { width: 54px; height: 54px; border-radius: 50%; padding: 2px; background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.ig-id { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 2px; }
.ig-id strong { font-size: 16px; font-weight: 600; color: var(--ink); }
.ig-id small { font-size: 12.5px; color: var(--muted); }
.btn-ig { background: linear-gradient(45deg, #f9a825, #ee2a7b 50%, #6228d7); color: #fff; padding: 11px 22px; box-shadow: 0 8px 18px -10px rgba(238, 42, 123, .8); }
.btn-ig:hover { transform: translateY(-2px); filter: saturate(1.15); }
.ig-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 1040px; margin-inline: auto; }
.ig-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #e3e8f2; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ig-hover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(11, 30, 80, .45); color: #fff; font-size: 34px; opacity: 0; transition: opacity .25s; }
.ig-tile:hover img { transform: scale(1.06); }
.ig-tile:hover .ig-hover, .ig-tile:focus-visible .ig-hover { opacity: 1; }

/* =========================================================
   Vocations
   ========================================================= */
.vocations { padding-block: 84px; background: #13204f; color: #fff; border-top: 3px solid #1f4a9a; }
.voc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 1160px; }
.vocations .eyebrow { color: #e3b453; letter-spacing: .2em; }
.voc-copy h2 { margin-top: 14px; font: 700 clamp(32px, 3.4vw, 46px)/1.1 var(--serif); color: #fff; }
.voc-copy > p:not(.eyebrow) { margin-top: 18px; max-width: 44ch; font-size: 16.5px; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.voc-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.voc-btns .btn { padding: 14px 26px; font-size: 15px; }
.btn-outline-soft { border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; }
.btn-outline-soft:hover { background: #fff; color: var(--navy); border-color: #fff; }
.voc-steps { position: relative; display: grid; gap: 26px; }
.voc-steps li { position: relative; display: flex; gap: 20px; align-items: flex-start; }
.voc-steps li:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: -26px; width: 1.5px; background: rgba(255, 255, 255, .25); }
.voc-steps b { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(180deg, #ecc463, #d8a83f); color: #13204f; font: 700 19px/1 var(--serif); box-shadow: 0 0 0 4px rgba(227, 180, 83, .14); }
.voc-steps h3 { margin-top: 2px; font-size: 18px; font-weight: 600; color: #fff; }
.voc-steps p { margin-top: 4px; font-size: 14.5px; color: rgba(255, 255, 255, .72); }

/* =========================================================
   Contact: map + forms
   ========================================================= */
.contact { padding-block: 64px 72px; background: #f4f6fb; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 26px; align-items: stretch; }
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.c-card { padding: 24px; background: var(--navy); color: #fff; border-radius: 16px; box-shadow: 0 14px 30px -18px rgba(11, 47, 122, .6); }
.c-card h3 { font: 700 20px/1.25 var(--serif); }
.c-list { margin-top: 16px; display: grid; gap: 12px; }
.c-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.c-list .i { flex: none; margin-top: 3px; font-size: 17px; color: #e3b453; }
.c-list address { font-style: normal; }
.c-list a:hover { color: #e3b453; }
.c-dir { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 13.5px; font-weight: 600; color: #fff; transition: background .2s; }
.c-dir:hover { background: var(--gold-btn); color: var(--navy-d); }
.c-map { flex: 1; min-height: 260px; border-radius: 16px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 10px 28px -18px rgba(11, 47, 122, .4); background: #e3e8f2; }
.c-map iframe { display: block; width: 100%; height: 100%; min-height: 252px; border: 0; }

.f-card { padding: 10px 26px 26px; background: #fff; border-radius: 16px; border: 1px solid #e8edf6; box-shadow: 0 14px 34px -20px rgba(11, 47, 122, .35); }
.f-tabs { display: flex; gap: 6px; margin: 0 -26px 22px; padding: 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.f-tabs::-webkit-scrollbar { display: none; }
.f-tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 14px 14px 12px; border: 0; border-bottom: 3px solid transparent; background: none; font: 600 14.5px/1 var(--sans); color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.f-tabs button .i { font-size: 16px; }
.f-tabs button:hover { color: var(--navy); }
.f-tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--gold-btn); }
.f-tabs button[aria-selected="true"] .i { color: var(--gold-btn); }
.f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld-full { grid-column: 1 / -1; }
.fld label { font-size: 13px; font-weight: 600; color: var(--ink); }
.fld label small { font-weight: 400; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; padding: 11px 14px; border: 1.5px solid #dde3ee; border-radius: 10px; background: #fbfcfe; font: 400 14px/1.4 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.fld textarea { resize: vertical; min-height: 110px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(26, 79, 181, .12); }
.fld [aria-invalid="true"] { border-color: #c0392b; background: #fff8f7; }
.fld-check { flex-direction: row; align-items: center; gap: 10px; }
.fld-check input { width: 18px; height: 18px; accent-color: var(--navy); }
.fld-check label { font-weight: 500; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.f-hint { font-size: 12.5px; color: var(--muted); }
.f-status { margin-top: 12px; font-size: 13.5px; font-weight: 500; color: #c0392b; }
.f-status:empty { display: none; }
.f-status.ok { padding: 12px 14px; border-radius: 10px; background: #e9f6ee; color: #1f7a45; }

/* =========================================================
   Administrators (General Council) card slider
   ========================================================= */
.adm-scroller { position: relative; }
.bd-track.adm-track { --per: 4; --gap: 22px; padding: 6px 4px 18px; }
.adm-card { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid #e8edf6; border-radius: 18px; overflow: hidden; text-align: center; box-shadow: 0 12px 28px -20px rgba(11, 47, 122, .45); transition: transform .25s, box-shadow .25s; }
.adm-card:hover { transform: translateY(-4px); box-shadow: 0 20px 34px -20px rgba(11, 47, 122, .5); }
.adm-photo { display: block; aspect-ratio: 1; overflow: hidden; background: linear-gradient(180deg, #eaf3fb, #fdfaf3); }
.adm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .6s; }
.adm-card:hover .adm-photo img { transform: scale(1.04); }
.adm-card h3 { margin-top: 16px; padding-inline: 12px; font-size: 16.5px; font-weight: 700; color: var(--navy); }
.adm-card p { margin: 4px 0 18px; font-size: 13.5px; font-weight: 500; color: #a2700f; }
#administrators { background: #fff; }

/* =========================================================
   Section rhythm: every section gets its own band so they read as distinct blocks
   W = white, T = soft blue, C = warm cream (alternating down the page)
   ========================================================= */
main > section.section { padding-block: 80px; border-top: 1px solid rgba(11, 47, 122, .07); }
main > section.section.vocations { border-top: 0; }
#about     { background: radial-gradient(80% 60% at 50% 110%, #e9eef7 0%, transparent 70%), #f5f7fb; }  /* soft grey-blue */
#founder   { background: radial-gradient(45% 70% at 18% 45%, #fff3d6 0%, transparent 70%), #fbf6ea; }  /* C */
#journey   { background: #f3f6fc; }                                /* T */
#calendar  { background: #fff; }                                   /* W */
#institutions { background: #fff; }                                /* W (Presence above is blue) */
#media     { background: #fbf6ea; }                                /* C */
#apostolate { background: #fff; }                                  /* W */
#news      { background: #f3f6fc; }                                /* T */
#birthdays { background: #fff; }                                   /* W */
#gallery   { background: #fff; }                                   /* W */
#contact   { background: #f3f6fc; }                                /* T */
#obituary  { background: #fbf6ea; }                                /* C */
#journey .yr::after { box-shadow: 0 0 0 4px #f3f6fc; }
#about { padding-top: 88px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .menu > li > a, .sub-toggle { padding-inline: 11px; }
  .presence-grid { grid-template-columns: 160px 220px 1fr; gap: 22px; }
  .presence-photo { width: 20%; opacity: .7; }
  .menu { padding-inline: 8px; }
  .menu > li > a, .sub-toggle { padding-inline: 9px; }
  .menu > li > a[aria-current="page"] { padding-inline: 16px; }
}

/* Slide-in menu */
@media (max-width: 1180px) {
  .hero-slide-gen .hero-art { width: 62%; }
  .hero-group { width: 64%; }
  .hero-cap { max-width: 290px; }
  :root { --hide: 36px; }
  .masthead-inner { height: 76px; gap: 16px; }
  .brand img { width: 52px; height: 52px; }
  .brand-text strong { font-size: 18px; }
  .nav-toggle { display: block; }
  .mainnav { position: fixed; top: 0; right: 0; bottom: 0; width: min(330px, 86vw); z-index: 60; border: 0; overflow-y: auto; padding: 76px 0 24px; box-shadow: -20px 0 40px -20px rgba(0, 0, 0, .4); transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
  .mainnav.open { transform: none; visibility: visible; }
  .menu { flex-direction: column; align-items: stretch; height: auto; gap: 2px; padding-inline: 16px; }
  .menu > li { display: block; }
  .menu > li > a[aria-current="page"] { border-radius: 8px; padding-inline: 14px; }
  .hero-inner { width: 50%; margin-left: 4%; }
  .hero-art { width: 60%; }
  .hero-lilies { opacity: .55; }
  .presence-map { margin-left: -40px; width: 220px; }
  .map-europe { width: 220px; }
  .menu > li > a, .sub-toggle { width: 100%; justify-content: space-between; padding: 12px 14px; font-size: 15px; }
  .sub { position: static; translate: none; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 6px 12px; display: none; min-width: 0; }
  .sub-toggle[aria-expanded="true"] + .sub { display: block; }
  .sub-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
  .menu-cta { margin-top: 14px; }
  .menu-cta .btn { width: 100%; justify-content: center; padding: 13px 20px; }
  .nav-toggle { position: relative; z-index: 70; }
  .presence-grid { grid-template-columns: 170px 1fr; }
  .presence-houses { grid-column: 1 / -1; max-width: none; }
  .presence-photo { display: none; }
  .timeline { --per: 4.4; }
}

@media (max-width: 960px) {
  .bd-track.adm-track { --per: 2.4; --gap: 16px; }
  main > section.section { padding-block: 60px; }
  #about { padding-top: 76px; }
  .welcome-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-figure { max-width: 340px; }
  .yt-grid { grid-template-columns: 1fr; }
  .yt-list { max-height: none; grid-template-columns: 1fr 1fr; }
  .yt-shorts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline { --per: 3.3; --gap: 14px; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .voc-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; }
  .c-map { min-height: 300px; }
  .cal-wrap { grid-template-columns: 1fr; }
  .cal-side { border-right: 0; border-top: 1px solid #e1e7f1; }
  .cal-panel { order: -1; }
  .cal-list { max-height: none; }
  .bd-track { --per: 2.6; --gap: 16px; }
  .stats { grid-template-columns: repeat(6, 1fr); row-gap: 18px; }
  .stats li { grid-column: span 2; }
  .stats li:nth-child(4) { grid-column: 2 / span 2; border-left: 0; }
  .apo-grid { grid-template-columns: repeat(3, 1fr); }
  .card-row { gap: 14px; }
      .news-card h3 { font-size: 14.5px; }
  .tb-links .hide-md { display: none; }
  .min-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; max-width: 640px; }
  .houses { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .bd-track.adm-track { --per: 1.6; --gap: 14px; }
  .hero-slide-gen .hero-art { width: 100%; object-position: 55% 40%; }
  main > section.section { padding-block: 46px; }
  #about { padding-top: 64px; }
  .wcard, .wcard-patron { grid-template-columns: 1fr; }
  .wcard-mg { padding: 14px; gap: 6px; }
  .wcard-photo { aspect-ratio: 1; }
  .wcard-art { aspect-ratio: 4 / 3; }
  .wcard-art img { object-position: 50% 30%; }
  .wcard-body { padding: 14px 6px 8px; }
  .wcard-patron .wcard-body { padding: 22px 18px 22px; }
  .welcome-leaf { width: 100px; height: 160px; }
  .founder { padding-block: 44px 52px; }
  .fact-grid { grid-template-columns: 1fr; }
  .motto-card { padding: 18px 18px 16px 58px; }
  .motto-mark { left: 14px; font-size: 60px; }
  .founder-cta .btn { flex: 1 1 100%; justify-content: center; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 84px; }
  .hero-slide-photo { align-items: flex-start; }
  .hero-cap { margin: 0 auto; max-width: none; padding: 34px 20px 0; text-align: center; }
  .hero-group { right: 50%; translate: 50% 0; height: auto; width: 195%; }
  .hero-slide:first-of-type { align-items: flex-start; }
  .videos, .gallery { padding-block: 44px; }
  .yt-avatar { width: 56px; height: 56px; }
  .yt-actions { width: 100%; justify-content: space-between; }
  .yt-list { grid-template-columns: 1fr; }
  .yt-thumb { width: 120px; }
  .yt-shorts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .yt-shorts::-webkit-scrollbar { display: none; }
  .yt-shorts li { flex: 0 0 42%; scroll-snap-align: start; }
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ig-bar .btn-ig { width: 100%; justify-content: center; }
  .ft-grid { grid-template-columns: 1fr 1fr; padding-block: 40px 30px; }
  .ft-brand, .ft-grid > .ft-col:last-child { grid-column: 1 / -1; }
  .ft-bottom-inner { flex-direction: column; align-items: flex-start; }
  .obituary { padding-block: 40px 48px; }
  .contact { padding-block: 44px; }
  .vocations { padding-block: 56px; }
  .voc-steps h3 { font-size: 16.5px; }
  .voc-btns .btn { flex: 1 1 100%; justify-content: center; }
  .f-card { padding: 6px 16px 20px; }
  .f-tabs { margin: 0 -16px 18px; padding: 0 8px; }
  .f-tabs button { padding-inline: 9px; font-size: 13.5px; }
  .f-tabs button .i { display: none; }
  .f-grid { grid-template-columns: 1fr; }
  .f-foot .btn { width: 100%; justify-content: center; }
  .cal-top small { display: none; }
  .cal-body { padding: 14px 10px; }
  .cal-day { height: 36px; }
  .cal-side { padding: 16px 16px 14px; }
  .birthdays { padding-block: 40px 48px; }
  .bd-track { --per: 1.35; --gap: 14px; }
  .bd-nav button { width: 38px; height: 38px; }
  .wrap { padding-inline: 16px; }
  .hide-sm, .masthead .btn-cta { display: none; }
  .tb-links { gap: 14px; }
  .motto { font-size: 11px; gap: 6px; }
  .tb-links li + li { margin-left: 0; padding-left: 0; border-left: 0; }
  .tb-links a { font-size: 11.5px; }
  .masthead-inner { height: 70px; }
  .search { display: none; }
  .brand { margin-right: auto; }
  .brand img { width: 46px; height: 46px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { font-size: 10.5px; }
  .hero { min-height: 620px; align-items: flex-start; background: linear-gradient(180deg, #eef5fc 0%, #f4f8fd 45%, #dfeaf8 100%); }
  .hero-art { top: auto; bottom: 0; width: 100%; height: 46%; object-position: 60% 30%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
  .hero-lilies { height: 46%; max-width: 40%; opacity: .35; -webkit-mask-image: radial-gradient(100% 100% at 0 0, #000 40%, transparent 75%); mask-image: radial-gradient(100% 100% at 0 0, #000 40%, transparent 75%); }
  .presence-map { margin: 0 auto; width: 200px; }
  .hero-inner { width: auto; margin: 0; padding: 30px 16px 290px; }
  .section { padding-block: 56px; }
  .sec-head h2 { gap: 12px; }
  .sec-head h2::before, .sec-head h2::after { width: 28px; }
  .stats-wrap { margin-top: -64px; }
  .stats { padding: 16px 4px; }
  .stats li { flex-direction: column; gap: 6px; text-align: center; padding: 4px; }
  .stats .i { font-size: 28px; }
  .stats b { font-size: 24px; }
  .stats span { font-size: 12px; }
  .timeline { --per: 1.6; }
  .tl-arrow { width: 38px; height: 38px; font-size: 16px; }
  .tl-arrow.bd-prev { left: -8px; }
  .tl-arrow.bd-next { right: -8px; }
  .presence-grid { grid-template-columns: 1fr; text-align: center; }
  .presence-map { width: 160px; margin-inline: auto; }
  .map-europe { width: 240px; margin-top: 10px; }
  .map-africa { width: 180px; }
  .pane-summary > p:not(.big-num) { max-width: 36ch; margin-inline: auto; }
  .presence-houses { text-align: left; }
  .tabs { display: flex; justify-content: center; }
  .tabs button { flex: 1; padding-inline: 8px; }
  .houses { grid-template-columns: 1fr 1fr; gap: 8px; }
  .houses a { padding: 10px; }
  .houses .i { font-size: 24px; }
  .ministries { padding-block: 44px 40px; }
  .min-head { margin-bottom: 28px; }
  .min-grid { grid-template-columns: 1fr; max-width: 380px; }
  .apo-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .apo-grid li:last-child { grid-column: 1 / -1; }
  .apo-grid a { padding: 20px 14px; }
  .media-sec { padding-block: 32px; }
  .card-row { grid-template-columns: 1fr; }
  .card-row { gap: 22px; }
}

@media (max-width: 340px) {
  .houses { grid-template-columns: 1fr; }
  .tb-links li:not(:last-child) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.ob-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; border-radius: inherit; }

/* ---------- Birthday / obituary card popup with share options ---------- */
.sc-clickable { cursor: pointer; }
.sc-clickable:focus-visible { outline: 3px solid var(--gold-btn); outline-offset: 3px; }
.sc-open { overflow: hidden; }
.sc-modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; overflow-y: auto; background: rgba(4, 14, 40, .82); backdrop-filter: blur(4px); animation: scIn .2s ease-out; }
@keyframes scIn { from { opacity: 0; } to { opacity: 1; } }
.sc-box { position: relative; width: min(440px, 100%); padding: 22px 22px 18px; border-radius: 24px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); text-align: center; animation: scUp .25s ease-out; }
@keyframes scUp { from { transform: translateY(16px) scale(.98); } to { transform: none; } }
.sc-close { position: absolute; top: -14px; right: -14px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .5); }
.sc-close:hover { background: var(--navy); color: #fff; }
.sc-stage { display: flex; justify-content: center; }
.sc-stage .sc-card { flex: none; width: 100%; max-width: 396px; margin: 0; transform: none !important; cursor: default; opacity: 1; }
.sc-stage .sc-card:hover { transform: none; }
.sc-title { margin-top: 16px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #a2700f; }
.sc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.sc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #d9e2f1; border-radius: 999px; background: #fff; font: 600 13.5px/1 var(--sans); color: var(--navy); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.sc-btn .i { font-size: 17px; }
.sc-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.sc-native { background: var(--navy); border-color: var(--navy); color: #fff; }
.sc-wa .i { color: #25d366; }
.sc-fb .i { color: #1877f2; }
.sc-btn:hover .i { color: inherit; }
.sc-btn.is-busy { pointer-events: none; opacity: .7; }
.sc-btn.is-busy .i { animation: scSpin 1s linear infinite; }
@keyframes scSpin { to { transform: rotate(360deg); } }
.sc-msg { min-height: 18px; margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (max-width: 480px) { .sc-box { padding: 16px 14px 14px; } .sc-close { top: 6px; right: 6px; } .sc-btn { padding: 9px 12px; font-size: 13px; } }

/* magnify hint: tells visitors a card opens in a popup */
.sc-hint { position: absolute; z-index: 4; top: 10px; right: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); pointer-events: none; transition: transform .2s, background .2s, color .2s; }
.sc-hint .i { font-size: 18px; }
.sc-clickable:hover .sc-hint, .sc-clickable:focus-visible .sc-hint { transform: scale(1.12); background: var(--navy); color: #fff; }
.sc-stage .sc-hint { display: none; }

/* CMS: birthday card for a sister without a photo (initials in place of the picture) */
.bd-ini { display: grid; place-items: center; padding-bottom: 14cqw; font: 700 17cqw/1 var(--serif); letter-spacing: .02em; color: #b07d1c;
  background: radial-gradient(60% 60% at 50% 40%, #fffdf6 0%, #f8eed8 60%, #efdfbb 100%); }
