/* Option A: Warm editorial. Palette pulled from the lake photo: birch white, lake slate, spruce ink, maple rust (sparingly). */
:root {
  --paper: #f4f6f4;      /* birch white */
  --paper-2: #e6ebe9;    /* lake mist */
  --card: #ffffff;
  --ink: #16252a;        /* deep spruce ink */
  --ink-2: #44545a;      /* body grey-green, 7:1 on paper */
  --ink-3: #5d6b70;      /* captions, 5:1 on paper */
  --slate: #2d4d61;      /* lake slate: primary actions, links */
  --slate-2: #3f6378;
  --rust: #a3401b;       /* maple rust: hymn numbers, live dot, small marks only */
  --line: #cdd5d3;
  --deep: #12201f;       /* spruce night for the watch band and footer */
  --deep-ink: #e7ecea;
  --deep-2: #a9bcc0;
  --max: 1280px;
  --gut: clamp(16px, 4.2vw, 56px);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 6px;
  --bar: 0px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); font-stretch: 100%; overflow-x: clip; padding-bottom: var(--bar); }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--slate); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.012em; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(38px, 5.4vw, 80px); line-height: 1.02; font-optical-sizing: auto; }
h2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.06; }
h3 { font-size: 22px; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 8px; color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.kicker { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--rust); margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lede { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.small { font-size: 14px; color: var(--ink-3); }
.nowrap { white-space: nowrap; }

/* Demo ribbon: one thin line */
.ribbon { background: var(--ink); color: #dfe6e4; font-size: 12px; line-height: 1; font-stretch: 85%; font-variation-settings: "wdth" 85; letter-spacing: .01em; }
.ribbon .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; height: 26px; white-space: nowrap; }
.ribbon span { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ribbon a { color: #fff; flex: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: var(--paper); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand svg { width: 28px; height: 28px; color: var(--slate); flex: none; }
.brand b { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; display: block; line-height: 1; }
.brand small { display: block; font-size: 11.5px; color: var(--ink-3); letter-spacing: .02em; margin-top: 3px; white-space: nowrap; }
.nav { display: none; }
.menu-btn { min-height: 44px; min-width: 44px; padding: 0 14px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; font: 500 15px var(--sans); color: var(--ink); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.menu-btn i { width: 16px; height: 10px; border-block: 1.5px solid currentColor; position: relative; }
.menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; top: 3.5px; border-top: 1.5px solid currentColor; }
#menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(18, 32, 31, .35); }
#menu.open { display: block; }
#menu ul { list-style: none; margin: 0; padding: 8px var(--gut) 18px; }
#menu a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 22px; }
#menu a span { font: 14px var(--sans); color: var(--ink-3); }
@media (min-width: 960px) {
  .top .wrap { height: 72px; }
  .menu-btn, #menu { display: none !important; }
  .nav { display: flex; align-items: center; gap: 6px; }
  .nav a { text-decoration: none; color: var(--ink); font-size: 15.5px; font-weight: 500; padding: 12px 12px; border-radius: var(--r); }
  .nav a:hover { background: var(--paper-2); }
  .nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--rust); border-radius: 0; }
  .nav .btn { margin-left: 10px; }
  .nav a.btn-primary { color: #fff; border-radius: 999px; padding: 0 20px; }
  .nav a.btn-primary:hover { background: var(--ink); }
  .nav a.btn-primary[aria-current] { box-shadow: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px; font: 600 16px/1.1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--slate); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 44px; font-size: 15px; padding: 0 18px; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.is-live .dot, .dot.is-live { background: #d23c1a; box-shadow: 0 0 0 4px rgba(210, 60, 26, .18); }

/* HERO: a photo essay opener */
.hero { position: relative; }
.hero-fig { margin: 0; }
.hero-img { overflow: hidden; background: #6f7a74; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 38%; }
.hero-cap { font-family: var(--serif); font-style: italic; font-size: 14px; line-height: 1.4; color: var(--ink-3); padding: 8px var(--gut) 0; margin: 0; }
.hero-cap b { font-style: normal; font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-right: 6px; }
.hero-text { padding: 18px var(--gut) 28px; }
.hero h1 { font-size: clamp(34px, 9vw, 44px); max-width: 15em; }
.hero h1 em { color: var(--slate); }
.when { margin: 16px 0 20px; font-size: 17px; line-height: 1.45; color: var(--ink); }
.when strong { font-weight: 600; }
.when a { color: var(--ink); text-decoration-color: var(--rust); text-decoration-thickness: 1.5px; }
.when .sep { color: var(--rust); padding: 0 6px; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; }
.acts .btn { flex: 1 1 auto; }
.stamp { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); margin: 14px 0 0; }
.stamp::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--slate-2); background: radial-gradient(circle, var(--slate-2) 0 2px, transparent 2.5px); flex: none; }
.hero-img { height: min(33vh, 300px); }
@media (min-width: 600px) and (max-width: 959px) {
  .hero-img { height: 48vh; max-height: 520px; }
  .hero-text { padding-top: 28px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(44px, 7vw, 60px); }
  .acts .btn { flex: 0 0 auto; }
}
@media (min-width: 960px) {
  .hero { display: grid; grid-template-columns: minmax(var(--gut), 1fr) minmax(0, calc((var(--max) - 2 * var(--gut)) * .42)) minmax(0, calc((var(--max) - 2 * var(--gut)) * .58)) minmax(var(--gut), 1fr); min-height: min(calc(100vh - 98px), 820px); }
  .hero-text { grid-column: 2; grid-row: 1; align-self: center; padding: 48px 48px 64px 0; }
  .hero-fig { grid-column: 3 / 5; grid-row: 1; display: flex; flex-direction: column; padding: 28px 0 24px; }
  .hero-img { height: auto; flex: 1; min-height: 460px; border-radius: 2px 0 0 2px; }
  .hero-cap { padding: 12px 0 0; max-width: 46em; font-size: 15px; }
  .hero h1 { font-size: clamp(52px, 5vw, 80px); }
  .when { font-size: 19px; margin: 26px 0 30px; }
  .acts .btn { flex: 0 0 auto; }
}
@media (min-width: 1700px) { .hero-fig { padding-right: 0; } }

/* Gentle image reveal on load */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .reveal-img img { animation: imgIn 1.4s cubic-bezier(.2, .7, .2, 1) both; }
  .reveal-img { animation: clipIn 1.1s cubic-bezier(.3, .7, .2, 1) both; }
  .hero-cap, .hero-text > * { animation: fadeUp .9s .35s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: .45s; }
  .hero-text > :nth-child(3) { animation-delay: .55s; }
  .hero-text > :nth-child(n+4) { animation-delay: .65s; }
  @keyframes imgIn { from { transform: scale(1.06); } to { transform: none; } }
  @keyframes clipIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* Sections */
.sec { padding: clamp(56px, 8vw, 112px) 0; }
.sec-head { max-width: 40em; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head p { margin-top: 14px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* First Saturday teaser */
.first { background: var(--card); border-block: 1px solid var(--line); }
.notes { display: grid; gap: 28px; }
.note h3 { font-size: 24px; margin-bottom: 8px; }
.note p { color: var(--ink-2); margin: 0; }
.first-foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.first-foot a:not(.btn) { min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 768px) { .notes { grid-template-columns: repeat(3, 1fr); gap: 40px; } .first .wrap { display: grid; grid-template-columns: 1fr; } }
@media (min-width: 1100px) { .first .wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 64px; } .first .sec-head { margin: 0; } .first-foot { grid-column: 2; } }

/* THIS SABBATH: the printed order of worship */
.sabbath .wrap { display: grid; gap: 40px; }
.date-line { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); color: var(--ink-2); margin: 6px 0 22px; }
.sermon-t { font-family: var(--serif); font-style: italic; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.04; margin: 0 0 14px; letter-spacing: -0.015em; }
.sermon-m { font-size: 16px; color: var(--ink-2); margin-bottom: 18px; }
.sermon-m b { color: var(--ink); font-weight: 600; }
.hours { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.hours > div { padding: 14px 0; } .hours p { margin: 0; }
.hours > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hours .ht { font-size: 13px; color: var(--ink-3); }
.hours .hv { margin: 2px 0 0; font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.hours-state { grid-column: 1 / -1; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); padding: 12px 0 !important; border-left: 0 !important; }
.hours-state strong { color: var(--ink); font-weight: 600; }
.ann { margin-top: 28px; }
.ann h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.ann ul { margin: 0; padding: 0; list-style: none; }
.ann li { padding: 10px 0 10px 22px; border-top: 1px solid var(--line); position: relative; color: var(--ink-2); }
.ann li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 8px; height: 1.5px; background: var(--rust); }

.bulletin { position: relative; background: var(--card); color: var(--ink); padding: 34px clamp(20px, 4vw, 44px) 30px; border-radius: 2px; box-shadow: 0 1px 0 rgba(22, 37, 42, .06), 0 24px 48px -28px rgba(22, 37, 42, .35); border: 1px solid #dfe4e2; }
.bulletin::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 49.6%, rgba(22, 37, 42, .045) 50%, transparent 50.4%); pointer-events: none; }
.bulletin > * { position: relative; }
.b-head { text-align: center; border-bottom: 1px solid var(--ink); padding-bottom: 16px; margin-bottom: 6px; }
.b-head svg { width: 26px; height: 26px; color: var(--slate); margin: 0 auto 8px; display: block; }
.b-head p { margin: 0; }
.b-church { font-family: var(--serif); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; font-variant: small-caps; }
.b-title { font-family: var(--serif); font-size: 32px; line-height: 1.1; margin-top: 6px !important; }
.b-date { font-family: var(--serif); font-style: italic; color: var(--ink-2); }
.ow { list-style: none; margin: 0; padding: 0; font-family: var(--serif); font-size: 17px; }
.ow li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: 10px; padding: 10px 0; border-bottom: 1px solid #e3e8e6; }
.ow li:last-child { border-bottom: 0; }
.ow-k { font-family: var(--sans); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.ow-dots { border-bottom: 1.5px dotted #a9b4b2; transform: translateY(-4px); min-width: 12px; }
.ow-n { font-weight: 600; color: var(--rust); font-family: var(--sans); font-size: 14.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ow-t { grid-column: 1 / -1; font-style: italic; font-size: 19px; line-height: 1.3; margin-top: 3px; color: var(--ink); }
.ow-t span { font-style: normal; font-size: 15px; color: var(--ink-2); font-family: var(--sans); display: block; margin-top: 2px; }
.b-foot { text-align: center; font-size: 13px; color: var(--ink-3); margin: 14px 0 0; border-top: 1px solid var(--ink); padding-top: 12px; }
@media (min-width: 960px) {
  .sabbath .wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .bulletin { margin-top: 8px; }
}

/* WATCH band */
.watch { background: var(--deep); color: var(--deep-ink); }
.watch h2, .watch h3 { color: #fff; }
.watch .kicker { color: #e3a183; }
.watch a { color: #cfe0e6; }
.watch .wrap { display: grid; gap: 36px; }
.facade-box { position: relative; aspect-ratio: 16 / 9; background: #0b1514; overflow: hidden; border-radius: 2px; }
.facade { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.facade img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 92%; opacity: .62; transition: opacity .3s, transform .6s; }
.facade:hover img { opacity: .75; }
.facade:focus-visible { outline: 3px solid #e3a183; outline-offset: -3px; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, .94); display: grid; place-items: center; }
.play svg { width: 26px; height: 26px; margin-left: 4px; color: var(--deep); }
.f-badge { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; background: rgba(10, 20, 19, .72); color: #fff; font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: 999px; }
.f-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; font-family: var(--serif); font-size: 17px; color: #fff; line-height: 1.3; }
.facade-on { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; background: #0b1514; color: var(--deep-ink); }
.facade-on p { max-width: 30em; margin: 0; }
.sermons { list-style: none; margin: 0; padding: 0; border-top: 1px solid #2f4140; }
.sermons a { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; padding: 16px 0; border-bottom: 1px solid #2f4140; text-decoration: none; color: var(--deep-ink); }
.sermons a:hover .sm-t { text-decoration: underline; text-underline-offset: 4px; }
.sm-d { grid-row: span 2; font-size: 13px; color: var(--deep-2); padding-top: 5px; }
.sm-t { font-family: var(--serif); font-size: 21px; color: #fff; line-height: 1.25; }
.sm-m { font-size: 14px; color: var(--deep-2); }
.watch .more { display: inline-flex; min-height: 44px; align-items: center; margin-top: 10px; }
.next-up { color: var(--deep-2); font-size: 15px; margin-top: 22px; }
.next-up b { color: #fff; font-weight: 500; }
@media (min-width: 960px) { .watch .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; } .watch .sec-head { grid-column: 1 / -1; margin-bottom: 0; } }

/* THE WEEK */
.week .wrap { display: grid; gap: 40px; }
.week-fig { margin: 0; }
.week-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.week-fig figcaption { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-3); margin-top: 10px; }
.days { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.days li { display: grid; grid-template-columns: 1fr; gap: 4px 28px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.days .d { font-family: var(--serif); font-style: italic; color: var(--rust); font-size: 17px; }
.days h3 { margin-bottom: 4px; }
.days p { margin: 0; color: var(--ink-2); }
.days .who { font-size: 14px; color: var(--ink-3); margin-top: 6px; }
.days .go { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 15px; }
@media (min-width: 640px) { .days li { grid-template-columns: 150px 1fr; } .days .d { padding-top: 3px; } }
@media (min-width: 960px) {
  .week .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .week-side { position: sticky; top: 100px; }
}

/* EVENTS */
.events { background: var(--paper-2); }
.evs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.ev { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ev-d { margin: 0; text-align: center; display: flex; flex-direction: column; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); line-height: 1.2; }
.ev-d b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; color: var(--ink); letter-spacing: 0; margin: 2px 0; }
.ev h3 { font-size: 21px; }
.ev-m { font-size: 14.5px; color: var(--ink-2); margin: 6px 0 4px; }
.ev-b { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.ev-s { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 15px; }
@media (min-width: 768px) { .evs { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
@media (min-width: 1280px) { .evs { grid-template-columns: repeat(4, 1fr); column-gap: 32px; } .ev { grid-template-columns: 1fr; gap: 10px; } .ev-d { flex-direction: row; gap: 8px; align-items: baseline; text-align: left; } .ev-d b { font-size: 34px; } }
.events-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }

/* BELIEFS */
.beliefs .wrap { display: grid; gap: 28px; }
.beliefs blockquote { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.3; color: var(--ink); }
.beliefs ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.beliefs li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.beliefs li b { color: var(--ink); font-weight: 600; }
@media (min-width: 960px) { .beliefs .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; } }

/* MEMBERS */
.members { background: var(--card); border-top: 1px solid var(--line); }
.members .wrap { display: grid; gap: 40px; }
.tiles { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.tile { padding: 20px 0; border-bottom: 1px solid var(--line); }
.tile h3 { font-size: 22px; margin-bottom: 6px; }
.tile p { color: var(--ink-2); margin: 0 0 8px; font-size: 16px; }
.tile > a, .tile summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 15px; color: var(--slate); cursor: pointer; }
.tile summary { list-style: none; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tile summary::-webkit-details-marker { display: none; }
.tile details[open] summary { margin-bottom: 8px; }
@media (min-width: 768px) { .tiles { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
@media (min-width: 1100px) { .members .wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; } .members .sec-head { position: sticky; top: 100px; } }

/* Forms */
.form { display: grid; gap: 14px; }
.field label, .lab { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid #9eaaa8; border-radius: var(--r); padding: 11px 12px; min-height: 48px; }
.input:focus { border-color: var(--slate); outline: 3px solid rgba(45, 77, 97, .25); outline-offset: 0; }
textarea.input { min-height: 96px; resize: vertical; }
.row2 { display: grid; gap: 14px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: 16px; }
.check input { width: 22px; height: 22px; accent-color: var(--slate); flex: none; }
.demo-flag { display: inline-block; justify-self: start; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--rust); border: 1px solid currentColor; border-radius: 999px; padding: 4px 10px; }
.success { padding: 8px 0; }
.success h3 { font-size: 28px; margin-bottom: 8px; }
.success:focus { outline: none; }

/* Photo slot placeholder: where the church's own people photo goes */
.slot { position: relative; margin: 0; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #3f6378 0%, #2d4d61 55%, #1f3a47 100%); color: #e8eff1; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border-radius: 2px; overflow: hidden; }
.slot::before { content: ""; position: absolute; inset: 12px; border: 1px dashed rgba(232, 239, 241, .45); pointer-events: none; }
.slot .mono { position: absolute; right: 18px; top: 4px; font-family: var(--serif); font-style: italic; font-size: 150px; line-height: 1; color: rgba(255, 255, 255, .12); }
.slot b { font-family: var(--sans); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #f0c2ad; }
.slot span { font-family: var(--serif); font-size: 19px; line-height: 1.3; margin-top: 6px; position: relative; }

/* FOOTER */
.foot { background: var(--deep); color: var(--deep-ink); padding: 64px 0 40px; font-size: 15.5px; }
.foot a { color: #d5e4e8; }
.foot .wrap { display: grid; gap: 36px; }
.foot h2 { font-size: 30px; color: #fff; }
.foot h3 { font-family: var(--sans); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--deep-2); font-weight: 600; margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-flex; min-height: 40px; align-items: center; }
.foot p { margin: 0 0 6px; }
.foot-base { grid-column: 1 / -1; border-top: 1px solid #2f4140; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: var(--deep-2); font-size: 13.5px; }
.foot-base .adv { display: inline-flex; align-items: center; gap: 8px; }
.foot-base svg { width: 18px; height: 18px; }
@media (min-width: 768px) { .foot .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }

/* Phone action bar (appears once the hero's buttons scroll away) */
.bar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; background: color-mix(in srgb, var(--paper) 96%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px; transition: transform .3s ease, visibility .3s; }
.bar a { min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); font-size: 13.5px; font-weight: 600; border-radius: 12px; line-height: 1.15; }
.bar a small { font-weight: 400; color: var(--ink-3); font-size: 11.5px; }
.bar a.main { background: var(--slate); color: #fff; font-size: 15px; }
.bar a.main small { color: #cfdde4; }
.bar.away { transform: translateY(110%); visibility: hidden; }
body.has-bar { --bar: 72px; }
@media (min-width: 960px) { .bar { display: none; } body.has-bar { --bar: 0px; } }

/* VISIT PAGE */
.v-hero { padding: 24px 0 8px; }
.v-hero h1 { font-size: clamp(34px, 8.6vw, 72px); max-width: 14em; }
.facts { margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.facts > div { padding: 12px 12px 14px 0; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
.facts dt { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.facts dd { margin: 3px 0 0; font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.facts dd small { display: block; font-family: var(--sans); font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.facts a { display: inline-flex; min-height: 32px; align-items: center; font-family: var(--sans); font-size: 15px; font-weight: 600; }
.v-hero .acts { margin-top: 20px; }
.v-photo { margin: 0; }
.v-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 60% 60%; border-radius: 2px; }
.v-photo figcaption { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-3); margin-top: 10px; }
.v-top { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .v-hero { padding: 56px 0 24px; }
  .v-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "intro fig" "facts facts" "meta meta"; column-gap: 72px; row-gap: 0; align-items: end; }
  .v-intro { grid-area: intro; padding-bottom: 40px; } .v-photo { grid-area: fig; padding-bottom: 40px; } .facts { grid-area: facts; } .v-meta { grid-area: meta; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 18px; }
  .v-meta .stamp { margin: 0; } .v-meta .acts { margin: 0 !important; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts > div { padding: 16px 16px 18px 0; }
  .facts > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
  .facts dd { font-size: 22px; }
}
.welcome .wrap { display: grid; gap: 32px; }
.letter { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; color: var(--ink); max-width: 34em; }
.letter p { margin-bottom: .9em; }
.sig { font-family: var(--serif); font-style: italic; font-size: 24px; margin: 18px 0 0; }
.sig small { display: block; font-family: var(--sans); font-style: normal; font-size: 14px; color: var(--ink-3); }
@media (min-width: 768px) { .welcome .wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; } .welcome .slot { max-width: 420px; } }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); position: relative; }
.timeline li:first-child { border-top: 1px solid var(--ink); }
.t-time { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--ink); }
.t-time small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--rust); margin-top: 6px; }
.timeline h3 { margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--ink-2); }
@media (min-width: 960px) {
  .timeline { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
  .timeline li { grid-template-columns: 1fr; border-top: 1px solid var(--ink) !important; padding-top: 22px; }
  .t-time { font-size: 44px; }
}
.two { display: grid; gap: 40px; }
@media (min-width: 768px) { .two { grid-template-columns: 1fr 1fr; gap: 56px; } }
.two h2 { font-size: clamp(28px, 2.8vw, 38px); margin-bottom: 14px; }
.two p { color: var(--ink-2); }
.who-card { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; margin-top: 24px; }
.who-card .slot { aspect-ratio: 1; padding: 14px; }
.who-card .slot .mono { font-size: 90px; right: 10px; }
.who-card .slot span { font-size: 14px; }

.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; } .faq-wrap .sec-head { position: sticky; top: 100px; } }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; min-height: 60px; padding: 16px 44px 16px 0; position: relative; font-family: var(--serif); font-size: 21px; line-height: 1.3; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq .a { padding: 0 0 20px; color: var(--ink-2); max-width: 38em; }
.faq .a p:last-child { margin: 0; }
.form-sec .wrap { display: grid; gap: 40px; }
.form-card { background: var(--card); border: 1px solid #dfe4e2; padding: clamp(20px, 3vw, 36px); border-radius: 2px; box-shadow: 0 24px 48px -32px rgba(22, 37, 42, .35); }
@media (min-width: 960px) { .form-sec .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; } }

/* STAFF VIEW (?staff=1) */
.staff .staff-box { outline: 2px dashed #b4561f; outline-offset: 4px; position: relative; }
.staff .staff-box[data-source="keeper"] { outline-color: #2d6b7d; }
.staff-tag { display: inline-block; font: 600 12px/1.3 var(--sans); letter-spacing: .02em; color: #fff; background: #b4561f; padding: 4px 8px; border-radius: 3px; margin: 0 0 10px; text-transform: none; font-style: normal; max-width: 100%; }
.staff-keeper { background: #2d6b7d; }
.staff-note { display: none; }
.staff .staff-note { display: block; position: fixed; z-index: 60; right: 12px; top: 40px; max-width: 300px; background: var(--ink); color: #fff; font-size: 13px; padding: 10px 12px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .ribbon, .top, .bar, .watch, .foot { display: none; } }
@media (max-width: 959px) {
  .hero { display: flex; flex-direction: column; }
  .hero-fig { order: -1; }
}
@media (max-width: 599px) {
  .hero-img { height: clamp(168px, 27vh, 260px); }
  .hero .kicker { display: none; }
  .hero h1 { font-size: 35px; }
  .acts .btn { flex: 1 1 100%; }
  .hero-text { padding-top: 14px; }
  .when { margin: 12px 0 16px; }
}
@media (max-width: 440px) { .ribbon { font-size: 11px; font-stretch: 75%; font-variation-settings: "wdth" 75; } .ribbon .wrap { gap: 6px; padding-inline: 10px; } }
.when strong { white-space: nowrap; }
.facade::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(transparent, rgba(8, 16, 15, .85)); pointer-events: none; }
.f-cap { z-index: 1; }
h2 + .lede, h2 + p { margin-top: 14px; }
@media (max-width: 767px) { .welcome .slot { aspect-ratio: 5 / 4; max-width: 360px; } .welcome .slot .mono { font-size: 110px; } }
@media (max-width: 959px) { .v-top { gap: 0; } }
.v-top > .v-photo { margin-top: 32px; }
.v-lede { margin: 16px 0 0; }
@media (max-width: 959px) { .v-lede { display: none; } }
@media (min-width: 960px) { .v-top > .v-photo { margin-top: 0; } }
@media (min-width: 1700px) { :root { --max: 1480px; } }
@media (min-width: 960px) { .hero-text { padding-right: 32px; } .when { font-size: 18px; } }
@media (max-width: 599px) { .when .sep { display: none; } .when a { display: inline-block; margin-top: 2px; } .when strong { display: block; } }

/* MEMBERSHIP: join page, members tile, visit-page invite (added 2026-10-19) */
.tile-join { grid-column: 1 / -1; }
.j-hero .lede { margin-top: 16px; }
.j-hero .acts { margin-top: 24px; }
.j-top { display: grid; gap: 28px; }
.j-who { border-top: 1px solid var(--ink); padding-top: 14px; font-size: 16px; color: var(--ink-2); }
.j-who p { margin: 0 0 6px; }
.j-who-k { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.j-who b { color: var(--ink); font-weight: 600; }
@media (min-width: 960px) { .j-top { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: 72px; align-items: end; } .j-hero { padding-bottom: 64px; } }
.j-ways { background: var(--card); border-block: 1px solid var(--line); }
.ways { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--ink); }
.ways li { padding: 22px 0 24px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-content: start; }
.ways .w-n { grid-row: span 2; font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--rust); }
.ways h3 { margin-bottom: 8px; }
.ways p { color: var(--ink-2); margin: 0; font-size: 16px; max-width: 36em; }
@media (min-width: 900px) { .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; } .ways li { grid-template-columns: minmax(0, 1fr); border-bottom: 0; padding-top: 26px; } .ways .w-n { grid-row: auto; margin-bottom: 14px; } }
.ways-foot { margin: 28px 0 0; color: var(--ink-2); max-width: 44em; }
.ways-foot b { color: var(--ink); font-weight: 600; }
.j-next { list-style: none; counter-reset: n; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.j-next li { counter-increment: n; padding: 14px 0 14px 40px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); font-size: 16px; }
.j-next li::before { content: counter(n); position: absolute; left: 0; top: 11px; font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--rust); }
.j-next b { color: var(--ink); font-weight: 600; }
.paths { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.paths legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.path { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid #c9d1cf; border-radius: var(--r); cursor: pointer; background: #fff; }
.path:has(input:checked) { border-color: var(--slate); background: #eef3f4; }
.path input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--slate); flex: none; }
.path b { display: block; font-weight: 600; font-size: 16px; line-height: 1.35; }
.path small { display: block; font-size: 14.5px; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
.opt { font-weight: 400; color: var(--ink-3); }
.hint { margin: 6px 0 0; font-size: 14px; color: var(--ink-3); }
.form-note { margin: 0; font-size: 14px; color: var(--ink-3); }
[data-show-if][hidden] { display: none !important; }
.j-invite { background: var(--paper-2); border-top: 1px solid var(--line); }
.j-invite-in { display: grid; gap: 18px; }
@media (min-width: 960px) { .j-invite-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; } }
.staff .staff-box[data-source="inbox"] { outline-color: #5a3d8a; }
.staff-inbox { background: #5a3d8a; }

/* ===== POLISH 2026-10-20: same look, finer finish ===== */
:root {
  --ease: cubic-bezier(.2, .7, .2, 1);
  --measure: 68ch;
  --shadow-1: 0 1px 2px rgba(22, 37, 42, .06), 0 10px 24px -16px rgba(22, 37, 42, .32);
  --shadow-2: 0 1px 0 rgba(22, 37, 42, .06), 0 24px 48px -28px rgba(22, 37, 42, .35);
  --field-line: #7f8c8a;  /* 3.5:1 on white, so field edges pass WCAG non-text contrast */
}
/* Line length: body copy never runs past a comfortable measure */
.note p, .days p, .tile p, .ev-b, .two p, .faq .a, .ways-foot, .j-next li, .sec-head p { max-width: var(--measure); }
.bulletin, .form-card { box-shadow: var(--shadow-2); }

/* Sticky header: frosted and lifted once the page scrolls */
.top { transition: box-shadow .25s var(--ease), background-color .25s var(--ease); }
.top.is-scrolled { background: color-mix(in srgb, var(--paper) 90%, transparent); box-shadow: 0 8px 22px -16px rgba(18, 32, 31, .4); }

/* Buttons: hover, press, keyboard focus */
.btn { transition: background-color .2s var(--ease), color .2s, border-color .2s, box-shadow .2s var(--ease), transform .12s var(--ease); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn-primary:hover { box-shadow: 0 10px 20px -12px rgba(22, 37, 42, .6); }
.btn:active { transform: translateY(1px) scale(.985); box-shadow: none; }
.btn:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 999px; }
.watch :focus-visible, .foot :focus-visible { outline-color: #e3a183; }
.nav a { transition: background-color .15s, color .15s; }
.nav a:active { background: var(--line); }
.nav a.btn-primary:active { background: var(--ink); }
.bar a { transition: background-color .15s, transform .12s var(--ease); -webkit-tap-highlight-color: transparent; }
.bar a:active { background: var(--paper-2); transform: scale(.97); }
.bar a.main:active { background: var(--ink); }
.facade .play { transition: transform .25s var(--ease), background-color .2s; }
.facade:hover .play { transform: translate(-50%, -50%) scale(1.06); background: #fff; }
.faq summary { transition: color .15s; }
.faq summary:hover { color: var(--slate); }

/* Tap targets: 44px or more */
.foot li a { min-height: 44px; }
.facts a { min-height: 44px; }
.ribbon a { padding-block: 9px; margin-block: -9px; }
.when a { padding-block: 10px; margin-block: -10px; }
@media (max-width: 599px) { .when a { margin-top: -8px; } }

/* Phone menu: the icon turns into a close mark, the panel eases in and scrolls on short screens */
.menu-btn { transition: background-color .2s, color .2s, border-color .2s; -webkit-tap-highlight-color: transparent; }
.menu-btn[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.menu-btn i { transition: border-color .2s; }
.menu-btn i::before { content: ""; position: absolute; left: 0; right: 0; top: 3.5px; border-top: 1.5px solid currentColor; opacity: 0; transition: transform .2s var(--ease), opacity .2s; }
.menu-btn i::after { transition: transform .2s var(--ease); }
.menu-btn[aria-expanded="true"] i { border-color: transparent; }
.menu-btn[aria-expanded="true"] i::after { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::before { opacity: 1; transform: rotate(-45deg); }
#menu { max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; }
#menu a { transition: color .15s, padding-left .2s var(--ease); }
#menu a:hover, #menu a:active { color: var(--slate); padding-left: 4px; }
#menu li:last-child a { border-bottom: 0; }

/* Form fields */
.input { border-color: var(--field-line); transition: border-color .15s, box-shadow .15s; }
.input:hover { border-color: var(--ink-2); }
.input:focus { border-color: var(--slate); outline: none; box-shadow: 0 0 0 3px rgba(45, 77, 97, .28); }
.input::placeholder { color: #6b7876; opacity: 1; }
textarea.input { min-height: 112px; line-height: 1.5; }
select.input { -webkit-appearance: none; appearance: none; padding-right: 42px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%2316252a' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 15px center; }
.input:user-invalid { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, .14); }
.field:has(.input:user-invalid) label { color: #8f1f18; }
.field label .opt { font-size: 14px; }
.path { border-color: #a9b4b2; transition: border-color .15s, background-color .15s; }
.path:hover { border-color: var(--slate-2); }
.path:has(input:focus-visible) { outline: 3px solid var(--rust); outline-offset: 2px; }
.check { cursor: pointer; }

/* Scroll reveals: only when JS runs and motion is welcome; content is never hidden otherwise */
@media (prefers-reduced-motion: no-preference) {
  .rv-on .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--rv-d, 0s); }
  .rv-on .rv.in { opacity: 1; transform: none; }
  #menu.open { animation: menuIn .22s var(--ease); }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}
@media print { .rv { opacity: 1 !important; transform: none !important; } }
