/* Heart Turn Global — a church without walls.
   Night-blue bands open and close every page (the hour before dawn); the pages between are clear
   morning paper. One accent of first light (dawn gold) marks the single most important action. */
:root {
  --night: #0B1A2A;
  --night-2: #132A40;
  --night-3: #1C3954;
  --sky: #5BC2F7;
  --sky-ink: #0A6896;
  --sky-wash: #E4F4FD;
  --dawn: #F4B33F;
  --dawn-ink: #6B4500;
  --paper: #F6F8FA;
  --white: #FFFFFF;
  --ink: #0F1D2B;
  --muted: #4B5D6E;
  --line: #D6E1E9;
  --on-night: #EAF3FA;
  --on-night-muted: #A9BED0;
  --display: 'Sofia Sans Extra Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --ui: 'Sofia Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --read: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 64px);
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--ui); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: var(--sky-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; text-wrap: balance; }
.d-xl { font: 800 clamp(58px, 9.2vw, 132px)/0.9 var(--display); letter-spacing: -0.012em; }
.d-l { font: 800 clamp(50px, 7vw, 100px)/0.92 var(--display); letter-spacing: -0.01em; }
.d-m { font: 800 clamp(38px, 4.8vw, 64px)/0.96 var(--display); letter-spacing: -0.005em; }
.d-s { font: 800 clamp(28px, 3vw, 38px)/1 var(--display); }
.h3 { font: 700 22px/1.2 var(--ui); letter-spacing: -0.005em; }
.lede { font: 400 clamp(19px, 1.7vw, 22px)/1.55 var(--read); max-width: 40em; }
.prose { font: 400 19px/1.65 var(--read); max-width: 38em; }
.prose p { margin: 0 0 1.05em; }
.prose h2 { margin: 1.6em 0 0.5em; }
.muted { color: var(--muted); }
.kicker { font: 700 15px/1.3 var(--ui); color: var(--sky-ink); margin: 0 0 12px; }
.on-night .kicker { color: var(--sky); }

