/* ==========================================================================
   Christ Laborers Church — styles
   Palette drawn from the church emblem: crimson robe, gold robe, royal-blue
   robe, and the blue-and-white stripes of the sanctuary wall.
   ========================================================================== */

:root {
  --navy: #0b1b3f;
  --navy-2: #122a5c;
  --blue: #1a3fb0;
  --blue-soft: #e8eefc;
  --red: #c8102e;
  --red-deep: #9e0b23;
  --gold: #f4b400;
  --gold-soft: #ffe08a;
  --ivory: #fbf8f1;
  --paper: #ffffff;
  --ink: #141a2a;
  --muted: #5b6478;
  --line: #e4e1d8;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(11, 27, 63, .35);
  --shadow-sm: 0 10px 30px -14px rgba(11, 27, 63, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.35rem; }
h2 em, h1 em { font-style: italic; font-weight: 400; color: var(--red); }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head p:last-child { color: var(--muted); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 200; font-weight: 700; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker-light { color: var(--gold); }
.lead { font-size: 1.18rem; color: #2c3448; }
.gold-text { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 700 .98rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-gold { --bg: var(--gold); --fg: var(--navy); }
.btn-gold:hover { --bg: #ffc62a; }
.btn-blue { --bg: var(--blue); --fg: #fff; }
.btn-blue:hover { --bg: var(--navy-2); }
.btn-ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { --bg: rgba(255,255,255,.12); border-color: #fff; }
.btn-sm { padding: 11px 18px; font-size: .9rem; }

/* ---------- Header ----------
   The frosted background lives on ::before, never on the header itself:
   backdrop-filter on the header would trap the fixed mobile menu inside
   the header's 68px box. */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(11, 27, 63, .9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,.5);
  transition: opacity .35s;
}
.site-header.scrolled::before, .nav-open .site-header::before { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; position: relative; z-index: 2; }
.brand img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.22rem; font-weight: 800; letter-spacing: .01em; }
.brand-text small { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; white-space: nowrap; }
.brand-text strong { white-space: nowrap; }
.nav-links a { white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; color: #fff; text-decoration: none; font-weight: 600; font-size: .93rem;
  padding: 10px 13px; border-radius: 999px; opacity: .86; transition: opacity .2s, background .2s;
}
.nav-links a:hover { opacity: 1; background: rgba(255,255,255,.12); }
.nav-links a[aria-current="page"] { opacity: 1; background: rgba(255,255,255,.14); box-shadow: inset 0 -2px 0 var(--gold); }
.nav-links .nav-home { display: block; }
.nav-cta { margin-left: 10px; white-space: nowrap; }
.nav-extra { display: none; }

.nav-toggle {
  display: none; position: relative; z-index: 2; align-items: center; gap: 12px; height: 48px; padding: 0 8px 0 18px;
  border: 1.5px solid rgba(244,180,0,.55); border-radius: 999px; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); -webkit-tap-highlight-color: transparent;
  transition: background .3s, border-color .3s, color .3s, transform .2s var(--ease), box-shadow .3s;
}
.nav-toggle:hover { border-color: var(--gold); box-shadow: 0 8px 22px -8px rgba(244,180,0,.55), inset 0 1px 0 rgba(255,255,255,.2); }
.nav-toggle:active { transform: scale(.95); }
.nt-label { position: relative; display: grid; font: 800 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.nt-label > span { grid-area: 1 / 1; transition: opacity .25s, transform .35s var(--ease); }
.nt-close { opacity: 0; transform: translateY(8px); }
.nt-icon { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); flex: none; transition: background .3s, transform .45s var(--ease); }
.nt-icon i { position: absolute; right: 9px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .4s var(--ease), width .3s var(--ease), opacity .2s, top .3s var(--ease); }
.nt-icon i:nth-child(1) { top: 11px; width: 16px; }
.nt-icon i:nth-child(2) { top: 16px; width: 11px; }
.nt-icon i:nth-child(3) { top: 21px; width: 14px; }
.nav-toggle:hover .nt-icon i { width: 16px; }
.nav-open .nav-toggle { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.nav-open .nt-open { opacity: 0; transform: translateY(-8px); }
.nav-open .nt-close { opacity: 1; transform: none; }
.nav-open .nt-icon { background: var(--navy); transform: rotate(180deg); }
.nav-open .nt-icon i { background: var(--gold); width: 16px; top: 16px; }
.nav-open .nt-icon i:nth-child(1) { transform: rotate(45deg); }
.nav-open .nt-icon i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-open .nt-icon i:nth-child(3) { transform: rotate(-45deg); }
@media (max-width: 400px) {
  .nav-toggle { padding: 0 6px 0 14px; gap: 10px; height: 46px; }
  .nt-label { font-size: .66rem; letter-spacing: .14em; }
}
@media (max-width: 350px) {
  .nt-label { display: none; }
  .nav-toggle { padding: 0 5px; }
}

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 28px;
    background:
      radial-gradient(ellipse at 100% 0%, rgba(200,16,46,.35), transparent 55%),
      radial-gradient(ellipse at 0% 100%, rgba(26,63,176,.55), transparent 60%),
      var(--navy);
    overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s; }
  .nav-open { overflow: hidden; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; counter-reset: nav; }
  .nav-links .nav-home { display: block; }
  .nav-links > li { counter-increment: nav; opacity: 0; transform: translateX(16px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
  .nav-open .nav-links > li { opacity: 1; transform: none; }
  .nav-open .nav-links > li:nth-child(2) { transition-delay: .03s; } .nav-open .nav-links > li:nth-child(3) { transition-delay: .06s; }
  .nav-open .nav-links > li:nth-child(4) { transition-delay: .09s; } .nav-open .nav-links > li:nth-child(5) { transition-delay: .12s; }
  .nav-open .nav-links > li:nth-child(6) { transition-delay: .15s; } .nav-open .nav-links > li:nth-child(7) { transition-delay: .18s; }
  .nav-open .nav-links > li:nth-child(8) { transition-delay: .21s; }
  .nav-links a {
    display: flex; align-items: baseline; gap: 16px; opacity: 1;
    font-family: var(--serif); font-size: 1.55rem; font-weight: 600; padding: 13px 4px;
    border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-links > li > a::before { content: counter(nav, decimal-leading-zero); font: 700 .75rem var(--sans); color: var(--gold); letter-spacing: .1em; min-width: 22px; }
  .nav-links a:hover { background: none; color: var(--gold); }
  .nav-links a[aria-current="page"] { background: none; box-shadow: none; color: var(--gold); }
  .nav-cta { margin: 24px 0 0; width: 100%; padding: 16px; font-size: 1rem; }
  .nav-extra { display: grid; gap: 10px; margin-top: 22px; color: rgba(255,255,255,.75); font-size: .92rem; }
  .nav-extra a { color: #fff; font-weight: 700; text-decoration: none; }
  .nav-extra .nav-extra-row { display: flex; gap: 10px; }
  .nav-extra .btn { flex: 1; padding: 13px 10px; font-size: .9rem; }
  .site-header::before { opacity: 1; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 60px) 0 48px; isolation: isolate; overflow: hidden;
  background: var(--navy);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; animation: kenburns 22s ease-out both; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(26,63,176,.35), transparent 60%),
    linear-gradient(180deg, rgba(11,27,63,.55) 0%, rgba(11,27,63,.45) 40%, rgba(11,27,63,.92) 82%, var(--navy) 100%);
}
.hero-stripes {
  position: absolute; right: -6vw; top: 12%; width: 38vw; max-width: 520px; aspect-ratio: 1; z-index: -1;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.14) 0 14px, transparent 14px 34px);
  -webkit-mask: radial-gradient(circle, #000 55%, transparent 71%);
          mask: radial-gradient(circle, #000 55%, transparent 71%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes drift { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(30px) rotate(4deg); } }

.hero-content { max-width: 1200px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; letter-spacing: .02em;
  backdrop-filter: blur(6px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(244,180,0,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(244,180,0,0); } 100% { box-shadow: 0 0 0 0 rgba(244,180,0,0); } }

.hero h1 {
  font-size: clamp(2.8rem, 8.2vw, 6.6rem); font-weight: 800; line-height: .98; letter-spacing: -.025em;
  margin: 22px 0 22px; max-width: 14ch; text-wrap: balance;
}
.hero h1 em { color: #fff; font-weight: 400; }
.hero-verse { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 40ch; opacity: .92; }
.hero-verse cite { display: block; font-family: var(--sans); font-style: normal; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-times {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(40px, 7vw, 72px);
  background: rgba(255,255,255,.18); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.time-card { background: rgba(11,27,63,.62); padding: 22px 24px; display: flex; flex-direction: column; gap: 2px; }
.time-day { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.time-hour { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1.2; }
.time-name { font-size: .9rem; opacity: .82; }
.time-card--live { background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%); }
.time-card--live .time-day { color: #fff; opacity: .85; }

/* ---------- About ---------- */
.about { background: var(--ivory); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about-visual { position: relative; }
.about-visual::before {
  content: ""; position: absolute; inset: 6% 6% 6% 6%; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,180,0,.35), transparent 65%); filter: blur(30px); z-index: 0;
}
.about-logo { position: relative; width: 100%; max-width: 520px; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(11,27,63,.28)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-1deg); } }
.about-badge {
  position: absolute; right: 0; top: 4%; background: var(--navy); color: #fff;
  border-radius: 18px; padding: 16px 22px; box-shadow: var(--shadow); text-align: center; border: 3px solid var(--gold);
}
.about-badge strong { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--gold); }
.about-badge span { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 20px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.pillar h3 { margin: 12px 0 6px; font-size: 1.2rem; }
.pillar p { font-size: .92rem; color: var(--muted); margin: 0; }
.pillar-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); }
.pillar:nth-child(1) .pillar-icon { background: #fde8eb; color: var(--red); }
.pillar:nth-child(2) .pillar-icon { background: #fff4d1; color: #a87700; }
.pillar:nth-child(3) .pillar-icon { background: var(--blue-soft); color: var(--blue); }
.pillar-icon svg, .vi svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.stat { padding: 28px 20px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--navy); font-weight: 800; }
.stat:nth-child(1) strong { color: var(--red); }
.stat:nth-child(2) strong { color: #b88400; }
.stat:nth-child(3) strong { color: var(--blue); }
.stat span:not([data-count]) { display: block; margin-top: 8px; color: var(--muted); font-size: .92rem; }

/* ---------- Scripture band ---------- */
.scripture-band {
  position: relative; color: #fff; padding: clamp(80px, 11vw, 140px) 0; text-align: center;
  background:
    linear-gradient(180deg, rgba(11,27,63,.86), rgba(11,27,63,.86)),
    repeating-linear-gradient(180deg, var(--blue) 0 36px, #f3f5fb 36px 60px);
  overflow: hidden;
}
.scripture-band blockquote { margin: 0 auto; max-width: 900px; }
.scripture-band p { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.3rem); line-height: 1.35; font-weight: 400; font-style: italic; }
.scripture-band cite { font-style: normal; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: .82rem; color: var(--gold); }
.scripture-band::before, .scripture-band::after {
  content: "“"; position: absolute; font-family: var(--serif); font-size: 26rem; line-height: 1; color: rgba(244,180,0,.12);
  top: -60px; left: 3%;
}
.scripture-band::after { content: "”"; top: auto; left: auto; bottom: -220px; right: 3%; }

/* ---------- Leadership ---------- */
.leadership { background: var(--paper); }
.leader-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.leader-photo { position: relative; border-radius: 28px; overflow: visible; }
.leader-photo img { border-radius: 28px; aspect-ratio: 4/5; object-fit: cover; object-position: 70% 40%; width: 100%; box-shadow: var(--shadow); }
.leader-photo::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: 32px; z-index: -1;
  background: repeating-linear-gradient(180deg, var(--blue) 0 14px, transparent 14px 28px); opacity: .18;
}
.leader-tag {
  position: absolute; left: -12px; bottom: 28px; background: var(--red); color: #fff; padding: 14px 22px; border-radius: 14px;
  box-shadow: var(--shadow-sm); max-width: 85%;
}
.leader-tag span { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--gold-soft); }
.leader-tag strong { font-family: var(--serif); font-size: 1.2rem; }

.pull-quote { margin: 30px 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--gold); }
.pull-quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; font-style: italic; color: var(--navy); }
.pull-quote figcaption { margin-top: 8px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--muted); }

.clergy-strip { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; }
.clergy-strip img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.clergy-strip p { margin: 0; font-size: .95rem; color: var(--muted); }
.clergy-strip strong { color: var(--ink); }

/* ---------- Ministries ---------- */
.ministries { background: linear-gradient(180deg, var(--ivory), #f3efe4); }
.ministry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ministry-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ministry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ministry-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform .8s var(--ease); }
.ministry-card:hover img { transform: scale(1.05); }
.ministry-body { padding: 22px 24px 26px; }
.ministry-body p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }
.ministry-card--feature { grid-column: span 2; flex-direction: row; background: var(--navy); color: #fff; border: 0; }
.ministry-card--feature img { width: 52%; aspect-ratio: auto; height: 100%; min-height: 320px; }
.ministry-card--feature .ministry-body { padding: 36px; align-self: center; }
.ministry-card--feature h3 { font-size: 1.9rem; }
.ministry-card--feature p { color: rgba(255,255,255,.8); margin-bottom: 18px; }
.ministry-card--cta {
  grid-column: span 2; border: 0; color: #fff; justify-content: center;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.07) 0 12px, transparent 12px 30px),
    linear-gradient(135deg, var(--blue), var(--navy));
}
.ministry-card--cta .ministry-body { padding: clamp(28px, 4vw, 44px); }
.ministry-card--cta h3 { font-size: 1.9rem; }
.ministry-card--cta p { color: rgba(255,255,255,.82); max-width: 46ch; margin-bottom: 22px; }
.tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; background: var(--gold); color: var(--navy); margin-bottom: 12px; }
.tag-red { background: #fde8eb; color: var(--red); }
.tag-blue { background: var(--blue-soft); color: var(--blue); }
.tag-gold { background: #fff4d1; color: #8a6200; }
.text-link { color: var(--gold); font-weight: 800; text-decoration: none; border-bottom: 2px solid transparent; transition: border-color .2s; }
.text-link:hover { border-color: currentColor; }

/* ---------- Discipleship ---------- */
.discipleship {
  color: #fff; overflow: hidden;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(200,16,46,.45), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(26,63,176,.6), transparent 55%),
    var(--navy);
}
.disc-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.discipleship .lead { color: rgba(255,255,255,.85); }
.disc-facts { display: grid; gap: 0; margin: 28px 0; border-top: 1px solid rgba(255,255,255,.15); }
.disc-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.disc-facts dt { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.disc-facts dd { margin: 0; font-weight: 600; }
.bring { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); padding: 22px 24px; }
.bring h3 { font-size: 1.1rem; color: var(--gold); margin-bottom: 12px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.checklist li { position: relative; padding-left: 28px; font-size: .96rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); }
.checklist li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 8px; height: 5px; border-left: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(-45deg); }
.disc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.flyer-btn { position: relative; display: block; border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 18px; transform: rotate(2.5deg); transition: transform .5s var(--ease); width: 100%; }
.flyer-btn:hover { transform: rotate(0) scale(1.02); }
.flyer-btn img { border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); width: 100%; }
.flyer-zoom { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); background: rgba(11,27,63,.85); color: #fff; font: 700 .85rem var(--sans); padding: 10px 16px; border-radius: 999px; white-space: nowrap; }

/* ---------- Timeline ---------- */
.events { background: var(--paper); }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 150px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--red), var(--gold), var(--blue)); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; column-gap: 44px; padding: 0 0 38px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 143px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--red); }
.timeline time { grid-row: span 2; font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: right; padding-right: 24px; padding-top: 2px; }
.timeline h3 { margin-bottom: 6px; }
.timeline p { color: var(--muted); margin: 0; }
.timeline li.is-next::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(244,180,0,.25); }
.timeline li.is-next h3 { color: var(--blue); }

