/* Smyrna Baptist Church, mobile-first site.
   Layout: one dark "sanctuary" column with photo-led bands; paper-white bands for long reading;
   sticky top bar, full-screen menu sheet, thumb-reach action bar on phones.
   Colors and type follow the Smyrna Reels Brand Sheet. */
:root {
  --pulpit: #0A1110;      /* ground */
  --pulpit-2: #121C1B;    /* raised surface */
  --pulpit-3: #182523;    /* raised, hover */
  --line: #24312F;
  --teal: #00827F;        /* Smyrna Teal, from the logo */
  --teal-hi: #22B3AE;     /* teal readable on dark */
  --teal-deep: #005E5C;
  --orange: #FF8200;      /* Tennessee Orange: one word at a time */
  --white: #FFFFFF;
  --linen: #E9ECEA;       /* body text on dark */
  --pew: #8D9694;         /* muted text on dark */
  --pew-grey: #5A5F61;    /* small text on paper */
  --paper: #F4F6F5;       /* reading bands */
  --ink: #0A1110;
  --ink-2: #44504D;
  --f-hook: "Montserrat", "Arial Black", system-ui, sans-serif;
  --f-cap: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-scrip: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bar-h: 60px;
  --act-h: 64px;
  --r: 12px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--pulpit); color: var(--linen);
  font-family: var(--f-body); font-size: 16px; line-height: 1.65;
  padding-bottom: calc(var(--act-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--teal-hi); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; color: var(--white); text-wrap: balance; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.hot { color: var(--orange); }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- type roles ---------- */
.label { font: 600 11px/1.3 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--teal-hi); }
.h-hero { font: 900 clamp(40px, 11.5vw, 84px)/.94 var(--f-hook); text-transform: uppercase; letter-spacing: -.02em; }
.h-page { font: 900 clamp(34px, 9.5vw, 64px)/.96 var(--f-hook); text-transform: uppercase; letter-spacing: -.02em; }
.h-sec { font: 900 clamp(26px, 7.4vw, 44px)/1.02 var(--f-hook); text-transform: uppercase; letter-spacing: -.015em; }
.h-card { font: 800 20px/1.15 var(--f-hook); letter-spacing: -.01em; }
.big { font: 800 clamp(30px, 8vw, 44px)/1 var(--f-cap); text-transform: uppercase; color: var(--white); font-variant-numeric: tabular-nums; }
.lede { font-size: 17px; color: var(--linen); max-width: 60ch; }
.muted { color: var(--pew); }
.small { font-size: 14px; }
.scrip { font: italic 400 19px/1.5 var(--f-scrip); color: var(--linen); max-width: 46ch; }
.scrip cite { display: block; margin-top: 8px; font: 600 11px/1 var(--f-body); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--pew); }
.prose { display: grid; gap: 16px; max-width: 66ch; }
.prose h3 { font: 800 20px/1.2 var(--f-hook); margin-top: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 999px; background: var(--teal); color: var(--white); font: 700 15px/1 var(--f-body); letter-spacing: .02em; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: #009A96; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.ghost { background: rgba(10,17,16,.35); border: 1.5px solid rgba(255,255,255,.55); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.light { background: var(--white); color: var(--ink); }
.btn.light:hover { background: var(--linen); }
.btn.orange { background: var(--orange); color: #1a0d00; }
.btn.block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--teal-hi); }
.more:hover { text-decoration: underline; }
.more svg { width: 16px; height: 16px; }

