/* Morning Dew — "First light". Tokens per docs/03-design-system.md. Mobile first (360px). */

@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/source-serif-4-400.woff2) format("woff2"); }

:root {
  /* --brand is the ministry's colour (theme_json.primary); everything else derives from it. */
  --brand: #5B3DF5; --dawn: #FF7A45; --night: #0B0B12;
  --bg: #FAFAF9; --surface: #FFFFFF; --surface-2: #F4F4F5;
  --ink: #0B0B12; --ink-2: #52525B; --line: #E7E5E4;
  --primary: var(--brand); --primary-ink: #FFFFFF; --gold-ink: color-mix(in srgb, var(--dawn) 45%, #3F1D0B);
  --live: #D6453D; --focus: #2F80ED; --danger: #B42318; --ok: #15803D;
  --mist: color-mix(in srgb, var(--brand) 7%, #FFFFFF); --mist-2: color-mix(in srgb, var(--brand) 3%, #FFFFFF); --leaf: var(--brand);
  --hill-1: color-mix(in srgb, var(--brand) 55%, #0B0B12); --hill-2: color-mix(in srgb, var(--brand) 30%, #0B0B12);
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-full: 999px;
  --shadow: 0 1px 2px rgb(11 11 18 / .06), 0 8px 24px rgb(11 11 18 / .06);
  --serif: ui-sans-serif, system-ui, -apple-system, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --reading: "Source Serif 4", Georgia, serif;
  --ui: ui-sans-serif, system-ui, -apple-system, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* Night sky in the ministry's colour, rising to a warm horizon. */
  --hero: linear-gradient(180deg, #0B0B12 0%, color-mix(in srgb, var(--brand) 38%, #0B0B12) 38%, color-mix(in srgb, var(--brand) 72%, #0B0B12) 66%, color-mix(in srgb, var(--brand) 45%, var(--dawn)) 88%, var(--dawn) 100%);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0B12; --surface: #14141C; --surface-2: #1C1C26;
    --ink: #F4F4F5; --ink-2: #A1A1AA; --line: #2A2A36;
    --primary: color-mix(in srgb, var(--brand) 55%, #FFFFFF); --primary-ink: #0B0B12; --danger: #F97066; --ok: #4ADE80; --gold-ink: var(--dawn);
    --shadow: none; color-scheme: dark;
    --mist: color-mix(in srgb, var(--brand) 14%, #0B0B12); --mist-2: color-mix(in srgb, var(--brand) 8%, #0B0B12); --leaf: var(--primary);
  }
}
:root[data-theme="dark"] {
  --bg: #0B0B12; --surface: #14141C; --surface-2: #1C1C26;
  --ink: #F4F4F5; --ink-2: #A1A1AA; --line: #2A2A36;
  --primary: color-mix(in srgb, var(--brand) 55%, #FFFFFF); --primary-ink: #0B0B12; --danger: #F97066; --ok: #4ADE80; --gold-ink: var(--dawn);
  --shadow: none; color-scheme: dark;
  --mist: color-mix(in srgb, var(--brand) 14%, #0B0B12); --mist-2: color-mix(in srgb, var(--brand) 8%, #0B0B12); --leaf: var(--primary);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.5 var(--ui); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--surface); padding: 12px 16px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 8px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.icon { flex: none; vertical-align: -0.2em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.reading { max-width: 720px; }
.section { margin-top: 48px; }
main { display: block; min-height: 60vh; padding-bottom: 64px; }
main:focus { outline: none; }

/* Type */
.display { font: 600 34px/1.1 var(--serif); margin: 0 0 12px; letter-spacing: -.01em; }
.h1 { font: 600 28px/1.2 var(--serif); margin: 0 0 16px; letter-spacing: -.005em; }
.h2 { font: 600 22px/1.25 var(--serif); margin: 0 0 12px; }
.h3 { font: 600 19px/1.3 var(--serif); margin: 0 0 8px; }
.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 24px; }
.eyebrow { font: 600 13px/1.4 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 8px; }
.scripture-ref { font: 600 13px/1.4 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 6px; }
.prose { font: 400 18px/1.7 var(--reading); max-width: 68ch; }
.prose p { margin: 0 0 1em; }
.prose a { word-break: break-word; }
.pre { white-space: pre-wrap; }
@media (min-width: 960px) {
  .display { font-size: 56px; } .h1 { font-size: 40px; } .h2 { font-size: 28px; } .prose { font-size: 19px; }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: transform .2s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 12px; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font: 600 18px/1 var(--serif); min-height: 44px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: var(--r-full); background: var(--primary); color: var(--primary-ink); font-weight: 600; text-decoration: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-full); color: var(--ink); background: none; border: 0; cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }
.nav-inline { display: none; }
@media (min-width: 960px) {
  .nav-inline { display: flex; gap: 20px; margin-left: 24px; }
  .nav-inline a { color: var(--ink); text-decoration: none; font-weight: 500; }
  .nav-inline a:hover { color: var(--primary); }
  .menu-open { display: none; }
}

/* Menu sheet (works without JS via :target) */
.menu-sheet { position: fixed; inset: 0; z-index: 60; background: var(--bg); overflow-y: auto; }
.menu-sheet:target { display: block !important; }
.menu-inner { max-width: 560px; margin: 0 auto; padding: 0 16px 32px; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.menu-links { list-style: none; padding: 0; margin: 24px 0; }
.menu-links a { display: block; padding: 14px 0; font: 600 24px/1.2 var(--serif); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-full); border: 1px solid transparent; font: 600 16px/1.2 var(--ui); text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: var(--primary-ink); min-height: 52px; font-size: 17px; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-secondary { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink-2); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 15px; }
.btn-text { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; background: none; border: 0; color: var(--primary); font: 600 16px/1.3 var(--ui); text-decoration: none; cursor: pointer; }
.btn-text:hover, .btn-text:focus-visible { text-decoration: underline; }
.btn-text.danger { color: var(--danger); }

/* Cards */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow), inset 0 1px 0 rgb(255 255 255 / .6); }
.dew-card { background: linear-gradient(170deg, var(--mist-2), var(--surface) 55%); border-color: color-mix(in srgb, var(--leaf) 22%, var(--line)); padding: 24px 20px; overflow: hidden; }
.dew-card::before { content: ""; position: absolute; top: 18px; right: 18px; width: 26px; height: 26px; border-radius: 0 50% 50% 50%; transform: rotate(45deg);
  background: radial-gradient(circle at 62% 62%, rgb(255 255 255 / .95) 0 12%, transparent 14%), linear-gradient(135deg, color-mix(in srgb, var(--leaf) 10%, transparent), color-mix(in srgb, var(--leaf) 38%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--leaf) 25%, transparent); pointer-events: none; }
.dew-card .h2 { font-size: 26px; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.stretched { color: inherit; text-decoration: none; }
.card:has(.stretched:hover) { border-color: var(--ink-2); }
.card:has(.stretched:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.stretched:focus-visible { outline: none; }
.clamp-3, .clamp-4 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 12px; }
.clamp-3 { -webkit-line-clamp: 3; line-clamp: 3; } .clamp-4 { -webkit-line-clamp: 4; line-clamp: 4; }
.card-actions { display: flex; align-items: center; gap: 12px; }
.grid { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(3, 1fr); } }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--hero); color: #fff; padding: 36px 0 120px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 12% 14%, rgb(255 255 255 / .8), transparent),
    radial-gradient(1px 1px at 28% 8%, rgb(255 255 255 / .6), transparent),
    radial-gradient(1.5px 1.5px at 74% 12%, rgb(255 255 255 / .7), transparent),
    radial-gradient(1px 1px at 88% 22%, rgb(255 255 255 / .5), transparent),
    radial-gradient(1px 1px at 52% 5%, rgb(255 255 255 / .5), transparent); }
@keyframes glint { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes breathe { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
.hero-inner { max-width: 720px; position: relative; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: var(--r-full); background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); color: #FFE7D6; font: 600 13px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; }
.hero-eyebrow::before { content: ""; width: 7px; height: 9px; background: var(--dawn); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.hero .display { text-shadow: 0 2px 24px rgb(11 11 18 / .55); }

.hero-tagline { font-size: 18px; color: #E4E4E7; margin: 0 0 24px; max-width: 30ch; }
.hero-more { color: #fff; display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; min-height: 44px; font-weight: 600; }

/* Meeting card */
.meeting { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow); color: var(--ink); }
.meeting--hero { background: linear-gradient(160deg, rgb(255 255 255 / .12), rgb(255 255 255 / .04)); border-color: rgb(255 255 255 / .2); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), 0 20px 40px rgb(6 12 24 / .35); }
.meeting--hero .meeting-when, .meeting--hero .meeting-title { color: #fff; }
.meeting--hero .meeting-home, .meeting--hero .muted, .meeting--hero .next-label { color: #D4D4D8; }
.meeting--hero .btn-text { color: #fff; }
.meeting--compact { border-radius: var(--r-md); padding: 16px; }
.meeting-status { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 24px; margin-bottom: 6px; }
.next-label { font: 600 13px/1.4 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.platform-chip { margin-left: auto; font: 600 12px/1 var(--ui); padding: 5px 9px; border-radius: var(--r-full); background: var(--surface-2); color: var(--ink-2); }
.meeting--hero .platform-chip { background: rgb(255 255 255 / .12); color: #E4E4E7; }
.meeting-title { font: 600 20px/1.25 var(--serif); margin: 0 0 8px; }
.meeting-when { font: 600 24px/1.25 var(--ui); margin: 0 0 4px; letter-spacing: -.01em; }
.meeting--compact .meeting-when { font-size: 19px; }
.meeting-home { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; }
.meeting-desc { margin: 0 0 12px; }
.countdown { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 16px; padding: 8px 12px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--dawn) 18%, transparent); font: 600 15px/1.3 var(--ui); font-variant-numeric: tabular-nums; }
.meeting--hero .countdown { background: rgb(255 255 255 / .12); color: #FFE7D6; }
.meeting.is-live .countdown { display: none; }
.meeting-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.meeting--compact .meeting-actions { flex-direction: row; align-items: center; }
.meeting.is-live { border-color: color-mix(in srgb, var(--live) 50%, transparent); }
.meeting-list { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 720px) { .meeting-actions { flex-direction: row; align-items: center; } }

.live-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-full); background: color-mix(in srgb, var(--live) 14%, transparent); color: var(--live); font: 700 12px/1.2 var(--ui); letter-spacing: .1em; }
.meeting--hero .live-badge { background: rgb(214 69 61 / .25); color: #FFD1CD; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgb(214 69 61 / .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(214 69 61 / .6); } 70% { box-shadow: 0 0 0 8px rgb(214 69 61 / 0); } 100% { box-shadow: 0 0 0 0 rgb(214 69 61 / 0); } }
.tz-note { display: flex; gap: 6px; align-items: flex-start; }

.upcoming { list-style: none; margin: 0; padding: 0; }
.upcoming-item { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line); }
.upcoming-local { font-weight: 600; }
.stack-sm { display: flex; flex-wrap: wrap; gap: 8px; }
.help { margin-top: 32px; background: var(--surface-2); border-radius: var(--r-md); padding: 4px 16px; }
.help summary { min-height: 48px; display: flex; align-items: center; font-weight: 600; cursor: pointer; }

/* Join bar (mobile) */
.join-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 30%); }
.join-bar-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 0; border-radius: var(--r-full); background: var(--live); color: #fff; font: 700 17px/1 var(--ui); cursor: pointer; box-shadow: 0 8px 24px rgb(214 69 61 / .35); }
.join-bar-btn .live-dot { background: #fff; }
@media (min-width: 960px) { .join-bar { left: auto; width: 360px; } }

/* Dew */
.dew-card .h2 { margin-top: 4px; }
.scripture { margin: 24px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--dawn); }
.scripture blockquote { margin: 0; font: italic 400 20px/1.55 var(--serif); }
.scripture blockquote p { margin: 0 0 .5em; }
.scripture figcaption { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.labelled { margin: 24px 0; padding: 20px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.labelled--declaration { background: linear-gradient(135deg, color-mix(in srgb, var(--dawn) 20%, var(--surface)), var(--mist)); border-color: color-mix(in srgb, var(--dawn) 35%, var(--line)); position: relative; }
.labelled--declaration .labelled-body { font: 600 21px/1.45 var(--serif); }
.labelled--prayer { background: var(--mist); border-color: color-mix(in srgb, var(--leaf) 20%, var(--line)); }
.labelled-body { font: 400 19px/1.6 var(--reading); }
.labelled-body p { margin: 0 0 .6em; }
.labelled--declaration .labelled-body { font-weight: 400; }
.share { margin: 32px 0; display: flex; flex-direction: column; gap: 8px; }
.share-more { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.prevnext { display: flex; justify-content: space-between; gap: 16px; margin: 32px 0 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.prevnext a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; max-width: 48%; text-decoration: none; font-weight: 600; }
.prevnext a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prevnext .next { margin-left: auto; text-align: right; }
.dew-list { list-style: none; margin: 0; padding: 0; }
.dew-item a { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.dew-item-date { font-size: 14px; color: var(--ink-2); }
.dew-item-title { font: 600 19px/1.3 var(--serif); }
.dew-item a:hover .dew-item-title { color: var(--primary); }
.pager { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; min-height: 44px; }

/* Testimonies */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -16px 8px; padding-inline: 16px; scroll-padding-inline: 16px; }
.scroller > * { scroll-snap-align: start; }
@media (min-width: 720px) { .scroller { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; margin-inline: 0; padding-inline: 0; } }
.testimony-card .quote-mark { color: var(--dawn); margin-bottom: 8px; }
.testimony-by { font-weight: 600; color: var(--ink-2); font-size: 15px; margin: 0; }
.testimony-photo { border-radius: var(--r-md); margin: 16px 0; }

/* Banner */
.banner { background: color-mix(in srgb, var(--dawn) 18%, var(--bg)); border-bottom: 1px solid var(--line); }
.banner-inner { display: flex; gap: 12px; align-items: flex-start; padding-top: 12px; padding-bottom: 12px; }
.banner-icon { margin-top: 2px; color: var(--ink); }
.banner-text { flex: 1; min-width: 0; }
.banner-title { margin: 0; font-weight: 600; }
.banner-live { color: var(--live); }
.banner-body { margin: 2px 0 0; color: var(--ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.banner-cta { display: inline-block; margin-top: 4px; font-weight: 600; }
.banner-close { margin: -8px -8px 0 0; }

/* New life */
.newlife-card { background: linear-gradient(160deg, color-mix(in srgb, var(--dawn) 22%, var(--surface)), var(--surface)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 20px; text-align: center; }
.newlife-card p { max-width: 36ch; margin: 0 auto 16px; }
.newlife-icon { color: var(--dawn); margin: 0 auto 8px; display: block; }
.newlife-link { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.newlife-link p { margin: 0; color: var(--ink-2); }
.sheet-details { margin: 32px 0; }
.sheet-details > summary { list-style: none; width: 100%; }
.sheet-details > summary::-webkit-details-marker { display: none; }
.sheet-details[open] > summary { display: none; }
.respond-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.steps { padding-left: 20px; } .steps li { margin-bottom: 8px; }

/* About */
.about-teaser { display: flex; gap: 16px; align-items: flex-start; }
.about-photo { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; flex: none; }
.leader { display: grid; gap: 20px; }
.leader-photo { width: 100%; max-width: 320px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
@media (min-width: 720px) { .leader { grid-template-columns: 240px 1fr; align-items: start; } }
.socials { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 12px; border-radius: var(--r-full); border: 1px solid var(--line); color: inherit; text-decoration: none; }

/* Forms */
.form { display: grid; gap: 20px; margin-top: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
fieldset.field, fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, legend { font-weight: 600; }
.optional { font-weight: 400; color: var(--ink-2); }
.help-text { margin: 0; color: var(--ink-2); font-size: 14px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=number], input[type=date], input[type=time], input[type=datetime-local], input:not([type]), select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: 400 17px/1.4 var(--ui);
}
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }
input[type=file] { font: 400 15px var(--ui); min-height: 44px; }
input[type=color] { width: 64px; height: 48px; padding: 2px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.field--check { display: flex; gap: 10px; align-items: flex-start; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--primary); }
.field--check label { font-weight: 500; }
.field--error input, .field--error textarea { border-color: var(--danger); }
.field-error { display: flex; gap: 6px; align-items: flex-start; color: var(--danger); margin: 0; font-size: 15px; font-weight: 500; }
.error-summary { border: 2px solid var(--danger); border-radius: var(--r-md); padding: 12px 16px; margin: 16px 0; }
.error-summary ul { margin: 0; padding-left: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }

/* Bottom sheet / toast */
.sheet { position: fixed; inset: 0; z-index: 70; background: rgb(11 11 18 / .5); display: flex; align-items: flex-end; justify-content: center; }
.sheet-panel { width: 100%; max-width: 480px; background: var(--surface); color: var(--ink); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 12px; }
.sheet-title { font: 600 20px/1.3 var(--serif); margin: 0; }
.sheet-text { margin: 0; color: var(--ink-2); }
@media (min-width: 720px) { .sheet { align-items: center; } .sheet-panel { border-radius: var(--r-lg); } }
.toast { position: fixed; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 80; background: var(--night); color: #fff; padding: 12px 18px; border-radius: var(--r-full); font-weight: 600; box-shadow: var(--shadow); max-width: calc(100% - 32px); }

/* Empty state */
.empty { text-align: center; padding: 40px 16px; color: var(--ink-2); }
.empty svg { margin: 0 auto 8px; }
.empty-title { font-weight: 600; color: var(--ink); }

/* Footer */
.site-footer { position: relative; background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--brand) 35%, #0B0B12) 0%, var(--night) 60%); color: #D4D4D8; padding: 48px 0 calc(96px + env(safe-area-inset-bottom)); margin-top: 32px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--dawn) 30%, #FFE7D6 50%, var(--dawn) 70%, transparent); opacity: .8; }
.site-footer a { color: #fff; }
.brand--footer { color: #fff; }
.footer-tagline { margin: 8px 0 0; }
.footer-links { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; }
.copyright { font-size: 14px; color: #A1A1AA; margin: 0; }
.site-footer .socials a { border-color: rgb(255 255 255 / .2); }

/* ── Dew additions ─────────────────────────────────────── */
.eyebrow--dew { display: inline-flex; align-items: center; gap: 6px; color: var(--leaf); }
.drop-glyph { color: var(--leaf); flex: none; }
.section-tight { margin-top: 24px; }
.mist { background: linear-gradient(180deg, var(--mist) 0%, var(--mist-2) 100%); padding: 40px 0; margin-top: 48px; border-top: 1px solid color-mix(in srgb, var(--leaf) 12%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--leaf) 12%, transparent); }
.page-head { background: linear-gradient(180deg, var(--mist) 0%, var(--bg) 100%); padding: 32px 0 8px; }
.page-head .lead { margin-bottom: 16px; }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 16px; }

/* Portrait: an arch, like a window at sunrise, with a dawn glow behind */
.portrait { position: relative; margin: 0; isolation: isolate; }
.portrait img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; border-radius: 999px 999px 24px 24px; border: 4px solid var(--surface); box-shadow: 0 18px 40px rgb(11 11 18 / .18); background: var(--surface-2); }
.portrait-glow { position: absolute; inset: -14px -14px 30% -14px; z-index: -1; border-radius: 999px 999px 40px 40px; background: radial-gradient(circle at 50% 80%, #FFE7D6, var(--dawn) 45%, color-mix(in srgb, var(--dawn) 0%, transparent) 72%); opacity: .7; filter: blur(2px); }
.portrait--lg { width: min(100%, 300px); aspect-ratio: 4 / 5; }
.portrait--md { width: 148px; aspect-ratio: 4 / 5; flex: none; }
.meet-leader { margin-top: 48px; padding: 36px 0; background: linear-gradient(160deg, var(--mist) 0%, var(--bg) 70%); }
.meet-leader-inner { display: flex; gap: 20px; align-items: flex-start; }
.meet-leader-text p { margin: 0 0 4px; }
@media (max-width: 479px) { .meet-leader-inner { flex-direction: column; } .portrait--md { width: 160px; } }
.leader-band { background: linear-gradient(180deg, var(--mist) 0%, var(--bg) 100%); padding: 40px 0; }
.leader { display: grid; gap: 28px; }
@media (min-width: 760px) { .leader { grid-template-columns: 300px 1fr; align-items: start; } }

/* Videos */
.video-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .video-grid { grid-template-columns: repeat(3, 1fr); } .video-grid--home { grid-template-columns: 2fr 1fr; grid-auto-rows: auto; } .video-grid--home .video-card--large { grid-row: span 2; } }
.video-card { display: flex; flex-direction: column; gap: 10px; }
.video-thumb, .video-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--night); border: 0; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.video-thumb:hover img { transform: scale(1.03); }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgb(11 11 18 / .45)); }
.play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--primary); box-shadow: 0 0 0 6px rgb(255 255 255 / .25), 0 8px 24px rgb(0 0 0 / .3); }
.video-card--large .play { width: 72px; height: 72px; }
.video-title { font: 600 17px/1.35 var(--serif); margin: 0; }
.video-card--large .video-title { font-size: 21px; }
.video-meta p { margin: 4px 0 0; }

/* Contact */
.contact-head { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.contact-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 3px solid var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dawn) 60%, transparent); flex: none; }
.choice-list { display: grid; gap: 8px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--leaf); background: var(--mist); }
.choice input { width: 20px; height: 20px; accent-color: var(--primary); margin: 0; }
.vision { padding: 20px; border-radius: var(--r-lg); background: var(--mist); }


/* ── Modern refresh (mobile first) ─────────────────────────── */
:root { --r-md: 18px; --r-lg: 26px; --shadow: 0 1px 2px rgb(11 11 18 / .05), 0 12px 32px -12px rgb(11 11 18 / .14); }
body { font-size: 16px; }
.wrap { padding: 0 20px; }
.section { margin-top: 56px; }
.h2 { letter-spacing: -.015em; }
.display { font-size: clamp(38px, 10vw, 64px); letter-spacing: -.025em; line-height: 1.02; }
.site-header { background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent); }
.pill { min-height: 40px; padding: 0 16px; box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--primary) 60%, transparent); }

/* Hero: scene layers */
.hero { padding: 28px 0 108px; }
.dawn-art { position: absolute; inset: auto 0 0 0; height: 150px; z-index: -1; pointer-events: none; }
.dawn-glow { position: absolute; left: 50%; bottom: 10px; width: min(900px, 160vw); height: 260px; transform: translateX(-50%); background: radial-gradient(50% 60% at 50% 100%, rgb(255 225 160 / .75), rgb(242 180 90 / .25) 55%, transparent 75%); animation: breathe 9s ease-in-out infinite; }
.dawn-sun { position: absolute; left: 50%; bottom: 34px; width: 92px; height: 92px; margin-left: -46px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #FFF6DD 0 35%, #FFDFA0 60%, #F7C46F 100%); box-shadow: 0 0 60px 20px rgb(255 214 140 / .45); }
.dawn-hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 86px; display: block; }
.dawn-grass { display: none; position: absolute; left: 0; right: 0; bottom: 18px; height: 70px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='70' viewBox='0 0 220 70'%3E%3Cdefs%3E%3CradialGradient id='d' cx='35%25' cy='30%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23E4F7F0' stop-opacity='.8'/%3E%3Cstop offset='1' stop-color='%238FD3BE' stop-opacity='.4'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='none' stroke='%233F8A70' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 70q-2.4 -22.0 -6 -40'/%3E%3Cpath d='M34 70q2.0 -29.7 5 -54'/%3E%3Cpath d='M58 70q-1.6 -18.7 -4 -34'/%3E%3Cpath d='M80 70q2.8 -33.0 7 -60'/%3E%3Cpath d='M104 70q-2.0 -23.1 -5 -42'/%3E%3Cpath d='M128 70q1.6 -27.5 4 -50'/%3E%3Cpath d='M150 70q-2.0 -19.8 -5 -36'/%3E%3Cpath d='M170 70q2.4 -31.9 6 -58'/%3E%3Cpath d='M194 70q-1.6 -24.2 -4 -44'/%3E%3Cpath d='M212 70q2.0 -17.6 5 -32'/%3E%3C/g%3E%3Ccircle cx='6' cy='28' r='3.2' fill='url%28%23d%29'/%3E%3Ccircle cx='39' cy='14' r='2.4' fill='url%28%23d%29'/%3E%3Ccircle cx='54' cy='34' r='2.4' fill='url%28%23d%29'/%3E%3Ccircle cx='87' cy='8' r='3.2' fill='url%28%23d%29'/%3E%3Ccircle cx='99' cy='26' r='2.4' fill='url%28%23d%29'/%3E%3Ccircle cx='132' cy='18' r='2.4' fill='url%28%23d%29'/%3E%3Ccircle cx='145' cy='32' r='3.2' fill='url%28%23d%29'/%3E%3Ccircle cx='176' cy='10' r='2.4' fill='url%28%23d%29'/%3E%3Ccircle cx='190' cy='24' r='2.4' fill='url%28%23d%29'/%3E%3Ccircle cx='217' cy='36' r='3.2' fill='url%28%23d%29'/%3E%3C/svg%3E") repeat-x left bottom / 220px 70px; animation: glint 6s ease-in-out infinite; }
@keyframes glint { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.25); } }
.hero-inner { display: grid; gap: 20px; max-width: 1120px; }
.hero-tagline { margin: 0; font-size: 17px; max-width: 32ch; }
.hero-copy .hero-eyebrow { margin-bottom: 12px; }
.hero-more { margin-top: 10px; font-size: 15px; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 170px; }
  .dawn-art { height: 210px; }
  .dawn-sun { width: 130px; height: 130px; margin-left: -65px; bottom: 50px; }
  .dawn-hills { height: 120px; }
  .dawn-grass { bottom: 30px; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
  .hero-tagline { font-size: 20px; }
}

/* Meeting card */
.meeting { border-radius: var(--r-lg); padding: 18px; }
.meeting--hero { padding: 18px 18px 16px; }
.meeting-title { font-size: 19px; margin-bottom: 2px; }
.meeting-when { font-size: 22px; }
.meeting-home { font-size: 14px; margin-bottom: 12px; }
.meeting-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.meeting-actions .btn-primary { flex: 1 1 100%; }
@media (min-width: 480px) { .meeting-actions .btn-primary { flex: 0 1 auto; } }
.countdown { display: block; margin: 0 0 16px; padding: 0; background: none; font: inherit; }
.cd-head { margin: 0 0 8px; font: 600 12px/1.2 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.cd-date { text-transform: none; letter-spacing: 0; font-weight: 500; }
.cd-units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cd-units[data-has-days="0"] { grid-template-columns: repeat(3, 1fr); }
.cd-units[data-has-days="0"] [data-unit="d"] { display: none; }
.cd-unit { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 4px 8px; border-radius: 14px; background: color-mix(in srgb, var(--dawn) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--dawn) 30%, var(--line)); }
.cd-num { font: 700 26px/1 var(--ui); font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--ink); }
.cd-lbl { margin-top: 4px; font: 600 11px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.meeting--hero .countdown { background: none; color: inherit; }
.meeting--hero .cd-head, .meeting--hero .cd-lbl { color: #D4D4D8; }
.meeting--hero .cd-date { color: #FFE7D6; }
.meeting--hero .cd-unit { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .16); }
.meeting--hero .cd-num { color: #fff; }
.meeting--compact .cd-num { font-size: 20px; }
.meeting--compact .cd-unit { padding: 8px 2px 6px; }
.meeting.is-live .countdown { display: none; }

/* Cards and sections */
.card { border-radius: var(--r-md); }
.dew-card .h2 { font-size: 24px; }
.mist { padding: 44px 0; }
.meet-leader { padding: 32px 0; }
@media (max-width: 479px) {
  .meet-leader-inner { flex-direction: row; align-items: flex-start; gap: 16px; }
  .portrait--md { width: 96px; }
  .portrait--md img { border-width: 3px; }
  .portrait--md .portrait-glow { inset: -8px -8px 30% -8px; }
  .meet-leader-text > p:not(.eyebrow) { display: -webkit-box; -webkit-line-clamp: 5; line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Horizontal rails on phones (videos, testimonies) */
@media (max-width: 639px) {
  .rail, .scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 8px; scroll-padding-inline: 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .rail::-webkit-scrollbar, .scroller::-webkit-scrollbar { display: none; }
  .rail > *, .scroller > * { scroll-snap-align: start; }
}

/* Videos: modern sans titles, clamped */
.video-title { font: 600 15px/1.35 var(--ui); letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-card--large .video-title { font-size: 17px; }
.video-thumb, .video-frame { border-radius: 16px; box-shadow: var(--shadow); }
.play { width: 52px; height: 52px; background: rgb(255 255 255 / .92); color: var(--primary); box-shadow: 0 8px 24px rgb(0 0 0 / .25); }
.video-card--large .play { width: 64px; height: 64px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Brand (logo) */
.brand-mark { width: 40px; height: 40px; object-fit: contain; flex: none; }
.brand--footer .brand-mark { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-sub { font: 600 10px/1 var(--serif); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-ink); }
.site-footer .brand-sub { color: var(--dawn); }
.hero-emblem { width: 132px; height: 132px; object-fit: contain; margin: -8px 0 6px -10px; filter: drop-shadow(0 10px 28px rgb(255 255 255 / .25)); }
.hero-subtitle { display: flex; align-items: center; gap: 12px; margin: -2px 0 14px; font: 600 15px/1 var(--serif); letter-spacing: .32em; text-transform: uppercase; color: var(--dawn); }
.hero-subtitle::before, .hero-subtitle::after { content: ""; height: 1px; width: 28px; background: linear-gradient(90deg, transparent, var(--dawn)); }
.hero-subtitle::after { transform: scaleX(-1); }
@media (min-width: 960px) {
  .hero-emblem { width: 180px; height: 180px; }
  .hero-subtitle { font-size: 18px; }
}

/* Special programme */
.special-card { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 28px 20px 24px; border: 1px solid color-mix(in srgb, var(--dawn) 35%, var(--line));
  background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--dawn) 22%, transparent), transparent 60%), linear-gradient(165deg, var(--mist), var(--surface) 70%); box-shadow: var(--shadow); }
.special-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--leaf) 16%, transparent), transparent 70%); pointer-events: none; }
.special-title { font-size: 26px; letter-spacing: .01em; }
.special-intro { font: 400 18px/1.6 var(--reading); margin: 0 0 18px; max-width: 60ch; }
.special-points { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.special-points li { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 12px; border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--line); font: 600 15px/1.2 var(--ui); }
.leaf-glyph { flex: none; color: var(--leaf); }
.special-card--compact { margin: 8px 0 24px; padding: 20px 16px; }
.special-card--compact .special-title { font-size: 22px; }
.special-card--compact .special-intro { font-size: 16px; }
.special-card--compact .special-points { margin-bottom: 0; }
@media (min-width: 720px) {
  .special-card { padding: 40px 40px 36px; }
  .special-points { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; }
  .special-title { font-size: 34px; }
}