/* ---------- Gallery ---------- */
.gallery { background: var(--ivory); }
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry button {
  display: block; width: 100%; margin: 0 0 18px; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: 16px; overflow: hidden; position: relative; break-inside: avoid;
}
.masonry img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .4s; }
.masonry button::after {
  content: attr(data-caption); position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; text-align: left;
  color: #fff; font: 600 .92rem/1.3 var(--sans); background: linear-gradient(transparent, rgba(11,27,63,.85));
  opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s var(--ease);
}
.masonry button:hover img { transform: scale(1.05); }
.masonry button:hover::after, .masonry button:focus-visible::after { opacity: 1; transform: none; }

/* ---------- Give ---------- */
.give { background: linear-gradient(180deg, var(--ivory) 0 50%, var(--paper) 50%); padding-top: 0; }
.give-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.give-card {
  position: relative; overflow: hidden; color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 60px);
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 60%, #6d0718 100%);
  box-shadow: var(--shadow);
}
.give-card::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255,255,255,.1) 0 2px, transparent 2px 18px);
}
.give-card h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.give-card p { color: rgba(255,255,255,.88); max-width: 52ch; }
.give-verse { font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.give-verse cite { font-family: var(--sans); font-style: normal; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-left: 6px; }
.give-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; position: relative; z-index: 1; }

