/* AMNEC — clean, warm, Malaysian-Chinese inspired
   Rice-paper whites, cinnabar red, temple gold, ink black.
   Motifs: seal stamps, moon-gate circles, thin gold rules, vertical script. */

:root {
  /* Palette sampled from the AMNEC logo leaves */
  --paper: #fbf9f4;
  --paper-2: #f3f0e8;
  --white: #ffffff;
  --ink: #1b1a1f;
  --ink-2: #393841;
  --muted: #6d6b73;
  --line: #e6e2d8;
  --red: #cb2229;        /* logo red  - Blood of Salvation */
  --red-deep: #a3181e;
  --red-soft: #fbe7e7;
  --gold: #b8900a;       /* logo gold, deepened for text contrast */
  --gold-bright: #eec41d;/* logo gold */
  --gold-soft: #fcf4d2;
  --blue: #3f48c8;       /* logo blue - Baptism */
  --blue-soft: #e8e9f9;
  --green: #28ad4e;      /* logo green - the wide field */
  --green-soft: #e3f4e8;
  --jade: #1f8a3e;

  /* One family everywhere */
  --sans: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
  --serif: var(--sans);

  --radius: 14px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(29, 26, 23, .04), 0 8px 28px rgba(29, 26, 23, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.zh { font-family: var(--serif); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.125rem; line-height: 1.65; color: var(--ink-2); }

/* ---------- Masthead: top bar + header (fixed, glass, scroll-aware) ---------- */
:root { --tb: 36px; --hh: 78px; --mh: calc(var(--tb) + var(--hh)); }
@media (max-width: 760px) { :root { --tb: 0px; --hh: 66px; } }
main { padding-top: var(--mh); }
body[data-page="home"] main { padding-top: 0; }
[id] { scroll-margin-top: 100px; }

.masthead { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: transform .35s ease; }
.topbar {
  height: var(--tb); overflow: hidden; background: var(--ink); color: #c9c6d0;
  font-size: .78rem; letter-spacing: .02em; transition: height .3s ease, background .3s ease;
}
.topbar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { text-decoration: none; color: #ecebf0; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; opacity: .7; }
.topbar .tb-right { display: flex; gap: 22px; }
.topbar .tb-left { display: flex; align-items: center; gap: 10px; }
.topbar .tb-left i { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(var(--red) 0 25%, var(--gold-bright) 0 50%, var(--blue) 0 75%, var(--green) 0); }

.site-header {
  position: relative; height: var(--hh);
  background: rgba(251, 249, 244, .82);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid rgba(27,26,31,.07);
  transition: height .3s ease, background .3s ease, box-shadow .3s ease, border-color .3s;
}
.site-header > .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.masthead.scrolled .topbar { height: 0; }
.masthead.scrolled .site-header { height: 66px; background: rgba(255,255,255,.9); box-shadow: 0 10px 30px -12px rgba(27,26,31,.18); }
.masthead.hidden { transform: translateY(-100%); }

/* scroll progress in logo colours */
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--red), var(--gold-bright), var(--blue), var(--green)); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; color: var(--ink); }
.brand-mark { width: 46px; height: 46px; border-radius: 14px; background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(27,26,31,.08), 0 4px 12px -4px rgba(27,26,31,.18); transition: .3s; }
.brand-mark img { width: 38px; height: 38px; object-fit: contain; }
.masthead.scrolled .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
.brand-text strong { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: .1em; line-height: 1; }
.brand-text span { display: block; font-size: .66rem; color: var(--muted); letter-spacing: .04em; margin-top: 5px; white-space: nowrap; }
@media (max-width: 1320px) { .brand-text span { display: none; } }

/* Desktop nav */
.nav { display: flex; align-items: center; gap: 2px; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 13px; border-radius: 999px;
  text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  background: none; border: 0; font-family: inherit; cursor: pointer; transition: color .2s, background .2s;
}
.nav-link svg { width: 12px; height: 12px; transition: transform .25s; opacity: .6; }
.nav-item:hover .nav-link, .nav-item:focus-within .nav-link { color: var(--ink); background: rgba(27,26,31,.05); }
.nav-item:hover .nav-link svg, .nav-item:focus-within .nav-link svg { transform: rotate(180deg); }
.nav-link.active { color: var(--red); }
.nav-link.active::after { content: ""; position: absolute; left: 50%; bottom: 14px; width: 18px; height: 3px; border-radius: 3px; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--red) 0 25%, var(--gold-bright) 25% 50%, var(--blue) 50% 75%, var(--green) 75%); }
.masthead.scrolled .nav-link.active::after { bottom: 8px; }
.nav-cta { margin-left: 14px; padding: 11px 22px; white-space: nowrap; font-size: .9rem; box-shadow: 0 8px 20px -8px rgba(203,34,41,.6); }
.nav-cta:hover { transform: translateY(-1px); }

/* Dropdown panel */
.dropdown {
  position: absolute; top: calc(100% - 6px); left: 50%; min-width: 320px;
  background: #fff; border-radius: 18px; padding: 10px;
  box-shadow: 0 0 0 1px rgba(27,26,31,.06), 0 30px 60px -20px rgba(27,26,31,.3);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown.wide { min-width: 600px; display: grid; grid-template-columns: 1fr 220px; gap: 10px; }
.dd-links { display: grid; gap: 2px; }
.dd-link { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background .15s; }
.dd-link:hover { background: var(--paper); }
.dd-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: .9rem; background: var(--cs, var(--red-soft)); color: var(--c, var(--red)); }
.dd-ico svg { width: 18px; height: 18px; }
.dd-link b { display: block; font-size: .9rem; font-weight: 600; line-height: 1.3; }
.dd-link small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.dd-feature { border-radius: 14px; overflow: hidden; position: relative; color: #fff; text-decoration: none; display: flex; align-items: flex-end; min-height: 100%; }
.dd-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dd-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(20,18,26,.85)); }
.dd-feature span { position: relative; z-index: 1; padding: 16px; font-size: .85rem; line-height: 1.4; }
.dd-feature span b { display: block; font-size: 1rem; margin-bottom: 2px; }
.c-red { --c: var(--red); --cs: var(--red-soft); }
.c-gold { --c: var(--gold); --cs: var(--gold-soft); }
.c-blue { --c: var(--blue); --cs: var(--blue-soft); }
.c-green { --c: var(--green); --cs: var(--green-soft); }
.c-ink { --c: var(--ink); --cs: var(--paper-2); }