/* Dew: CAPS headings, picture or flyer, inline video */
.prose .prose-h { font: 600 20px/1.3 var(--serif); letter-spacing: .02em; margin: 1.6em 0 .6em; color: var(--primary); }
.prose .prose-h:first-child { margin-top: 0; }
.dew-figure { margin: 0 0 24px; }
.dew-figure img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.dew-figure figcaption { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.video-card--inline { margin: 0 0 1em; }
.dew-card--image { display: grid; }
.dew-card-img { width: calc(100% + 40px); max-width: none; margin: -24px -20px 18px; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-md) var(--r-md) 0 0; }
.dew-card--image::before { display: none; }
.menu-signin { display: inline-flex; align-items: center; min-height: 44px; margin-top: 24px; color: var(--ink-2); font-weight: 600; }

/* "Built with AltarPage" badge (Standard plan). */
.ap-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 12px; border-radius: var(--r-full); border: 1px solid rgb(255 255 255 / .18); color: #E4E4E7; font-size: 13px; text-decoration: none; }
.ap-badge:hover { border-color: rgb(255 255 255 / .4); }
.brand-initial { display: inline-grid; place-items: center; flex: none; border-radius: 30%; background: linear-gradient(140deg, var(--brand), color-mix(in srgb, var(--brand) 60%, var(--dawn))); color: #fff; font-weight: 800; line-height: 1; }
.give-links { display: grid; gap: 12px; margin: 24px 0; max-width: 420px; }
.give-bank { margin: 8px 0 20px; }
.give-bank .pre { font-size: 17px; line-height: 1.6; margin: 8px 0 14px; }

/* Give: online giving form */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn-block { width: 100%; justify-content: center; }
.give-form { display: grid; gap: 4px; margin: 20px 0; }
.give-form fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.give-form legend { font-weight: 600; margin-bottom: 8px; }
.give-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 6%, var(--surface)); }
.give-seg label, .give-chips label { position: relative; cursor: pointer; }
.give-seg input, .give-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.give-seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 999px; font-weight: 600; min-height: 24px; }
.give-seg input:checked + span { background: var(--primary); color: var(--primary-ink); }
.give-seg input:focus-visible + span, .give-chips input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent); outline-offset: 2px; }
.give-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-bottom: 12px; }
.give-chips span { display: block; text-align: center; padding: 12px 6px; border: 1.5px solid var(--line); border-radius: var(--r-md, 12px); font-weight: 700; background: var(--surface); }
.give-chips input:checked + span { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, var(--surface)); }
.give-other { display: block; font-weight: 500; margin: 4px 0 6px; }
.give-form #f-amount { font-size: 20px; font-weight: 700; }
.give-cover { padding: 12px; border-radius: var(--r-md, 12px); background: color-mix(in srgb, var(--primary) 7%, var(--surface)); margin-bottom: 12px; }
.give-cover .help-text { display: block; margin-top: 4px; font-weight: 600; }
.give-secure { text-align: center; margin: 10px 0 0; }
.give-other-ways { margin-top: 28px; }
.give-big { font-size: 56px; margin: 0; }
.give-facts { display: grid; gap: 12px; margin: 16px 0 20px; }
.give-facts dt { font-size: 13px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.give-facts dd { margin: 2px 0 0; }

/* Word formatting: quotes, lists, dividers */
.prose .prose-quote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--primary); font-style: italic; color: var(--ink); }
.prose .prose-quote p { margin: 0; }
.prose .prose-list { margin: 0 0 1em; padding-left: 1.3em; }
.prose .prose-list li { margin: 0 0 .45em; padding-left: .2em; }
.prose .prose-list li::marker { color: var(--primary); font-weight: 700; }
.prose .prose-hr { border: 0; height: 1px; margin: 2em auto; width: 40%; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.prose strong { font-weight: 700; color: var(--ink); }

/* Home: leader without a photo, and tighter rhythm after the hero */
.hero + .meet-leader, .hero + * + .meet-leader { margin-top: 0; }
.leader-initials { flex: none; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(145deg, var(--primary), color-mix(in srgb, var(--primary) 55%, var(--dawn))); color: var(--primary-ink); font: 700 28px/1 var(--ui); letter-spacing: .02em; box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 30%, transparent); }
@media (max-width: 479px) { .meet-leader--initials .meet-leader-inner { flex-direction: row; align-items: center; } }
.meet-leader--initials .h2 { margin: 2px 0 8px; }