/* ---------- top bar ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--pulpit); z-index: 41; }
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(10,17,16,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar .wrap { height: var(--bar-h); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); margin-right: auto; min-width: 0; }
.brand svg { width: 28px; height: 31px; color: var(--teal-hi); flex: none; }
.brand b { display: block; font: 900 17px/1 var(--f-hook); letter-spacing: .06em; }
.brand small { display: block; margin-top: 3px; font: 600 9px/1 var(--f-body); letter-spacing: .3em; color: var(--pew); }
.bar .visit { min-height: 38px; padding: 0 16px; font-size: 13px; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--pulpit-2); border: 1px solid var(--line); color: var(--white); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.topnav { display: none; }
@media (min-width: 900px) {
  .topnav { display: flex; gap: 2px; }
  .topnav a { color: var(--linen); text-decoration: none; font: 600 14px/1 var(--f-body); padding: 10px 12px; border-radius: 999px; }
  .topnav a:hover, .topnav a[aria-current="page"] { background: var(--pulpit-2); color: var(--white); }
}

/* ---------- menu sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--pulpit); overflow-y: auto; overscroll-behavior: contain;
  padding: env(safe-area-inset-top, 0px) 0 calc(24px + env(safe-area-inset-bottom, 0px)); opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s; }
.sheet.open { opacity: 1; transform: none; }
.sheet .head { height: var(--bar-h); display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.sheet nav { display: grid; gap: 4px; padding-block: 14px 8px; }
.grp { border-bottom: 1px solid var(--line); }
.grp summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 58px; font: 900 22px/1 var(--f-hook); text-transform: uppercase; letter-spacing: -.01em; color: var(--white); }
.grp summary::-webkit-details-marker { display: none; }
.grp summary svg { width: 20px; height: 20px; color: var(--pew); transition: transform .2s; }
.grp[open] summary svg { transform: rotate(180deg); color: var(--teal-hi); }
.grp ul { list-style: none; padding: 0 0 14px; display: grid; }
.grp li a { display: flex; align-items: center; min-height: 46px; padding-left: 2px; color: var(--linen); text-decoration: none; font-size: 17px; font-weight: 500; }
.grp li a[aria-current="page"] { color: var(--teal-hi); font-weight: 700; }
.grp li a:hover { color: var(--white); }
.solo { display: flex; align-items: center; min-height: 58px; padding-block: 12px; border-bottom: 1px solid var(--line); font: 900 22px/1.12 var(--f-hook); text-transform: uppercase; color: var(--white); text-decoration: none; }
.sheet .ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-block: 18px; }
.sheet .info { display: grid; gap: 6px; color: var(--pew); font-size: 14px; }
.sheet .info b { color: var(--white); }
body.locked { overflow: hidden; }

/* ---------- action bar (phones) ---------- */
.actbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(18,28,27,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  padding: 0 max(8px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(8px, env(safe-area-inset-left, 0px)); display: grid; grid-template-columns: repeat(4, 1fr); }
.actbar a { height: var(--act-h); display: grid; place-content: center; justify-items: center; gap: 4px; color: var(--linen); text-decoration: none; font: 600 11px/1 var(--f-body); letter-spacing: .04em; }
.actbar a svg { width: 22px; height: 22px; color: var(--teal-hi); }
.actbar a.give svg { color: var(--orange); }
@media (min-width: 900px) { .actbar { display: none; } }

/* ---------- hero + page heads ---------- */
.hero { position: relative; overflow: hidden; background: var(--pulpit-2); }
.hero .ph { position: absolute; inset: 0; background-size: cover; background-position: center 35%; }
.hero .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,17,16,.55) 0%, rgba(10,17,16,.62) 45%, rgba(10,17,16,.96) 88%, var(--pulpit) 100%); }
.hero .wrap { position: relative; display: grid; gap: 18px; padding-block: clamp(64px, 18vw, 140px) 40px; }
.hero .lede { color: var(--white); }
.phead { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.phead .ph { position: absolute; inset: 0; background-size: cover; background-position: center 35%; opacity: .45; }
.phead .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,17,16,.3), var(--pulpit) 96%); }
.phead .wrap { position: relative; display: grid; gap: 14px; padding-block: 52px 36px; }
.phead.plain .wrap { padding-block: 40px 28px; }
.crumb { font-size: 13px; color: var(--pew); }
.crumb a { color: var(--pew); text-decoration: none; }
.crumb a:hover { color: var(--white); }

