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

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/fraunces-600.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/fraunces-400-italic.woff2) format("woff2"); }
@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 {
  --bg: #FBF8F3; --surface: #FFFFFF; --surface-2: #F3EEE6;
  --ink: #16202E; --ink-2: #4A5568; --line: #E6DFD3;
  --night: #0F1B2D; --dawn: #F2B45A; --primary: #1F6F5C; --primary-ink: #FFFFFF;
  --live: #D6453D; --focus: #2F80ED; --danger: #B42318; --ok: #1F6F5C;
  --mist: #EAF4EF; --mist-2: #F4F9F6; --leaf: #2C7A64;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-full: 999px;
  --shadow: 0 1px 2px rgb(15 27 45 / .06), 0 8px 24px rgb(15 27 45 / .06);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --reading: "Source Serif 4", Georgia, serif;
  --ui: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --hero: linear-gradient(180deg, #0B1626 0%, #17284A 34%, #3C3F64 58%, #9A6A63 78%, #E3A15E 92%, #F4C27A 100%);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1420; --surface: #131D2C; --surface-2: #1A2638;
    --ink: #EEF1F5; --ink-2: #A9B4C4; --line: #243247;
    --primary: #3FA58B; --primary-ink: #06120E; --danger: #F97066; --ok: #3FA58B;
    --shadow: none; color-scheme: dark;
    --mist: #0F1E1C; --mist-2: #0D1A1A; --leaf: #3FA58B;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1420; --surface: #131D2C; --surface-2: #1A2638;
  --ink: #EEF1F5; --ink-2: #A9B4C4; --line: #243247;
  --primary: #3FA58B; --primary-ink: #06120E; --danger: #F97066; --ok: #3FA58B;
  --shadow: none; color-scheme: dark;
  --mist: #0F1E1C; --mist-2: #0D1A1A; --leaf: #3FA58B;
}

*, *::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: #F9D9A6; font: 600 13px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; }
.hero-eyebrow::before { content: ""; width: 7px; height: 9px; background: #F2B45A; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.hero .display { text-shadow: 0 2px 24px rgb(11 22 38 / .5); }

.hero-tagline { font-size: 18px; color: #DCE3EE; 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: #CBD5E1; }
.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: #E2E8F0; }
.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(242 180 90 / .2); color: #FDE7C4; }
.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=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(12 20 32 / .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%, #1E3350 0%, var(--night) 60%); color: #CBD5E1; 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%, #FFE3A6 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: #94A3B8; 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(15 27 45 / .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%, #FFE3A6, 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 22 38 / .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: rgb(31 111 92 / .9); 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(15 27 45 / .05), 0 12px 32px -12px rgb(15 27 45 / .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 { 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: #CBD5E1; }
.meeting--hero .cd-date { color: #F9D9A6; }
.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; }
}
