/* Alluwe Baptist Church: one stylesheet, no build step.
   Brand colours are fills; text uses the deepened tones (WCAG AA measured).
   Motion: signature layer is JS (rAF); polish layer is CSS. Reduced motion is deliberately NOT honoured (owner decision). */

@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/lora-latin-wght-normal.woff2?v=20260826-1230") format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("../fonts/lora-latin-wght-italic.woff2?v=20260826-1230") format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/source-sans-3-latin-wght-normal.woff2?v=20260826-1230") format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --ink: #1B2A4A;         /* headings */
  --text: #2C3A55;        /* body */
  --muted: #5B6884;       /* notes, 5.3:1 on white */
  --blue: #4A66AC;        /* brand fill */
  --blue-deep: #2F4A8A;   /* brand as text/links, 8.5:1 */
  --blue-pale: #E8EDF8;
  --green: #179619;       /* brand fill */
  --green-deep: #0F6B11;  /* brand as text, 6.7:1 */
  --green-pale: #E4F3E4;
  --yellow: #FAEE0A;      /* fill only, never text */
  --yellow-deep: #B8AD00;
  --paper: #FFFFFF;
  --tint: #F3F6FB;
  --line: #D9E0EE;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(27, 42, 74, .10);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 1.125rem; line-height: 1.6; color: var(--text); background: var(--paper); overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
img, video, svg { -webkit-user-drag: none; -webkit-touch-callout: none; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--blue-deep); text-decoration-thickness: 1.5px; text-underline-offset: .15em; padding-block: 2px; }   /* inline links reach the 24px target floor */
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--yellow); color: var(--ink); }
section { scroll-margin-top: calc(var(--header-h) + 12px); }

.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 200; transition: top .2s; }
.skip:focus { top: 1rem; }
.container { width: min(100% - 2.5rem, 1160px); margin-inline: auto; }
.container.narrow { max-width: 1160px; }
.container.narrow > * { max-width: 760px; }

/* ---- Buttons (only clickable things get hover lift) ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--sans); line-height: 1.2; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s; }
.btn-primary { background: var(--blue-deep); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-green { background: var(--green-deep); color: #fff; }
.btn-green:hover { background: #0B5210; color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--blue-deep); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue-pale); color: var(--ink); }
.btn-sm { min-height: 40px; padding: .4rem 1rem; font-size: .95rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
@media (hover: hover) { .btn:not([disabled]):hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(27, 42, 74, .15); } }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

/* ---- Kickers: the open-ring motif drawn in CSS ---- */
.kicker, .eyebrow { font-family: var(--sans); font-weight: 600; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); margin: 0 0 .9rem; display: flex; align-items: center; gap: .6rem; }
.kicker::before, .eyebrow::before { content: ""; width: 16px; height: 16px; border: 3.5px solid var(--yellow); border-bottom-color: transparent; border-radius: 50%; transform: rotate(-20deg); flex: 0 0 auto; }
.kicker-light { color: #fff; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(27, 42, 74, .08); background: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; letter-spacing: -.01em; }
.brand-sub { font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--blue-deep); font-weight: 600; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.site-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; text-decoration: none; color: var(--text); font-weight: 600; border-radius: 8px; position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 6px; height: 3px; background: var(--yellow); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: .8rem; }
.nav-cta { min-height: 44px; padding: .5rem 1.15rem; font-size: .98rem; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.nav-burger { display: none; }
.nav-scrim { display: none; }

/* ---- Announcement bar ---- */
.announce { background: var(--yellow); color: var(--ink); border-bottom: 1px solid rgba(27, 42, 74, .12); }
.announce-row { display: flex; align-items: center; gap: 1rem; min-height: 48px; padding: .3rem 0; }
.announce-text { margin: 0; font-weight: 600; font-size: 1rem; line-height: 1.35; }
.announce-text a { color: var(--ink); font-weight: 700; }
.announce-close { margin-left: auto; flex: 0 0 auto; width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); font-size: 1.6rem; line-height: 1; border-radius: 50%; cursor: pointer; }
.announce-close:hover { background: rgba(27, 42, 74, .1); }
html.js .announce { animation: rise .5s var(--ease) both; }
.announce.is-gone { display: none; }

