/* Review pass (craft + identity): the page reads as one photobook.
   Title page → contact sheet on night → plates on paper. Loaded last; sizes and spacing stay on the tokens. */

/* ---------- title page: type and times on paper, the plate uncovered on the right ---------- */
.hero.title-page { min-height: 0 !important; display: block !important; color: var(--ink) !important; background: var(--sand); overflow: visible; }
.hero.title-page::before { content: none !important; }
.hero.title-page .hero-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end;
  padding: var(--s5) var(--margin) var(--s6) !important; }
.hero.title-page .hero-copy { grid-column: 1 / span 5; grid-row: 1; align-self: start; padding-top: var(--s4); }
.hero.title-page .sunday { grid-column: 1 / span 5; grid-row: 2; margin-top: var(--s5); color: var(--ink); }
.hero.title-page .hero-plate { grid-column: 7 / span 6; grid-row: 1 / span 2; margin: 0; }
.hero-plate img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 50%; }
.hero.title-page, .hero.title-page * { text-shadow: none !important; }
.hero.title-page .kicker { color: var(--ink-2); opacity: 1; }
.hero.title-page .triad .line > span { color: var(--ink) !important; font-size: var(--t-h1) !important; }
.hero.title-page .display { line-height: 1.2; }
.hero.title-page .sunday-head { border-bottom: 2px solid var(--ink) !important; color: var(--ink); }
.hero.title-page .sunday-head h2, .hero.title-page .sunday-head span, .hero.title-page .sunday-rows li,
.hero.title-page .sunday-rows .name, .hero.title-page .sunday-rows .time { color: var(--ink) !important; }
.hero.title-page .sunday-rows li { border-color: var(--rule) !important; }
.hero.title-page .now-line, .hero.title-page .now-line * { color: var(--ink-2) !important; }
.hero.title-page .sunday-actions .link { color: var(--blue) !important; }

