/* Option V: Video hero. Vespers violet + maple gold. Gloock (display) + Figtree (body). */
:root {
  --night: #1D1930;   /* vespers violet: the sky just after sunset */
  --night-2: #2A2544;
  --ink: #221F2C;
  --ink-2: #555066;
  --page: #FAF9F7;
  --paper: #FFFFFF;
  --heather: #EFECF3;
  --line: #DDD8E4;
  --maple: #E5A93D;   /* maple gold: accent on dark, primary buttons */
  --maple-deep: #8C5A0E; /* gold text on light backgrounds (AA) */
  --violet: #4A3F7E;  /* links on light */
  --on-dark: #F5F2FA;
  --on-dark-2: #CBC5DB;
  --serif: "Gloock", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --bar: 0px;
  --gut: 20px;
}
@media (min-width: 700px) { :root { --gut: 32px; } }
@media (min-width: 1100px) { :root { --gut: 48px; } }
@media (max-width: 899px) { :root { --bar: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-x: clip; padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom)); }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--violet); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--maple); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .hero :focus-visible { outline-color: #fff; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.06; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
h3 { font-size: 1.1875rem; line-height: 1.3; font-weight: 700; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gut); }
.small { font-size: 0.9375rem; }
.muted { color: var(--ink-2); }
.on-dark .muted { color: var(--on-dark-2); }
svg { width: 22px; height: 22px; flex: none; }