/* ---- Progress bar (JS-driven) ---- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 110; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; }

/* ---- Hero: the prairie. Copy sits on the sky, the times card sits on the fields. ---- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #E8F0FA 0%, #F3F6FB 60%, #FBF7E6 100%); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); min-height: min(92vh, 900px); display: flex; flex-direction: column; justify-content: flex-start; }
.hero-art { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; z-index: 0; pointer-events: none; }
.hero-art svg { width: 100%; height: 100%; display: block; }
.hero-art #sun { transform-box: fill-box; transform-origin: center; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.hero-copy { padding-top: clamp(.5rem, 2vw, 2rem); }
.display { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.8rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.02; margin-bottom: .4em; }
.display em { font-style: italic; font-weight: 500; }
.hero .display em:first-of-type { color: var(--blue-deep); }
.hero .display em:last-of-type { color: var(--green-deep); }
.display-sm { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); }
.lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); max-width: 34rem; color: var(--text); }

.times-card { background: rgba(255, 255, 255, .96); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(27, 42, 74, .18); padding: clamp(1.4rem, 3vw, 2.2rem); border-top: 6px solid var(--yellow); position: relative; margin-top: clamp(1rem, 4vh, 3rem); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.times-title { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 .6rem; }
.next-service { margin: 0 0 1rem; padding: .55rem .8rem; border-radius: 8px; background: var(--blue-pale); color: var(--blue-deep); font-weight: 600; font-size: 1rem; line-height: 1.35; }
.next-service.now { background: var(--green-pale); color: var(--green-deep); }
.next-service[hidden] { display: none; }
.times-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.times-list li { display: grid; grid-template-columns: 1fr; gap: .05rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.times-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.times-list li.is-next .time-what::after { content: "next"; display: inline-block; margin-left: .5rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; background: var(--yellow); color: var(--ink); border-radius: 999px; padding: .1rem .5rem; vertical-align: middle; }
.time-when { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.time-what { font-weight: 600; color: var(--blue-deep); }
.time-note { color: var(--muted); font-size: 1rem; }
.times-foot { margin: 1.2rem 0 0; font-size: 1rem; color: var(--muted); }

/* ---- Sections ---- */
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section.tint { background: var(--tint); }
.page-hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem); background: linear-gradient(180deg, #E8F0FA 0%, #F3F6FB 100%); background-color: var(--paper); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(34px, 5vw, 90px); background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 90' preserveAspectRatio='none'><path d='M0,90 L0,52 C200,30 380,66 600,46 C820,26 1000,58 1200,42 C1380,28 1500,44 1600,36 L1600,90 Z' fill='%23D3DFCB'/><path d='M0,90 L0,70 C240,52 420,84 640,66 C860,48 1040,80 1240,64 C1400,52 1520,66 1600,58 L1600,90 Z' fill='%23B4CFA3'/></svg>") center bottom / 100% 100% no-repeat; pointer-events: none; }
.page-hero-copy { position: relative; z-index: 1; }
.page-hero-copy > * { max-width: 760px; }
.page-hero .display { max-width: 900px; }
.prose p { font-size: 1.2rem; }
.note { color: var(--muted); font-size: 1rem; }
.note.center { text-align: center; margin-top: 2rem; }
.address { font-weight: 600; color: var(--ink); }

.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mission-col { padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 4rem); position: relative; }
.mission-col + .mission-col { border-left: 1px solid var(--line); }
.mission-h { font-family: var(--serif); font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.8rem); font-weight: 600; margin: 0 0 .5rem; line-height: 1.05; letter-spacing: -.02em; color: var(--ink); }
.mission-h em { font-style: italic; font-weight: 500; }
.em-blue { color: var(--blue-deep); } .em-green { color: var(--green-deep); }
.mission-p { font-size: 1.2rem; margin: 0; max-width: 30rem; color: var(--text); }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-wide { max-width: 960px; }
.map-frame { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--tint); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.welcome { background: var(--blue-deep); background-image: radial-gradient(circle at 85% 50%, rgba(255, 255, 255, .10), transparent 45%); color: #fff; position: relative; overflow: hidden; }
.welcome-inner { text-align: center; max-width: 720px; position: relative; }
.welcome h2 { color: #fff; }
.lead-light { font-size: clamp(1.15rem, 1rem + .5vw, 1.3rem); color: rgba(255, 255, 255, .9); margin-bottom: 1.6rem; }
.welcome .kicker-light::before { border-color: var(--yellow); border-bottom-color: transparent; }
.welcome .kicker { justify-content: center; }

.two-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); }
.card h2 { font-size: 1.6rem; }
.card .btn { margin-top: .5rem; }
.card-primary { border-top: 6px solid var(--green); margin-bottom: 1.5rem; box-shadow: var(--shadow); }