/* ══════════════════════════════════════════════════════════════════════════
   Templates (body.tpl-classic | tpl-bold | tpl-dawn) and the home sections they share.
   Built at 360px first; desktop is the enhancement.
   ══════════════════════════════════════════════════════════════════════════ */

@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url(/assets/fonts/fraunces-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url(/assets/fonts/fraunces-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url(/assets/fonts/montserrat-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url(/assets/fonts/montserrat-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Buttons used on photos and dark bands */
.btn-glass { background: rgb(255 255 255 / .14); color: #fff; border-color: rgb(255 255 255 / .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgb(255 255 255 / .22); }
.btn-light { background: #fff; color: #0B0B12; }
.btn-light:hover { filter: brightness(.95); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-text--light { color: #fff; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero2 { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--night); }
.hero2--art { background: var(--hero); padding-bottom: 150px; }
.hero2-media { position: absolute; inset: 0; z-index: -2; }
.hero2-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero2--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(8 8 14 / .35) 0%, rgb(8 8 14 / .25) 30%, rgb(8 8 14 / .78) 72%, rgb(8 8 14 / .92) 100%), linear-gradient(90deg, color-mix(in srgb, var(--brand) 35%, transparent) 0%, transparent 60%); }
.hero2-inner { display: grid; gap: 24px; padding-top: clamp(96px, 30vh, 220px); padding-bottom: 28px; }
.hero2--art .hero2-inner { padding-top: 40px; }
.hero2-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: var(--r-full); background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2); color: #FFE7D6; font: 600 12px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; }
.hero2-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dawn); }
.hero2-title { font: 600 clamp(40px, 11vw, 84px)/1.02 var(--serif); letter-spacing: -.02em; margin: 0 0 12px; text-wrap: balance; text-shadow: 0 2px 30px rgb(0 0 0 / .35); }
.hero2-subtitle { margin: -4px 0 10px; font: 600 15px/1.3 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: #FFE7D6; }
.hero2-tagline { margin: 0 0 22px; font-size: 18px; line-height: 1.5; color: #E4E4E7; max-width: 34ch; }
.hero2-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero2-ctas .btn { flex: 1 1 140px; }
.hero2-side .meeting--hero { margin: 0; }

/* ── Next steps ─────────────────────────────────────────────────────────── */
.steps { padding: 40px 0 8px; }
.steps-title { margin-bottom: 16px; }
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.step { position: relative; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s var(--ease), border-color .15s; }
.step:hover, .step:focus-visible { border-color: var(--primary); transform: translateY(-1px); }
.step-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mist); color: var(--primary); }
.step-text { display: grid; gap: 2px; min-width: 0; }
.step-text strong { font: 600 17px/1.25 var(--serif); }
.step-text span { color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.step-arrow { margin-left: auto; color: var(--ink-2); flex: none; }

/* ── Word feature ───────────────────────────────────────────────────────── */
.feature { padding: 44px 0; }
.feature-inner { display: grid; gap: 20px; }
.feature-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); }
.feature-copy .h1 { margin: 6px 0 12px; }
.feature-copy .h1 a { color: inherit; text-decoration: none; }
.feature-copy .h1 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.feature-text { font: 400 18px/1.65 var(--reading); color: var(--ink); margin: 0 0 18px; }

/* ── Leader band ────────────────────────────────────────────────────────── */
.leader-band { position: relative; color: #fff; background: radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--brand) 55%, var(--night)) 0%, var(--night) 65%); padding: 48px 0; margin-top: 8px; }
.leader-band-inner { display: grid; gap: 24px; align-items: center; }
.leader-band-media .portrait--lg { width: min(78%, 320px); }
.leader-band-initials { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: linear-gradient(145deg, var(--brand), color-mix(in srgb, var(--brand) 50%, var(--dawn))); font: 700 40px/1 var(--ui); box-shadow: 0 16px 40px rgb(0 0 0 / .35); }
.leader-band .eyebrow { color: #FFE7D6; }
.leader-band .h1 { color: #fff; font-size: clamp(30px, 8vw, 52px); line-height: 1.08; }
.leader-band-bio { font: 400 18px/1.6 var(--reading); color: #E4E4E7; margin: 0 0 20px; max-width: 56ch; }

/* ── Give band ──────────────────────────────────────────────────────────── */
.give-band { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, var(--dawn))); color: #fff; padding: 40px 0; margin-top: 40px; }
.give-band-inner { display: grid; gap: 18px; align-items: center; }
.give-band .h1 { color: #fff; margin: 0 0 6px; }
.give-band p { margin: 0; font-size: 18px; color: rgb(255 255 255 / .9); max-width: 48ch; }

/* ── Mobile tab bar (thumb reach) ───────────────────────────────────────── */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-top: 1px solid var(--line); }
.tabbar a { display: grid; justify-items: center; gap: 3px; min-height: 52px; padding: 6px 2px 2px; color: var(--ink-2); text-decoration: none; font: 600 11px/1.1 var(--ui); }
.tabbar a[aria-current="page"] { color: var(--primary); }
.tabbar .tab-join { position: relative; top: -14px; }
.tabbar .tab-join .tab-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: var(--primary-ink); box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 45%, transparent); }
.tabbar .tab-join span:last-child { color: var(--ink); }
body:has(.tabbar) main { padding-bottom: 96px; }
body:has(.tabbar) .join-bar { bottom: calc(76px + env(safe-area-inset-bottom)); }
body:has(.tabbar) .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
@media (max-width: 899px) { body:has(.tabbar) .header-actions .pill { display: none; } }
@media (min-width: 900px) { .tabbar { display: none; } body:has(.tabbar) main { padding-bottom: 64px; } body:has(.tabbar) .join-bar { bottom: 16px; } }

/* ── Footer columns ─────────────────────────────────────────────────────── */
.footer-grid { display: grid; gap: 28px; }
.footer-col h2 { font: 600 13px/1.4 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: #A1A1AA; margin: 0 0 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-col a { color: #E4E4E7; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); }

@media (min-width: 600px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .hero2-inner { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 56px; padding-top: 180px; padding-bottom: 64px; min-height: min(88vh, 860px); }
  .hero2--art .hero2-inner { min-height: 0; padding-top: 72px; align-items: center; }
  .hero2-ctas .btn { flex: 0 0 auto; }
  .steps { padding-top: 64px; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .step { min-height: 104px; padding: 20px; }
  .feature { padding: 72px 0; }
  .feature-inner { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .leader-band { padding: 80px 0; }
  .leader-band-inner { grid-template-columns: 340px 1fr; gap: 64px; }
  .leader-band-initials { width: 220px; height: 220px; font-size: 80px; }
  .give-band { padding: 56px 0; }
  .give-band-inner { grid-template-columns: 1fr auto; }
}

/* ── Classic: warm paper, serif headlines, soft photography ─────────────── */
.tpl-classic { --serif: "Fraunces", Georgia, "Times New Roman", serif; --bg: color-mix(in srgb, var(--brand) 3%, #FBF8F3); }
.tpl-classic .h1, .tpl-classic .h2, .tpl-classic .display { font-weight: 600; letter-spacing: -.015em; }
.tpl-classic .feature { background: var(--surface); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tpl-classic { --bg: #0E0D0B; } }

/* ── Bold: heavy uppercase, dark bands, sharp corners ───────────────────── */
.tpl-bold { --serif: "Montserrat", "Arial Black", "Helvetica Neue", Arial, sans-serif; --r-md: 6px; --r-lg: 8px; }
.tpl-bold .hero2-title, .tpl-bold .h1, .tpl-bold .h2, .tpl-bold .display { font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.02; }
.tpl-bold .hero2-title { font-size: clamp(42px, 12.5vw, 104px); }
.tpl-bold .hero2--photo::before { background: linear-gradient(180deg, rgb(0 0 0 / .45) 0%, rgb(0 0 0 / .35) 35%, rgb(0 0 0 / .85) 75%, #000 100%); }
.tpl-bold .hero2 { background: #000; }
.tpl-bold .btn { border-radius: 6px; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
.tpl-bold .btn-primary { font-size: 14px; }
.tpl-bold .steps { background: #0B0B0F; color: #fff; padding-bottom: 44px; }
.tpl-bold .steps .h2 { color: #fff; }
.tpl-bold .step { background: #16161C; border-color: #2A2A33; color: #fff; box-shadow: none; }
.tpl-bold .step-text span { color: #A1A1AA; }
.tpl-bold .step-icon { background: color-mix(in srgb, var(--brand) 30%, #16161C); color: #fff; }
.tpl-bold .step-text strong { font: 800 15px/1.25 var(--serif); text-transform: uppercase; letter-spacing: .01em; }
.tpl-bold .leader-band { background: var(--brand); }
.tpl-bold .leader-band-initials { background: #0B0B0F; }
.tpl-bold .give-band { background: #0B0B0F; margin-top: 0; }
.tpl-bold .eyebrow { letter-spacing: .14em; }

/* ── Dawn: the illustrated sunrise ──────────────────────────────────────── */
.tpl-dawn .hero2-title { font-weight: 600; }
@media (min-width: 900px) { .steps-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); } }
.tpl-classic main, .tpl-bold main, .tpl-dawn main { min-height: 0; }
main > :last-child { margin-bottom: 0; }
.newlife-card { margin-bottom: 8px; }
.sample-ribbon { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; justify-content: center; padding: 8px 16px; background: #0B0B12; color: #E4E4E7; font: 600 13px/1.3 var(--ui); text-align: center; }
.sample-ribbon a { color: #fff; }

/* ── Follow (notifications) ─────────────────────────────────────────── */
.follow-cta { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; margin: 28px 0; padding: 16px 18px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--primary) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--line)); }
.follow-cta-icon { font-size: 26px; line-height: 1; grid-row: span 2; align-self: start; }
.follow-cta-title { margin: 0; font-weight: 700; }
.follow-cta-body { margin: 2px 0 0; color: var(--ink-2); font-size: 15px; }
.follow-cta .btn { grid-column: 1 / -1; justify-self: stretch; margin-top: 8px; }
@media (min-width: 640px) {
  .follow-cta { grid-template-columns: auto 1fr auto; }
  .follow-cta-icon { grid-row: auto; align-self: center; }
  .follow-cta .btn { grid-column: auto; margin-top: 0; justify-self: end; }
}
.follow-card { margin: 20px 0; }
.follow-card h2 { margin-top: 0; }
.follow-topics { border: 0; padding: 0; margin: 14px 0; display: grid; gap: 12px; }
.follow-topics .help-text { display: block; margin: 2px 0 0; font-weight: 400; }
.follow-status { min-height: 1.4em; margin: 8px 0; color: var(--ink-2); }
.follow-status:empty { min-height: 0; margin: 0; }
.follow-card .btn + .btn { margin-top: 10px; }
.follow-off { margin-top: 16px; }
.follow .notice { border-radius: var(--r-md); padding: 12px 16px; margin: 12px 0; }
.follow .notice--ok { background: color-mix(in srgb, var(--ok, #16a34a) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok, #16a34a) 40%, transparent); }

/* ── In person: venues, Plan your visit ─────────────────────────────── */
.platform-chip--place { background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--primary); }
.meeting-venue { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: 15px; line-height: 1.45; }
.meeting-venue .icon { flex: none; margin-top: 2px; color: var(--primary); }
.meeting-venue-note { display: block; margin-top: 4px; color: var(--ink-2); font-size: 14px; }
.meeting-actions .btn-secondary { flex: 1 1 auto; }
.visit-link { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; margin-top: 24px; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; }
.visit-link span { color: var(--ink-2); font-size: 15px; grid-column: 1; }
.visit-link .icon { grid-row: 1 / span 2; grid-column: 2; }
.visit-link:hover { border-color: var(--ink-2); }
.visit-hero { padding: 40px 0 28px; background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 9%, var(--bg)), var(--bg)); }
.visit-hero .lead { max-width: 36ch; }
.visit-block { margin: 0 0 36px; }
.visit-block.card { padding: 22px; }
.visit-times { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.visit-times a { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; }
.visit-times a:hover { border-color: var(--ink-2); }
.visit-times strong { font-size: 17px; }
.visit-address { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.5; margin: 0 0 12px; }
.visit-address .icon { flex: none; margin-top: 3px; color: var(--primary); }
.visit-directions { color: var(--ink-2); }
.footer-address { font-style: normal; margin: 14px 0 0; line-height: 1.6; opacity: .9; }
.footer-address a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 720px) {
  .visit-hero { padding: 64px 0 40px; }
  .visit-times { grid-template-columns: 1fr 1fr; }
}