/* Caption face: tracked small caps, like a documentary title card */
.cap { font: 700 0.75rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--maple-deep); }
.on-dark .cap, .hero .cap { color: var(--maple); }
.cap--rule { display: flex; align-items: center; gap: 12px; }
.cap--rule::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Demo ribbon: one thin line */
.ribbon { background: #120F1F; color: #D9D3E8; font-size: 0.8125rem; line-height: 1.2; padding: 7px var(--gut); display: flex; justify-content: center; gap: 12px; white-space: nowrap; position: relative; z-index: 31; }
.ribbon a { color: var(--maple); font-weight: 700; }
.ribbon .short { display: none; }
@media (max-width: 520px) { .ribbon .long { display: none; } .ribbon .short { display: inline; } .ribbon { font-size: 0.75rem; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 700 1rem/1.15 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center; transition: background-color .2s, color .2s, border-color .2s; }
.btn--primary { background: var(--maple); color: var(--night); border-color: #C98F28; }
.btn--primary:hover { background: #F0BA55; }
.btn--dark { background: var(--night); color: #fff; }
.btn--dark:hover { background: var(--night-2); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: rgba(29, 25, 48, 0.25); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--heather); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn .pre { font-weight: 400; }
.arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.arrow::after { content: "→"; transition: transform .2s; }
.arrow:hover::after { transform: translateX(3px); }

/* Header: clear over the video, solid after scrolling */
.top { position: sticky; top: 0; z-index: 30; height: 68px; margin-bottom: -68px; color: #fff; transition: background-color .25s, color .25s, box-shadow .25s; }
.top .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top.solid, .no-hero .top { background: rgba(250, 249, 247, 0.97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.no-hero .top { margin-bottom: 0; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-height: 44px; }
.brand svg { width: 34px; height: 34px; }
.brand b { display: block; font: 400 1.3125rem/1 var(--serif); }
.brand small { display: block; font-size: 0.75rem; letter-spacing: 0.04em; opacity: 0.85; margin-top: 3px; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: inherit; text-decoration: none; font-weight: 500; font-size: 0.9688rem; padding: 10px 12px; border-radius: 8px; display: block; }
.nav a:not(.btn):hover { background: rgba(127, 120, 150, 0.16); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; color: inherit; font: 700 0.9375rem var(--sans); cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -5px; } .bars::after { top: 5px; }
.menu { display: none; }
@media (max-width: 899px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .menu.is-open { display: block; position: absolute; left: 0; right: 0; top: 68px; background: var(--paper); color: var(--ink); box-shadow: 0 18px 30px rgba(20, 16, 36, 0.18); border-top: 1px solid var(--line); }
  .menu ul { padding: 8px var(--gut) 16px; }
  .menu a { display: flex; align-items: center; min-height: 52px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .menu-open .top { background: var(--paper); color: var(--ink); }
}

/* HERO: full-bleed video with a title card */
.hero { position: relative; min-height: 74svh; display: flex; align-items: flex-end; color: #fff; background: var(--night); overflow: hidden; isolation: isolate; }
@media (min-width: 900px) { .hero { min-height: max(78svh, 560px); } }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; background: var(--night); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(22, 18, 38, 0.94) 0%, rgba(22, 18, 38, 0.78) 34%, rgba(22, 18, 38, 0.3) 66%, rgba(22, 18, 38, 0.55) 100%); }
@media (min-width: 900px) {
  .hero::after { background: linear-gradient(to top, rgba(22, 18, 38, 0.9) 0%, rgba(22, 18, 38, 0.35) 55%, rgba(22, 18, 38, 0.5) 100%), linear-gradient(to right, rgba(22, 18, 38, 0.7) 0%, rgba(22, 18, 38, 0) 62%); }
}
.hero__body { position: relative; padding-top: 144px; padding-bottom: 28px; }
@media (max-width: 599px) { .hero .cap--rule { display: none; } .hero .when .sep { display: none; } .hero .when { flex-direction: column; align-items: flex-start; gap: 0; } }
@media (min-width: 900px) { .hero__body { padding-bottom: 64px; } }
.hero__card { max-width: 780px; }
.hero h1 { font-size: clamp(2.375rem, 1.1rem + 5.4vw, 5.25rem); line-height: 1.02; margin-top: 14px; text-shadow: 0 2px 24px rgba(10, 8, 20, 0.45); }
.when { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 18px; font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem); font-weight: 500; }
.when__t { font-weight: 700; }
.when a { color: #fff; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration-color: rgba(229, 169, 61, 0.9); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.when a svg { width: 20px; height: 20px; color: var(--maple); }
.when .sep { color: var(--maple); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
@media (max-width: 520px) { .hero .actions .btn { flex: 1 1 100%; } }
.stamp { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.875rem; color: var(--ink-2); }
.stamp svg { width: 18px; height: 18px; color: var(--maple-deep); }
.hero .stamp { color: #DCD6EA; }
.hero .stamp svg { color: var(--maple); }

/* the pause button, with a ring that shows where the loop is */
.vctl { position: absolute; z-index: 3; right: max(var(--gut), calc((100% - 1280px) / 2 + var(--gut))); top: 80px; display: flex; align-items: center; gap: 10px; flex-direction: row-reverse; }
@media (min-width: 900px) { .vctl { top: auto; bottom: 56px; } }
.vbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 5px 16px 5px 5px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(22, 18, 38, 0.55); color: #fff; font: 700 0.875rem var(--sans); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vbtn:hover { background: rgba(22, 18, 38, 0.75); }
.vbtn__i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; position: relative; background: conic-gradient(var(--maple) var(--p, 0deg), rgba(255, 255, 255, 0.25) 0); }
.vbtn__i::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #221D38; }
.vbtn__i svg { position: relative; width: 16px; height: 16px; }
.vbtn .i-play, .vbtn.is-paused .i-pause { display: none; }
.vbtn.is-paused .i-play { display: block; }
.vnote { font-size: 0.8125rem; color: #E6E1F1; background: rgba(22, 18, 38, 0.6); padding: 6px 10px; border-radius: 8px; max-width: 220px; line-height: 1.3; }
.vnote:empty { display: none; }
.filmed { font: 700 0.6875rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); display: none; }
@media (min-width: 900px) { .filmed { display: block; } .vctl .vnote:not(:empty) + .filmed { display: none; } }
.sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 120px; pointer-events: none; }

/* Weekly rhythm: a calm static row */
.rhythm { background: var(--night); color: var(--on-dark); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.rhythm .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; }
.rhythm .cap { flex: none; }
.rhythm ul { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 0.9688rem; }
.rhythm li { display: flex; gap: 8px; align-items: baseline; }
.rhythm li b { color: var(--maple); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 699px) { .rhythm ul { display: grid; grid-template-columns: 1fr; gap: 6px; } .rhythm li b { min-width: 40px; } }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section--tint { background: var(--heather); }
.section--night { background: var(--night); color: var(--on-dark); }
.section--night a:not(.btn) { color: var(--maple); }
.head { max-width: 760px; margin-bottom: 40px; }
.head .cap { margin-bottom: 14px; }
.head p:not(.cap) { margin-top: 14px; }
.lede { font-size: 1.1875rem; line-height: 1.55; max-width: 62ch; }
.section--night .lede { color: var(--on-dark-2); }
.split { display: grid; gap: 48px; }
@media (min-width: 900px) { .split { grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; } .split--even { grid-template-columns: 1fr 1fr; } .split--rev { grid-template-columns: 5fr 7fr; } }

/* This Sabbath */
.sermon-title { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 4rem); margin-top: 14px; }
.sermon-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 16px; color: var(--ink-2); }
.sermon-meta b { color: var(--ink); }
.sermon-blurb { margin-top: 18px; font-size: 1.1875rem; max-width: 58ch; }
.next-up { margin-top: 18px; font-size: 0.9375rem; color: var(--ink-2); }
.facts { margin-top: 36px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .facts > div { grid-template-columns: 170px 1fr; gap: 20px; } }
.facts dt { font-weight: 700; }
.hymns li { display: flex; gap: 14px; align-items: baseline; padding: 4px 0; }
.hymn-n { font: 400 1.625rem/1 var(--serif); color: var(--maple-deep); min-width: 52px; }
.hymns small { display: block; font-size: 0.8125rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.hours { background: var(--night); color: var(--on-dark); border-radius: var(--r); padding: 32px 28px; }
.hours h3 { font: 400 clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem)/1.1 var(--serif); margin-top: 14px; }
.hours__sub { margin-top: 8px; color: var(--on-dark-2); }
.hours__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.hours__row span { display: block; font-size: 0.8125rem; color: var(--on-dark-2); }
.hours__row b { font: 400 1.625rem/1.2 var(--serif); color: var(--maple); }
.hours p.note { margin-top: 18px; font-size: 0.9375rem; color: var(--on-dark-2); }
.sunsets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.sunsets li { background: rgba(255, 255, 255, 0.06); border-radius: 10px; padding: 10px 8px; text-align: center; }
.sunsets span { display: block; font-size: 0.75rem; color: var(--on-dark-2); }
.sunsets b { font-size: 0.9375rem; }
.hours .arrow { color: var(--maple); margin-top: 12px; }
.hours .cap { color: var(--maple); }

/* New here */
.intents { margin-top: 18px; border-top: 1px solid var(--line); }
.intents a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.0625rem; }
.intents a::after { content: "→"; color: var(--maple-deep); }
.intents a:hover { color: var(--violet); }
.welcome { background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 20px 40px -24px rgba(29, 25, 48, 0.3); }
.welcome blockquote { font: 400 1.5rem/1.3 var(--serif); padding: 26px 26px 0; }
.welcome .sig { padding: 14px 26px 26px; font-size: 0.9375rem; color: var(--ink-2); }
.beliefs { margin-top: 56px; display: grid; gap: 0 48px; }
@media (min-width: 700px) { .beliefs ul { columns: 2; column-gap: 48px; } }
.beliefs li { break-inside: avoid; padding: 14px 0 14px 22px; border-top: 1px solid var(--line); position: relative; }
.beliefs li::before { content: ""; position: absolute; left: 0; top: 24px; width: 8px; height: 8px; border-radius: 50%; background: var(--maple); }

/* Photo slots: a missing film frame, labeled for the church to fill */
.slot { position: relative; background: repeating-linear-gradient(135deg, #E4E0EB 0 12px, #ECE9F1 12px 24px); color: #5D5772; display: grid; place-items: center; aspect-ratio: 3 / 2; overflow: hidden; }
.slot svg { width: 46%; height: auto; opacity: 0.6; }
.slot figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; font-size: 0.8125rem; font-weight: 700; color: var(--ink); background: rgba(255, 255, 255, 0.92); padding: 8px 12px; border-radius: 8px; line-height: 1.35; }
.slot figcaption span { display: block; font-weight: 400; color: var(--ink-2); }
.section--night .slot, .film .slot { background: repeating-linear-gradient(135deg, #2E2849 0 12px, #342E52 12px 24px); color: #9F98BA; }

/* Watch */
.facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--r); overflow: hidden; cursor: pointer; background: #000; color: #fff; text-align: left; font: inherit; }
.facade img { width: 100%; height: 100%; object-fit: cover; object-position: center 85%; opacity: 0.72; transition: opacity .3s, transform .6s; }
.facade:hover img { opacity: 0.85; }
.facade__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--maple); color: var(--night); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.facade__play svg { width: 30px; height: 30px; margin-left: 4px; }
.facade__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; font-size: 0.9375rem; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); }
.facade__played { aspect-ratio: 16 / 9; border-radius: var(--r); background: var(--night-2); padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.live { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.live::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--on-dark-2); }
.live.is-live::before { background: #FF6B5A; box-shadow: 0 0 0 4px rgba(255, 107, 90, 0.25); }
.sermons { margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.sermons a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); text-decoration: none; color: var(--on-dark) !important; }
.sermons .s-t { display: block; font-weight: 700; font-size: 1.0625rem; }
.sermons .s-m { display: block; font-size: 0.875rem; color: var(--on-dark-2); margin-top: 2px; }
.sermons a:hover .s-t { color: var(--maple); }

/* Members */
.news li { padding: 18px 0; border-top: 1px solid var(--line); }
.news li:last-child { border-bottom: 1px solid var(--line); }
.news b { display: block; font-size: 1.0625rem; }
.news span { display: block; color: var(--ink-2); margin-top: 4px; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 600px) and (max-width: 899px) { .quick { grid-template-columns: repeat(3, 1fr); } }
.quick a { display: flex; flex-direction: column; gap: 10px; min-height: 120px; padding: 18px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.quick a:hover { border-color: var(--violet); }
.quick svg { color: var(--maple-deep); width: 26px; height: 26px; }
.quick b { display: block; font-size: 1.0625rem; }
.quick span { display: block; font-size: 0.875rem; color: var(--ink-2); margin-top: 2px; line-height: 1.4; }
.disclose { margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.disclose summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 700; list-style: none; }
.disclose summary::-webkit-details-marker { display: none; }
.disclose summary::after { content: "+"; font: 400 1.5rem var(--serif); color: var(--maple-deep); }
.disclose[open] summary::after { content: "−"; }
.disclose > div { padding: 0 0 20px; }

/* Ministries */
.mins { display: grid; gap: 16px; }
@media (min-width: 700px) { .mins { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .mins { grid-template-columns: repeat(3, 1fr); } }
.min { background: var(--paper); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); }
.min h3 { font: 400 1.75rem/1.1 var(--serif); }
.min .cap { font-size: 0.6875rem; }
.min .who { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.9375rem; display: flex; gap: 12px; align-items: center; }
.min .who i { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--heather); color: var(--violet); display: grid; place-items: center; font: 700 0.8125rem var(--sans); font-style: normal; }
.min .who b { display: block; }
.min--big { padding: 0; overflow: hidden; }
.min--big .slot { aspect-ratio: 16 / 9; }
.min--big .min__in { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
@media (min-width: 1100px) { .min--big { grid-column: span 2; flex-direction: row; } .min--big .slot { aspect-ratio: auto; flex: 1 1 52%; } .min--big .min__in { flex: 1 1 48%; } }

/* Events */
.events { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .events { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.ev { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ev__date { text-align: center; line-height: 1.1; }
.ev__date span { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.ev__date b { display: block; font: 400 2.25rem/1 var(--serif); color: var(--ink); margin: 2px 0; }
.ev__t { font-size: 1.125rem; }
.ev__m { font-size: 0.9375rem; color: var(--maple-deep); font-weight: 700; margin-top: 4px; }
.ev__b { margin-top: 6px; color: var(--ink-2); }
.ev__s { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* Forms */
.card { background: var(--paper); border-radius: var(--r); padding: 28px; border: 1px solid var(--line); }
@media (min-width: 900px) { .card { padding: 40px; } }
.card h2 { font-size: clamp(1.875rem, 1.3rem + 2vw, 2.625rem); }
.card .lede { margin-top: 12px; font-size: 1.0625rem; }
.form { display: grid; gap: 16px; margin-top: 22px; }
.field { display: grid; gap: 6px; }
.field label, .fieldset legend { font-weight: 700; font-size: 0.9375rem; }
.input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #B9B3C6; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
textarea.input { min-height: 110px; resize: vertical; }
.input:focus-visible { outline: 3px solid var(--maple); outline-offset: 1px; border-color: var(--violet); }
.row2 { display: grid; gap: 16px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } }
.check, .radio { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.check input, .radio input { width: 22px; height: 22px; accent-color: var(--violet); }
.fieldset { border: 0; padding: 0; margin: 0; }
.demo-flag { display: inline-block; width: fit-content; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: #FBEFD6; color: #6E4508; padding: 4px 10px; border-radius: 6px; }
.success { padding: 24px; border-radius: var(--r); background: var(--heather); margin-top: 22px; }
.success h3 { font: 400 1.75rem/1.15 var(--serif); }
.success p { margin-top: 8px; }

/* Your first Saturday: the morning as a filmstrip */
.film { background: var(--night); color: var(--on-dark); padding: 72px 0 80px; }
@media (min-width: 900px) { .film { padding: 104px 0 112px; } }
.film__head { display: grid; gap: 20px; margin-bottom: 36px; }
@media (min-width: 900px) { .film__head { grid-template-columns: 1fr auto; align-items: end; } }
.film__head .lede { color: var(--on-dark-2); margin-top: 12px; }
.strip { position: relative; padding: 22px 0; background: #120F1F; border-radius: 6px; }
.strip::before, .strip::after { content: ""; position: absolute; left: 10px; right: 10px; height: 8px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 10px, transparent 10px 26px); border-radius: 2px; }
.strip::before { top: 7px; } .strip::after { bottom: 7px; }
.strip ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 8px; }
@media (max-width: 699px) { .strip ol { grid-template-columns: 1fr 1fr; } }
.frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: #2A2544; }
.frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.frame .slot { position: absolute; inset: 0; aspect-ratio: auto; }
.frame .slot svg { width: 40%; }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 15, 31, 0.92), rgba(18, 15, 31, 0.1) 62%); }
.frame__t { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px; }
.frame__t time { display: block; font: 400 clamp(1.5rem, 1rem + 1.6vw, 2.25rem)/1 var(--serif); color: var(--maple); }
.frame__t span { display: block; font-weight: 700; font-size: 0.9375rem; margin-top: 4px; }
.frame__t small { display: block; font-size: 0.8125rem; color: var(--on-dark-2); line-height: 1.35; }
@media (max-width: 420px) { .frame__t small { display: none; } }
.frame__slotlabel { position: absolute; z-index: 1; top: 8px; left: 8px; font-size: 0.6875rem; font-weight: 700; background: rgba(255, 255, 255, 0.9); color: var(--ink); padding: 3px 8px; border-radius: 6px; }

/* Footer */
.foot { background: var(--page); border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 0.9688rem; }
.foot .grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .foot .grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; } }
.foot h2 { font-size: 1.75rem; }
.foot .mark svg { width: 40px; height: 40px; color: var(--violet); margin-bottom: 14px; }
.foot ul a { display: inline-flex; align-items: center; min-height: 40px; }
.foot .fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.8438rem; color: var(--ink-2); }

/* Phone action bar: four actions in thumb reach */
.bar { display: none; }
@media (max-width: 899px) {
  .bar { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--bar) + env(safe-area-inset-bottom)); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 4px; background: rgba(250, 249, 247, 0.98); box-shadow: 0 -1px 0 var(--line), 0 -10px 24px rgba(29, 25, 48, 0.08); transition: transform .25s ease; }
  .bar.away { transform: translateY(110%); }
  .bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 0.75rem; font-weight: 700; min-height: 48px; }
  .bar svg { width: 22px; height: 22px; color: var(--violet); }
  .bar a.go { background: var(--maple); color: var(--night); font-size: 0.9375rem; flex-direction: row; border: 1.5px solid #C98F28; }
}
@media (prefers-reduced-motion: reduce) { .bar { transition: none; } * { scroll-behavior: auto !important; } }

/* Visit page */
.vhero { padding: 40px 0 64px; }
@media (min-width: 900px) { .vhero { padding: 72px 0 96px; } }
.vhero__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .vhero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; } }
.vhero h1 { font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4.25rem); margin-top: 12px; }
.keyfacts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-top: 22px; border-top: 1px solid var(--line); }
.keyfacts > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.keyfacts dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--maple-deep); }
.keyfacts dd { margin-top: 2px; font-size: 0.9688rem; line-height: 1.4; }
.keyfacts dd b { font-size: 1.0625rem; }
@media (max-width: 899px) { .vhero .actions { display: none; } }
.vphoto { position: relative; border-radius: var(--r); overflow: hidden; background: var(--night); }
.vphoto img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.vphoto figcaption { padding: 16px 20px; color: var(--on-dark); font-size: 0.9375rem; }
.people { display: grid; gap: 20px; }
@media (min-width: 800px) { .people { grid-template-columns: 1fr 1fr; } }
.person { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; }
@media (min-width: 560px) { .person { grid-template-columns: 200px 1fr; } .person .slot { aspect-ratio: auto; height: 100%; min-height: 220px; } }
.person > div { padding: 22px 24px; }
.person h3 { font: 400 1.625rem/1.15 var(--serif); }
.person .role { font-size: 0.875rem; color: var(--maple-deep); font-weight: 700; margin-top: 4px; }
.person blockquote { margin-top: 12px; }
.sabbath-strip { background: var(--night); color: var(--on-dark); }
.sabbath-strip .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.sabbath-strip b { color: var(--maple); }
.timeline { display: grid; gap: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline time { font: 400 2rem/1 var(--serif); color: var(--maple-deep); }
.timeline p { margin-top: 6px; color: var(--ink-2); }
.cols3 { display: grid; gap: 32px; }
@media (min-width: 800px) { .cols3 { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.cols3 h3 { font: 400 1.75rem/1.1 var(--serif); margin-bottom: 10px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-weight: 700; font-size: 1.0938rem; list-style: none; padding: 12px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.625rem/1 var(--serif); color: var(--maple-deep); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 20px; max-width: 64ch; }

/* Staff view (?staff=1) */
.staff [data-source] { outline: 2px dashed #3E6FA8; outline-offset: 4px; position: relative; border-radius: 4px; }
.staff [data-source="keeper"] { outline-color: #A8640F; }
.staff-tag { display: block; width: fit-content; max-width: 100%; margin: 0 0 8px; font: 700 0.75rem/1.3 var(--sans); letter-spacing: 0.02em; text-transform: none; padding: 4px 10px; border-radius: 6px; background: #E3ECF7; color: #1F4A7A; position: relative; z-index: 4; }
.staff-tag--keeper { background: #F6EAD9; color: #6E3E0B; }
.staff .hero > .staff-tag { position: absolute; top: 76px; left: var(--gut); }
.staff-bar { position: fixed; left: 12px; right: 12px; bottom: calc(var(--bar) + 12px); z-index: 60; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); border-radius: 12px; padding: 10px 14px; font-size: 0.8125rem; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.sw { padding: 2px 8px; border-radius: 6px; }
.sw--form { background: #E3ECF7; color: #1F4A7A; }
.sw--keeper { background: #F6EAD9; color: #6E3E0B; }
@media (min-width: 900px) { .staff-bar { left: auto; max-width: 560px; } }

@media print { .hero__video, .vctl, .bar, .ribbon { display: none; } }
[hidden]{display:none!important}
.sunsets b { white-space: nowrap; }
@media (max-width: 419px) { .sunsets { grid-template-columns: 1fr 1fr; } }
.ribbon .tiny { display: none; }
@media (max-width: 374px) { .ribbon .short { display: none; } .ribbon .tiny { display: inline; } }

/* Membership: join page, members link, visit-page invite (added 2026-10-19) */
.quick__join { grid-column: 1 / -1; }
.quick__join a { min-height: 0; flex-direction: row; align-items: flex-start; gap: 14px; background: var(--night); border-color: var(--night); color: var(--on-dark); }
.quick__join a:hover { border-color: var(--maple); }
.quick__join svg { color: var(--maple); flex: none; }
.quick__join a span { color: var(--on-dark-2); }
.quick .staff-tag { margin: 0 0 8px; font-size: 0.75rem; color: #24502F; }
.quick__join b { color: var(--on-dark); }
@media (max-width: 899px) { .j-hero .actions { display: flex; } }
.j-who { padding: 26px 28px; border-radius: var(--r); background: var(--night); color: var(--on-dark); }
.j-who p + p { margin-top: 8px; }
.j-who .cap { margin-bottom: 10px; }
.j-who .small { color: var(--on-dark-2); }
.ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ways li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.ways .w-n { display: block; font: 400 2.5rem/1 var(--serif); color: var(--maple-deep); margin-bottom: 12px; }
.ways h3 { font: 400 1.75rem/1.1 var(--serif); margin-bottom: 10px; }
.ways p { color: var(--ink-2); }
@media (min-width: 900px) { .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .ways li { padding: 28px; } }
.ways-foot { margin-top: 28px; color: var(--ink-2); max-width: 64ch; }
.ways-foot b { color: var(--ink); }
.j-next { list-style: none; counter-reset: n; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.j-next li { counter-increment: n; position: relative; padding: 16px 0 16px 48px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.j-next li::before { content: counter(n); position: absolute; left: 0; top: 12px; font: 400 1.875rem/1.1 var(--serif); color: var(--maple-deep); }
.j-next b { color: var(--ink); }
.paths { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.paths legend { font-weight: 700; font-size: 0.9375rem; margin-bottom: 8px; padding: 0; }
.path { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.path:has(input:checked) { border-color: var(--violet); background: var(--heather); }
.path input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--violet); flex: none; }
.path b { display: block; font-weight: 700; line-height: 1.35; }
.path small { display: block; font-size: 0.875rem; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
.opt { font-weight: 400; color: var(--ink-2); }
.hint { margin-top: 2px; font-size: 0.875rem; color: var(--ink-2); }
.form-note { font-size: 0.875rem; color: var(--ink-2); }
[data-show-if][hidden] { display: none !important; }
.j-invite { background: var(--night); color: var(--on-dark); padding: 72px 0; }
@media (min-width: 900px) { .j-invite { padding: 104px 0; } }
.j-invite .lede { color: var(--on-dark-2); }
.j-invite h2 { color: var(--on-dark); }
.staff [data-source="inbox"] { outline-color: #3B6B4A; }
.staff-tag--inbox, .sw--inbox { background: #E2EFE5; color: #24502F; }

/* ============================================================
   Polish pass 2026-10-20: same look, finer finish.
   Tokens, button states, header, phone menu, cards, forms, reveals.
   ============================================================ */
:root {
  --r-sm: 10px;
  --r-xs: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-1: 0 1px 2px rgba(29, 25, 48, 0.05), 0 1px 0 rgba(29, 25, 48, 0.02);
  --shadow-2: 0 2px 4px rgba(29, 25, 48, 0.04), 0 14px 30px -14px rgba(29, 25, 48, 0.22);
  --shadow-3: 0 4px 10px rgba(29, 25, 48, 0.06), 0 24px 48px -20px rgba(29, 25, 48, 0.32);
  --ring: 0 0 0 3px rgba(229, 169, 61, 0.55);
}

/* Type: steadier text rendering, no orphans, comfortable measure */
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "kern", "liga"; }
p, li, dd, blockquote { text-wrap: pretty; }
h3 { text-wrap: balance; }
.head p:not(.cap), .film__head .lede, .ev__b, .min p, .ways p, .timeline p, .cols3 p, .j-next li, .person blockquote, .welcome blockquote { max-width: 68ch; }
.section h2 + .lede, .head h2 + p { margin-top: 16px; }
.hours__row b, .sunsets b, .ev__date b, .hymn-n, .timeline time, .frame__t time { font-variant-numeric: lining-nums tabular-nums; }

/* Buttons: hover lifts a hair, press settles, keyboard ring is clear */
.btn { transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn--primary { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 6px 16px -8px rgba(140, 90, 14, 0.55); }
.btn--primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 22px -10px rgba(140, 90, 14, 0.7); }
.btn--dark { box-shadow: 0 8px 18px -10px rgba(29, 25, 48, 0.6); }
.btn--ghost { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: #fff; }
.btn--line:hover { border-color: var(--violet); color: var(--violet); }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); } }
.btn:active { transform: translateY(0) scale(0.985); box-shadow: none; }
.btn:focus-visible { outline: 3px solid var(--maple); outline-offset: 3px; }
.on-dark .btn:focus-visible, .hero .btn:focus-visible, .film .btn:focus-visible { outline-color: #fff; }
.arrow:focus-visible::after, .arrow:hover::after { transform: translateX(3px); }

/* Header: frosted when solid, a soft shadow once the page moves */
.top.solid, .no-hero .top { background: rgba(250, 249, 247, 0.86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.top.solid, .no-hero .top.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 28px -18px rgba(29, 25, 48, 0.35); }
.top:not(.solid) .brand, .top:not(.solid) .nav a:not(.btn) { text-shadow: 0 1px 12px rgba(10, 8, 20, 0.35); }
.no-hero .top .brand, .no-hero .top .nav a:not(.btn) { text-shadow: none; }
.nav a:not(.btn) { min-height: 44px; display: flex; align-items: center; position: relative; transition: background-color .2s var(--ease); }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--maple); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:not(.btn):hover { background: transparent; }
.nav a:not(.btn):hover::after, .nav a:not(.btn):focus-visible::after { transform: scaleX(1); }
.brand { border-radius: var(--r-xs); }

/* Phone menu: a clean sheet under the header, big targets, the visit link as the main action */
@media (max-width: 899px) {
  .menu-btn { transition: background-color .2s var(--ease), border-color .2s var(--ease); }
  .menu-btn:active { transform: scale(0.97); }
  .bars, .bars::before, .bars::after { transition: transform .25s var(--ease), background-color .2s, top .25s var(--ease); }
  .menu-btn[aria-expanded="true"] .bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }
  .menu.is-open { border-radius: 0 0 18px 18px; box-shadow: 0 24px 40px -12px rgba(20, 16, 36, 0.28); max-height: calc(100svh - 68px); overflow-y: auto; overscroll-behavior: contain; }
  .menu ul { padding: 6px var(--gut) 20px; }
  .menu li:last-child a { border-bottom: 0; }
  .menu a { justify-content: space-between; min-height: 56px; font-size: 1.125rem; }
  .menu a::after { content: "→"; color: var(--maple-deep); font-weight: 400; transition: transform .2s var(--ease); }
  .menu a:hover::after, .menu a:focus-visible::after { transform: translateX(3px); }
  .menu a:focus-visible { outline-offset: -3px; }
  .menu a[href="visit/"] { justify-content: center; gap: 8px; margin: 10px 0 8px; min-height: 52px; border: 2px solid #C98F28; border-radius: 999px; background: var(--maple); color: var(--night); }
  .menu a[href="visit/"]::after { color: var(--night); }
  .menu-open .top { box-shadow: 0 1px 0 var(--line); }
}
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  .menu.is-open { animation: menu-in .28s var(--ease) both; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Hero: a touch more scrim behind the headline on phones, where it sits over the white church */
@media (max-width: 899px) {
  .hero::after { background: linear-gradient(to top, rgba(22, 18, 38, 0.95) 0%, rgba(22, 18, 38, 0.8) 36%, rgba(22, 18, 38, 0.42) 68%, rgba(22, 18, 38, 0.6) 100%); }
}
.vbtn { transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.vbtn:hover { border-color: rgba(255, 255, 255, 0.7); }
.vbtn:active { transform: scale(0.97); }
.vbtn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Ribbon link: a bigger target without a bigger ribbon */
.ribbon a { padding: 6px 4px; margin: -6px -4px; border-radius: 4px; }

/* Cards share one radius and one shadow family */
.min, .quick a, .card, .ways li, .person, .welcome { box-shadow: var(--shadow-1); }
.min, .ways li, .person { transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.welcome { box-shadow: var(--shadow-3); }
.card { box-shadow: var(--shadow-2); }
.quick a { transition: border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
@media (hover: hover) {
  .quick a:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
  .min:hover, .ways li:hover { box-shadow: var(--shadow-2); }
}
.quick a:active { transform: translateY(0); }
.quick a:focus-visible { outline-offset: 2px; }
.hours { box-shadow: var(--shadow-3); }
.sunsets li { border: 1px solid rgba(255, 255, 255, 0.06); }
.facade { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.65); }
.facade:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .facade:hover img { transform: scale(1.025); } .facade:hover .facade__play { transform: scale(1.06); } }
.facade__play { transition: transform .3s var(--ease); }
.intents a { transition: color .2s var(--ease), padding .25s var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .intents a:hover { padding-left: 6px; } }
.sermons a { transition: background-color .2s var(--ease); border-radius: 2px; }
.disclose summary, .faq summary { border-radius: var(--r-xs); }
.disclose summary:hover, .faq summary:hover { color: var(--violet); }
.faq summary::after, .disclose summary::after { transition: transform .25s var(--ease); }
.ev__s { text-underline-offset: 4px; }

/* Footer links: full 44px targets */
.foot ul a { min-height: 44px; }
.foot .fine a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; }

/* Forms: calmer fields, clear focus, honest error state */
.input { font-size: 1.0625rem; border-radius: var(--r-sm); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease); box-shadow: inset 0 1px 2px rgba(29, 25, 48, 0.04); }
.input::placeholder { color: #736D85; opacity: 1; }
.input:hover { border-color: #8F88A3; }
.input:focus, .input:focus-visible { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(74, 63, 126, 0.18); }
.input:user-invalid { border-color: #B3261E; background: #FFF8F7; }
.input:user-invalid:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.16); }
select.input { -webkit-appearance: none; appearance: none; padding-right: 44px; 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='%234A3F7E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field label, .fieldset legend, .paths legend { color: var(--ink); letter-spacing: 0.005em; }
.check input, .radio input, .path input { cursor: pointer; }
.check input:focus-visible, .radio input:focus-visible, .path input:focus-visible { outline: 3px solid var(--maple); outline-offset: 2px; }
.check, .radio { cursor: pointer; }
.path { transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
.path:hover { border-color: #A79FC0; }
.path:has(input:checked) { box-shadow: 0 0 0 1px var(--violet) inset; }
.path:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(74, 63, 126, 0.18); }
.success { border: 1px solid var(--line); }
.success:focus { outline: none; }
.success:focus-visible { outline: 3px solid var(--maple); outline-offset: 3px; }

/* Phone bar: pressed state */
@media (max-width: 899px) {
  .bar { -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); background: rgba(250, 249, 247, 0.92); }
  .bar a { transition: background-color .15s var(--ease), transform .15s var(--ease); -webkit-tap-highlight-color: transparent; }
  .bar a:active { background: var(--heather); transform: scale(0.97); }
  .bar a.go:active { background: #F0BA55; }
  .bar a:focus-visible { outline-offset: -2px; }
}

/* Scroll reveals: only when JS runs AND motion is welcome. Without JS, or with reduced
   motion, everything is there from the start. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--rv-d, 0ms); }
  .reveal-on .rv.in { opacity: 1; transform: none; }
}
@media print { .reveal-on .rv { opacity: 1 !important; transform: none !important; } }

/* Focus ring: violet on light backgrounds (maple was under 3:1 on cream), maple or white on dark */
:focus-visible, .btn:focus-visible, .input:user-invalid:focus-visible { outline-color: var(--violet); }
body:not(.no-hero) .top:not(.solid) :focus-visible { outline-color: var(--maple); }
.on-dark :focus-visible, .hero :focus-visible, .film :focus-visible, .section--night :focus-visible, .hours :focus-visible, .j-who :focus-visible, .j-invite :focus-visible, .quick__join a:focus-visible, .ribbon :focus-visible { outline-color: #fff; }
.on-dark .btn:focus-visible, .hero .btn:focus-visible, .film .btn:focus-visible, .j-invite .btn:focus-visible { outline-color: #fff; }
.check input:focus-visible, .radio input:focus-visible, .path input:focus-visible { outline-color: var(--violet); }