/* Commitments strip on the home page */
.commit-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--tint); }
.commit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 2.2rem; }
.commit-list li { display: flex; align-items: center; gap: .55rem; }
.commit-list li::before { content: ""; width: 12px; height: 12px; border: 3px solid var(--yellow); border-bottom-color: transparent; border-radius: 50%; transform: rotate(-20deg); flex: 0 0 auto; }
.commit-list li:nth-child(2n)::before { border-color: var(--blue); border-bottom-color: transparent; }
.commit-list li:nth-child(3)::before, .commit-list li:nth-child(5)::before { border-color: var(--green); border-bottom-color: transparent; }
.commit-list a { display: inline-flex; align-items: center; min-height: 48px; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.commit-list a:hover { color: var(--blue-deep); text-decoration: underline; }

/* Getting here (visit) */
.getting-h { font-size: 1.15rem; margin: 1.8rem 0 .5rem; }
.getting { margin: 0; padding-left: 1.3rem; }
.getting li { margin-bottom: .5rem; }

/* 404 links */
.nf-links-h { font-size: 1.4rem; }
.nf-links { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.nf-links a { display: block; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--paper); }
.nf-links a:hover { border-color: var(--blue); }
.nf-link-name { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin-bottom: .2rem; }
.nf-link-desc { display: block; color: var(--muted); font-size: .95rem; }

/* Give: three equal ways */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.5rem; }
.way { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: .4rem; }
.way h3 { font-size: 1.5rem; margin: .2rem 0 0; }
.way p { margin: 0 0 .4rem; }
.way .btn { align-self: flex-start; margin: .4rem 0; }
.way .note { margin-top: auto; }
.way-primary { border-top: 6px solid var(--green); box-shadow: var(--shadow); }
.way-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 14px; background: var(--blue-pale); color: var(--blue-deep); align-items: center; justify-content: center; margin-bottom: .4rem; }
.way-primary .way-icon { background: var(--green-pale); color: var(--green-deep); }
.way-tag { display: inline-block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--green-deep); margin: 0 0 .2rem; }

/* FAQ (visit) */
.faq { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); position: relative; min-height: 48px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-right: 3px solid var(--blue-deep); border-bottom: 3px solid var(--blue-deep); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq-item summary:hover { color: var(--blue-deep); }
.faq-a { padding: 0 0 1.2rem; max-width: 46rem; }
.faq-a p { margin: 0; }
html.js .faq-item[open] .faq-a { animation: rise .45s var(--ease) both; }

/* Mission + vision statements */
.statements { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
.statement-text { font-family: var(--serif); font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); line-height: 1.45; color: var(--ink); margin: 0; }
.ref { color: var(--muted); font-size: .95rem; margin: .35rem 0 0; font-style: italic; }
.ledger-row div p:first-child { margin: 0; }

/* Guiding commitments */
.commit-grid { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }   /* five commitments, five columns; no orphan cell */
.commit-grid li { background: var(--paper); border-radius: var(--radius); padding: 1.4rem; border-top: 5px solid var(--yellow); }
.commit-grid li:nth-child(2) { border-top-color: var(--blue); } .commit-grid li:nth-child(3) { border-top-color: var(--green); }
.commit-grid li:nth-child(4) { border-top-color: var(--blue); } .commit-grid li:nth-child(5) { border-top-color: var(--green); }
.commit-grid h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.commit-grid p { margin: 0; font-size: 1rem; }

/* Pastors */
.pastor-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); }
.pastor { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); }
.pastor-photo { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--tint); }
.pastor-photo img { width: 100%; height: 100%; object-fit: cover; }
.pastor-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; background: linear-gradient(180deg, #E8F0FA 0%, #FBF7E6 70%, #8FBB82 70%, #6FA868 100%); }
.pastor-placeholder img { width: 120px; height: 120px; }
.pastor-initials { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--ink); letter-spacing: .05em; }
.pastor-body h2 { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.4rem); margin-bottom: .6rem; }
.pastor-body p { font-size: 1.05rem; }
.pastor-with { color: var(--muted); font-style: italic; margin-top: -.4rem; }
.cta-center { justify-content: center; }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.footer-note { font-size: .9rem; color: rgba(255, 255, 255, .6); }