/* Transparent state over the dark home hero */
body[data-page="home"] .masthead:not(.scrolled) .topbar { background: rgba(0,0,0,.25); }
body[data-page="home"] .masthead:not(.scrolled) .site-header { background: transparent; border-color: rgba(255,255,255,.12); backdrop-filter: none; -webkit-backdrop-filter: none; }
body[data-page="home"] .masthead:not(.scrolled) .brand,
body[data-page="home"] .masthead:not(.scrolled) .nav-link { color: #fff; }
body[data-page="home"] .masthead:not(.scrolled) .brand-text span { color: rgba(255,255,255,.65); }
body[data-page="home"] .masthead:not(.scrolled) .nav-item:hover .nav-link { background: rgba(255,255,255,.12); }
body[data-page="home"] .masthead:not(.scrolled) .nav-toggle { color: #fff; border-color: rgba(255,255,255,.3); }

/* Mobile toggle + full-screen menu */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

.mnav { position: fixed; inset: 0; z-index: 70; background: var(--paper); display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.mnav.open { opacity: 1; visibility: visible; transform: none; }
.mnav-head { height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); }
.mnav-close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; cursor: pointer; color: var(--ink); }
.mnav-body { flex: 1; overflow-y: auto; padding: 12px 16px 24px; }
.mnav-body > a, .mnav-body summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); cursor: pointer; }
.mnav-body summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--red); position: static; transition: transform .2s; }
.mnav-body details { border: 0; padding: 0; }
.mnav-body details[open] summary::after { transform: rotate(45deg); }
.mnav-body details a { display: block; padding: 10px 4px 10px 16px; text-decoration: none; color: var(--ink-2); font-size: .98rem; border-left: 2px solid var(--line); margin-left: 4px; }
.mnav-body details a:hover { color: var(--red); border-color: var(--red); }
.mnav-body details > div { padding: 8px 0 14px; }
.mnav-body .active { color: var(--red); }
.mnav-foot { padding: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.mnav-foot .btn { width: 100%; }
.mnav-foot small { text-align: center; color: var(--muted); }
body.menu-open { overflow: hidden; }

@media (max-width: 1140px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
}
@media (max-width: 760px) { .topbar { display: none; } }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red); }
.to-top svg { width: 20px; height: 20px; }

/* Gentle page entrance */
main { animation: pageIn .5s ease both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: .925rem; font-weight: 600; letter-spacing: 0;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  padding: 12px 24px; border-radius: 999px; transition: .18s ease;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: #fff; color: var(--red-deep); }
.btn-light:hover { background: var(--gold-soft); }
.btn-line-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-line-light:hover { background: rgba(255,255,255,.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { color: var(--red); text-decoration: none; font-weight: 500; font-size: .95rem; }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- Section scaffolding ---------- */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.bg-white { background: var(--white); }
.bg-paper2 { background: var(--paper-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  font-weight: 700;
}
.seal {
  display: inline-grid; place-items: center;
  min-width: 34px; height: 34px; padding: 0 6px;
  background: var(--red); color: #fff; border-radius: 6px;
  font-size: .8rem; font-weight: 500; letter-spacing: .04em; line-height: 1;
  box-shadow: inset 0 0 0 2px var(--red), inset 0 0 0 3px rgba(255,255,255,.55);
}
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.gold-rule { width: 56px; height: 2px; background: var(--gold); border: 0; margin: 20px 0; }
.center .gold-rule, .gold-rule.center { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { max-width: 520px; margin: 22px 0 34px; }
.hero-art { position: relative; }
.moon {
  aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative;
  box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px var(--line), var(--shadow);
}
.moon img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .vertical {
  position: absolute; right: -6px; top: 8%;
  writing-mode: vertical-rl;
  font-size: 1rem; font-weight: 500; letter-spacing: .5em; color: var(--red);
  background: var(--paper); padding: 18px 8px; border: 1px solid var(--red); border-radius: 4px;
}
.hero-art .mini {
  position: absolute; left: -28px; bottom: 4%; width: 38%;
  aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 8px var(--paper), var(--shadow);
}
.hero-art .mini img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg-circle {
  position: absolute; width: 680px; height: 680px; border-radius: 50%;
  right: -180px; top: -140px; background: radial-gradient(circle, var(--gold-soft) 0%, transparent 68%);
  z-index: -1;
}
.trust-line { margin-top: 40px; display: flex; gap: 14px; align-items: center; font-size: .85rem; color: var(--muted); }
.trust-line::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { max-width: 440px; margin: 0 auto; width: 88%; }
}

/* Page hero (inner pages) */
.page-hero { padding: 80px 0 64px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); margin-bottom: 14px; }
.page-hero p { color: var(--ink-2); font-size: 1.125rem; max-width: 640px; margin: 0; }
.page-hero .big-zh {
  font-size: clamp(3rem, 7vw, 6rem); font-weight: 700; line-height: 1;
  color: var(--paper-2); letter-spacing: .08em;
  writing-mode: vertical-rl; user-select: none;
}
@media (max-width: 760px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero .big-zh { display: none; } }

/* ---------- Intro / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.rev > :first-child { order: 2; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.photo.tall img { aspect-ratio: 4/5; }
.photo-cap { font-size: .82rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.rev > :first-child { order: 0; } }

/* ---------- Quote band ---------- */
.quote-band { background: var(--red); color: #fff; text-align: center; position: relative; overflow: hidden; }
.quote-band::before, .quote-band::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
}
.quote-band::before { left: -160px; top: -200px; }
.quote-band::after { right: -140px; bottom: -220px; }
.quote-band blockquote {
  font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.5; letter-spacing: -.015em;
  max-width: 860px; margin: 0 auto 24px; font-weight: 600;
}
.quote-band cite { font-style: normal; font-size: .78rem; font-weight: 600; letter-spacing: .14em; color: var(--gold-bright); }
.quote-band .quote-mark { font-family: Georgia, serif; font-size: 4rem; line-height: .5; color: var(--gold-bright); display: block; margin-bottom: 18px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1020px) { .g4, .g5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .g3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .g2, .g4, .g5 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: .2s ease; position: relative;
}
.card:hover { border-color: #d9cbb4; box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card .zh-tag { color: var(--muted); font-size: .85rem; letter-spacing: .12em; display: block; margin-bottom: 14px; }
.card .num {
  font-size: .85rem; font-weight: 700; letter-spacing: .1em; color: var(--red); line-height: 1; margin-bottom: 20px; display: block;
}
.card.link { text-decoration: none; display: block; }
.card.link .link-arrow { display: inline-block; margin-top: 18px; }

.icon-circle {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin-bottom: 20px;
}
.icon-circle svg { width: 26px; height: 26px; }

/* Journey steps (5 steps) */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 38px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px);
}
.step { text-align: center; padding: 0 14px; position: relative; text-decoration: none; }
.step .dot {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--line); font-size: 1.4rem; font-weight: 500; color: var(--red);
  position: relative; z-index: 1; transition: .2s;
}
.step:hover .dot { background: var(--red); color: #fff; border-color: var(--red); }
.step h3 { font-size: 1.15rem; margin-bottom: 2px; }
.step .dur { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 10px; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { left: 37px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto;
    background: repeating-linear-gradient(180deg, var(--gold) 0 6px, transparent 6px 12px); }
  .step { display: grid; grid-template-columns: 76px 1fr; gap: 0 20px; text-align: left; padding: 0; }
  .step .dot { margin: 0; grid-row: span 3; }
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 36px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(2.1rem, 3.6vw, 2.9rem); color: var(--red); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }
.stat span { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Testimony */
.testimony {
  background: var(--white); border-radius: var(--radius); padding: 44px 44px 36px; position: relative;
  border: 1px solid var(--line);
}
.testimony::before {
  content: "“"; position: absolute; top: 10px; left: 26px; font-family: Georgia, serif;
  font-size: 5rem; color: var(--gold-soft); line-height: 1;
}
.testimony p { font-size: 1.075rem; font-weight: 500; line-height: 1.7; position: relative; color: var(--ink); }
.testimony footer { font-size: .85rem; color: var(--muted); letter-spacing: .04em; }

/* Banner CTA */
.cta-band {
  background: var(--ink); color: #efe7da; border-radius: 22px; padding: 64px 56px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9bfb0; margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band .ring {
  position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(238,196,29,.35);
  right: -100px; top: -160px;
}
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 44px 28px; } .cta-band .btn-row { justify-content: flex-start; } }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px dashed var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 19px; width: 10px; height: 10px;
  background: var(--red); transform: rotate(45deg); border-radius: 2px;
}