.prayer-card { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.prayer-card h3 { font-size: 1.7rem; }
.prayer-card > p { color: var(--muted); }
form label { display: block; margin-bottom: 16px; }
form label span { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
input, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--ivory);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,63,176,.14); }
textarea { resize: vertical; }
form .btn { width: 100%; }
.form-note { font-size: .88rem; margin: 12px 0 0; min-height: 1.4em; color: var(--muted); }
.form-note.error { color: var(--red); }

/* ---------- Visit ---------- */
.visit { background: var(--paper); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.visit-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 20px; }
.visit-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.visit-list a { color: var(--blue); font-weight: 700; text-decoration: none; }
.vi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.map-wrap { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.4; border: 6px solid var(--paper); outline: 1px solid var(--line); background: var(--blue-soft); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); position: relative; padding-bottom: 28px; }
.footer-stripes { height: 10px; background: linear-gradient(90deg, var(--red) 0 33.33%, var(--gold) 33.33% 66.66%, var(--blue) 66.66%); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding: 64px 0 40px; }
.footer-brand img { width: 84px; height: 84px; object-fit: contain; margin-bottom: 14px; }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 1.1rem; }
.site-footer h4 { color: var(--gold); font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(6, 12, 30, .94);
  display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 24px 8px;
  animation: fade .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: calc(100vh - 48px); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox figcaption { color: #fff; font-weight: 600; text-align: center; }
.lb-close, .lb-nav { background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s; justify-self: center; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-close { position: absolute; top: 16px; right: 16px; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-times { grid-template-columns: repeat(2, 1fr); }
  .ministry-grid { grid-template-columns: repeat(2, 1fr); }
  .ministry-card--cta { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .about-grid, .leader-grid, .disc-grid, .give-grid, .visit-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; margin: 0 auto; }
  .leader-photo { max-width: 520px; margin: 0 auto 20px; }
  .disc-flyer { max-width: 440px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .ministry-card--feature { grid-column: span 2; }
  .give { background: var(--paper); padding-top: clamp(72px, 10vw, 128px); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-text small { display: none; }
  .brand img { width: 44px; height: 44px; }
  .hero { padding-bottom: 28px; }
  .hero-times { grid-template-columns: 1fr 1fr; }
  .time-card { padding: 16px; }
  .time-hour { font-size: 1.45rem; }
  .time-name { font-size: .8rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .pillars { grid-template-columns: 1fr; }
  .ministry-grid { grid-template-columns: 1fr; }
  .ministry-card--feature, .ministry-card--cta { grid-column: auto; }
  .ministry-card--feature { flex-direction: column; }
  .ministry-card--feature img { width: 100%; min-height: 0; aspect-ratio: 16/10; }
  .ministry-card--feature .ministry-body { padding: 24px; }
  .checklist { grid-template-columns: 1fr; }
  .disc-facts div { grid-template-columns: 1fr; gap: 4px; }
  .clergy-strip { grid-template-columns: 1fr; }
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; padding-left: 36px; }
  .timeline li::before { left: 0; }
  .timeline time { grid-row: auto; text-align: left; padding: 0 0 4px; }
  .leader-tag { left: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .lightbox { grid-template-columns: 1fr; }
  .lb-nav { position: absolute; bottom: 20px; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .lightbox figure { grid-column: 1; }
  .lightbox img { max-height: calc(100vh - 180px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy);
  padding: calc(var(--header-h) + clamp(64px, 10vw, 120px)) 0 clamp(64px, 9vw, 110px);
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 20s ease-out both; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(26,63,176,.4), transparent 60%),
    linear-gradient(90deg, rgba(11,27,63,.95) 0%, rgba(11,27,63,.8) 45%, rgba(11,27,63,.45) 100%);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: linear-gradient(90deg, var(--red) 0 33.33%, var(--gold) 33.33% 66.66%, var(--blue) 66.66%);
}
.page-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; letter-spacing: -.02em; margin: 14px 0 16px; max-width: 16ch; }
.page-hero h1 em { color: var(--gold); font-weight: 400; }
.page-hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 56ch; opacity: .9; margin: 0; }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-size: .85rem; font-weight: 600; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.bg-paper { background: var(--paper); }
.bg-ivory { background: var(--ivory); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy .lead, .bg-navy p { color: rgba(255,255,255,.82); }
.center { text-align: center; }
.narrow { max-width: 780px; margin-inline: auto; }
.prose p { font-size: 1.06rem; }
.prose h2 { margin-top: .2em; }
.muted { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split img.rounded, .rounded { border-radius: 24px; box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.ratio-4-5 { aspect-ratio: 4/5; }
.ratio-4-3 { aspect-ratio: 4/3; }

/* Card grids */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.card h3 { margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card .num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; font-weight: 800; color: var(--gold); }
.card-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card:nth-child(3n+1) .card-icon { background: #fde8eb; color: var(--red); }
.card:nth-child(3n+2) .card-icon { background: #fff4d1; color: #a87700; }
.bg-navy .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.bg-navy .card p { color: rgba(255,255,255,.75); }

/* Mission / vision */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv-card { border-radius: 26px; padding: clamp(28px, 4vw, 48px); color: #fff; position: relative; overflow: hidden; }
.mv-card--red { background: linear-gradient(135deg, var(--red), var(--red-deep)); }
.mv-card--blue { background: linear-gradient(135deg, var(--blue), var(--navy)); }
.mv-card h3 { font-size: .8rem; font-family: var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }
.mv-card p { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.3; margin: 0; }

/* Beliefs */
.beliefs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; counter-reset: b; }
.beliefs li { counter-increment: b; padding: 22px 0 22px 64px; border-top: 1px solid var(--line); position: relative; }
.beliefs li::before { content: counter(b, decimal-leading-zero); position: absolute; left: 0; top: 20px; font-family: var(--serif); font-size: 1.8rem; font-weight: 800; color: var(--red); }
.beliefs h3 { font-size: 1.2rem; margin-bottom: 6px; }
.beliefs p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Emblem explainer */
.emblem-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.emblem-points li { display: grid; grid-template-columns: 18px 1fr; gap: 14px; align-items: start; }
.emblem-points .sw { width: 18px; height: 18px; border-radius: 50%; margin-top: 5px; box-shadow: 0 0 0 3px rgba(0,0,0,.05); }

/* Team */
.role-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.role { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.role .card-icon { width: 56px; height: 56px; }
.role h3 { margin: 2px 0 6px; font-size: 1.2rem; }
.role p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Photo duo */
.photo-duo { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.photo-duo img { border-radius: 20px; width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow-sm); }

/* Detailed ministries */
.min-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.min-row:last-child { border-bottom: 0; }
.min-row:nth-child(even) .min-media { order: 2; }
.min-media img { border-radius: 24px; aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.min-row h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.min-row ul { padding-left: 0; list-style: none; display: grid; gap: 8px; margin: 18px 0 24px; }
.min-row ul li { padding-left: 26px; position: relative; }
.min-row ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 2px; background: var(--red); }

/* Curriculum */
.tracks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: t; }
.track { background: var(--paper); border-radius: 18px; padding: 24px 20px; border-top: 5px solid var(--blue); counter-increment: t; box-shadow: var(--shadow-sm); }
.track:nth-child(2) { border-color: var(--red); } .track:nth-child(3) { border-color: var(--gold); }
.track:nth-child(4) { border-color: var(--navy); } .track:nth-child(5) { border-color: var(--red-deep); }
.track::before { content: "Module " counter(t); display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.track h3 { font-size: 1.15rem; margin-bottom: 8px; }
.track p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 58px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-weight: 800; font-family: var(--serif); font-size: 1.2rem; }
.steps li::after { content: ""; position: absolute; top: 22px; left: 56px; right: -10px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 6px, transparent 6px 12px); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { font-size: .94rem; margin: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-size: 1.2rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--gold); color: var(--navy); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Weekly schedule */
.week { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.day-card { border-radius: 24px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.day-card header { padding: 22px 26px; color: #fff; background: var(--blue); }
.day-card:nth-child(1) header { background: var(--red); }
.day-card:nth-child(3) header { background: var(--navy); }
.day-card header span { font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.day-card header strong { display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1.1; }
.day-card .day-body { padding: 22px 26px 26px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.day-card h3 { margin: 0; }
.day-card p { color: var(--muted); margin: 0; font-size: .96rem; flex: 1; }
.day-card .text-link { color: var(--blue); }

/* Annual calendar */
.annual { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.month { border-radius: 20px; padding: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.month time { font-family: var(--serif); font-size: 1.6rem; font-weight: 800; color: var(--gold); display: block; }
.month h3 { font-size: 1.1rem; margin: 8px 0 6px; color: #fff; }
.month p { font-size: .9rem; margin: 0; }

/* Gallery filters */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filters button {
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer;
  font: 700 .9rem var(--sans); padding: 10px 18px; border-radius: 999px; transition: all .2s;
}
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.masonry button[hidden] { display: none; }

/* Give */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.way { border-radius: 24px; padding: 32px 28px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.way h3 { margin: 0; }
.way p { color: var(--muted); margin: 0; flex: 1; }
.way .btn { align-self: flex-start; }
.impact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.impact .card { text-align: left; }

/* Forms */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm); color: var(--ink); }
.form-card h3 { font-size: 1.7rem; }
.form-card > p { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--ivory); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1b3f' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,63,176,.14); }

/* Contact tiles */
.contact-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: -60px; position: relative; z-index: 2; }
.contact-tile { background: var(--paper); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.contact-tile .vi { width: 52px; height: 52px; }
.contact-tile h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.contact-tile p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-tile a { color: var(--blue); font-weight: 700; text-decoration: none; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(36px, 6vw, 72px); color: #fff; text-align: center;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.06) 0 14px, transparent 14px 34px), linear-gradient(135deg, var(--blue), var(--navy)); }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 56ch; margin: 0 auto 26px; opacity: .88; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.section-more { text-align: center; margin-top: 40px; }
.btn-outline { --bg: transparent; --fg: var(--navy); border-color: var(--navy); }
.btn-outline:hover { --bg: var(--navy); --fg: #fff; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; color: #fff; padding: 120px 16px 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(26,63,176,.6), transparent 60%), var(--navy); }
.notfound strong { font-family: var(--serif); font-size: clamp(6rem, 20vw, 12rem); line-height: 1; color: var(--gold); display: block; }

/* Bishops in America */
.bishops { display: grid; gap: 24px; max-width: 920px; margin-inline: auto; }
.bishop-card {
  display: grid; grid-template-columns: 340px 1fr; align-items: center; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
}
.bishop-photo { position: relative; height: 100%; }
.bishop-photo img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 20%; }
.bishop-photo::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(var(--red), var(--gold), var(--blue)); }
.bishop-info { padding: clamp(28px, 4vw, 48px); }
.bishop-role { font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin: 6px 0 4px; }
.bishop-info h3 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 12px; }
.bishop-info p:last-child { color: var(--muted); margin: 0; }
@media (max-width: 720px) {
  .bishop-card { grid-template-columns: 1fr; }
  .bishop-photo::after { top: auto; left: 0; width: auto; height: 6px; background: linear-gradient(90deg, var(--red), var(--gold), var(--blue)); }
}

/* Video feature */
.video-section {
  color: #fff; overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(200,16,46,.4), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(26,63,176,.55), transparent 55%),
    var(--navy);
}
.video-section .lead { color: rgba(255,255,255,.86); }
.video-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.video-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.video-meta span { font-size: .8rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.video-meta span:first-child { background: var(--red); border-color: var(--red); }
.phone-frame {
  position: relative; width: min(340px, 100%); margin-inline: auto; aspect-ratio: 9 / 16;
  border-radius: 38px; padding: 10px; background: #070f24;
  box-shadow: 0 0 0 2px rgba(255,255,255,.12), 0 50px 90px -30px rgba(0,0,0,.8), 0 0 80px -20px rgba(244,180,0,.35);
  transform: rotate(-2deg); transition: transform .5s var(--ease);
}
.phone-frame:hover, .phone-frame.is-playing { transform: none; }
.phone-frame video { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; background: #000; display: block; }
.play-btn {
  position: absolute; left: 50%; top: 50%; width: 86px; height: 86px; margin: -43px 0 0 -43px; border: 0; border-radius: 50%;
  background: var(--gold); cursor: pointer; box-shadow: 0 0 0 0 rgba(244,180,0,.6); animation: ring 2.2s infinite;
  transition: transform .25s var(--ease), opacity .25s;
}
.play-btn:hover { transform: scale(1.08); }
.play-btn span { position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 17px 0 17px 28px; border-color: transparent transparent transparent var(--navy); }
.phone-frame.is-playing .play-btn, html:not(.js) .play-btn { opacity: 0; pointer-events: none; }
@keyframes ring { 70% { box-shadow: 0 0 0 22px rgba(244,180,0,0); } 100% { box-shadow: 0 0 0 0 rgba(244,180,0,0); } }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } .phone-frame { transform: none; } }

/* Featured message (landscape video) */
.message-card { display: grid; grid-template-columns: 1.55fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.wide-frame { position: relative; align-self: stretch; display: flex; align-items: center; background:
  radial-gradient(ellipse at 50% 50%, rgba(26,63,176,.45), transparent 70%), var(--navy); }
.wide-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; display: block; background: #000; }
.wide-frame.is-playing .play-btn { opacity: 0; pointer-events: none; }
.message-info { padding: clamp(24px, 3vw, 36px); border-left: 6px solid var(--red); }
.message-info h3 { font-size: 1.35rem; line-height: 1.25; margin: 6px 0 16px; }
.message-info dl { margin: 0; display: grid; gap: 0; }
.message-info dl div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.message-info dt { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); padding-top: 3px; }
.message-info dd { margin: 0; font-weight: 600; }
.message-verse { margin: 16px 0 0; font-family: var(--serif); font-style: italic; color: var(--navy); }
.message-verse cite { font-family: var(--sans); font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.section-more .btn + .btn { margin-left: 8px; }
@media (max-width: 960px) {
  .message-card { grid-template-columns: 1fr; }
  .message-info { border-left: 0; border-top: 6px solid var(--red); }
}
@media (max-width: 640px) { .section-more .btn { margin: 6px 4px !important; } }

@media (max-width: 1080px) {
  .tracks { grid-template-columns: repeat(3, 1fr); }
  .annual, .impact, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 900px) {
  .split, .split--wide-left, .mv, .min-row, .role-list { grid-template-columns: 1fr; }
  .min-row:nth-child(even) .min-media { order: 0; }
  .card-grid, .week, .ways, .contact-tiles { grid-template-columns: 1fr 1fr; }
  .beliefs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .card-grid, .card-grid--2, .card-grid--4, .week, .ways, .contact-tiles, .annual, .impact, .tracks, .steps, .form-row, .photo-duo { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .contact-tiles { margin-top: -40px; }
  .page-hero h1 { max-width: none; }
}

/* ==========================================================================
   Church document content (dropdown menu, departments, institutions, honors)
   ========================================================================== */
/* Dropdown menu */
.nav-links .has-sub { position: relative; }
.nav-links .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .7; }
.has-sub::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px; z-index: 5;
  background: var(--navy); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.65);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility 0s linear .2s; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.nav-links .sub a { border-radius: 10px; padding: 10px 14px; font-size: .92rem; }
.nav-links .sub a:hover { background: rgba(255,255,255,.1); color: var(--gold); }
.nav-links .sub a[aria-current="page"] { box-shadow: none; color: var(--gold); background: rgba(255,255,255,.08); }
@media (max-width: 1180px) {
  .sub { position: static; opacity: 1; visibility: inherit; transform: none; transition: none; background: none; border: 0; box-shadow: none; padding: 0 0 10px 38px; min-width: 0; }
  .has-sub::before, .nav-links .has-sub > a::after { display: none; }
  .nav-links .sub a { font-family: var(--sans); font-size: 1rem; font-weight: 600; padding: 9px 4px; border-bottom: 0; opacity: .78; }
  .nav-links .sub a::before { content: none; }
}

.hero-tag { font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 56ch; opacity: .92; margin: -4px 0 20px; }

/* Chips & lists */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
.chips li { font-size: .85rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--navy); }
.bg-navy .chips li, .on-dark .chips li { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.14); }
.dash-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 9px; }
.dash-list li { padding-left: 26px; position: relative; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 12px; height: 2px; background: var(--red); }
.bg-navy .dash-list li::before { background: var(--gold); }
.dash-list.two { grid-template-columns: 1fr 1fr; gap: 9px 28px; }
.note { font-size: .86rem; color: var(--muted); border-left: 3px solid var(--gold); padding: 6px 0 6px 14px; margin: 18px 0 0; font-style: italic; }
.bg-navy .note { color: rgba(255,255,255,.7); }

/* Calling band */
.calling-lines { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1060px; margin: 0 auto 18px; }
.calling-lines span { font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 2.1rem); line-height: 1.2; padding: 8px 18px; border-left: 1px solid rgba(255,255,255,.22); }
.calling-lines span:first-child { border-left: 0; }
.calling-lines em { color: var(--gold); }

/* Values */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.value { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 18px; padding: 20px 18px; }
.value:nth-child(3n+1) { border-top-color: var(--red); }
.value:nth-child(3n+2) { border-top-color: var(--gold); }
.value h3 { font-size: 1.1rem; margin: 0 0 6px; }
.value p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Manifesto */
.manifesto { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; list-style: none; padding: 0; margin: 28px auto; max-width: 980px; text-align: left; }
.manifesto li { font-family: var(--serif); font-size: clamp(1.15rem, 1.9vw, 1.5rem); font-weight: 600; }
.manifesto li::before { content: "✦"; color: var(--gold); margin-right: 10px; font-size: .8em; }
.tagline-big { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; margin: 10px 0 6px; }

/* Co-founder & House of Bishops */
.cofounder { display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: center; background: var(--ivory); border: 1px solid var(--line); border-radius: 22px; padding: 24px; margin-top: 28px; }
.monogram { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 2.3rem; font-weight: 800;
  background: linear-gradient(135deg, var(--red), var(--red-deep)); box-shadow: 0 0 0 5px var(--paper), 0 0 0 7px var(--gold); }
.cofounder h3 { margin: 4px 0 6px; font-size: 1.35rem; }
.cofounder p { margin: 0; color: var(--muted); font-size: .96rem; }
.ladder { list-style: none; padding: 0; margin: 0; counter-reset: l; display: grid; gap: 8px; }
.ladder li { counter-increment: l; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 12px; font-weight: 700; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.ladder li::before { content: counter(l, decimal-leading-zero); font-family: var(--serif); color: var(--gold); min-width: 26px; }

/* Departments */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 20px; }
.jump a { border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font: 700 .9rem var(--sans); padding: 10px 18px; border-radius: 999px; transition: all .2s; }
.jump a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.dept-group { display: grid; grid-template-columns: 330px 1fr; gap: clamp(28px, 4vw, 48px); padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--line); }
.dept-head { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.dept-head img { border-radius: 20px; aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.dept-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.dept-head p { color: var(--muted); }
.dept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.dept { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; transition: box-shadow .3s, transform .3s var(--ease); }
.dept:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.dept .num { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.dept h3 { font-size: 1.15rem; margin: 6px 0 8px; }
.dept p { font-size: .93rem; color: var(--muted); margin: 0; }
.dept .chips li { font-size: .78rem; padding: 5px 10px; }

/* Institutions & programs */
.inst { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.inst-num { font-family: var(--serif); font-size: 3rem; font-weight: 800; color: var(--gold); line-height: 1; display: block; margin-bottom: 8px; }
.inst h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.panel + .panel { margin-top: 16px; }
.panel h3 { font: 800 .76rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 0 0 4px; }
.bg-navy .panel { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.bg-navy .panel h3 { color: var(--gold); }
.big-motto { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); font-style: italic; color: var(--navy); line-height: 1.3; }
.programs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.program { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.program .num { font: 800 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.program h3 { font-size: 1.35rem; margin: 6px 0 10px; }
.program > p { color: var(--muted); margin: 0; font-size: .96rem; }
.bg-navy .program { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.bg-navy .program .num { color: var(--gold); }
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; }

/* Order of Knights & Dames */
.ranks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; counter-reset: r; }
.ranks li { counter-increment: r; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 14px; padding: 11px 16px; border-radius: 12px; color: #fff; font-weight: 700;
  background: linear-gradient(90deg, rgba(244,180,0,.2), rgba(244,180,0,.02)); border: 1px solid rgba(244,180,0,.3); }
.ranks li::before { content: counter(r); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font: 800 .95rem var(--serif); }

/* Honors & awards */
.medal { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--navy);
  background: radial-gradient(circle at 35% 30%, #fff3c4, #f4b400 45%, #a87700 100%); box-shadow: inset 0 -4px 8px rgba(0,0,0,.25), 0 8px 20px -6px rgba(0,0,0,.45); }
.medal svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.grand-cross { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: 26px; margin-bottom: 22px; color: #fff;
  background: radial-gradient(ellipse at 90% 0%, rgba(244,180,0,.35), transparent 60%), linear-gradient(135deg, #0b1b3f, #1a1405 70%); border: 1px solid rgba(244,180,0,.5); box-shadow: 0 30px 70px -30px rgba(107,78,0,.8); }
.grand-cross .medal { width: 120px; height: 120px; }
.grand-cross .medal svg { width: 58px; height: 58px; }
.grand-cross span { font: 800 .76rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.grand-cross h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 8px; }
.grand-cross p { margin: 0; color: rgba(255,255,255,.85); }
.awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.award { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px; transition: transform .3s var(--ease), box-shadow .3s; }
.award:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.award .medal { width: 52px; height: 52px; }
.award .medal svg { width: 24px; height: 24px; }
.award:nth-child(3n+2) .medal { background: radial-gradient(circle at 35% 30%, #fff, #c9d2e3 45%, #7d8aa3); }
.award:nth-child(3n) .medal { background: radial-gradient(circle at 35% 30%, #f8dcc0, #c47a3a 50%, #7a4418); }
.award h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.award p { font-size: .88rem; color: var(--muted); margin: 0; }

/* Membership steps (6) & resources */
.steps--light { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
.steps--light li::after { background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.steps--light li:nth-child(3n)::after { display: none; }
.steps--light p { color: var(--muted); }
.resources { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.resource { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: box-shadow .3s, transform .3s var(--ease); }
.resource:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.resource .card-icon { flex: none; }
.resource strong { display: block; }
.resource span { font-size: .84rem; color: var(--blue); font-weight: 700; }
.join-steps { list-style: none; padding: 0; margin: 18px 0 0; counter-reset: j; display: grid; gap: 10px; }
.join-steps li { counter-increment: j; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: center; padding: 12px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.join-steps li::before { content: counter(j); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font: 800 .95rem var(--serif); }

/* Contact extras */
.contact-tiles--4 { grid-template-columns: repeat(4, 1fr); }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-size: .85rem; font-weight: 700; color: #fff; text-decoration: none; transition: background .2s; }
.social a:hover { background: rgba(255,255,255,.1); }
.social--light a { border-color: var(--line); color: var(--navy); background: var(--paper); }
.social--light a:hover { background: var(--blue-soft); }
.site-footer .footer-tag { font-family: var(--serif); font-style: italic; color: var(--gold-soft); margin-top: 10px; }

/* Home: family of ministries */
.family-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.family-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; min-height: 340px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; }
.family-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.family-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,27,63,.05) 20%, rgba(11,27,63,.92) 85%); }
.family-card:hover img { transform: scale(1.06); }
.family-card div { padding: 24px; }
.family-card span { font: 800 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.family-card h3 { font-size: 1.4rem; margin: 6px 0 6px; }
.family-card p { margin: 0; font-size: .92rem; opacity: .85; }

@media (max-width: 1080px) {
  .values { grid-template-columns: repeat(3, 1fr); }
  .awards, .family-grid, .contact-tiles--4 { grid-template-columns: repeat(2, 1fr); }
  .dept-group { grid-template-columns: 1fr; }
  .dept-head { position: static; display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; }
  .dept-head img { margin: 0; }
}
@media (max-width: 900px) {
  .inst, .programs { grid-template-columns: 1fr; }
  .calling-lines, .manifesto { grid-template-columns: 1fr 1fr; }
  .calling-lines span:nth-child(3) { border-left: 0; }
  .partners { grid-template-columns: 1fr; }
  .steps--light { grid-template-columns: 1fr 1fr; }
  .steps--light li::after { display: none; }
}
@media (max-width: 640px) {
  .values, .awards, .family-grid, .contact-tiles--4, .dept-grid, .dash-list.two, .steps--light { grid-template-columns: 1fr; }
  .dept-head { grid-template-columns: 1fr; }
  .grand-cross { grid-template-columns: 1fr; text-align: center; }
  .grand-cross .medal { margin: 0 auto; }
  .cofounder { grid-template-columns: 1fr; text-align: center; }
  .monogram { margin: 0 auto; }
  .calling-lines span { border-left: 0; padding: 6px 8px; }
}
.bg-navy .program > p, .bg-navy .program p { color: rgba(255,255,255,.8); }
img.monogram { object-fit: cover; object-position: center; background: var(--paper); }

/* Worldwide Anglican Church shield */
.brand .brand-shield { width: 44px; height: 46px; margin-left: -4px; padding-left: 10px; box-sizing: content-box; border-left: 1px solid rgba(255,255,255,.25); filter: drop-shadow(0 3px 8px rgba(0,0,0,.35)); }
.wac-badge { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 10px 20px 10px 12px; border-radius: 18px; text-decoration: none; color: #fff;
  background: rgba(11,27,63,.55); border: 1px solid rgba(244,180,0,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .2s, transform .25s var(--ease); }
.wac-badge:hover { border-color: var(--gold); transform: translateY(-2px); }
.wac-badge img { width: 58px; height: auto; filter: drop-shadow(0 6px 12px rgba(0,0,0,.4)); }
.wac-badge span { display: flex; flex-direction: column; line-height: 1.25; }
.wac-badge small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.wac-badge strong { font-family: var(--serif); font-size: 1.2rem; color: var(--gold); }
.hero .eyebrow { display: flex; width: fit-content; }
@media (max-width: 640px) {
  .brand .brand-shield { width: 36px; height: 38px; padding-left: 8px; }
  .wac-badge img { width: 44px; }
  .wac-badge strong { font-size: 1.02rem; }
}
.brand { flex: none; }
@media (min-width: 1181px) {
  .nav-links a { padding: 10px 11px; }
  .nav-cta { margin-left: 6px; }
}

/* Featured team photo */
.team-photo { margin: 0 auto clamp(40px, 6vw, 64px); max-width: 1000px; }
.team-photo button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.team-photo img { width: 100%; transition: transform .8s var(--ease); }
.team-photo button:hover img { transform: scale(1.03); }
.team-photo figcaption { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 14px; }
.team-photo figcaption strong { color: var(--navy); }

/* 2026 theme photo story */
.theme-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-bottom: 28px; }
.theme-strip div { background: var(--paper); padding: 20px 22px; }
.theme-strip span { display: block; font: 800 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.theme-strip strong { font-family: var(--serif); font-size: 1.1rem; color: var(--navy); }
.story-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; }
.story-tile { position: relative; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--navy); }
.story-tile.wide { grid-column: span 2; }
.story-tile.tall { grid-row: span 2; }
.story-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.story-tile:hover img { transform: scale(1.05); }
.story-tile span { position: absolute; inset: auto 0 0 0; padding: 36px 16px 14px; text-align: left; color: #fff; font: 600 .88rem/1.3 var(--sans);
  background: linear-gradient(transparent, rgba(11,27,63,.88)); opacity: 0; transition: opacity .3s; }
.story-tile:hover span, .story-tile:focus-visible span { opacity: 1; }
@media (max-width: 900px) { .story-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } .theme-strip { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .story-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } .story-tile.wide { grid-column: span 2; } .story-tile span { opacity: 1; font-size: .75rem; padding: 24px 10px 8px; } }

.story-grid { grid-template-areas: "a a b e" "a a b e" "c d f f"; grid-auto-flow: row; }
.story-tile.wide, .story-tile.tall { grid-column: auto; grid-row: auto; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "a a" "b e" "b e" "c d" "f f"; } }
@media (max-width: 520px) { .story-tile.wide { grid-column: auto; } }
@media (max-width: 420px) {
  .brand { gap: 8px; }
  .brand img { width: 40px; height: 40px; }
  .brand .brand-shield { width: 30px; height: 31px; padding-left: 7px; margin-left: -2px; }
  .brand-text strong { font-size: 1.04rem; }
}
@media (max-width: 340px) { .brand-text strong { font-size: .95rem; } .brand .brand-shield { display: none; } }
@media (max-width: 374px) { .brand-text strong { font-size: .94rem; } .nav-toggle { gap: 8px; padding-left: 12px; } }
/* Never let the brand push the menu button off-screen (wider real fonts) */
.header-inner { min-width: 0; }
@media (max-width: 1180px) {
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand-text { min-width: 0; overflow: hidden; }
  .brand-text strong { overflow: hidden; text-overflow: ellipsis; }
  .nav-toggle { flex: none; }
}
@media (max-width: 420px) { .brand-text strong { font-size: clamp(.8rem, 3.9vw, 1.04rem); letter-spacing: 0; } .brand { gap: 7px; } }
@media (min-width: 1181px) and (max-width: 1360px) {
  .nav-links a { padding: 9px 8px; font-size: .86rem; }
  .nav-links .has-sub > a::after { margin-left: 5px; }
  .nav-cta { padding: 10px 14px; font-size: .86rem; margin-left: 4px; }
  .brand-text small { display: none; }
  .brand { gap: 10px; }
}

/* Full annual calendar (9 entries) */
.annual--full { grid-template-columns: repeat(3, 1fr); }
.month { position: relative; }
.month-tag { position: absolute; top: 18px; right: 18px; font: 800 .64rem var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: rgba(244,180,0,.16); color: var(--gold); border: 1px solid rgba(244,180,0,.35); }
.annual--full .month time { font-size: 1.35rem; padding-right: 90px; }
@media (max-width: 1080px) { .annual--full { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .annual--full { grid-template-columns: 1fr; } }
/* Keep the site's own colors when a phone browser forces dark mode */
:root { color-scheme: only light; }
.bg-navy .section-head p:last-child { color: rgba(255,255,255,.78); }