/* Ledger: editorial rows with hairlines */
.ledger { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.ledger-row { display: grid; grid-template-columns: minmax(0, 280px) 1fr; gap: 1rem 2.5rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.ledger-row h3 { margin: 0; font-size: 1.35rem; }
.ledger-row p { margin: 0; }

/* Timeline: a Sunday in order (order is real here) */
.timeline { list-style: none; margin: 1.5rem 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 3px; background: var(--line); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 1.8rem 2.6rem; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 21px; height: 21px; border-radius: 50%; background: var(--yellow); border: 4px solid var(--paper); box-shadow: 0 0 0 2px var(--yellow); }
.timeline li:nth-child(2)::before { background: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.timeline li:nth-child(3)::before { background: var(--green); box-shadow: 0 0 0 2px var(--green); }
.timeline h3 { margin-bottom: .3rem; }
.timeline p { margin: 0; max-width: 46rem; }

/* Times strip on the visit page */
.times-strip { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.times-strip li { background: var(--tint); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: .15rem; border-top: 5px solid var(--yellow); }
.times-strip li:nth-child(2) { border-top-color: var(--blue); }
.times-strip li:nth-child(3) { border-top-color: var(--green); }

/* Sermon list */
.sermon-list { list-style: none; margin: 1rem 0 2rem; padding: 0; border-top: 1px solid var(--line); }
.sermon-list a { display: grid; grid-template-columns: 130px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.sermon-list a:hover .sermon-title { color: var(--blue-deep); }
.sermon-date { color: var(--muted); font-size: 1rem; }
.sermon-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.sermon-go { color: var(--blue-deep); font-weight: 600; white-space: nowrap; }

/* Forms */
.form-layout { display: grid; grid-template-columns: 1.3fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-aside { background: var(--tint); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); }
.form-aside h2 { font-size: 1.3rem; margin-top: 1.2rem; }
.form-aside h2:first-child { margin-top: 0; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; margin-bottom: .4rem; color: var(--ink); }
.req { font-weight: 400; color: var(--muted); font-size: .9rem; }
.field input[type="text"], .field input[type="email"], .field textarea { width: 100%; font: inherit; font-size: 1.05rem; padding: .75rem .9rem; border: 1.5px solid #B9C4DC; border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; }
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(74, 102, 172, .25); outline-offset: 0; }
.field-check { display: flex; align-items: center; gap: .7rem; }
.field-check input { width: 24px; height: 24px; accent-color: var(--blue-deep); margin: 0; }
.field-check label { margin: 0; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 1.2rem; }
.flash { border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 1.5rem; font-weight: 600; border: 1.5px solid; }
.flash-ok { background: var(--green-pale); border-color: var(--green); color: var(--green-deep); }
.flash-err { background: #FFF4E5; border-color: #E0A100; color: #6B4A00; }
.aside-times { margin: 0 0 1rem; padding: 0; list-style: none; }
.aside-times li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--line); }

/* Social */
.social { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; gap: .6rem; }
.social a { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-width: 44px; min-height: 44px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; text-decoration: none; padding: 0 .6rem; }
.social a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.social-dark a { border-color: var(--blue); color: var(--blue-deep); padding: 0 1rem; font-weight: 600; }
.social-dark a:hover { background: var(--blue-pale); color: var(--ink); }

/* Footer, with the fore hill as a silhouette above it */
.horizon { line-height: 0; background: var(--paper); }
.page-give .horizon, .page-visit .horizon, .page-about .horizon, .page-home .horizon { background: var(--paper); }
.horizon img { width: 100%; height: clamp(28px, 4vw, 60px); display: block; }
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .85); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.footer-mark { width: 64px; height: 64px; }
.footer-name { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin: .8rem 0 .3rem; font-weight: 600; }
.footer-tag { font-size: 1rem; max-width: 30rem; }
.footer-h { font-family: var(--sans); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin: 0 0 .8rem; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: .25rem 0; }
.footer-col a { text-decoration: none; display: inline-block; min-height: 24px; }
.footer-col p { font-size: 1rem; }
.footer-times li { display: flex; flex-direction: column; padding: .35rem 0; }
.site-footer .footer-times strong { color: #fff; }
.aside-times strong { color: var(--ink); }
.footer-bar { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; padding-top: 1.3rem; font-size: .95rem; }
.footer-bar p { margin: 0; }
.version { color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }

/* ---- Bot ---- */
.bot { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 120; }
.bot-launch { display: inline-flex; align-items: center; gap: .6rem; min-height: 56px; padding: .5rem 1.2rem .5rem .7rem; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 600; font-size: 1rem; box-shadow: 0 10px 28px rgba(27, 42, 74, .35); cursor: pointer; }
.bot-launch img { width: 32px; height: 32px; background: #fff; border-radius: 50%; padding: 2px; }
.bot-launch:hover { background: var(--blue-deep); }
.bot-panel { position: fixed; right: 1rem; bottom: 5.3rem; width: min(380px, calc(100vw - 2rem)); max-height: min(560px, calc(100dvh - 7rem)); display: flex; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(27, 42, 74, .3); border: 1px solid var(--line); overflow: hidden; }
.bot-panel[hidden] { display: none; }   /* display:flex would defeat the hidden attribute */
.bot-head { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; background: var(--blue-deep); color: #fff; }
.bot-head img { background: #fff; border-radius: 50%; padding: 3px; width: 36px; height: 36px; flex: 0 0 auto; }
.bot-title { margin: 0; font-weight: 700; font-size: 1.05rem; }
.bot-privacy { margin: 0; font-size: .8rem; opacity: .85; line-height: 1.3; }
.bot-close { margin-left: auto; background: transparent; border: 0; color: #fff; font-size: 1.6rem; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; line-height: 1; }
.bot-close:hover { background: rgba(255, 255, 255, .15); }
.bot-log { flex: 1 1 auto; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; font-size: 1rem; min-height: 120px; }
.bot-msg { max-width: 88%; padding: .6rem .8rem; border-radius: 12px; line-height: 1.45; }
.bot-msg a { color: var(--blue-deep); font-weight: 600; }
.bot-msg-bot { background: var(--tint); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.bot-msg-user { background: var(--blue-deep); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bot-typing span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin-right: 3px; }
.bot-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .6rem; }
.bot-chips:empty { display: none; }
.bot-chip { background: #fff; border: 1.5px solid var(--blue); color: var(--blue-deep); border-radius: 999px; padding: .35rem .8rem; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; min-height: 32px; }
.bot-chip:hover { background: var(--blue-pale); }
.bot-input { display: flex; gap: .5rem; padding: .7rem 1rem; border-top: 1px solid var(--line); background: #fff; }
.bot-input input { flex: 1 1 auto; min-width: 0; font: inherit; font-size: 1rem; padding: .55rem .8rem; border: 1.5px solid #B9C4DC; border-radius: 10px; min-height: 44px; }
.bot-input input:focus { border-color: var(--blue); outline: 3px solid rgba(74, 102, 172, .25); outline-offset: 0; }
html.bot-open-mobile { overflow: hidden; }

/* Inline validation */
.field-error { color: #8A2A0A; font-size: .95rem; margin: .4rem 0 0; font-weight: 600; }
.field-error[hidden] { display: none; }
.field-meta { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.counter { color: var(--muted); font-size: .85rem; margin: .4rem 0 0 auto; font-variant-numeric: tabular-nums; }
.field.invalid input, .field.invalid textarea { border-color: #C0392B; }
html.js .field-error:not([hidden]) { animation: rise .35s var(--ease) both; }

/* ---- Motion: polish layer (CSS). Gated on .js so no-JS visitors see static content, never hidden content.
   OWNER POLICY: prefers-reduced-motion is deliberately NOT honoured anywhere in this file or in JS. ---- */
html.js body { animation: pagein .45s ease-out both; }
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }
.site-header { transition: box-shadow .3s, background-color .3s; }
.header-row { transition: min-height .35s var(--ease); }
.site-header.scrolled .header-row { min-height: 62px; }
.site-header.scrolled .brand-mark { width: 42px; height: 42px; }
.brand-mark { transition: width .35s var(--ease), height .35s var(--ease); }

/* Page heroes (inner pages): same word rise as the home hero, then the lead */
html.js .page-hero .display .w { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(1.5deg); transform-origin: left bottom; animation: wordin .7s var(--ease) forwards; }
html.js .page-hero .display .w:nth-child(1) { animation-delay: .12s; } html.js .page-hero .display .w:nth-child(2) { animation-delay: .19s; } html.js .page-hero .display .w:nth-child(3) { animation-delay: .26s; }
html.js .page-hero .display .w:nth-child(4) { animation-delay: .33s; } html.js .page-hero .display .w:nth-child(5) { animation-delay: .40s; } html.js .page-hero .display .w:nth-child(6) { animation-delay: .47s; }
html.js .page-hero .display .w:nth-child(n+7) { animation-delay: .54s; }
html.js .page-hero-copy > :not(h1) { opacity: 0; transform: translateY(16px); animation: rise .7s var(--ease) forwards; }
html.js .page-hero-copy > .eyebrow { animation-delay: .02s; }
html.js .page-hero-copy > .lead { animation-delay: .55s; }
html.js .page-hero-copy > .cta-row { animation-delay: .7s; }
html.js .page-hero::after { opacity: 0; transform: translateY(18px); animation: rise 1s .3s var(--ease) forwards; }

/* Mission words: a yellow underline draws in when the column reveals */
.mission-h em { position: relative; }
.mission-h em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; background: var(--yellow); z-index: -1; border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) .4s; }
html.js .mission-col.in .mission-h em::after, html:not(.js) .mission-h em::after { transform: scaleX(1); }
.hero .display em { position: relative; z-index: 0; }
.hero .display em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; background: var(--yellow); z-index: -1; border-radius: 2px; transform: scaleX(0); transform-origin: left; animation: underline .6s var(--ease) 1.1s forwards; }
@keyframes underline { to { transform: scaleX(1); } }

/* Ledger rows and FAQ: a hairline tint follows the pointer */
@media (hover: hover) { .ledger-row { transition: background-color .25s; border-radius: 8px; } .ledger-row:hover { background: var(--tint); } .section.tint .ledger-row:hover { background: var(--paper); } }

/* Way cards lift; the primary one has a slow green breath on its top edge */
@media (hover: hover) { .way { transition: transform .3s var(--ease), box-shadow .3s var(--ease); } .way:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
.way-icon svg { transition: transform .35s var(--ease); }
@media (hover: hover) { .way:hover .way-icon svg { transform: translateY(-3px) rotate(-6deg); } }


/* Submit button: sending state */
.btn.is-sending { pointer-events: none; opacity: .75; }
.btn.is-sending::before { content: ""; width: 16px; height: 16px; border: 2.5px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: turn .7s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }


/* Hero: words rise one at a time, then the card and its rows */
html.js .hero .display .w { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(1.5deg); transform-origin: left bottom; animation: wordin .75s var(--ease) forwards; }
html.js .hero .display .w:nth-child(1) { animation-delay: .15s; } html.js .hero .display .w:nth-child(2) { animation-delay: .23s; } html.js .hero .display .w:nth-child(3) { animation-delay: .31s; }
html.js .hero .display .w:nth-child(5) { animation-delay: .43s; } html.js .hero .display .w:nth-child(6) { animation-delay: .51s; } html.js .hero .display .w:nth-child(7) { animation-delay: .59s; }
@keyframes wordin { to { opacity: 1; transform: none; } }
html.js .hero-copy > :not(h1) { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease) forwards; }
html.js .hero-copy > .eyebrow { animation-delay: .05s; }
html.js .hero-copy > .lead { animation-delay: .75s; }
html.js .hero-copy > .cta-row { animation-delay: .9s; }
html.js .times-card { opacity: 0; transform: translateY(24px) scale(.98); animation: rise .9s .5s var(--ease) forwards; }
html.js .times-list li { opacity: 0; transform: translateY(12px); animation: rise .6s var(--ease) forwards; }
html.js .times-list li:nth-child(1) { animation-delay: .9s; } html.js .times-list li:nth-child(2) { animation-delay: 1.0s; } html.js .times-list li:nth-child(3) { animation-delay: 1.1s; }
html.js .next-service:not([hidden]) { animation: rise .6s 1.2s var(--ease) both; }
.times-list li.is-next .time-what::after { animation: badge 3s ease-in-out infinite; }
@keyframes badge { 0%, 100% { box-shadow: 0 0 0 0 rgba(250, 238, 10, 0); } 50% { box-shadow: 0 0 0 5px rgba(250, 238, 10, .45); } }

/* Reveals with direction and stagger */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .ledger-row.reveal, html.js .timeline li.reveal, html.js .sermon-list li.reveal { transform: translateX(-12px); }   /* small: must never leave the viewport at 320px */
html.js .ledger-row.reveal.in, html.js .timeline li.reveal.in, html.js .sermon-list li.reveal.in { transform: none; }   /* same specificity as the rule above, so it must follow it */
html.js .split .video-frame.reveal, html.js .split .map-frame.reveal { transform: none; clip-path: inset(0 100% 0 0 round var(--radius)); transition: opacity .8s var(--ease), clip-path .9s var(--ease); }   /* wipe: no layout, no overflow */
html.js .split .video-frame.reveal.in, html.js .split .map-frame.reveal.in { clip-path: inset(0 0 0 0 round var(--radius)); }
html.js .mission-col.reveal:nth-child(2) { transition-delay: .15s; }
html.js .two-cards .reveal:nth-child(2), html.js .statements .reveal:nth-child(2) { transition-delay: .12s; }
html.js .ledger-row.reveal:nth-child(2), html.js .commit-grid li.reveal:nth-child(2), html.js .times-strip li.reveal:nth-child(2), html.js .sermon-list li.reveal:nth-child(2), html.js .timeline li.reveal:nth-child(2) { transition-delay: .08s; }
html.js .ledger-row.reveal:nth-child(3), html.js .commit-grid li.reveal:nth-child(3), html.js .times-strip li.reveal:nth-child(3), html.js .sermon-list li.reveal:nth-child(3), html.js .timeline li.reveal:nth-child(3) { transition-delay: .16s; }
html.js .ledger-row.reveal:nth-child(4), html.js .commit-grid li.reveal:nth-child(4), html.js .sermon-list li.reveal:nth-child(4) { transition-delay: .24s; }
html.js .ledger-row.reveal:nth-child(5), html.js .commit-grid li.reveal:nth-child(5), html.js .sermon-list li.reveal:nth-child(5) { transition-delay: .32s; }
html.js .ledger-row.reveal:nth-child(6), html.js .sermon-list li.reveal:nth-child(6) { transition-delay: .40s; }
html.js .ledger-row.reveal:nth-child(7) { transition-delay: .48s; } html.js .ledger-row.reveal:nth-child(8) { transition-delay: .56s; }
html.js .commit-list li { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
html.js .commit-strip.in .commit-list li { opacity: 1; transform: none; }
html.js .commit-strip.in .commit-list li:nth-child(2) { transition-delay: .08s; } html.js .commit-strip.in .commit-list li:nth-child(3) { transition-delay: .16s; }
html.js .commit-strip.in .commit-list li:nth-child(4) { transition-delay: .24s; } html.js .commit-strip.in .commit-list li:nth-child(5) { transition-delay: .32s; }

/* Heading rule draws in after the kicker */
.kicker + h2:not(.vh) { position: relative; padding-bottom: .35em; }
.kicker + h2:not(.vh)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .15s; }
html.js .kicker + h2.in::after, html:not(.js) .kicker + h2::after { transform: scaleX(1); }
.welcome .kicker + h2::after { left: 50%; margin-left: -28px; }

/* Hover: arrow nudge on primary buttons, arrow slide on sermon rows, lift on link cards */
.btn-primary, .btn-green, .btn-yellow { position: relative; }
.btn-primary::after, .btn-green::after, .btn-yellow::after { content: "\2192"; display: inline-block; max-width: 0; overflow: hidden; opacity: 0; margin-left: 0; transition: max-width .3s var(--ease), opacity .3s, margin-left .3s var(--ease); }
@media (hover: hover) { .btn-primary:hover::after, .btn-green:hover::after, .btn-yellow:hover::after { max-width: 1.2em; opacity: 1; margin-left: .35em; } }
.sermon-go { transition: transform .3s var(--ease); }
@media (hover: hover) { .sermon-list a:hover .sermon-go { transform: translateX(6px); } .nf-links a, .commit-grid li, .card { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; } .nf-links a:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }

/* Mobile nav items stagger in; bot panel and messages spring in; flash slides in */
@media (max-width: 860px) {
  .site-nav li, .site-nav .nav-cta { opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav-toggle:checked ~ .site-nav li, .nav-toggle:checked ~ .site-nav .nav-cta { opacity: 1; transform: none; }
  .nav-toggle:checked ~ .site-nav li:nth-child(2) { transition-delay: .04s; } .nav-toggle:checked ~ .site-nav li:nth-child(3) { transition-delay: .08s; }
  .nav-toggle:checked ~ .site-nav li:nth-child(4) { transition-delay: .12s; } .nav-toggle:checked ~ .site-nav li:nth-child(5) { transition-delay: .16s; }
  .nav-toggle:checked ~ .site-nav li:nth-child(6) { transition-delay: .20s; } .nav-toggle:checked ~ .site-nav li:nth-child(7) { transition-delay: .24s; }
  .nav-toggle:checked ~ .site-nav .nav-cta { transition-delay: .28s; }
}
.bot-panel:not([hidden]) { animation: botin .35s var(--ease) both; transform-origin: bottom right; }
@keyframes botin { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.bot-msg { animation: msgin .3s var(--ease) both; }
@keyframes msgin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bot-chip { transition: transform .2s var(--ease), background-color .2s; }
@media (hover: hover) { .bot-chip:hover { transform: translateY(-2px); } }
html.js .flash { animation: rise .5s var(--ease) both; }
.field input, .field textarea { transition: border-color .2s, box-shadow .2s; }

/* ---- Motion: original rules kept below for the rise keyframes and kicker spin ---- */
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---- Responsive ---- */
@media (max-width: 1000px) {
  .hero { min-height: 0; padding-bottom: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-art { position: relative; height: clamp(200px, 60vw, 300px); margin: 1.5rem 0 0; width: 100%; order: 2; }
  .hero-copy { order: 1; }
  .times-card { order: 3; }
  .hero-art svg { height: 100%; }
  .hero-grid { display: contents; }
  .hero-copy { position: relative; z-index: 1; width: min(100% - 2.5rem, 1160px); margin-inline: auto; }
  .times-card { margin: -1.25rem auto 2.5rem; width: min(100% - 2.5rem, 1160px); z-index: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .form-layout { grid-template-columns: 1fr; }
  .times-strip { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 1.25rem; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; cursor: pointer; margin-left: auto; }
  .burger-lines { display: flex; flex-direction: column; gap: 5px; width: 24px; }
  .burger-lines i { display: block; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .site-nav { position: absolute; top: calc(100% + 8px); right: 1.25rem; left: auto; width: min(320px, calc(100vw - 2.5rem)); background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(27, 42, 74, .25); border: 1px solid var(--line); padding: .6rem; flex-direction: column; align-items: stretch; gap: .4rem; opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a:not(.btn) { min-height: 48px; padding: 0 1rem; font-size: 1.1rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a[aria-current="page"] { background: var(--tint); }
  .nav-cta { margin: .3rem .4rem .2rem; }
  .nav-toggle:checked ~ .nav-burger .burger-lines i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger .burger-lines i:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger .burger-lines i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-toggle:checked ~ .site-nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav-scrim { display: block; position: fixed; inset: 0; background: rgba(27, 42, 74, .35); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90; }
  html:has(.nav-toggle:checked) .nav-scrim, html.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
  html:has(.nav-toggle:checked), html.nav-open { overflow: hidden; }
  .mission-grid { grid-template-columns: 1fr; }
  .statements { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; }
  .pastor { grid-template-columns: 200px 1fr; }
  .commit-grid { grid-template-columns: 1fr 1fr; }
  .mission-col + .mission-col { border-left: 0; border-top: 1px solid var(--line); }
  .ledger-row { grid-template-columns: 1fr; gap: .3rem; }
  .sermon-list a { grid-template-columns: 1fr; gap: .2rem; }
  .sermon-go { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
  .bot { right: 1rem; bottom: 1rem; }
  .bot-launch { padding: 0; width: 58px; height: 58px; justify-content: center; }
  .bot-launch img { width: 36px; height: 36px; }
  .bot-launch-label { display: none; }
  .bot-panel { right: 0; bottom: 0; left: 0; width: 100%; max-height: none; height: 100dvh; border-radius: 0; border: 0; }
  .cta-row .btn { width: 100%; }
  .card .btn, .way .btn, .form .btn { width: 100%; }
  .way .btn { align-self: stretch; }
  .footer-col ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .footer-times { display: grid; grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .commit-grid { grid-template-columns: 1fr; }
  .commit-list { justify-content: flex-start; }
  .pastor { grid-template-columns: 1fr; }
  .pastor-photo { max-width: 220px; }
}
@media print {
  .site-header, .site-footer, .horizon, .bot, .progress, .skip, .welcome, .commit-strip, .video-frame, .map-frame, .nav-scrim, .btn { display: none !important; }
  body { font-size: 12pt; color: #000; }
  html.js .reveal, html.js .hero-copy > *, html.js .times-card { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero-art { display: none; }
  .times-card { box-shadow: none; border: 1px solid #999; margin-top: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; }
}
@media (max-width: 480px) {
  body { font-size: 1.05rem; }
  .container { width: min(100% - 2rem, 1160px); }
  .time-when { font-size: 1.2rem; }
}