/* Table (Faith series) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
th { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--paper-2); }
tr:last-child td { border-bottom: 0; }
td strong { font-size: 1rem; font-weight: 700; }
td .zh { color: var(--gold); margin-left: 6px; }

/* Pathway timeline */
.years { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.year { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.year header { padding: 28px 28px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--gold-soft), var(--white)); }
.year header small { letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-size: .75rem; }
.year header h3 { font-size: 1.5rem; margin: 6px 0 4px; }
.year header .zh { color: var(--muted); font-size: .9rem; letter-spacing: .12em; }
.year .body { padding: 22px 28px 28px; }
.year .body p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .years { grid-template-columns: 1fr; } }

/* Leadership chain */
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chain span { background: var(--white); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.chain i { color: var(--gold); font-style: normal; }

/* FACT */
.fact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact div { text-align: center; padding: 28px 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.fact b { display: block; font-size: 2.4rem; font-weight: 700; color: var(--red); line-height: 1; margin-bottom: 8px; }
@media (max-width: 640px) { .fact { grid-template-columns: 1fr 1fr; } }

/* Multiplication chart */
.chart { display: flex; align-items: flex-end; gap: 10px; height: 280px; padding: 0 4px; border-bottom: 1px solid var(--ink); }
.chart .bar { flex: 1; background: var(--red-soft); border-radius: 6px 6px 0 0; position: relative; height: 0; transition: height 1.1s cubic-bezier(.2,.8,.2,1); min-height: 2px; }
.chart .bar.hi { background: var(--red); }
.chart .bar span { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font-size: .72rem; color: var(--muted); white-space: nowrap; }
.chart .bar.hi span { color: var(--red); font-weight: 600; font-size: .85rem; }
.chart-x { display: flex; gap: 10px; padding: 8px 4px 0; }
.chart-x span { flex: 1; text-align: center; font-size: .75rem; color: var(--muted); }
@media (max-width: 640px) { .chart .bar span { display: none; } .chart .bar.hi span { display: block; } }

/* Quad */
.quad { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.quad div { background: var(--white); padding: 32px 24px; text-align: center; }
.quad svg { width: 44px; height: 44px; margin: 0 auto 12px; color: var(--red); }
.quad b { font-size: 1rem; font-weight: 600; display: block; }

/* Relationship diagram */
.rel-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.rel-opt {
  border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 24px 16px;
  cursor: pointer; text-align: center; font: inherit; color: inherit; transition: .18s;
}
.rel-opt:hover { border-color: var(--gold); }
.rel-opt[aria-pressed="true"] { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.rel-opt svg { width: 96px; height: 96px; margin: 0 auto 12px; }
.rel-opt b { font-weight: 600; display: block; }
.rel-result { display: none; background: var(--gold-soft); border-radius: var(--radius); padding: 24px 28px; }
.rel-result.show { display: block; }
@media (max-width: 640px) { .rel-options { grid-template-columns: 1fr; } .rel-opt { display: grid; grid-template-columns: 80px 1fr; text-align: left; align-items: center; gap: 12px; } .rel-opt svg { width: 72px; height: 72px; margin: 0; } }

/* Survey bars */
.survey-row { margin-bottom: 28px; }
.survey-row p { margin-bottom: 10px; font-weight: 500; }
.sbar { display: grid; grid-template-columns: 70px 1fr 40px; align-items: center; gap: 12px; margin-bottom: 8px; font-size: .85rem; color: var(--muted); }
.sbar .track { height: 12px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.sbar .fill { height: 100%; width: 0; background: var(--gold); border-radius: 999px; transition: width 1.1s ease; }
.sbar.after .fill { background: var(--red); }
.sbar b { color: var(--ink); text-align: right; }

/* Timeline (milestones / news) */
.timeline { border-left: 1px solid var(--gold); padding-left: 32px; margin-left: 8px; }
.timeline .item { position: relative; padding-bottom: 32px; }
.timeline .item::before { content: ""; position: absolute; left: -38px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--paper); }
.timeline time { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.timeline h3 { margin: 4px 0 6px; font-size: 1.15rem; }
.timeline p { color: var(--muted); margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery figure { margin: 0; border-radius: 10px; overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; color: #fff; font-size: .8rem; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } }

/* Parish chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }
.member { text-align: center; }
.member .av {
  width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  background: var(--paper-2); border: 1px solid var(--line); font-size: 1.4rem; font-weight: 600; color: var(--blue);
}
.member b { font-weight: 600; display: block; }
.member small { color: var(--muted); font-size: .82rem; letter-spacing: .04em; }

/* Logo meaning */
.leaves { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.leaves li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.leaves i { width: 14px; height: 30px; border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%; display: block; transform: rotate(25deg); margin-top: 2px; border: 1px solid rgba(0,0,0,.08); }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 28px 20px; } }
label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 6px; color: var(--ink-2); }
input, select, textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); background: #fff; }
textarea { min-height: 120px; resize: vertical; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .85rem; color: var(--muted); font-weight: 400; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }
.form-ok { display: none; padding: 18px 20px; border-radius: 12px; background: #eaf3ee; color: var(--jade); margin-top: 18px; }
.form-ok.show { display: block; }

/* Tabs (get involved) */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs button {
  font: inherit; font-size: .9rem; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--white); color: var(--ink-2);
}
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab-panel[hidden] { display: none; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-size: 1.02rem; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--red); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 12px; }

/* News cards */
.news-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: .2s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.news-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.news-card .body { padding: 24px; flex: 1; }
.news-card time { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.news-card h3 { margin: 8px 0; font-size: 1.15rem; }
.news-card p { color: var(--muted); font-size: .93rem; margin: 0; }

.event { display: grid; grid-template-columns: 84px 1fr auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.event .date { text-align: center; border: 1px solid var(--red); border-radius: 10px; overflow: hidden; }
.event .date small { display: block; background: var(--red); color: #fff; font-size: .72rem; letter-spacing: .14em; padding: 4px 0; }
.event .date b { display: block; font-size: 1.15rem; font-weight: 700; padding: 8px 0; }
.event h3 { margin: 0 0 4px; font-size: 1.1rem; }
.event p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) { .event { grid-template-columns: 70px 1fr; } .event .btn { grid-column: 1 / -1; } }

/* Note / placeholder */
.tbc { background: #fff6dc; border-radius: 4px; padding: 0 4px; font-size: .9em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c8beaf; padding: 80px 0 28px; margin-top: 0; position: relative; overflow: hidden; }
.site-footer .clouds { position: absolute; right: -40px; top: 30px; width: 380px; opacity: .08; color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
.site-footer h4 { color: #fff; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c8beaf; text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.foot-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.foot-brand .logo-bg { width: 56px; height: 56px; background: #fff; border-radius: 50%; display: grid; place-items: center; overflow: hidden; }
.foot-brand .logo-bg img { width: 46px; height: 46px; object-fit: contain; }
.foot-brand strong { color: #fff; font-size: 1.25rem; font-weight: 700; letter-spacing: .08em; }
.site-footer p { font-size: .92rem; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .8rem; color: #9b9184; }
.foot-bottom a { font-size: .8rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* Floating contact */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.18); text-decoration: none;
}
.float-wa svg { width: 28px; height: 28px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 68px 0; }
  .wrap { padding: 0 16px; }
  .card { padding: 26px 22px; }
  .testimony { padding: 40px 24px 28px; }
}

/* ---------- Logo leaf colours ---------- */
.steps .step:nth-child(1) { --c: var(--red); }
.steps .step:nth-child(2) { --c: var(--gold); }
.steps .step:nth-child(3) { --c: var(--green); }
.steps .step:nth-child(4) { --c: var(--blue); }
.steps .step:nth-child(5) { --c: var(--ink); }
.step .dot { color: var(--c, var(--red)); border-color: var(--c, var(--line)); }
.step:hover .dot { background: var(--c, var(--red)); border-color: var(--c, var(--red)); color: #fff; }

.grid > .card:nth-child(4n+1) { --c: var(--red); --cs: var(--red-soft); }
.grid > .card:nth-child(4n+2) { --c: var(--gold); --cs: var(--gold-soft); }
.grid > .card:nth-child(4n+3) { --c: var(--blue); --cs: var(--blue-soft); }
.grid > .card:nth-child(4n+4) { --c: var(--green); --cs: var(--green-soft); }
.grid > .card { border-top: 3px solid var(--c, var(--line)); }
.card .num { color: var(--c, var(--red)); }
.card .icon-circle { background: var(--cs, var(--red-soft)); color: var(--c, var(--red)); }

.fact div:nth-child(1) b { color: var(--red); }
.fact div:nth-child(2) b { color: var(--gold); }
.fact div:nth-child(3) b { color: var(--blue); }
.fact div:nth-child(4) b { color: var(--green); }

.years .year:nth-child(1) header { background: linear-gradient(180deg, var(--red-soft), var(--white)); }
.years .year:nth-child(2) header { background: linear-gradient(180deg, var(--gold-soft), var(--white)); }
.years .year:nth-child(3) header { background: linear-gradient(180deg, var(--green-soft), var(--white)); }

.stat:nth-child(2) strong { color: var(--blue); }
.stat:nth-child(3) strong { color: var(--green); }
.stat:nth-child(4) strong { color: var(--gold); }

.quote-band cite, .quote-band .quote-mark { color: var(--gold-bright); }
.cta-band .ring { border-color: rgba(238,196,29,.35); }
.hero-bg-circle { background: radial-gradient(circle, var(--gold-soft) 0%, transparent 68%); }
.gold-rule { background: var(--gold-bright); height: 3px; border-radius: 2px; }
.timeline { border-left-color: var(--gold-bright); }
.sbar .fill { background: var(--gold-bright); }
.chips span:nth-child(4n+1) { border-color: #f1c5c7; }
.chips span:nth-child(4n+2) { border-color: #f3e3a3; }
.chips span:nth-child(4n+3) { border-color: #c5c8f0; }
.chips span:nth-child(4n+4) { border-color: #bfe5ca; }
.site-footer { border-top: 4px solid; border-image: linear-gradient(90deg, var(--red) 0 25%, var(--gold-bright) 25% 50%, var(--blue) 50% 75%, var(--green) 75% 100%) 1; }

/* Eyebrow marker (four logo leaves) replaces the old stamp labels */
.eyebrow::before {
  content: ""; width: 28px; height: 4px; border-radius: 2px; flex-shrink: 0;
  background: linear-gradient(90deg, var(--red) 0 25%, var(--gold-bright) 25% 50%, var(--blue) 50% 75%, var(--green) 75% 100%);
}

/* ---------- Home hero ---------- */
.hero-x { position: relative; padding: 0; color: #fff; overflow: hidden; background: var(--ink); }
.hero-x-bg { position: absolute; inset: 0; }
.hero-x-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 9s ease-out; }
.hero-x-bg img.on { opacity: 1; transform: scale(1); }
.hero-x-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,18,26,.92) 0%, rgba(20,18,26,.78) 38%, rgba(20,18,26,.35) 70%, rgba(20,18,26,.2) 100%),
    linear-gradient(0deg, rgba(20,18,26,.85) 0%, transparent 40%);
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-x-inner { position: relative; display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: center; padding-top: calc(var(--mh) + 88px); padding-bottom: 72px; }
.hero-x h1 { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.05; letter-spacing: -.035em; margin-bottom: 22px; }
.hero-x h1 em { font-style: normal; background: linear-gradient(90deg, #ff5a5f, var(--gold-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-x .lead { color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 34px; }
.hero-x-copy > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hero-x-copy > :nth-child(2) { animation-delay: .1s; }
.hero-x-copy > :nth-child(3) { animation-delay: .2s; }
.hero-x-copy > :nth-child(4) { animation-delay: .3s; }
.hero-x-copy > :nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 8px 16px 8px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pill i { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(var(--red) 0 25%, var(--gold-bright) 0 50%, var(--blue) 0 75%, var(--green) 0); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.hero-x-trust { margin: 30px 0 0; font-size: .85rem; color: rgba(255,255,255,.6); }
.hero-x-card {
  background: rgba(255,255,255,.96); color: var(--ink); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.35); animation: rise .9s .35s cubic-bezier(.2,.8,.2,1) both;
}
.hero-x-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-x-card-body { padding: 22px 24px 24px; border-top: 4px solid var(--red); }
.hero-x-card-body small { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.hero-x-card-body h3 { font-size: 1.5rem; margin: 4px 0 6px; }
.hero-x-card-body p { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.hero-x-facts {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 40px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 18px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden;
}
.hero-x-facts div { padding: 22px 24px; border-right: 1px solid rgba(255,255,255,.12); position: relative; }
.hero-x-facts div:last-child { border-right: 0; }
.hero-x-facts div::before { content: ""; position: absolute; left: 24px; top: 0; width: 32px; height: 3px; border-radius: 0 0 3px 3px; }
.hero-x-facts div:nth-child(1)::before { background: var(--red); }
.hero-x-facts div:nth-child(2)::before { background: var(--gold-bright); }
.hero-x-facts div:nth-child(3)::before { background: #7d85ff; }
.hero-x-facts div:nth-child(4)::before { background: var(--green); }
.hero-x-facts b { display: block; font-size: 1.9rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.hero-x-facts span { display: block; margin-top: 4px; font-size: .82rem; line-height: 1.4; color: rgba(255,255,255,.7); }
@media (max-width: 960px) {
  .hero-x-inner { grid-template-columns: 1fr; padding-top: calc(var(--mh) + 48px); gap: 40px; }
  .hero-x-card { display: grid; grid-template-columns: 140px 1fr; max-width: 520px; }
  .hero-x-photo img { height: 100%; aspect-ratio: auto; }
  .hero-x-card-body { border-top: 0; border-left: 4px solid var(--red); }
  .hero-x-facts { grid-template-columns: 1fr 1fr; }
  .hero-x-facts div:nth-child(2) { border-right: 0; }
  .hero-x-facts div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 520px) {
  .hero-x-card { grid-template-columns: 1fr; }
  .hero-x-photo img { aspect-ratio: 16/9; }
  .hero-x-card-body { border-left: 0; border-top: 4px solid var(--red); }
  .hero-x .btn-lg { width: 100%; }
  .hero-x-facts div { padding: 18px 16px; }
  .hero-x-facts div::before { left: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hero-x-bg img, .hero-x-copy > *, .hero-x-card, .dial-wrap, .orbit, .scroll-cue span { animation: none !important; transition: none !important; } }

/* ---------- Hero: glow, rotating phrase, journey dial ---------- */
.hero-x-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 75%) var(--my, 40%), rgba(238,196,29,.16), transparent 60%); transition: background .2s; }

.rotator { display: inline-grid; }
.rotator em { grid-area: 1 / 1; font-style: normal; white-space: nowrap; line-height: 1.2; padding: 0 .06em .14em 0; margin-bottom: -.14em;
  background: linear-gradient(90deg, #ff5a5f, var(--gold-bright)); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(.45em); filter: blur(6px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1), filter .6s; }
.rotator em.on { opacity: 1; transform: none; filter: none; }
.rotator em.out { opacity: 0; transform: translateY(-.45em); filter: blur(6px); }
.hero-x h1 em { display: inline-block; line-height: 1.2; padding: 0 .06em .14em 0; margin-bottom: -.14em; }

.dial-wrap { animation: rise .9s .3s cubic-bezier(.2,.8,.2,1) both; position: relative; perspective: 900px; }
.dial { width: 100%; max-width: 340px; margin: 0 auto 18px; position: relative; transition: transform .3s ease-out; }
.dial svg { width: 100%; height: auto; overflow: visible; display: block; }
.dial .track { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 14; }
.dial .inner-ring { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1; stroke-dasharray: 2 6; }
.dial .orbit { transform-origin: 180px 180px; animation: spin 14s linear infinite; }
.dial .orbit circle { fill: var(--gold-bright); filter: drop-shadow(0 0 6px var(--gold-bright)); }
@keyframes spin { to { transform: rotate(360deg); } }
.dial .arc { fill: none; stroke: var(--ac); stroke-width: 10; stroke-linecap: round; opacity: .45; cursor: pointer; transition: opacity .4s, stroke-width .4s, filter .4s; }
.dial .arc.on { opacity: 1; stroke-width: 16; filter: drop-shadow(0 0 10px var(--ac)); }
.dial .core { fill: #fff; filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }
.dial .node { cursor: pointer; outline: none; }
.dial .node circle { fill: rgba(20,18,26,.85); stroke: var(--ac); stroke-width: 2; transition: fill .3s, r .3s; }
.dial .node text { fill: #fff; font: 700 14px var(--sans); text-anchor: middle; pointer-events: none; }
.dial .node.on circle, .dial .node:hover circle, .dial .node:focus-visible circle { fill: var(--ac); }
.dial .node.on text { fill: var(--ink); }
.dial .node:nth-of-type(1).on text { fill: #fff; }

.dial-card { position: relative; z-index: 1; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 18px; padding: 22px 24px 20px;
  box-shadow: 0 30px 60px -10px rgba(0,0,0,.45); border-top: 4px solid var(--dc, var(--red)); transition: border-color .4s; }
.dial-card small { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dial-card h3 { font-size: 1.55rem; margin: 4px 0 4px; }
.dial-card p { color: var(--muted); font-size: .92rem; margin: 0 0 12px; min-height: 2.9em; }
.dial-card .dial-link { font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--red); }
.dial-card.swap h3, .dial-card.swap p, .dial-card.swap small { animation: swapIn .45s ease both; }
@keyframes swapIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dial-bar { height: 3px; background: var(--paper-2); border-radius: 3px; margin-top: 16px; overflow: hidden; }
.dial-bar i { display: block; height: 100%; width: 0; background: var(--dc, var(--red)); }
.dial-bar i.run { animation: fillbar var(--dur, 4.5s) linear forwards; }
@keyframes fillbar { to { width: 100%; } }

.scroll-cue { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.45); border-radius: 14px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (min-width: 961px) and (min-height: 820px) { .hero-x .wrap:last-child { position: relative; } }

@media (max-width: 960px) {
  .dial-wrap { max-width: 420px; width: 100%; margin: 0 auto; }
  .dial { max-width: 320px; }
}
@media (max-width: 520px) { .dial { max-width: 260px; margin-bottom: 14px; } .dial-card h3 { font-size: 1.35rem; } }

/* ---------- Line-drawing header art ---------- */
.page-hero .wrap { align-items: center; }
.hero-art-line { width: 300px; height: auto; overflow: visible; }
.hero-art-line .ring-dash { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 7; transform-origin: 160px 128px; animation: spin 60s linear infinite; }
.hero-art-line .ring-seg { fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 20 100; stroke-dashoffset: 20; animation: drawSeg 1s var(--d) cubic-bezier(.6,0,.2,1) forwards; }
@keyframes drawSeg { to { stroke-dashoffset: 0; } }
.hero-art-line .draw > * { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.4s var(--d) cubic-bezier(.65,0,.35,1) forwards; }
.hero-art-line .draw > :nth-child(3n+2) { stroke: var(--red); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-art-line .spark { fill: var(--gold-bright); opacity: 0; animation: spark 3s 1.8s ease-in-out infinite; }
.hero-art-line .spark.s2 { fill: var(--blue); animation-delay: 2.6s; }
@keyframes spark { 0%, 100% { opacity: 0; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-8px); } }

.scribble { position: relative; display: inline-block; white-space: nowrap; }
.scribble svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .32em; overflow: visible; }
.scribble path { fill: none; stroke: url(#ulg); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1s .45s cubic-bezier(.65,0,.35,1) forwards; }

/* Section headings: underline draws in when revealed */
.sec-head h2::after {
  content: ""; display: block; height: 3px; width: 0; margin-top: 16px; border-radius: 3px;
  background: linear-gradient(90deg, var(--red) 0 25%, var(--gold-bright) 25% 50%, var(--blue) 50% 75%, var(--green) 75%);
  transition: width 1s .25s cubic-bezier(.65,0,.35,1);
}
.sec-head.in h2::after { width: 72px; }

@media (max-width: 900px) { .hero-art-line { width: 220px; } }
@media (max-width: 760px) {
  .page-hero .wrap { grid-template-columns: 1fr; }
  .hero-art-line { position: absolute; right: -40px; top: -10px; width: 190px; opacity: .35; z-index: -1; }
  .page-hero { isolation: isolate; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art-line *, .scribble path { animation: none !important; stroke-dashoffset: 0 !important; }
  .sec-head h2::after { transition: none; }
}

/* ---------- Interactive components ---------- */
[hidden] { display: none !important; }

/* On-page sub navigation */
.subnav { position: sticky; top: 66px; z-index: 30; background: rgba(251,249,244,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; text-decoration: none; font-size: .85rem; font-weight: 600; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: .2s; }
.subnav a:hover { background: rgba(27,26,31,.05); }
.subnav a.on { background: var(--ink); color: #fff; }
.subnav { transition: top .35s ease; }
body.mast-hidden .subnav { top: 0; }

/* Tabs inside a section */
.tabs-box .tabs { margin-bottom: 20px; }
.tab-panel { animation: swapIn .4s ease both; }

/* Quote carousel */
.quotes { background: var(--ink); color: #fff; border-radius: 20px; padding: 36px 36px 26px; position: relative; min-height: 300px; display: flex; flex-direction: column; }
.quotes-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 18px; }
.quotes .q { display: none; margin: 0; flex: 1; }
.quotes .q.on { display: block; animation: swapIn .5s ease both; }
.quotes blockquote { margin: 0 0 16px; font-size: 1.3rem; font-weight: 600; line-height: 1.5; letter-spacing: -.01em; }
.quotes figcaption { color: #b9b6c2; font-size: .9rem; }
.quotes-nav { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.quotes-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; cursor: pointer; font-size: 1rem; }
.quotes-nav button:hover { background: rgba(255,255,255,.1); }
.qdots { display: flex; gap: 6px; flex: 1; justify-content: center; }
.qdots i { width: 8px; height: 8px; border-radius: 8px; background: rgba(255,255,255,.3); cursor: pointer; transition: .3s; }
.qdots i.on { width: 22px; background: var(--gold-bright); }

/* Range sliders */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; padding: 0; border: 0; border-radius: 6px; background: var(--paper-2); margin: 14px 0; box-shadow: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--red); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--red); border: 4px solid #fff; cursor: pointer; }

/* Participants -> groups */
.grouper { margin-top: 24px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.grouper label { font-weight: 400; font-size: .95rem; }
.g-dots { display: flex; flex-wrap: wrap; gap: 10px; }
.g-group { display: inline-flex; gap: 3px; padding: 6px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); animation: swapIn .3s ease both; }
.g-group i { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.g-group i.lead { background: var(--red); margin-right: 3px; }

/* Multiplication readout */
.mult-readout { display: flex; flex-direction: column; margin-bottom: 40px; }
.mult-readout span { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mult-readout strong { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.03em; color: var(--red); line-height: 1.1; }
.mult-readout small { color: var(--muted); }
.chart .bar.dim { opacity: .3; }
.chart .bar.hi span { display: block; }

/* Faith Series explorer */
.explorer { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.ex-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.ex-tabs button { font: inherit; text-align: left; cursor: pointer; border: 1px solid var(--line); background: var(--paper); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; transition: .2s; color: var(--ink); }
.ex-tabs button b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--cs); color: var(--c); font-size: .9rem; margin-bottom: 6px; transition: .2s; }
.ex-tabs button span { font-weight: 700; }
.ex-tabs button small { color: var(--muted); font-size: .78rem; }
.ex-tabs button:hover { border-color: var(--c); }
.ex-tabs button[aria-selected="true"] { background: #fff; border-color: var(--c); box-shadow: 0 0 0 3px var(--cs); }
.ex-tabs button[aria-selected="true"] b, .ex-tabs button.done b { background: var(--c); color: #fff; }
.ex-track { height: 4px; background: var(--paper-2); border-radius: 4px; margin: 22px 0; overflow: hidden; }
.ex-track i { display: block; height: 100%; width: 0; border-radius: 4px; transition: width .5s cubic-bezier(.2,.8,.2,1);
  background: linear-gradient(90deg, var(--red), var(--gold-bright), var(--green), var(--blue), var(--ink)); }
.ex-panel { display: none; }
.ex-panel.on { display: block; animation: swapIn .45s ease both; }
.ex-panel small { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.ex-panel h3 { font-size: 1.8rem; margin: 6px 0 10px; }
.ex-panel p { color: var(--ink-2); font-size: 1.05rem; max-width: 760px; }
.ex-out { display: inline-flex; gap: 12px; align-items: center; background: var(--gold-soft); padding: 10px 16px; border-radius: 12px; font-weight: 600; }
.ex-out span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.ex-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.ex-nav button:disabled { opacity: .35; cursor: default; }
@media (max-width: 860px) {
  .ex-tabs { grid-template-columns: repeat(5, minmax(118px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
  .explorer { padding: 18px; }
}

/* The Quad as buttons */
.quad button { font: inherit; color: inherit; border: 0; background: var(--white); padding: 32px 24px; text-align: center; cursor: pointer; transition: background .3s, transform .3s; }
.quad button small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.quad button:hover { background: var(--paper); }
.quad button.on { background: var(--red); color: #fff; }
.quad button.on svg { color: #fff; }
.quad button.on small { color: rgba(255,255,255,.75); }

/* Ultimate Relationship question flow */
.qflow { display: flex; flex-wrap: wrap; gap: 12px; }
.qflow span { padding: 14px 20px; border-radius: 18px 18px 18px 4px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; }
.qflow.in span { animation: swapIn .5s ease both; }
.qflow.in span:nth-child(2) { animation-delay: .25s; }
.qflow.in span:nth-child(3) { animation-delay: .5s; }
.qflow.in span:nth-child(4) { animation-delay: .75s; background: var(--ink); color: #fff; border-color: var(--ink); }
.rel-result.show { animation: swapIn .4s ease both; }

/* Parish Pathway */
.pathway { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.pw-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; margin-bottom: 30px; }
.pw-year { position: relative; z-index: 1; font: inherit; cursor: pointer; text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 16px; padding: 18px 20px; color: var(--ink); transition: .25s; }
.pw-year small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.pw-year b { font-size: 1.4rem; }
.pw-year:hover { border-color: var(--c); }
.pw-year[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 12px 28px -12px var(--c); }
.pw-year[aria-pressed="true"] small { color: rgba(255,255,255,.85); }
.pw-line { position: absolute; left: 0; right: 0; bottom: -16px; height: 4px; background: var(--paper-2); border-radius: 4px; overflow: hidden; }
.pw-line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--gold-bright), var(--green)); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.pw-panel { display: none; }
.pw-panel.on { display: block; animation: swapIn .45s ease both; }
@media (max-width: 640px) { .pw-rail { grid-template-columns: 1fr; } .pw-line { display: none; } .pathway { padding: 18px; } }

/* Segmented control */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--paper-2); border-radius: 999px; margin-top: 16px; }
.seg button { font: inherit; font-size: .85rem; font-weight: 600; border: 0; background: transparent; color: var(--ink-2); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: .2s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }

/* Get Involved path cards */
.paths .card { font: inherit; text-align: left; cursor: pointer; color: inherit; width: 100%; display: block; text-decoration: none; }
.paths .card[aria-selected="true"] { border-color: var(--c); box-shadow: 0 0 0 3px var(--cs), var(--shadow); }
.path-form { animation: swapIn .4s ease both; }

/* FAQ search, copy, lightbox */
.faq-search { margin-bottom: 12px; border-radius: 999px; padding: 12px 18px; }
.copy { font: inherit; font-size: .75rem; font-weight: 600; margin-left: 8px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.gallery figure { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(15,14,18,.92); display: grid; place-items: center; padding: 60px 16px; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; border-radius: 12px; animation: swapIn .3s ease both; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.3rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Inline form errors */
.field-err { display: block; color: var(--red); font-size: .8rem; margin-top: 6px; grid-column: 1 / -1; }
input.invalid, select.invalid, textarea.invalid { border-color: var(--red); background: #fff8f8; }
.consent .field-err { margin-top: 2px; }

/* ==========================================================
   Phone layout (≤ 640px): one tidy type scale, tighter rhythm,
   compact components, 16px form fields (no iOS zoom on focus)
   ========================================================== */
@media (max-width: 640px) {
  body { font-size: 15.5px; line-height: 1.65; }
  h1 { font-size: 1.95rem; line-height: 1.15; letter-spacing: -.025em; }
  h2 { font-size: 1.45rem; line-height: 1.2; }
  h3 { font-size: 1.05rem; }
  .lead, .page-hero p { font-size: 1rem; line-height: 1.6; }
  .muted, .card p, .check-list li { font-size: .95rem; }
  .eyebrow { font-size: .7rem; letter-spacing: .12em; margin-bottom: 12px; gap: 10px; }
  .eyebrow::before { width: 22px; height: 3px; }

  /* rhythm */
  section { padding: 48px 0; }
  section.tight { padding: 36px 0; }
  .wrap { padding: 0 18px; }
  .sec-head { margin-bottom: 24px; }
  .sec-head h2::after { margin-top: 12px; height: 3px; }
  .sec-head.in h2::after { width: 52px; }
  .split { gap: 24px; }
  .grid { gap: 12px; }
  .gold-rule { margin: 16px 0; }

  /* page header */
  .page-hero { padding: 36px 0 32px; }
  .page-hero h1 { font-size: 1.85rem; margin-bottom: 10px; }
  .hero-art-line { width: 150px; right: -36px; top: -6px; opacity: .22; }

  /* home hero */
  .hero-x-inner { padding-top: calc(var(--mh) + 28px); padding-bottom: 36px; gap: 28px; }
  .hero-x h1 { font-size: 2.45rem; margin-bottom: 14px; }
  .hero-x .lead { font-size: 1rem; margin-bottom: 24px; }
  .pill { font-size: .7rem; padding: 6px 12px 6px 7px; margin-bottom: 18px; }
  .pill i { width: 16px; height: 16px; }
  .btn-lg { padding: 14px 20px; font-size: .95rem; }
  .hero-x-trust { margin-top: 18px; font-size: .84rem; }
  .dial { max-width: 230px; }
  .dial-card { padding: 18px; }
  .dial-card h3 { font-size: 1.25rem; }
  .dial-card p { font-size: .9rem; min-height: 0; }
  .hero-x-facts { margin-bottom: 24px; border-radius: 14px; }
  .hero-x-facts b { font-size: 1.5rem; }
  .hero-x-facts span { font-size: .75rem; }

  /* cards */
  .card { padding: 20px 18px; border-radius: 12px; }
  .grid .card[style] { padding: 22px 20px !important; }
  .card h3[style] { font-size: 1.15rem !important; line-height: 1.4 !important; }
  .card .num { margin-bottom: 10px; font-size: .75rem; }
  .card:hover { transform: none; }
  /* icon cards become compact rows */
  .card:has(> .icon-circle) { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; }
  .card:has(> .icon-circle) .icon-circle { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .card:has(> .icon-circle) .icon-circle svg { width: 20px; height: 20px; }
  .card:has(> .icon-circle) h3 { margin: 2px 0 4px; }

  /* photos: shorter on phones */
  .photo img, .photo.tall img { aspect-ratio: 16/11; }

  /* steps list */
  .steps { gap: 18px; }
  .steps::before { left: 25px; }
  .step { grid-template-columns: 52px 1fr; column-gap: 16px; }
  .step .dot { width: 52px; height: 52px; font-size: 1.1rem; }
  .step h3 { font-size: 1.05rem; }
  .step p { font-size: .9rem; }

  /* tabs and segmented controls scroll sideways instead of wrapping */
  .tabs, .seg { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .tabs::-webkit-scrollbar, .seg::-webkit-scrollbar { display: none; }
  .tabs button, .seg button { flex-shrink: 0; padding: 9px 14px; font-size: .85rem; }
  .seg { display: flex; }

  /* sub navigation */
  .subnav .wrap { padding-top: 8px; padding-bottom: 8px; }
  .subnav a { font-size: .8rem; padding: 7px 12px; }

  /* quotes and testimonies */
  .quote-band blockquote { font-size: 1.2rem; }
  .quote-band .quote-mark { font-size: 3rem; margin-bottom: 10px; }
  .quotes { padding: 24px 20px 18px; min-height: 0; border-radius: 16px; }
  .quotes blockquote { font-size: 1.08rem; }
  .testimony { padding: 32px 20px 20px; }
  .testimony p { font-size: .98rem; }
  .testimony::before { font-size: 3.6rem; left: 16px; top: 6px; }

  /* call-to-action band */
  .cta-band { padding: 28px 20px; border-radius: 16px; gap: 18px; }
  .cta-band h2 { font-size: 1.35rem; }
  .cta-band .btn-row, .cta-band .btn { width: 100%; }
  .cta-band .ring { display: none; }

  /* Faith Series explorer */
  .explorer { padding: 14px; border-radius: 16px; }
  .ex-tabs { grid-template-columns: repeat(5, 96px); gap: 8px; scrollbar-width: none; }
  .ex-tabs::-webkit-scrollbar { display: none; }
  .ex-tabs button { padding: 10px 12px; border-radius: 12px; }
  .ex-tabs button b { width: 26px; height: 26px; font-size: .8rem; margin-bottom: 4px; }
  .ex-tabs button span { font-size: .88rem; }
  .ex-tabs button small { font-size: .7rem; line-height: 1.3; }
  .ex-track { margin: 14px 0 18px; }
  .ex-panel h3 { font-size: 1.35rem; }
  .ex-panel p { font-size: .95rem; }
  .ex-out { font-size: .9rem; padding: 8px 12px; flex-wrap: wrap; gap: 4px 10px; }
  .ex-nav .btn { flex: 1; padding: 12px 10px; font-size: .88rem; }

  /* Parish Pathway */
  .pw-rail { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
  .pw-year { padding: 12px 10px; border-radius: 12px; text-align: center; }
  .pw-year small { font-size: .65rem; }
  .pw-year b { font-size: 1rem; }
  .pw-line { display: block; bottom: -10px; }

  /* other components */
  .quad button { padding: 22px 12px; }
  .quad svg { width: 34px; height: 34px; }
  .quad b { font-size: .9rem; }
  .qflow span { padding: 10px 14px; font-size: .92rem; }
  .rel-opt { padding: 14px; }
  .chips { gap: 8px; }
  .chips span { font-size: .82rem; padding: 7px 12px; }
  .fact { gap: 10px; }
  .fact div { padding: 18px 8px; }
  .fact b { font-size: 1.9rem; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .member .av { width: 80px; height: 80px; font-size: 1.15rem; }
  .mult-readout { margin-bottom: 28px; }
  .chart { height: 200px; gap: 5px; }
  .chart-x { gap: 5px; }
  .chart-x span { font-size: .62rem; }
  .gallery { grid-auto-rows: 120px; gap: 8px; }
  .timeline { padding-left: 24px; }
  .timeline .item::before { left: -30px; }
  .timeline .item { padding-bottom: 22px; }
  .news-card .body { padding: 18px; }
  .grouper { padding: 16px; }
  details summary { font-size: .98rem; padding: 14px 36px 14px 0; }

  /* forms: 16px fields stop iOS zooming in on focus */
  .form-card { padding: 22px 16px; border-radius: 16px; }
  .form-grid { gap: 14px; }
  input, select, textarea { font-size: 16px; padding: 12px 13px; }
  .form-card .btn[type="submit"] { width: 100%; }
  .consent { font-size: .82rem; }

  /* footer */
  .site-footer { padding: 52px 0 24px; }
  .foot-grid { gap: 28px; }
  .foot-bottom { margin-top: 36px; flex-direction: column; gap: 8px; }

  /* back-to-top: smaller and out of the way */
  .to-top { width: 40px; height: 40px; right: 12px; bottom: 12px; opacity: 0; background: rgba(27,26,31,.82); }
  .to-top.show { opacity: .9; }
  .to-top svg { width: 17px; height: 17px; }
}