/* ---------- Saturday dawn on night: a contact sheet, then one spread ---------- */
#mountain { background: var(--night) !important; color: #fff !important; padding-bottom: var(--s6) !important; }
#mountain .sh { border-top-color: rgba(255,255,255,.85); }
#mountain .sh h2, #mountain .dawn-head .lead, #mountain .sh p { color: #fff !important; }
#mountain .sh p, #mountain .dawn-head .lead { color: rgba(255,255,255,.78) !important; }
#mountain .dawn-num b { color: #fff; }
#mountain .dawn-num span { color: rgba(255,255,255,.78); }
.dawnstrip { grid-auto-columns: 330px !important; gap: 4px !important; padding-block: var(--s2) !important; background: #050F1F; }
.frame img { aspect-ratio: 3 / 2; }
.frame figcaption { padding: var(--s1) var(--s1) 0; color: rgba(255,255,255,.7) !important; font-family: var(--sans); }
.frame figcaption .pl { color: rgba(255,255,255,.7); }
.frame figcaption b.num { color: #FFC27A !important; font: 600 var(--t-cap)/1.5 var(--sans) !important; letter-spacing: .08em; }
.frame figcaption span.num { color: rgba(255,255,255,.7); }
.frame.latest figcaption b::after { background: var(--orange); }
#mountain .strip-count, #mountain .strip-count b, #mountain .strip-note { color: rgba(255,255,255,.78) !important; }
#mountain .rail-track { background: rgba(255,255,255,.2) !important; }
#mountain .rail-track i { background: #fff !important; }
#mountain .strip-btn { color: #fff; border-color: rgba(255,255,255,.45); }
#mountain .strip-btn:hover:not([disabled]) { background: #fff; color: var(--night); }
#mountain .strip-btn[disabled] { color: rgba(255,255,255,.45) !important; border-color: rgba(255,255,255,.2) !important; }
#mountain .link { color: #fff !important; text-decoration-color: rgba(255,255,255,.5); }
.spread-plate { margin: var(--s5) calc(-1 * var(--margin)) 0; }
.spread-plate img { width: 100%; height: min(80vh, 760px); object-fit: cover; object-position: 50% 40%; }
.spread-plate figcaption { padding: var(--s1) var(--margin) 0; color: rgba(255,255,255,.78) !important; }
.spread-plate .pl { color: #fff; }

/* ---------- headings: a firmer weight; light stays for the title page and the scripture ---------- */
.sh h2 { font-weight: 600 !important; }

/* ---------- orange means "now" and the action: Sunday times and history return to ink ---------- */
.week7 .pg.sun li.main b { color: var(--ink) !important; }
.years li.latest b { color: var(--blue) !important; }

/* ---------- maps links ---------- */
.maps-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); margin-top: var(--s3); color: var(--ink-2); font-size: var(--t-small); }

@media (max-width: 900px) {
  .hero.title-page .hero-in { grid-template-columns: 1fr; padding: var(--s3) var(--margin) var(--s5) !important; row-gap: 0; }
  .hero.title-page .hero-copy, .hero.title-page .sunday, .hero.title-page .hero-plate { grid-column: 1 !important; grid-row: auto !important; }
  .hero.title-page .hero-copy { padding-top: 0; }
  .hero.title-page .sunday { margin-top: var(--s3); }
  .hero.title-page .hero-plate { margin-top: var(--s4); }
  .hero-plate img { aspect-ratio: 4 / 3; }
  .hero.title-page .triad .line > span { font-size: var(--t-h2) !important; }
  .dawnstrip { grid-auto-columns: 72% !important; }
  .spread-plate img { height: 60vh; }
}
/* detail fixes */
.hero.title-page { background: var(--sand) !important; background-image: none !important; }
.hero.title-page::after { content: none !important; }
.frame figcaption .pl { font: 600 var(--t-cap)/1.5 var(--sans) !important; color: rgba(255,255,255,.7) !important; letter-spacing: .02em; }
.frame.latest figcaption b::after { content: none !important; }
.frame.latest figcaption b.num::after { content: "" !important; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-left: 8px; vertical-align: middle; }
.hero.title-page .triad .line { display: block; line-height: 1.3; }
/* the spread is sized by aspect ratio, never by viewport height (full-page captures stretch vh) */
.spread-plate img { height: auto !important; aspect-ratio: 16 / 9; }
@media (max-width: 900px) { .spread-plate img { aspect-ratio: 4 / 5; } }
#mountain .strip-btn[disabled] { color: rgba(255,255,255,.66) !important; border-color: rgba(255,255,255,.3) !important; }

/* ===== review 2 detail pass ===== */
/* motto: one paragraph rhythm, not three list items */
.triad .line { padding-bottom: 0 !important; }
.hero.title-page .display, .hero.title-page .triad .line, .hero.title-page .triad .line > span { line-height: 1.32 !important; }
/* the eyebrow and the plate share one top line */
.hero.title-page .hero-copy { padding-top: 0 !important; }
.hero.title-page .hero-plate { align-self: start; }
/* strip numbers: paper, orange only on the current frame's dot */
.frame figcaption b.num { color: #fff !important; }
/* gallery: one caption line under each plate */
.story .plate-k.cap { display: block; font: 400 var(--t-small)/1.5 var(--sans) !important; color: var(--ink); }
.story .plate-k.cap .pl { font-size: var(--t-cap); }
/* sermon: figure on the column-7 line, both halves start together */
.sermon-top { align-items: start !important; }
@media (min-width: 901px) { .sermon-top figure { grid-column: 7 / span 6 !important; } }
/* past sermons: equal rows */
.archive li { min-height: 64px; align-items: center !important; }
/* map: caption below the frame, on paper */
.map3d figcaption { background: transparent !important; padding: var(--s1) 0 0 !important; }
.map3d { box-shadow: none !important; }
.map3d .map3d-canvas { box-shadow: inset 0 0 0 1px var(--rule); }
/* links never strand their arrow; maps links on their own row; contacts all plain */
.link { white-space: nowrap; }
.maps-links { flex-basis: 100%; }
.contact a, .contact a b { text-decoration: none !important; }
.contact a:hover b { text-decoration: underline !important; text-underline-offset: .2em; }
@media (max-width: 900px) {
  .hero.title-page .hero-plate { order: -1; margin: 0 0 var(--s3) !important; }
  .hero-plate img { aspect-ratio: 16 / 9 !important; }
  .hero.title-page .hero-in { display: flex !important; flex-direction: column; }
  .strip-note { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .hero.title-page .hero-copy, .hero.title-page .sunday { padding-inline: 0 !important; margin-inline: 0 !important; }
  .hero.title-page .kicker { display: none; }
  .hero-plate img { aspect-ratio: 21 / 9 !important; }
  .hero.title-page .hero-plate { margin-bottom: var(--s2) !important; }
  .hero.title-page .triad .line > span { font-size: var(--t-h3) !important; }
  .hero.title-page .display, .hero.title-page .triad .line, .hero.title-page .triad .line > span { line-height: 1.3 !important; }
  .hero.title-page .sunday { margin-top: var(--s2) !important; }
  .hero.title-page .sunday-rows li { padding-block: var(--s1) !important; }
}
@media (max-width: 900px) {
  .hero.title-page .hero-copy { display: block !important; padding-bottom: 0 !important; }
  .hero.title-page #hero-h { font-size: var(--t-h3) !important; line-height: 1.3 !important; }
  .hero.title-page .sunday { padding-top: 0 !important; }
}
@media (min-width: 901px) { .hero.title-page .hero-copy { display: block !important; } .hero.title-page #hero-h { font-size: var(--t-h1) !important; } }
@media (max-width: 900px) {
  .hero.title-page .hero-in { min-height: 0 !important; height: auto !important; }
  .hero.title-page .hero-copy, .hero.title-page .sunday, .hero.title-page .hero-plate { flex: none !important; }
  .hero.title-page .sunday-rows li { padding-block: var(--s1) !important; min-height: 44px; }
}
@media (max-width: 900px) { .hero.title-page .hero-copy { height: auto !important; } }
/* mid widths (small laptops, landscape tablets): the 5-column motto steps down one size so each sentence stays on one line */
@media (min-width: 901px) and (max-width: 1240px) {
  .hero.title-page #hero-h, .hero.title-page .triad .line > span { font-size: var(--t-h2) !important; }
}
.hero.title-page .triad .line > span { white-space: nowrap; }
