/* ==========================================================================
   Grace Mount Zion Apostolic Church
   Brand: Navy #1B2D5A, Orange #F05123 (logo). Buttons use a deeper orange for readable white text.
   ========================================================================== */

:root {
  --navy: #1B2D5A;
  --navy-900: #111D3B;
  --navy-700: #24396E;
  --navy-100: #E8ECF5;
  --orange: #F05123;
  --orange-btn: #CF3F12;
  --orange-btn-hover: #B43610;
  --orange-50: #FEF1EC;
  --cream: #FAF7F2;
  --sand: #F2ECE2;
  --ink: #1C2333;
  --muted: #5A6375;
  --line: #E4DED3;
  --white: #FFFFFF;
  --success: #1F7A4D;
  --error: #B42318;

  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(17, 29, 59, .06), 0 8px 24px rgba(17, 29, 59, .08);
  --shadow-lg: 0 2px 4px rgba(17, 29, 59, .06), 0 20px 48px rgba(17, 29, 59, .14);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 104px);

  /* Logo sizing: generous so the fine script and the small "Apostolic Church" line stay legible */
  --logo-h: 80px;
  --logo-h-scrolled: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-btn); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; color: var(--navy); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.03em; text-wrap: balance; }
h3, h4 { font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.eyebrow { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-btn); margin: 0 0 .75rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 46ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.4em; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange-btn); color: #fff; }
.btn-primary:hover { background: var(--orange-btn-hover); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-900); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-sm { min-height: 40px; padding: .5em 1.1em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--navy); }
.text-link .icon { transition: transform .15s; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link-light { color: #fff; }
.text-link-light:hover { color: #fff; text-decoration: underline; }

/* ---------- Happening Now bar ---------- */
.now-bar { background: var(--navy-900); color: #fff; font-size: .95rem; position: relative; z-index: 31; }
.now-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; min-height: 48px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.now-text { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.now-dot { width: 9px; height: 9px; border-radius: 50%; background: #8FA3CC; flex: none; }
.now-bar[data-state="live"] { background: #B3261E; }
.now-bar[data-state="live"] .now-dot, .now-bar[data-state="zoom-now"] .now-dot { background: #fff; animation: pulse 1.6s ease-in-out infinite; }
.now-bar[data-state="zoom-now"] { background: var(--navy-700); }
.now-bar[data-state="convention"] .now-dot { background: var(--orange); }
.now-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.now-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; text-decoration: none; color: #fff; border: 1.5px solid rgba(255,255,255,.5); min-height: 36px; }
.now-btn:hover { color: var(--navy); background: #fff; }
.now-btn-main { background: var(--orange-btn); border-color: var(--orange-btn); }
.now-btn-main:hover { background: #fff; border-color: #fff; color: var(--orange-btn); }
.now-bar[data-state="zoom-now"] .now-btn-main { animation: glow 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes glow { 50% { box-shadow: 0 0 0 6px rgba(240, 81, 35, .35); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(17, 29, 59, .08); }
.site-header .wrap, .now-bar .wrap { max-width: 1380px; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: calc(var(--logo-h) + 32px); transition: min-height .2s; }
.brand { display: block; flex: none; }
.brand img { height: var(--logo-h); width: auto; transition: height .2s; }
.is-scrolled .header-inner { min-height: calc(var(--logo-h-scrolled) + 24px); }
.is-scrolled .brand img { height: var(--logo-h-scrolled); }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-item { position: relative; }
.nav-link { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; border-radius: 8px; color: var(--ink); font: 600 1.02rem/1.2 var(--font-body); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-item.is-active > .nav-link { color: var(--orange-btn); }
.nav-link .chev { width: 16px; height: 16px; transition: transform .15s; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .15s; }
.sub a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; }
.sub a:hover { background: var(--cream); color: var(--orange-btn); }
.has-sub:hover > .sub, .has-sub.is-open > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub.is-open .chev { transform: rotate(180deg); }
.nav-extra { display: flex; align-items: center; gap: 16px; }
.socials { display: flex; gap: 4px; }
.socials a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; color: var(--navy); }
.socials a:hover { background: var(--navy-100); color: var(--orange-btn); }
.socials .icon { width: 18px; height: 18px; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); align-items: center; justify-content: center; cursor: pointer; flex: none; }
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-open { display: none; }
.menu-open .menu-toggle .i-close { display: block; }

@media (max-width: 1399px) {
  .socials:not(.socials-footer) { display: none; }
}
@media (max-width: 1199px) {
  :root { --logo-h: 64px; --logo-h-scrolled: 56px; }
  .menu-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: 0; top: 0; z-index: 40; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 84px var(--gutter) 32px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; visibility: hidden; }
  .menu-open .main-nav { transform: none; visibility: visible; }
  .menu-open .site-header { z-index: 50; }
  .menu-open .menu-toggle { position: fixed; top: 16px; right: var(--gutter); z-index: 41; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.2rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; display: none; }
  .has-sub.is-open > .sub { display: block; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.is-open:hover > .sub { display: block; }
  .sub a { font-size: 1.1rem; padding: 12px; }
  .nav-extra { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .nav-extra .btn { width: 100%; }
  .nav-extra .socials { display: flex; justify-content: center; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 420px) {
  /* Logo takes most of the width on phones, never smaller than 52px tall */
  :root { --logo-h: clamp(52px, calc((100vw - 32px - 48px - 12px) / 4.98), 60px); --logo-h-scrolled: var(--logo-h); }
  .header-inner { gap: 12px; }
}
@media (max-width: 700px) {
  .now-inner { justify-content: center; text-align: center; padding-top: 8px; padding-bottom: 10px; }
  .now-text { justify-content: center; font-size: .9rem; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-cream { background: var(--cream); }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: #E7ECF7; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { max-width: 720px; margin-left: auto; margin-right: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-wide { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #E7ECF7; position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(240,81,35,.28), transparent); pointer-events: none; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: #C9D3E8; max-width: 52ch; }
.page-hero .eyebrow { color: #FFB49A; }
.page-hero .wrap { position: relative; z-index: 1; }

/* ---------- Home hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,29,59,.92) 0%, rgba(17,29,59,.7) 45%, rgba(17,29,59,.25) 100%); }
.hero.no-photo { background:
  radial-gradient(60% 80% at 85% 20%, rgba(240,81,35,.35), transparent 60%),
  radial-gradient(50% 70% at 10% 100%, rgba(80,110,180,.45), transparent 60%),
  linear-gradient(135deg, #111D3B 0%, #1B2D5A 55%, #24396E 100%); }
.hero.no-photo .hero-media { display: none; }
.hero-rays { position: absolute; inset: 0; opacity: .12; background: repeating-conic-gradient(from 200deg at 88% 8%, #fff 0deg 2deg, transparent 2deg 12deg); mask-image: radial-gradient(80% 80% at 88% 8%, #000, transparent 70%); -webkit-mask-image: radial-gradient(80% 80% at 88% 8%, #000, transparent 70%); }
.hero-inner { position: relative; z-index: 1; padding: clamp(72px, 12vw, 150px) 0 clamp(64px, 10vw, 120px); max-width: 720px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.8vw, 5rem); letter-spacing: -.035em; line-height: 1.02; }
.hero .kicker { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: #FFB49A; margin-bottom: 1rem; }
.hero .hero-sub { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: #DCE3F2; max-width: 40ch; margin-bottom: 2rem; }
.hero .btn-row { gap: 14px 16px; }

/* ---------- Location cards ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.loc-card .photo { aspect-ratio: 16 / 7; }
.loc-body { padding: 24px clamp(20px, 3vw, 32px) 28px; display: flex; flex-direction: column; flex: 1; }
.loc-body h3 { font-size: 1.7rem; margin-bottom: .2em; }
.loc-addr { display: flex; gap: 8px; color: var(--muted); margin-bottom: 18px; }
.loc-addr .icon { color: var(--orange-btn); margin-top: 4px; }
.times { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--line); }
.times li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.times .t-name { font-weight: 600; }
.times .t-note { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); }
.times .t-time { font-weight: 700; color: var(--navy); white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--orange-50); color: var(--orange-btn); vertical-align: middle; }
.badge-live { background: #FDE8E7; color: #B3261E; }
.badge-navy { background: var(--navy-100); color: var(--navy); }
.loc-body .btn-row { margin-top: auto; }

/* ---------- Online schedule ---------- */
.online { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .online { grid-template-columns: 1fr; } }
.zoom-card { background: var(--navy); color: #DCE3F2; border-radius: var(--radius); padding: clamp(28px, 4vw, 40px); position: relative; overflow: hidden; }
.zoom-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -80px; border-radius: 50%; background: radial-gradient(closest-side, rgba(240,81,35,.35), transparent); }
.zoom-card h2, .zoom-card h3 { color: #fff; }
.zoom-card .meta { font-size: .95rem; color: #AEBBD8; }
.zoom-card .btn-row { position: relative; z-index: 1; }
.sched { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.sched th, .sched td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sched th { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--cream); font-weight: 700; }
.sched tr:last-child td { border-bottom: 0; }
.sched td:first-child, .sched td:nth-child(3) { font-weight: 700; color: var(--navy); white-space: nowrap; }
.sched .cal { display: inline-flex; color: var(--muted); padding: 4px; border-radius: 6px; }
.sched .cal:hover { color: var(--orange-btn); background: var(--orange-50); }
.sched tr.is-today td { background: #FFF8F4; }
.sched .today-tag { display: inline-block; margin-left: 6px; }
@media (max-width: 560px) {
  .sched th:nth-child(4), .sched td:nth-child(4) { display: none; }
  .sched th, .sched td { padding: 12px 10px; font-size: .95rem; }
  .sched td:first-child { white-space: normal; }
}

/* ---------- Video ---------- */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0B1328; box-shadow: var(--shadow-lg); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-lite { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #0B1328; }
.video-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.video-lite:hover img { opacity: 1; }
.video-lite .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: var(--orange-btn); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s; }
.video-lite:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.video-lite .play .icon { width: 34px; height: 34px; margin-left: 4px; fill: currentColor; }
.video-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #DCE3F2; padding: 24px; gap: 12px; background: radial-gradient(60% 80% at 50% 0%, rgba(240,81,35,.25), transparent), var(--navy-900); }
.video-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 18px; }
.video-meta h3 { margin: 0; font-size: 1.25rem; }
.video-meta .date { color: var(--muted); font-size: .95rem; }
.countdown { display: inline-flex; gap: 10px; align-items: center; background: var(--cream); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--navy); }
.countdown strong { color: var(--orange-btn); font-variant-numeric: tabular-nums; }
.share { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 600 .9rem var(--font-body); text-decoration: none; cursor: pointer; }
.share-btn:hover { border-color: var(--navy); color: var(--navy); }
.share-btn .icon { width: 16px; height: 16px; }
.past-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .past-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .past-grid { grid-template-columns: 1fr; } }
.past-card { text-decoration: none; color: var(--ink); display: block; }
.past-card .thumb { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--navy-100); position: relative; }
.past-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.past-card:hover .thumb img { transform: scale(1.04); }
.past-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 10px 0 2px; color: var(--ink); line-height: 1.35; }
.past-card .date { font-size: .9rem; color: var(--muted); }

/* ---------- Flyers / events ---------- */
.flyer-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 280px); gap: 20px; overflow-x: auto; padding: 4px 4px 16px; scroll-snap-type: x mandatory; }
.flyer-row > * { scroll-snap-align: start; }
.flyer-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; text-align: left; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.flyer-card .flyer-img { aspect-ratio: 4 / 5; background: var(--navy-100); overflow: hidden; }
.flyer-card .flyer-img img { width: 100%; height: 100%; object-fit: cover; }
.flyer-card .flyer-img.is-text { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; position: relative; }
.flyer-card .flyer-img.is-text::before { content: ""; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(240,81,35,.5), transparent); }
.flyer-card .flyer-img.is-text strong { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; font-size: 1.6rem; line-height: 1.15; position: relative; }
.flyer-body { padding: 16px 18px 18px; }
.flyer-body h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: 0 0 4px; color: var(--ink); }
.flyer-body .when { font-size: .92rem; color: var(--muted); }
.event-list { display: grid; gap: 28px; }
.event { display: grid; grid-template-columns: 260px 1fr; gap: clamp(20px, 3vw, 36px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.event .flyer-img { aspect-ratio: 4 / 5; background: var(--navy-100); }
.event .flyer-img img { width: 100%; height: 100%; object-fit: cover; }
.event .flyer-btn { border: 0; padding: 0; cursor: zoom-in; display: block; width: 100%; background: none; }
.event-body { padding: 24px 24px 24px 0; }
.event-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.event-facts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; color: var(--muted); }
.event-facts li { display: flex; gap: 8px; }
.event-facts .icon { color: var(--orange-btn); margin-top: 4px; }
@media (max-width: 680px) {
  .event { grid-template-columns: 1fr; }
  .event-body { padding: 0 20px 24px; }
  .event .flyer-img { aspect-ratio: auto; max-height: 520px; }
  .event .flyer-img img { object-fit: contain; background: var(--navy-100); }
}
.date-chip { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 12px; background: var(--orange-50); color: var(--orange-btn); line-height: 1; margin-bottom: 14px; }
.date-chip .m { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.date-chip .d { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; }

/* ---------- Next step tiles ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.step:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.step .step-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--orange-50); color: var(--orange-btn); display: flex; align-items: center; justify-content: center; }
.step .step-icon .icon { width: 26px; height: 26px; }
.step strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); font-weight: 700; letter-spacing: -.015em; }
.step span.go { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--orange-btn); }

/* ---------- Photos ---------- */
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-100); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-placeholder { display: flex; align-items: center; justify-content: center; min-height: 160px; background:
  radial-gradient(70% 90% at 90% 10%, rgba(240,81,35,.22), transparent 60%),
  linear-gradient(140deg, #24396E 0%, #1B2D5A 60%, #111D3B 100%); }
.photo.is-placeholder .ph-icon { width: 44px; height: 44px; color: rgba(255,255,255,.28); }
.loc-card .photo { border-radius: 0; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-wide { aspect-ratio: 21 / 9; }
.portrait { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.portrait img { width: 100%; height: auto; }

/* ---------- Pastor feature ---------- */
.pastor-feature .quote { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.3; color: var(--navy); margin: 0 0 18px; position: relative; padding-top: 28px; }
.pastor-feature .quote::before { content: "\201C"; position: absolute; top: -22px; left: -4px; font-size: 5rem; font-weight: 800; color: var(--orange); line-height: 1; }
blockquote { margin: 0 0 1.5em; padding: 20px 24px; border-left: 4px solid var(--orange); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.5; color: var(--navy); }
.pull { margin: 32px 0; padding: 28px 28px 24px; background: var(--navy); color: #fff; border-radius: var(--radius); position: relative; }
.pull p { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.3; margin: 0 0 10px; }
.pull cite { font-style: normal; color: #FFB49A; font-weight: 600; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--orange-50); color: var(--ink); }
.note .icon { color: var(--orange-btn); margin-top: 3px; }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; }
.prose h3 { margin-top: 1.8em; font-size: 1.4rem; }
.prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.expect-list p { padding-left: 18px; border-left: 3px solid var(--orange-50); }
.expect-list p strong:first-child { color: var(--navy); }
.beliefs h3 { padding-top: 1.4em; border-top: 1px solid var(--line); }
.beliefs blockquote + h3 { border-top: 0; }

/* ---------- Ministries ---------- */
.min-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .min-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .min-grid { grid-template-columns: 1fr; } }
.min-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; gap: 6px; }
.min-card .step-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy-100); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.min-card .step-icon .icon { width: 26px; height: 26px; }
.min-card h3 { margin: 0 0 4px; }
.min-card .when { display: flex; gap: 8px; font-size: .95rem; color: var(--navy); font-weight: 500; background: var(--cream); border-radius: 10px; padding: 10px 12px; margin: 8px 0 14px; }
.min-card .when .icon { color: var(--orange-btn); margin-top: 3px; }
.min-card .btn, .min-card .text-link { margin-top: auto; align-self: flex-start; }

/* ---------- Life events ---------- */
.life-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 680px) { .life-grid { grid-template-columns: 1fr; } }
.life-card { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; gap: 18px; }
.life-card .step-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--orange-50); color: var(--orange-btn); display: flex; align-items: center; justify-content: center; flex: none; }
.life-card h3 { margin-bottom: 6px; }
.life-card p { margin: 0; color: var(--muted); }

/* ---------- Numbered list ---------- */
.numbered { counter-reset: n; display: grid; gap: 18px; }
.numbered h3 { counter-increment: n; display: flex; gap: 14px; align-items: center; margin: 0; }
.numbered h3::before { content: counter(n); flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.05rem/40px var(--font-body); text-align: center; }
.numbered p { margin: 0 0 0 54px; color: var(--muted); }

/* ---------- Tabs (Plan Your Visit) ---------- */
.tabs { display: inline-flex; background: var(--sand); padding: 5px; border-radius: 999px; gap: 4px; margin-bottom: 24px; }
.tab { border: 0; background: none; padding: 10px 22px; border-radius: 999px; font: 600 1rem var(--font-body); color: var(--muted); cursor: pointer; min-height: 44px; }
.tab[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(17,29,59,.12); }
.tab-panel[hidden] { display: none; }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--navy-100); }

/* ---------- Give ---------- */
.give-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .give-grid { grid-template-columns: 1fr; } }
.give-card { border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.give-card.is-featured { border: 2px solid var(--navy); box-shadow: var(--shadow); }
.give-card h2 { font-size: 1.7rem; }
.copy-field { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; margin: 8px 0 18px; }
.copy-field code { flex: 1; padding: 12px 14px; font: 600 1rem var(--font-body); color: var(--navy); background: var(--cream); overflow-wrap: anywhere; }
.copy-field button { border: 0; border-left: 1.5px solid var(--line); background: #fff; padding: 0 16px; font: 600 .95rem var(--font-body); color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.copy-field button:hover { background: var(--navy); color: #fff; }
.codes { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.codes td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.codes td:first-child { font-weight: 700; color: var(--orange-btn); width: 64px; font-size: 1.1rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ink); padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); font-size: .9em; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], input[type=password], input[type=url], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #CFC8BB; border-radius: 10px; background: #fff; font: 400 1rem/1.4 var(--font-body); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(27,45,90,.12); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error); }
.field-error { display: block; color: var(--error); font-size: .9rem; margin-top: 4px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; cursor: pointer; font-weight: 500; }
.choice input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.radios .choice { border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.radios .choice:has(input:checked) { border-color: var(--navy); background: var(--navy-100); }
.questionnaire { background: var(--cream); border-radius: 12px; padding: 20px 20px 8px; margin: 6px 0 22px; }
.questionnaire h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: 0 0 6px; }
.private-row { display: none; background: var(--orange-50); border-radius: 10px; padding: 4px 14px; margin: -6px 0 18px; }
.private-row.is-visible { display: block; }
.notice { padding: 16px 18px; border-radius: 10px; margin-bottom: 22px; }
.notice.success { background: #E7F5EE; color: var(--success); border: 1px solid #B9E1CC; }
.notice.error { background: #FDECEA; color: var(--error); border: 1px solid #F5C2BC; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 8px; }
.form-foot small { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-stack { display: grid; gap: 18px; }
.info-card { background: var(--cream); border-radius: var(--radius); padding: 22px; }
.info-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.info-card p { margin: 0 0 8px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #DCE3F2; border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; left: -60px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(240,81,35,.3), transparent); }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; }
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #B9C4DD; padding: clamp(56px, 7vw, 88px) 0 0; font-size: .98rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #FFB49A; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr .8fr 1fr; gap: 40px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-tagline { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; font-size: 1.3rem; color: #fff; margin-bottom: 6px; }
.footer-blurb { max-width: 36ch; }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #FFB49A; margin-bottom: 16px; font-weight: 700; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.socials-footer a { color: #fff; background: rgba(255,255,255,.08); }
.socials-footer a:hover { background: var(--orange-btn); color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.footer-base p { margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 16, 32, .85); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox-actions { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }

/* ---------- Misc ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.stack-sm > * + * { margin-top: 12px; }
.error-page { text-align: center; padding: 120px 0; }
.online > *, .split > *, .contact-grid > * { min-width: 0; }
.flyer-card, .flyer-card:hover { text-decoration: none; color: inherit; }
[hidden] { display: none !important; }

/* Illustrations (shown until real photos are uploaded) */
.photo.is-illustration { background: var(--cream); }
.photo.is-illustration img { width: 100%; height: 100%; object-fit: cover; }
.hero-art { position: absolute; right: 0; bottom: 0; width: min(54%, 720px); height: 100%; display: flex; align-items: flex-end; justify-content: flex-end; pointer-events: none; }
.hero-art img { width: 100%; height: auto; max-height: 100%; object-fit: contain; object-position: right bottom; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%); mask-image: linear-gradient(90deg, transparent 0, #000 18%); }
.hero.no-photo .hero-inner { max-width: 600px; }
@media (max-width: 960px) {
  .hero.no-photo { display: flex; flex-direction: column; }
  .hero-art { position: relative; width: 100%; height: auto; order: 2; }
  .hero-art img { max-height: 300px; width: 100%; object-fit: cover; object-position: center 30%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 25%); mask-image: linear-gradient(180deg, transparent 0, #000 25%); }
  .hero.no-photo .hero-inner { padding-bottom: 32px; }
}