/* Scripture: always set in the reading serif, reference in the UI face. */
.verse { margin: 0; font: italic 400 clamp(19px, 1.6vw, 22px)/1.5 var(--read); }
.verse cite { display: block; margin-top: 10px; font: 700 14px/1.2 var(--ui); font-style: normal; letter-spacing: 0.02em; color: var(--muted); }
.on-night .verse cite { color: var(--on-night-muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 800 16px/1 var(--ui); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-dawn { background: var(--dawn); color: #2A1B00; }
.btn-dawn:hover { background: #FFC75C; }
.btn-sky { background: var(--sky); color: #04263A; }
.btn-sky:hover { background: #7FD1FA; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--night-3); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: rgba(91, 194, 247, .12); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 800; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.textlink:hover { border-bottom-width: 3px; }

/* ---------- night bands (top of every page, footer) ---------- */
.on-night { background: var(--night); color: var(--on-night); }
.on-night a { color: var(--sky); }
.top { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 115%, #1E4466 0%, rgba(30, 68, 102, 0) 60%), var(--night); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(244, 179, 63, 0), rgba(244, 179, 63, .55) 50%, rgba(244, 179, 63, 0)); }

/* header */
.site-head { position: relative; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo { display: block; height: 46px; color: var(--white); flex: none; }
.logo svg { height: 100%; width: auto; display: block; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--on-night); text-decoration: none; font: 700 16px/1 var(--ui); padding: 12px 12px; border-radius: 999px; }
.nav a:hover { background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { color: var(--sky); }
.nav .btn { margin-left: 10px; min-height: 44px; padding: 0 20px; color: #2A1B00; }
.nav .btn:hover { background: #FFC75C; }
.menu-btn { display: none; margin-left: auto; background: transparent; border: 2px solid rgba(255, 255, 255, .28); color: var(--white); border-radius: 999px; min-height: 44px; padding: 0 18px; font: 800 15px/1 var(--ui); cursor: pointer; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; }
  .nav { display: none; }
  .nav.open { display: flex; position: fixed; inset: 0; z-index: 40; flex-direction: column; align-items: stretch; gap: 4px; padding: calc(96px + env(safe-area-inset-top, 0px)) var(--gut) 32px; background: var(--night); overflow-y: auto; }
  .nav.open a { font: 800 34px/1.1 var(--display); padding: 12px 4px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav.open .btn { margin: 18px 0 0; min-height: 56px; font: 800 18px/1 var(--ui); border-bottom: 0; justify-content: center; border-radius: 999px; }
  .site-head.menu-open .menu-btn { position: relative; z-index: 45; }
  .site-head.menu-open .logo { position: relative; z-index: 45; }
}

/* page title band */
.page-title { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 96px); position: relative; z-index: 2; }
.page-title .lede { color: var(--on-night-muted); margin-top: 22px; }
.page-title h1 { max-width: 14ch; }

/* ---------- home hero ---------- */
.hero { position: relative; z-index: 2; padding: clamp(28px, 5vw, 56px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { max-width: 11.5ch; }
.hero .lede { color: var(--on-night-muted); margin: 26px 0 32px; max-width: 34em; }
.next-up { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font: 600 16px/1.4 var(--ui); color: var(--on-night-muted); }
.next-up strong { color: var(--white); font-weight: 800; }
.next-up .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dawn); display: inline-block; box-shadow: 0 0 0 5px rgba(244, 179, 63, .18); transform: translateY(-1px); }
.mark-stage { position: relative; aspect-ratio: 402 / 410; width: min(100%, 470px); justify-self: end; }
.mark-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mark-stage .glow { position: absolute; left: 66%; top: 37%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 128, .95), rgba(244, 179, 63, .55) 22%, rgba(91, 194, 247, .16) 52%, rgba(91, 194, 247, 0) 72%); pointer-events: none; }
.mark-stage .piece { transform-box: view-box; transform-origin: 66% 37%; }
@media (prefers-reduced-motion: no-preference) {
  .mark-stage .glow { animation: dawn 2.2s cubic-bezier(.2, .7, .2, 1) both .15s; }
  .mark-stage .p-left { animation: turnL 1.5s cubic-bezier(.2, .8, .2, 1) both .1s; }
  .mark-stage .p-top { animation: turnT 1.5s cubic-bezier(.2, .8, .2, 1) both .1s; }
  .mark-stage .p-bot { animation: turnB 1.5s cubic-bezier(.2, .8, .2, 1) both .1s; }
}
@keyframes dawn { from { opacity: 0; transform: translate(-50%, -50%) scale(.35); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes turnL { from { opacity: 0; transform: translate(-7%, 2%) rotate(-9deg); } to { opacity: 1; transform: none; } }
@keyframes turnT { from { opacity: 0; transform: translate(7%, -3%) rotate(9deg); } to { opacity: 1; transform: none; } }
@keyframes turnB { from { opacity: 0; transform: translate(6%, 4%) rotate(7deg); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .mark-stage { order: -1; width: min(52vw, 230px); justify-self: start; margin-bottom: 8px; }
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section + .section { padding-top: 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 46em; }
.section-head p { margin: 0; }
.band-sky { background: var(--sky-wash); }
.band-white { background: var(--white); }

/* the gospel in four lines: a real sequence, so it is numbered */
.gospel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: g; border-top: 3px solid var(--ink); }
.gospel li { list-style: none; padding: 26px 24px 8px 0; position: relative; display: grid; align-content: start; gap: 14px; }
.gospel li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.gospel .n { font: 800 64px/0.8 var(--display); color: var(--sky-ink); }
.gospel .h3 { font-size: 23px; }
.gospel .verse { font-size: 17px; color: var(--muted); }
.gospel .verse cite { font-size: 13px; }
.gospel-wrap { margin: 0; padding: 0; }
@media (max-width: 900px) {
  .gospel { grid-template-columns: 1fr 1fr; }
  .gospel li:nth-child(3) { padding-left: 0; border-left: 0; }
  .gospel li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 18px; }
}
@media (max-width: 560px) {
  .gospel { grid-template-columns: 1fr; }
  .gospel li, .gospel li + li { padding-left: 0; border-left: 0; }
  .gospel li + li { border-top: 1px solid var(--line); margin-top: 6px; }
}

/* doors: the ways into a church without walls (arched like an open doorway) */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.door { position: relative; display: grid; align-content: end; gap: 10px; min-height: 300px; padding: 28px 26px 26px; border-radius: 999px 999px var(--r) var(--r); background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow: hidden; isolation: isolate; }
.door::before { content: ""; position: absolute; inset: 10px 10px auto; height: 58%; border-radius: 999px 999px 6px 6px; background: linear-gradient(180deg, var(--sky-wash), rgba(228, 244, 253, 0)); z-index: -1; transition: background .25s; }
.door:hover::before { background: linear-gradient(180deg, #FDEBC6, rgba(253, 235, 198, 0)); }
.door .d-s { color: var(--ink); }
.door p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.door .go { font-weight: 800; color: var(--sky-ink); margin-top: 6px; }
.door:hover .go { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .doors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .doors { grid-template-columns: 1fr; } .door { min-height: 230px; } }

/* testimony tuesdays */
.tt { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.tt .lede { color: var(--on-night-muted); margin: 20px 0 28px; }
.dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dates li { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--r); background: var(--night-2); }
.dates li:first-child { background: var(--night-3); box-shadow: inset 0 0 0 2px var(--dawn); }
.dates .day { font: 800 15px/1.05 var(--ui); color: var(--on-night-muted); text-align: center; }
.dates .day b { display: block; font: 800 34px/1 var(--display); color: var(--white); }
.dates .when { font: 700 16px/1.35 var(--ui); color: var(--white); }
.dates .when span { display: block; font-weight: 500; color: var(--on-night-muted); font-size: 15px; }
.dates a { font: 800 14px/1 var(--ui); white-space: nowrap; }
@media (max-width: 860px) { .tt { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .dates li { grid-template-columns: 64px 1fr; } .dates li a { grid-column: 2; } }

/* kids */
.kids { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.kids ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.kids li { padding: 16px 18px; background: var(--white); border-radius: var(--r); border: 1px solid #CBE7F7; font-weight: 600; display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; line-height: 1.4; }
.kids li svg { width: 26px; height: 26px; color: var(--sky-ink); }
@media (max-width: 860px) { .kids { grid-template-columns: 1fr; } }

/* quote */
.quote { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.quote .mark-sm { width: clamp(64px, 9vw, 110px); }
.quote blockquote { margin: 0; font: 400 clamp(30px, 3.6vw, 48px)/1.2 var(--read); letter-spacing: -0.01em; max-width: 22em; }
.quote figcaption { margin-top: 20px; font: 700 16px/1.4 var(--ui); color: var(--muted); }

/* give / serve pair */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pair > * { padding: clamp(28px, 4vw, 48px); border-radius: var(--r); display: grid; gap: 16px; align-content: start; }
.pair .p-give { background: var(--night); color: var(--on-night); }
.pair .p-give .muted { color: var(--on-night-muted); }
.pair .p-serve { background: var(--white); border: 1px solid var(--line); }
.pair p { margin: 0; }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-foot { padding: clamp(56px, 8vw, 96px) 0 calc(36px + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: clamp(32px, 5vw, 72px); }
.foot-grid h2 { margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--on-night); text-decoration: none; font-weight: 600; }
.foot-grid a:hover { color: var(--sky); text-decoration: underline; }
.foot-small { margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--on-night-muted); font-size: 14px; }
.foot-small a { color: var(--on-night-muted); }
.foot-logo { height: 54px; color: var(--white); display: block; margin-bottom: 18px; }
.foot-logo svg { height: 100%; width: auto; display: block; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; }
.field label, .legend { font: 700 15px/1.3 var(--ui); }
.field .hint { font-size: 14px; color: var(--muted); margin-top: -2px; }
.input { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #B9C8D4; background: var(--white); color: var(--ink); font: 400 17px/1.4 var(--ui); }
textarea.input { min-height: 140px; resize: vertical; }
.input:focus { outline: none; border-color: var(--sky-ink); box-shadow: 0 0 0 4px rgba(91, 194, 247, .3); }
.input[aria-invalid="true"] { border-color: #B3261E; }
.err { color: #B3261E; font: 700 14px/1.35 var(--ui); }
.err:empty { display: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.notice { padding: 18px 20px; border-radius: var(--r); font-weight: 600; line-height: 1.45; }
.notice:empty { display: none; }
.notice.ok { background: #E3F6EA; color: #0F4D27; }
.notice.bad { background: #FCE8E6; color: #7A1A13; }
.on-night .input { background: var(--night-2); border-color: #35536F; color: var(--white); }
.on-night .input::placeholder { color: #8BA3B8; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.4; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--sky); }
.news { display: grid; gap: 12px; max-width: 30em; }
.news-row { display: flex; gap: 10px; }
.news-row .input { flex: 1; min-width: 0; }
@media (max-width: 420px) { .news-row { flex-direction: column; } }

/* ---------- inner pages ---------- */
.two { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.two > :first-child { position: sticky; top: 24px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } .two > :first-child { position: static; } }
.stack { display: grid; gap: clamp(56px, 8vw, 96px); }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.list .t { font: 700 19px/1.3 var(--ui); }
.list .s { color: var(--muted); font-size: 15.5px; }
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.group { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 12px; align-content: start; }
.group p { margin: 0; color: var(--muted); }
.group .meta { font: 600 14px/1.3 var(--ui); color: var(--muted); }
@media (max-width: 760px) { .groups { grid-template-columns: 1fr; } }
.event { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.event:first-child { border-top: 1px solid var(--line); }
.event .cal { border-radius: var(--r); background: var(--night); color: var(--white); text-align: center; padding: 14px 8px; align-self: start; }
.event .cal span { display: block; font: 800 14px/1.2 var(--ui); color: var(--sky); }
.event .cal b { display: block; font: 800 48px/0.95 var(--display); }
.event .body { display: grid; gap: 10px; }
.event .facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 600 15px/1.4 var(--ui); color: var(--muted); }
.event p { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; }
.chips li { padding: 7px 12px; border-radius: 999px; background: var(--sky-wash); color: var(--sky-ink); font: 700 14px/1 var(--ui); }
@media (max-width: 560px) { .event { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; } .event .cal b { font-size: 38px; } }
.empty { padding: 28px; border-radius: var(--r); background: var(--white); border: 1px dashed #B9C8D4; display: grid; gap: 12px; justify-items: start; }
.empty p { margin: 0; }

/* give */
.give-card { background: var(--white); border-radius: calc(var(--r) + 6px); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(11, 26, 42, .45); display: grid; gap: 26px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.seg button { min-height: 46px; border: 0; border-radius: 999px; background: transparent; font: 800 16px/1 var(--ui); color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.amounts button { min-height: 64px; border-radius: 14px; border: 1.5px solid #B9C8D4; background: var(--white); font: 800 28px/1 var(--display); color: var(--ink); cursor: pointer; }
.amounts button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
@media (max-width: 480px) { .amounts { grid-template-columns: 1fr 1fr; } }
.give-total { font: 600 16px/1.4 var(--ui); color: var(--muted); }
.give-total b { color: var(--ink); }
.secure { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.secure svg { width: 16px; height: 16px; flex: none; }

/* notes inside prose pages */
.callout { border-left: 4px solid var(--sky); padding: 4px 0 4px 20px; }
.signoff { font: 700 16px/1.4 var(--ui); color: var(--muted); }

/* links inside night bands keep their own colors */
.on-night .logo, .on-night .foot-logo { color: var(--white); }
.on-night a.btn-dawn { color: #2A1B00; }
.on-night a.btn-sky { color: #04263A; }
.on-night a.btn-ink { color: var(--white); }
.pair .p-give .verse cite { color: var(--on-night-muted); }
.pair .p-give a.btn-dawn { color: #2A1B00; }
.next-up a { font-weight: 800; }
[hidden] { display: none !important; }
.group .textlink { justify-self: start; }
/* keep each door's title clear of its arch at every width */
@media (max-width: 900px) and (min-width: 561px) { .door { min-height: calc(25vw + 210px); } }
@media (max-width: 560px) { .door { min-height: calc(50vw + 175px); } }
@media (max-width: 860px) { .give-first > :last-child { order: -1; } }
@media (max-width: 480px) { .amounts button[data-a="other"]:nth-child(odd):last-child { grid-column: 1 / -1; } }
.dates.studies li { grid-template-columns: 1fr; }
.gospel.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .gospel.steps { grid-template-columns: 1fr; }
  .gospel.steps li, .gospel.steps li + li { padding-left: 0; border-left: 0; }
  .gospel.steps li + li { border-top: 1px solid var(--line); margin-top: 6px; }
}
.dates.studies li:first-child { background: var(--night-2); box-shadow: none; }

/* The Ryker View: the book feature (cover + copy) and the film frame */
.book { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.book-cover { display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 4px rgba(11, 26, 42, .2), 0 40px 70px -30px rgba(11, 26, 42, .6); transform: rotate(-1.2deg); transition: transform .3s; max-width: 400px; }
.book-cover:hover { transform: rotate(0deg) translateY(-4px); }
.book-cover img { display: block; width: 100%; height: auto; }
.book-body { display: grid; gap: 18px; justify-items: start; }
.book-sub { margin: -6px 0 0; font: 700 16px/1.35 var(--ui); color: var(--muted); }
.book-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 17px; }
.book-points li { padding-left: 22px; position: relative; }
.book-points li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 9px; height: 9px; background: var(--dawn); transform: rotate(45deg); }
@media (max-width: 760px) { .book { grid-template-columns: 1fr; } .book-cover { max-width: 260px; } }
.film-frame { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--r); overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -40px rgba(0, 0, 0, .8); }
.film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.updates { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.update { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; justify-items: start; }
.update time { font: 700 14px/1.2 var(--ui); color: var(--sky-ink); }
.update p { margin: 0; color: var(--muted); max-width: 42em; }
.updates .empty { border: 1px dashed #B9C8D4; }
/* phones get a poster that opens the film full screen; the film's own controls need the room */
.film-poster { display: none; position: relative; border-radius: var(--r); overflow: hidden; text-decoration: none; }
.film-poster img { display: block; width: 100%; height: auto; }
.film-poster .play { position: absolute; left: 50%; top: 45%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(10, 9, 8, .7); box-shadow: 0 0 0 1.5px #E7C877, 0 0 30px rgba(231, 200, 119, .45); }
.film-poster .play::after { content: ""; position: absolute; left: 29px; top: 23px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #FFF6E2; }
.film-poster .label { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; font: 800 17px/1 var(--ui); color: #FFF6E2; background: linear-gradient(0deg, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0)); }
@media (max-width: 700px) { .film-frame { display: none; } .film-poster { display: block; } }