/* ---------- sections ---------- */
.sec { padding-block: 56px; }
.sec.tight { padding-block: 36px; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec.paper + .sec, .sec + .sec.paper, .sec.teal + .sec, .sec + .sec.teal { border-top: 0; }
.sec > .wrap { display: grid; gap: 24px; }
.sec header { display: grid; gap: 10px; }
.paper { background: var(--paper); color: var(--ink-2); }
.paper h2, .paper h3, .paper h4 { color: var(--ink); }
.paper .label { color: var(--teal); }
.paper .muted { color: var(--pew-grey); }
.paper .scrip { color: var(--ink-2); }
.paper .scrip cite { color: var(--pew-grey); }
.paper a { color: var(--teal); }
.paper .more { color: var(--teal); }
.teal { background: linear-gradient(180deg, var(--teal-deep), #00403E); }
.teal .label { color: var(--white); opacity: .85; }
.teal p { color: var(--white); }

/* ---------- next-service card ---------- */
.next { margin-top: -28px; position: relative; z-index: 2; }
.next .card { background: var(--pulpit-2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.next .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.next .when { display: grid; gap: 2px; }
.next .when span { color: var(--linen); font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 12px; font: 700 12px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; background: rgba(34,179,174,.14); color: var(--teal-hi); }
.pill.live { background: rgba(255,130,0,.16); color: var(--orange); }
.pill.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .pill.live::before { animation: none; } }
.week { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.week div { background: var(--pulpit); padding: 12px 14px; display: grid; gap: 2px; }
.week b { font: 800 24px/1 var(--f-cap); color: var(--white); text-transform: uppercase; font-variant-numeric: tabular-nums; }
.week span { font: 600 11px/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--pew); }
.week div.is-next { background: rgba(0,130,127,.22); }
.week div.is-next b { color: var(--teal-hi); }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.card { background: var(--pulpit-2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.paper .card { background: var(--white); border-color: #DDE3E1; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--teal); }
.card .k { font: 600 11px/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-hi); }
.k { display: inline-flex; align-items: center; gap: 6px; }
.k svg, .label svg { width: 16px; height: 16px; flex: none; }
svg { max-width: 100%; }
.paper .card .k { color: var(--teal); }
.icard { padding: 0; overflow: hidden; }
.icard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.icard .in { padding: 16px 18px 18px; display: grid; gap: 8px; }

/* horizontal rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding-inline: max(20px, env(safe-area-inset-left, 0px)); scroll-padding-inline: max(20px, env(safe-area-inset-left, 0px)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-hint { font-size: 13px; color: var(--pew); }
@media (min-width: 900px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding-inline: 0; } .rail-hint { display: none; } }

/* people */
.person { display: grid; gap: 14px; }
.person img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); object-position: center 25%; }
.person .role { font: 600 12px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--pew); }
.bio { display: grid; gap: 22px; }
@media (min-width: 900px) { .bio { grid-template-columns: 340px 1fr; align-items: start; } .bio .photo { position: sticky; top: calc(var(--bar-h) + 20px); } }
.bio .photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 20%; border-radius: var(--r); }
.facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { background: var(--pulpit-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--linen); }
.paper .facts li { background: var(--white); border-color: #DDE3E1; color: var(--ink-2); }

/* scripture band */
.verse { text-align: center; }
.verse .wrap { justify-items: center; }
.verse .scrip { font-size: clamp(20px, 5.4vw, 28px); }
.verse svg { width: 30px; height: 33px; color: var(--teal-hi); }

/* schedule */
.sched { display: grid; gap: 14px; }
.day { background: var(--pulpit-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.day h3 { background: var(--teal); padding: 10px 16px; font: 700 12px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; }
.day ul { list-style: none; padding: 0; }
.day li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; padding: 14px 16px; border-top: 1px solid var(--line); }
.day li:first-child { border-top: 0; }
.day time, .day .t { font: 800 22px/1 var(--f-cap); color: var(--white); font-variant-numeric: tabular-nums; text-transform: uppercase; }
.day small { display: block; color: var(--pew); font-size: 13px; margin-top: 2px; }
@media (min-width: 760px) { .sched { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* class finder */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: 600 14px/1 var(--f-body); color: var(--linen); background: var(--pulpit-2); border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--white); }
.classes { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.cls { background: var(--pulpit-2); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 6px; }
.cls h3 { font: 800 19px/1.15 var(--f-hook); }
.cls .who { color: var(--linen); }
.cls .busnote { color: var(--pew); font-size: 13px; }
.cls .tag { justify-self: start; font: 700 11px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-hi); background: rgba(34,179,174,.12); border-radius: 999px; padding: 6px 10px; }

/* steps (real sequences only) */
.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--white); font: 800 20px/1 var(--f-cap); }
.steps b { color: var(--white); display: block; }
.paper .steps b { color: var(--ink); }

/* detail list */
.dl { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.dl > div { background: var(--pulpit-2); padding: 14px 16px; display: grid; gap: 2px; }
.dl dt { font: 600 11px/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--pew); }
.dl dd { margin: 0; color: var(--white); font-weight: 600; }
.alert { border: 1px solid var(--orange); background: rgba(255,130,0,.08); border-radius: var(--r); padding: 16px; display: grid; gap: 6px; }
.alert b { color: var(--orange); }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--linen); background: var(--pulpit-2); }

/* contact rows */
.rows { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rows > a, .rows > div { background: var(--pulpit-2); padding: 14px 16px; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; text-decoration: none; color: var(--white); min-width: 0; }
.rows > a:hover { background: var(--pulpit-3); }
.rows .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(34,179,174,.12); color: var(--teal-hi); }
.rows .ic svg { width: 20px; height: 20px; }
.rows .t { display: grid; gap: 2px; min-width: 0; }
.rows .t small { font: 600 11px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--pew); }
.rows .t span { overflow-wrap: anywhere; font-weight: 600; }
.rows .go { color: var(--pew); }
.rows .go svg { width: 18px; height: 18px; }

