/* One type scale for the whole site: eight sizes (tokens in elim-photobook.css :root).
   cap 13 · small 15 · body 17 · lead 20 · h3 26 · h2 36 · h1 56 · display 88   (phone: body/small 16, h1 40, display 64)
   Loaded last so every older stylesheet's sizes fold onto the scale. */

/* cap — catalogue captions, kickers, counters */
.plate-k, .plate-k *, .cat, .m3d-label i, .hero .kicker, .verse .ref, .sunday-head span, .strip-count, .strip-count b,
.strip-note, .frame figcaption, .frame figcaption span, .plate figcaption, .sv-list dt, .meta-line, .footnote,
.wk .w, .week7 .w, .m3d-label, .rail-count, .footer .base, .footer h5, .map3d figcaption, .nations-map figcaption,
.nations-map figcaption .small, .archive .date, .story .h3 .en, .mega h4 + ul a, .skip { font-size: var(--t-cap) !important; }

/* small — secondary lines */
.intro .small, .now-line, .now-line *, .dawn-num span, .sv-who, .sv-list dd small, .footer .cols, .footer .cols *,
.contact .small, .access, .archive .svc, .header .btn, .menu-btn, .route ol span, .m .dd, .spread .m dd,
.mega ul a, .sunday-actions .link, .sv-act .link, .strip-note .link, .link { font-size: var(--t-small) !important; }

/* body — paragraphs, nav, buttons, list items */
.nav > li > a, .btn, .sh p, .week7 li, .week7 li span, .week7 .n, .dawn-head .lead, .nat-lead, .gal-lead, .lead,
.strip-btn, .years span, .mtn-num span, body, p { font-size: var(--t-body); }
.btn, .sh p, .lead, .years span { font-size: var(--t-body) !important; }
.nav > li > a { font-size: var(--t-body) !important; }

/* lead — names, times in lists, card titles */
.sunday-rows .name, .sv-list dd, .sv-list dd b, .sv-list dd .pair, .sv-list .sep, .story .h3, .frame figcaption b,
.archive .title, .week7 ol li b, .mega h4, .spread .m dd b, .route ol b { font-size: var(--t-lead) !important; }

/* h3 */
.archive-head .h3, .sunday-head h2, .week7 h3, .contact b, .contact a b { font-size: var(--t-h3) !important; }

/* h2 */
.sh h2, .sunday-rows .time, .mega .intro .h2 { font-size: var(--t-h2) !important; }

/* h1 */
.sermon-top .h1, .years b, .spread .verse-set, .footer .motto { font-size: var(--t-h1) !important; }
.footer .motto { line-height: 1.4 !important; }

/* display */
.hero .display, .triad .line > span, .dawn-num b, .spread .m dt { font-size: var(--t-display) !important; }

/* the logo lockup keeps only the Korean name: the wordmark already says elim */
.lockup small { display: none !important; }

@media (max-width: 900px) {
  .hero .display, .triad .line > span { font-size: var(--t-h1) !important; }
  .spread .verse-set { font-size: var(--t-h2) !important; }
  .sermon-top .h1, .years b, .footer .motto { font-size: var(--t-h2) !important; }
  .sunday-rows .time { font-size: var(--t-h2) !important; }
}

/* ===== measured fixes (tools/audit.mjs) ===== */
:root { --ink-3: #6E625D; }                       /* 4.94:1 on sand (was 3.27) */
.footer .cols .fh { font-size: var(--t-cap) !important; color: rgba(255,255,255,.72); margin-bottom: var(--s2); }
/* tap targets ≥ 44px */
.skip:focus, .skip { min-height: 44px; display: inline-flex; align-items: center; }
.lockup { min-height: 44px; align-items: center; }
.menu-btn { min-height: 44px; min-width: 64px; }
.archive .act .link { min-height: 44px; }
.contact a.num { display: inline-flex; align-items: center; min-height: 44px; }
/* spacing back on the scale */
.sv-list > div { padding-block: var(--s3) !important; }
.week7 ol li { row-gap: 0 !important; }
.spread .m dd { margin-top: var(--s2) !important; }
.nations-map figcaption { margin-top: var(--s2) !important; }
/* measure */
.footnote { max-width: 34em; }
.sh p { max-width: 30em; }
/* grid: the verse rule sits in the column gap so the text starts on a column line */
.spread .verse { border-left: 0 !important; padding-left: 0 !important; position: relative; }
.spread .verse::before { content: ""; position: absolute; left: -12px; top: 0; bottom: 0; border-left: 1px solid var(--rule); }
.strip-btn[disabled] { opacity: 1 !important; color: var(--ink-3); border-color: var(--rule); }
@media (max-width: 900px) { .spread .verse::before { display: none; } }
/* round 3 */
:root { --orange-ink: #9C5200; }                  /* orange text on sand ≥ 4.5:1; the fill orange stays #EF8306 */
.lockup b { font-size: var(--t-lead) !important; }
.hero, .footer { text-shadow: 0 1px 2px rgba(8,18,36,.45); }
.years li { padding-block: var(--s3) !important; }
.m3d-pin.church .m3d-label b { color: var(--orange) !important; }
.nations-map figcaption i.i { background: var(--blue) !important; }
@media (max-width: 900px) { .hero .kicker, .strip-note, .meta-line, .footnote { font-size: 16px !important; } }
.route ol li { padding-block: var(--s3) !important; }