/* forms */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font: 600 14px/1.3 var(--f-body); color: var(--white); padding: 0; }
.field .req { color: var(--orange); }
.field .hint { font-size: 13px; color: var(--pew); }
.field input, .field select, .field textarea { width: 100%; font: 500 16px/1.4 var(--f-body); color: var(--white); background: var(--pulpit); border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; min-height: 50px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-hi); box-shadow: 0 0 0 3px rgba(34,179,174,.25); }
.field [aria-invalid="true"] { border-color: var(--orange); }
.field .err { color: var(--orange); font-size: 13px; font-weight: 600; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--pulpit); color: var(--linen); font-weight: 600; font-size: 15px; }
.opt input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--white); }
.opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; background: var(--pulpit); border: 1.5px solid var(--line); border-radius: 10px; padding: 14px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--teal); }
.row2 { display: grid; gap: 16px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } }
.formcard { background: var(--pulpit-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 18px; }
.formcard h2 { font: 900 24px/1.05 var(--f-hook); text-transform: uppercase; }
.status { border-radius: 10px; padding: 14px 16px; font-weight: 600; }
.status.ok { background: rgba(34,179,174,.14); color: var(--white); border: 1px solid var(--teal); }
.status.bad { background: rgba(255,130,0,.1); color: var(--white); border: 1px solid var(--orange); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--pulpit-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.tabs button { min-height: 46px; border-radius: 999px; border: 0; background: transparent; color: var(--linen); font: 700 14px/1.1 var(--f-body); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--teal); color: var(--white); }

/* missionary list */
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--pew); }
.search input { padding-left: 44px; }
.mlist { list-style: none; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mlist li { background: var(--pulpit-2); padding: 12px 16px; display: grid; gap: 2px; }
.mlist b { color: var(--white); }
.mlist span { color: var(--pew); font-size: 14px; }
.mlist .mem { color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* video */
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 20px; background: radial-gradient(60% 60% at 50% 45%, rgba(0,130,127,.35), transparent), var(--pulpit-2); }
.video .ph svg { width: 54px; height: 54px; color: var(--white); }

/* split feature */
.split { display: grid; gap: 22px; align-items: center; }
.split img { width: 100%; border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 40px; } .split.flip > :first-child { order: 2; } }

/* stat */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.stat { display: grid; gap: 4px; }
.stat b { font: 800 44px/1 var(--f-cap); color: var(--white); font-variant-numeric: tabular-nums; }
.stat span { font: 600 12px/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--pew); }
.paper .stat b { color: var(--ink); }
.paper .stat span { color: var(--pew-grey); }

/* timeline (dated history) */
.tline { list-style: none; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.tline li { position: relative; padding: 0 0 26px 24px; display: grid; gap: 4px; }
.tline li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--pulpit); border: 3px solid var(--teal-hi); }
.tline b { font: 800 26px/1 var(--f-cap); color: var(--white); }

/* doc tiles */
.doc { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; }
.doc .ic { width: 44px; height: 44px; border-radius: 10px; background: rgba(34,179,174,.12); color: var(--teal-hi); display: grid; place-items: center; }
.doc .ic svg { width: 22px; height: 22px; }
.doc .go { color: var(--pew); font-size: 13px; font-weight: 600; }

/* footer */
.foot { background: var(--pulpit-2); border-top: 1px solid var(--line); padding-block: 44px 28px; }
.foot .wrap { display: grid; gap: 28px; }
.foot .cols { display: grid; gap: 26px; }
@media (min-width: 760px) { .foot .cols { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot h4 { font: 600 11px/1.3 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--pew); margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.foot a { color: var(--linen); text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--white); background: var(--pulpit); }
.social a:hover { border-color: var(--teal-hi); color: var(--teal-hi); }
.social svg { width: 20px; height: 20px; }
.copy { border-top: 1px solid var(--line); padding-top: 18px; font-size: 13px; color: var(--pew); display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; }

/* reveal on scroll (starts visible; JS only adds motion) */
.js-reveal .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-reveal .rv { opacity: 1; transform: none; transition: none; } }

.preview-note { background: var(--orange); color: #1a0d00; text-align: center; font: 700 11px/1.35 var(--f-body); letter-spacing: .14em; text-transform: uppercase; padding: 8px max(16px, env(safe-area-inset-left, 0px)); }
