/* Scrolling home (board wireframes/v14/home.png). One column of 12, three spacing distances
   (16 inside a group · 40 between groups · 104 between sections), hairline rules, NanumSquare Neo throughout. */

body:has(main.is-home) .footer { display: block !important; }
.is-home { --sec: 104px; }
.hm-sec { padding: var(--sec) var(--margin) 0; }
.hm-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); border-top: 1px solid var(--ink); padding-top: var(--s2); margin-bottom: var(--s4); }
.hm-head h2 { margin: 0; font: 700 var(--t-h3)/1.3 var(--sans); letter-spacing: -.02em; }

/* ---------- live bar + live block (shown only while YouTube reports a broadcast) ---------- */
.live-bar { display: flex; align-items: center; gap: var(--s2); padding: 12px var(--margin); background: var(--night); color: #fff; font: 400 var(--t-small)/1.4 var(--sans); }
.live-bar[hidden] { display: none; }
.live-bar .dot, .hm-live .dot { width: 8px; height: 8px; border-radius: 50%; background: #FF4D3A; box-shadow: 0 0 0 0 rgba(255,77,58,.6); animation: livepulse 2s infinite; flex: none; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 8px rgba(255,77,58,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,58,0); } }
.live-bar .live-what { color: rgba(255,255,255,.82); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-bar .live-go { margin-left: auto; color: #fff; text-decoration: underline; text-underline-offset: .25em; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.hm-live { background: var(--night); color: #fff; padding: var(--s4) var(--margin); }
.hm-live[hidden] { display: none; }
.hm-live .in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.hm-live-player { grid-column: 1 / span 8; aspect-ratio: 16 / 9; position: relative; background: #000; }
.hm-live-player iframe, .yt-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-poster { padding: 0; cursor: pointer; background: #000; }
.yt-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.yt-poster .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; } /* scale-exception: optical or section offset -36px, -36px */
.yt-poster .play svg { width: 30px; fill: var(--night); }
.hm-live-text { grid-column: 9 / span 4; display: grid; gap: var(--s1); }
.hm-live-text .k { display: flex; align-items: center; gap: var(--s1); font: 700 var(--t-cap)/1.4 var(--sans); letter-spacing: .06em; color: #FFB4A8; }
.hm-live-text .t { margin: 0; font: 700 var(--t-h3)/1.3 var(--sans); }
.hm-live-text .m { font: 400 var(--t-small)/1.5 var(--sans); color: rgba(255,255,255,.8); }
.hm-live .link { color: #fff; }

/* ---------- hero: full-bleed film, identity in the darker lower-left ---------- */
.hm-hero { position: relative; height: min(84svh, 820px); min-height: 520px; overflow: hidden; background: var(--night); }
.hm-hero .hm-film { position: absolute; inset: 0; grid-column: auto; }
.hm-hero .hm-film::after { height: auto; inset: 0; background: linear-gradient(15deg, rgba(8,18,36,.82) 0%, rgba(8,18,36,.45) 38%, rgba(8,18,36,0) 64%), linear-gradient(180deg, rgba(8,18,36,.35), rgba(8,18,36,0) 18%); }
.hm-hero .film-ui { left: auto; right: var(--margin); bottom: var(--s4); width: auto; gap: var(--s2); }
.hm-id { position: absolute; z-index: var(--z-over); left: var(--margin); bottom: var(--s5); max-width: 640px; color: #fff; }
.hm-name { margin: 0; font: 400 var(--t-display)/.95 var(--sans); letter-spacing: -.05em; }
.hm-def { margin-top: var(--s3); font: 400 var(--t-lead)/1.5 var(--sans); color: rgba(255,255,255,.92); }
.hm-def .ref { margin-left: var(--s1); font-size: var(--t-cap); color: rgba(255,255,255,.72); white-space: nowrap; }
.hm-motto { margin-top: var(--s2); padding-top: var(--s2); border-top: 1px solid rgba(255,255,255,.35); font: 400 var(--t-body)/1.5 var(--sans); color: rgba(255,255,255,.88); }
.hm-id, .hm-id * { text-shadow: 0 1px 2px rgba(8,18,36,.4); }

/* ---------- times band ---------- */
.hm-times { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s4); padding: var(--s4) var(--margin); border-bottom: 1px solid var(--rule); }
.hm-times dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hm-times dl > div { padding: 0 var(--s3); border-left: 1px solid var(--rule); }
.hm-times dl > div:first-child { padding-left: 0; border-left: 0; }
.hm-times dt { font: 400 var(--t-small)/1.4 var(--sans); color: var(--ink-2); }
.hm-times dt small { font-size: var(--t-cap); }
.hm-times dd { margin: 4px 0 0; font: 700 var(--t-h3)/1.1 var(--sans); color: var(--ink); letter-spacing: -.01em; }

/* ---------- sermon covers ---------- */
.hm-word-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.cover { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; background: var(--night); isolation: isolate; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: var(--z-backdrop); transition: transform var(--spring-smooth-dur) var(--spring-smooth); }
.cover::before { content: ""; position: absolute; inset: 0; z-index: var(--z-backdrop); background: linear-gradient(0deg, rgba(8,18,36,.9) 0%, rgba(8,18,36,.55) 45%, rgba(8,18,36,.2) 100%); }
.cover:hover img, .cover:focus-visible img { transform: scale(1.04); }
.cover .c-k { display: block; font: 400 var(--t-cap)/1.5 var(--sans); color: rgba(255,255,255,.8); }
.cover .c-t { display: block; margin-top: var(--s1); font: 700 var(--t-lead)/1.35 var(--sans); letter-spacing: -.02em; }
.cover .c-m { display: block; margin-top: 4px; font: 400 var(--t-cap)/1.5 var(--sans); color: rgba(255,255,255,.8); }
.cover.big { grid-column: 1 / span 6; aspect-ratio: 1 / 1; padding: var(--s4); display: flex; flex-direction: column; justify-content: flex-end; }
.cover.big .c-t { font-size: var(--t-h2); line-height: 1.25; }
.cover.big .c-m { font-size: var(--t-small); }
.cover.big .play { position: absolute; right: var(--s4); bottom: var(--s4); width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; transition: background-color var(--spring-quick-dur) var(--spring-quick); }
.cover.big .play svg { width: 24px; fill: #fff; }
.cover.big:hover .play { background: #fff; } .cover.big:hover .play svg { fill: var(--night); }
.hm-recent { grid-column: 7 / span 6; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-content: end; }
.hm-recent .cover { aspect-ratio: 3 / 4; padding: var(--s2); display: flex; flex-direction: column; justify-content: flex-end; }

/* ---------- 924 on night ---------- */
.hm-924 { margin-top: var(--sec); padding-bottom: var(--sec); background: var(--night); color: #fff; }
.hm-924 .hm-head { border-top-color: rgba(255,255,255,.7); }
.hm-924 .hm-head h2, .hm-924 .link { color: #fff; }
.hm-924 .big { display: flex; align-items: flex-end; gap: var(--s3); margin-bottom: var(--s4); }
.hm-924 .big b { font: 400 var(--t-display)/.85 var(--sans); letter-spacing: -.05em; }
.hm-924 .big span { font: 400 var(--t-body)/1.6 var(--sans); color: rgba(255,255,255,.8); }
.hm-strip { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.hm-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.hm-strip span { display: block; margin-top: var(--s1); font: 400 var(--t-cap)/1.5 var(--sans); color: rgba(255,255,255,.72); }
.hm-strip b { color: #fff; font-weight: 700; margin-right: 4px; }
.hm-strip .latest b::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-left: 4px; vertical-align: middle; }

/* ---------- 엘림 12 · 70 ---------- */
.hm-elim-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.hm-elim-word { grid-column: 1 / span 2; margin: 0; font: 400 var(--t-h1)/1 var(--sans); letter-spacing: -.04em; color: var(--ink); }
.hm-elim .n { grid-column: span 3; padding-left: var(--s3); border-left: 1px solid var(--rule); display: grid; gap: var(--s1); justify-items: start; }
.hm-elim .n b { font: 400 var(--t-h1)/1 var(--sans); letter-spacing: -.04em; }
.hm-elim .n12 b { color: var(--blue); } .hm-elim .n70 b { color: var(--orange-ink); }
.hm-elim .n h3 { margin: 0; font: 700 var(--t-lead)/1.3 var(--sans); }
.hm-elim .n p { font: 400 var(--t-small)/1.6 var(--sans); color: var(--ink-2); max-width: 22em; }
.hm-globe { grid-column: 9 / span 4; display: block; }
.hm-globe img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }

/* ---------- three columns ---------- */
.hm-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: var(--sec); }
.hm-three .col { border-top: 1px solid var(--ink); padding-top: var(--s2); display: grid; align-content: start; gap: var(--s2); }
.hm-three h2 { margin: 0 0 var(--s1); font: 700 var(--t-lead)/1.3 var(--sans); }
.steps { list-style: none; display: grid; gap: var(--s2); }
.steps li { display: grid; grid-template-columns: 32px 1fr; align-items: center; font: 400 var(--t-body)/1.5 var(--sans); }
.steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: #fff; font: 700 var(--t-cap)/1 var(--sans); }
.hm-map img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.hm-three .m { font: 400 var(--t-small)/1.6 var(--sans); color: var(--ink-2); }
.hm-three .m a { color: var(--blue); font-weight: 700; }
.news { list-style: none; display: grid; }
.news li { display: grid; grid-template-columns: 92px 1fr; gap: var(--s2); padding: 12px 0; border-bottom: 1px solid var(--rule); font: 400 var(--t-small)/1.5 var(--sans); }
.news .num { color: var(--ink-2); }
.news a { color: var(--ink); }
.news a:hover { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 1100px) and (min-width: 901px) {
  .hm-times dl > div { padding: 0 var(--s2); }
  .hm-times dd { font-size: var(--t-lead); }
}
@media (max-width: 900px) {
  .is-home { --sec: 64px; }
  .hm-hero { height: 72svh; min-height: 460px; }
  .hm-id { left: var(--margin); right: var(--margin); bottom: var(--s4); }
  .hm-def { font-size: var(--t-body); }
  .hm-def .ref { display: block; margin: 4px 0 0; }
  .hm-hero .film-ui { right: var(--margin); bottom: auto; top: var(--s2); }
  .hm-hero .film-cap { display: none; }
  .hm-times { grid-template-columns: 1fr; gap: var(--s3); padding: var(--s3) var(--margin); }
  .hm-times dl { grid-template-columns: 1fr 1fr; row-gap: var(--s2); }
  .hm-times dl > div { padding: 0; border: 0; }
  .hm-times dd { font-size: var(--t-lead); }
  .hm-times .btn { justify-content: center; }
  .hm-word-grid, .hm-elim-grid { grid-template-columns: 1fr; row-gap: var(--s3); }
  .cover.big, .hm-recent, .hm-elim-word, .hm-elim .n, .hm-globe { grid-column: 1 !important; }
  .cover.big { aspect-ratio: 4 / 5; padding: var(--s3); }
  .cover.big .play { right: var(--s3); bottom: var(--s3); }
  .hm-recent { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--margin)); padding-inline: var(--margin); scroll-padding-inline: var(--margin); scrollbar-width: none; }
  .hm-recent li { scroll-snap-align: start; }
  .hm-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--margin)); padding-inline: var(--margin); scrollbar-width: none; }
  .hm-strip li { scroll-snap-align: start; }
  .hm-elim .n { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); padding-top: var(--s2); }
  .hm-three { grid-template-columns: 1fr; gap: var(--s4); }
  .hm-live .in { grid-template-columns: 1fr; row-gap: var(--s3); }
  .hm-live-player, .hm-live-text { grid-column: 1; }
}

/* sermon block v2: one feature cover beside a list of three, both the same height */
@media (min-width: 901px) {
  .hm-word-grid { align-items: stretch; }
  .cover.big { grid-column: 1 / span 7; aspect-ratio: 16 / 11; }
  .hm-recent { grid-column: 8 / span 5; grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); gap: 16px; align-content: stretch; }
  .hm-recent li { min-height: 0; }
  .hm-recent .cover { aspect-ratio: auto; height: 100%; padding: var(--s2) var(--s3); justify-content: center; }
  .hm-recent .cover::before { background: linear-gradient(90deg, rgba(8,18,36,.92) 0%, rgba(8,18,36,.7) 55%, rgba(8,18,36,.35) 100%); }
}
/* news: date above the title, one clean rule per item */
.news li { grid-template-columns: 1fr; gap: 4px; padding: var(--s1) 0 12px; }
.news .num { font-size: var(--t-cap); }
/* stacking: photo at the back, shade above it, words on top */
.cover img { z-index: var(--z-under); }
.cover::before { z-index: var(--z-backdrop); }
@media (max-width: 900px) { .hm-hero { height: min(72svh, 600px); min-height: 440px; } }
.hm-hero .hm-film { aspect-ratio: auto !important; height: 100%; width: 100%; }
.hm-924 .big b { white-space: nowrap; }
@media (max-width: 900px) {
  .hm-924 .big { flex-wrap: wrap; gap: var(--s2); }
  .hm-924 .big b { font-size: var(--t-h1); }
}
/* audit round */
.news li { gap: 0; padding: var(--s1) 0; }
.news a { padding: 0 !important; }
.pending { max-width: 30em; }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; }   /* even spacing: no one-sided min-width */
.cover.big .c-t { font-size: var(--t-h2); }   /* was !important; the text-only sermon card sets its own size below */
.vh { font-size: var(--t-cap) !important; }
.news a { display: flex !important; align-items: center; min-height: 44px; }
/* one easy pass down the page: tighter rhythm between sections (still on the scale) */
.is-home { --sec: 80px; }
@media (max-width: 900px) { .is-home { --sec: 64px; } }
.strip-note { max-width: 34em; }

/* inner pages: a promoted section heading keeps the section-head layout */
.sh h1 { grid-column: 1 / span 6; margin: 0; font: 700 var(--t-h2)/1.25 var(--sans); letter-spacing: -.02em; color: inherit; white-space: normal; word-break: keep-all; }
#mountain .sh h1 { color: #fff; }
@media (max-width: 900px) { .sh h1 { grid-column: 1; font-size: var(--t-h3); } }
/* history years never break inside a date */
.years b { white-space: nowrap; font-size: var(--t-h2) !important; }

/* ===== review fixes ===== */
.hm-three .news a { border-top: 0 !important; }
.hm-head h2 { font-size: var(--t-h2) !important; }
.hm-three h2 { font-size: var(--t-h3) !important; }
.hm-times .where { grid-column: 1 / -1; margin-top: calc(-1 * var(--s2)); font: 400 var(--t-small)/1.6 var(--sans); color: var(--ink-2); }
.hm-times .where .link { margin-left: var(--s1); }
.hm-strip, .hm-recent { scroll-padding-inline: var(--margin); }
.nw { white-space: nowrap; }
.footer .cols { min-width: 0; }
/* the globe sits in a square, contained, balancing the 엘림 word */
@media (min-width: 901px) {
  .hm-elim-word { grid-column: 1 / span 2; }
  .hm-elim .n { grid-column: span 3; }
  .hm-globe { grid-column: 9 / span 4; }
}
.hm-globe img { aspect-ratio: 1 / 1 !important; object-fit: contain !important; }
@media (max-width: 900px) {
  .hm-924 .big b { font-size: clamp(72px, 22vw, 120px) !important; }
  .hm-head h2 { font-size: var(--t-h3) !important; }
  .hm-times .where { margin-top: 0; }
}
/* lighter home: two columns at the bottom, captions only where they carry meaning */
.hm-three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.hm-strip span:empty { display: none; }
.hm-recent .cover { justify-content: flex-end; }
@media (max-width: 900px) { .hm-three { grid-template-columns: 1fr; } }
/* footer: contact columns get room so phone and email never wrap */
@media (min-width: 901px) {
  .footer-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; }
  .footer .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; column-gap: 32px; }
  .footer .base { grid-column: 1 / -1; }
}
.footer .cols .num, .footer .cols div { overflow-wrap: normal; word-break: keep-all; }

/* ===== 엘림: the desert oasis band (artwork, labelled) ===== */
.hm-oasis { position: relative; margin-top: var(--sec); overflow: hidden; background: #F7F6F2; }
.hm-oasis picture, .hm-oasis img { display: block; width: 100%; }
.hm-oasis img { aspect-ratio: 21 / 9; object-fit: cover; object-position: 60% 50%; }
.hm-oasis-in { position: absolute; left: var(--margin); top: 12%; max-width: 520px; color: var(--ink); }
.hm-oasis-name { margin: 0; font: 400 var(--t-display)/.95 var(--sans); letter-spacing: -.05em; color: var(--night); }
.hm-oasis-verse { margin-top: var(--s3); font: 400 var(--t-lead)/1.55 var(--sans); color: var(--ink); }
.hm-oasis-verse .ref { display: block; margin-top: var(--s1); font: 400 var(--t-cap)/1.5 var(--sans); color: var(--ink-2); }
.hm-oasis-n { display: flex; gap: var(--s4); margin-top: var(--s4); }
.hm-oasis-n a { display: flex; align-items: center; gap: var(--s2); color: var(--ink); text-decoration: none; min-height: 44px; }
.hm-oasis-n b { font: 400 var(--t-h1)/1 var(--sans); letter-spacing: -.04em; }
.hm-oasis-n a:first-child b { color: var(--blue); } .hm-oasis-n a:last-child b { color: var(--orange-ink); }
.hm-oasis-n span { display: grid; font: 700 var(--t-body)/1.35 var(--sans); }
.hm-oasis-n small { font: 400 var(--t-small)/1.4 var(--sans); color: var(--ink-2); }
.hm-oasis-n a:hover span, .hm-oasis-n a:focus-visible span { text-decoration: underline; text-underline-offset: .2em; }
.hm-oasis-credit { position: absolute; right: var(--margin); bottom: var(--s2); font: 400 var(--t-cap)/1.5 var(--sans); color: var(--ink-2); }
.hm-three { margin-top: 0; }
@media (max-width: 900px) {
  .hm-oasis img { aspect-ratio: 4 / 5; object-position: 70% 50%; }
  .hm-oasis-in { left: var(--margin); right: var(--margin); top: var(--s4); }
  .hm-oasis-name { font-size: var(--t-h1); }
  .hm-oasis-verse { font-size: var(--t-body); }
  .hm-oasis-n { flex-direction: column; gap: var(--s2); }
  .hm-oasis-n b { font-size: var(--t-h2); }
}
/* audit: map caption measure, second column on a grid line */
.hm-three .m { max-width: 34em; }
@media (min-width: 901px) { .hm-three { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; } .hm-three .col:first-child { grid-column: 1 / span 6; } .hm-three .col:last-child { grid-column: 7 / span 6; } }
/* numbers stand on the open sand, never over the palms */
@media (min-width: 901px) {
  .hm-oasis-in { position: static; }
  .hm-oasis-in > .hm-oasis-name, .hm-oasis-in > .hm-oasis-verse { position: relative; }
  .hm-oasis-in { display: contents; }
  .hm-oasis-name { position: absolute !important; left: var(--margin); top: 10%; }
  .hm-oasis-verse { position: absolute !important; left: var(--margin); top: calc(10% + 132px); max-width: 30em; }
  .hm-oasis-n { position: absolute; left: var(--margin); bottom: var(--s4); margin: 0; }
}
@media (max-width: 900px) {
  .hm-oasis { display: flex; flex-direction: column; }
  .hm-oasis img { aspect-ratio: 1 / 1; }
  .hm-oasis-n { position: static; padding: var(--s3) var(--margin) var(--s4); margin: 0; background: #EEEDE7; }
  .hm-oasis-in { position: absolute; }
  .hm-oasis-in .hm-oasis-n { display: none; }
  .hm-oasis-credit { position: absolute; top: calc(100vw - 32px); bottom: auto; }
}
@media (max-width: 900px) { .hm-oasis > .hm-oasis-n { display: flex; } }
@media (min-width: 901px) { .hm-oasis > .hm-oasis-n { position: absolute; left: var(--margin); bottom: var(--s4); } }
/* photographic oasis: type sits on the pale haze; the strip under it on phone takes the dune tone */
.hm-oasis img { object-position: 55% 50%; }
.hm-oasis-name { color: var(--night); }
@media (max-width: 900px) { .hm-oasis > .hm-oasis-n { background: #EEEDE7; } }
.hm-oasis img { object-position: 45% 50%; }
@media (max-width: 900px) { .hm-oasis img { aspect-ratio: 4 / 5; object-position: 70% 50%; } .hm-oasis > .hm-oasis-n { background: #EEEDE7; } }
@media (min-width: 901px) {
  .hm-oasis > .hm-oasis-n { bottom: auto; top: calc(10% + 280px); }
}
@media (max-width: 900px) {
  .hm-oasis-in { position: static !important; order: -1; padding: var(--s4) var(--margin) var(--s3); background: #F7F6F2; }
  .hm-oasis img { aspect-ratio: 1 / 1; }
  .hm-oasis-credit { top: auto; bottom: calc(var(--s2) + 0px); position: static; padding: var(--s1) var(--margin) 0; background: #EEEDE7; text-align: right; order: 2; }
  .hm-oasis > picture { order: 1; }
  .hm-oasis > .hm-oasis-n { order: 3; }
}
@media (min-width: 901px) { .hm-oasis > .hm-oasis-n { top: auto; bottom: 22%; } .hm-oasis-credit { color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(8,18,36,.5); } }

/* ===== 엘림교회 band v3: words on sand, an honest city photograph beside them ===== */
@media (min-width: 901px) {
  .hm-oasis { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 0 var(--margin); background: var(--sand); align-items: center; }
  .hm-oasis-in { display: block !important; position: static !important; grid-column: 1 / span 5; grid-row: 1; padding: var(--s5) 0; }
  .hm-oasis-name, .hm-oasis-verse { position: static !important; }
  .hm-oasis > .hm-oasis-n { position: static !important; grid-column: 1 / span 5; grid-row: 2; align-self: start; padding-bottom: var(--s5); }
  .hm-oasis > picture { grid-column: 6 / span 7; grid-row: 1 / span 2; }
  .hm-oasis img { aspect-ratio: 4 / 3; object-position: 30% 50%; }
  .hm-oasis-credit { position: static !important; grid-column: 6 / span 7; grid-row: 3; text-align: right; color: var(--ink-2) !important; text-shadow: none !important; padding: var(--s1) 0 0; }
  .hm-oasis-name { font-size: var(--t-h1) !important; }
}
.hm-oasis-credit { color: var(--ink-2) !important; text-shadow: none !important; }
@media (max-width: 900px) { .hm-oasis img { aspect-ratio: 1 / 1; object-position: 50% 50%; } .hm-oasis-in, .hm-oasis > .hm-oasis-n, .hm-oasis-credit { background: var(--sand) !important; } .hm-oasis-credit { font-size: 16px !important; } }

/* ===== 엘림교회 band v4: full-bleed photograph, words set in its open sky ===== */
@media (min-width: 901px) {
  .hm-oasis { display: block !important; position: relative; padding: 0 !important; background: #9CC0E6 !important; }
  .hm-oasis > picture img { aspect-ratio: 21 / 9 !important; object-position: 50% 50% !important; }
  .hm-oasis-in { position: absolute !important; left: var(--margin); top: 14%; max-width: 560px; padding: 0 !important; }
  .hm-oasis-name { font-size: var(--t-display) !important; color: var(--night) !important; }
  .hm-oasis-verse { color: var(--night) !important; }
  .hm-oasis-verse .ref { color: var(--night) !important; opacity: .8; }
  .hm-oasis > .hm-oasis-n { position: absolute !important; left: var(--margin); top: auto; bottom: 14%; padding: 0 !important; }
  .hm-oasis-n a, .hm-oasis-n small { color: var(--night) !important; }
  .hm-oasis-n a:last-child b { color: var(--orange-ink) !important; }
  .hm-oasis-credit { position: absolute !important; right: var(--margin); bottom: var(--s2); color: rgba(255,255,255,.9) !important; text-shadow: 0 1px 2px rgba(8,18,36,.55) !important; padding: 0 !important; }
}
@media (min-width: 901px) { .hm-oasis-credit { right: auto !important; left: var(--margin); color: var(--night) !important; text-shadow: none !important; opacity: .85; } }

/* ===== 엘림교회 band v5: blue hour from Mount Butler; white type on the deep sky ===== */
.hm-oasis { background: #12245A !important; }
@media (min-width: 901px) {
  .hm-oasis > picture img { object-position: 50% 60% !important; }
  .hm-oasis-in { top: 11% !important; }
  .hm-oasis-name, .hm-oasis-verse, .hm-oasis-verse .ref, .hm-oasis-n a, .hm-oasis-n small, .hm-oasis-credit { color: #fff !important; opacity: 1 !important; }
  .hm-oasis-verse .ref, .hm-oasis-n small { color: rgba(255,255,255,.82) !important; }
  .hm-oasis-n a:first-child b { color: #9CC3FF !important; }
  .hm-oasis-n a:last-child b { color: #FFB866 !important; }
  .hm-oasis > .hm-oasis-n { top: calc(11% + 290px) !important; bottom: auto !important; }
  .hm-oasis-credit { left: auto !important; right: var(--margin) !important; top: var(--s3); bottom: auto !important; color: rgba(255,255,255,.82) !important; }
}
@media (max-width: 900px) {
  .hm-oasis-in, .hm-oasis > .hm-oasis-n, .hm-oasis-credit { background: var(--night) !important; color: #fff !important; }
  .hm-oasis-name, .hm-oasis-verse, .hm-oasis-n a, .hm-oasis-credit { color: #fff !important; }
  .hm-oasis-verse .ref, .hm-oasis-n small { color: rgba(255,255,255,.8) !important; }
  .hm-oasis-n a:first-child b { color: #9CC3FF !important; } .hm-oasis-n a:last-child b { color: #FFB866 !important; }
  .hm-oasis img { object-position: 40% 60% !important; }
}
@media (min-width: 901px) {
  .hm-oasis > picture img { aspect-ratio: 1818 / 865 !important; object-position: 50% 0% !important; }
  .hm-oasis-in { top: 7% !important; }
  .hm-oasis-verse { max-width: 34em; }
  .hm-oasis > .hm-oasis-n { position: static !important; display: flex; gap: 64px; padding: var(--s3) var(--margin) !important; background: var(--night); }
  .hm-oasis-credit { top: var(--s2) !important; }
}
@media (min-width: 901px) { .hm-oasis-in { top: 5% !important; max-width: 760px !important; } .hm-oasis-verse { max-width: none !important; margin-top: var(--s2) !important; } }
.hm-oasis-verse b { display: block; font: 700 var(--t-h3)/1.35 var(--sans); letter-spacing: -.02em; margin-bottom: 4px; }
.hm-oasis-verse { font-size: var(--t-lead) !important; }
.hm-def { max-width: 36em; }
@media (max-width: 760px) { .hm-def br { display: none; } }

/* ===== 주보 (web bulletin) ===== */
.jubo-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-bottom: var(--s5); }
.jubo-side { grid-column: 1 / span 4; background: var(--night); color: #fff; padding: var(--s4); display: grid; align-content: start; gap: var(--s1); }
.jubo-k { font: 400 var(--t-cap)/1.5 var(--sans); color: rgba(255,255,255,.72); margin-top: var(--s3); }
.jubo-k:first-child { margin-top: 0; }
.jubo-motto { font: 700 var(--t-h3)/1.35 var(--sans); }
.jubo-verse { font: 400 var(--t-body)/1.6 var(--sans); }
.jubo-verse span { display: block; font-size: var(--t-cap); color: rgba(255,255,255,.72); }
.jubo-four { font: 400 var(--t-body)/1.8 var(--sans); }
.jubo-main { grid-column: 6 / span 7; }
.jubo-h { margin: 0 0 var(--s2); font: 700 var(--t-lead)/1.3 var(--sans); border-bottom: 1px solid var(--ink); padding-bottom: var(--s1); }
.jubo-who { font: 400 var(--t-small)/1.6 var(--sans); color: var(--ink-2); margin-bottom: var(--s2); }
.jubo-order { list-style: none; }
.jubo-order li { display: grid; grid-template-columns: 96px 1fr; gap: var(--s2); padding: var(--s1) 0; border-bottom: 1px solid var(--rule); font: 400 var(--t-small)/1.6 var(--sans); }
.jubo-order li span:first-child { font-weight: 700; color: var(--ink); }
.jubo-week { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; margin-bottom: var(--s5); }
.jubo-week li { display: grid; gap: 4px; padding: var(--s2) 0; border-bottom: 1px solid var(--rule); }
.jubo-week b { font: 700 var(--t-body)/1.4 var(--sans); }
.jubo-week span { font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-2); }
.jubo-staff { font: 400 var(--t-body)/1.8 var(--sans); max-width: 40em; margin-bottom: var(--s3); }
.jubo-note { font: 400 var(--t-small)/1.6 var(--sans); color: var(--ink-2); max-width: 34em; }
.jubo-card .jc-motto { font: 700 var(--t-lead)/1.4 var(--sans); }
@media (min-width: 901px) { .hm-three { grid-template-columns: repeat(12, minmax(0, 1fr)); } .hm-three .col:nth-child(1) { grid-column: 1 / span 4; } .hm-three .jubo-card { grid-column: 5 / span 3; } .hm-three .col:last-child { grid-column: 8 / span 5; } }
@media (max-width: 900px) {
  .jubo-grid { grid-template-columns: 1fr; row-gap: var(--s4); }
  .jubo-side, .jubo-main { grid-column: 1; }
  .jubo-week { grid-template-columns: 1fr; }
  .jubo-order li { grid-template-columns: 80px 1fr; }
}
.hm-oasis-name { font-size: var(--t-h1) !important; }
.hm-oasis-verse { font-size: var(--t-h3) !important; margin-top: var(--s2) !important; }
@media (max-width: 900px) { .hm-oasis-name { font-size: var(--t-h2) !important; } .hm-oasis-verse { font-size: var(--t-lead) !important; } }
/* audit round: measure and spacing */
.hm-924 .big span { max-width: 30em; }
.jubo-who, .jubo-staff { max-width: 32em; }
.jubo-week li { gap: 0; }
.hm-924 .big { width: fit-content; max-width: 100%; }
/* footer legal line: two items side by side, never stacked over each other */
.footer .base { grid-column: 1 / -1 !important; display: flex !important; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s3); margin-top: var(--s4); padding-top: var(--s2); border-top: 1px solid rgba(255,255,255,.18); font: 400 var(--t-cap)/1.6 var(--sans) !important; color: rgba(255,255,255,.72); }
.footer .base span { display: block; position: static !important; }
/* venues on the visit page */
.venues-h { margin: var(--s5) 0 var(--s2); font: 700 var(--t-lead)/1.3 var(--sans); border-bottom: 1px solid var(--ink); padding-bottom: var(--s1); }
.venues { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.venues li { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s1); align-items: baseline; padding: var(--s2) 0; border-bottom: 1px solid var(--rule); }
.venues b { font: 700 var(--t-body)/1.4 var(--sans); }
.venues .en { font: 400 var(--t-cap)/1.4 var(--sans); color: var(--ink-2); }
.venues li > span:last-child { grid-column: 1 / -1; font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-2); }
@media (max-width: 900px) { .venues { grid-template-columns: 1fr; } }
/* breadcrumb items share one baseline */
.crumb { align-items: center; }
.crumb a { min-height: 44px; padding: 0; }
.venues-h { font-size: var(--t-h3) !important; }

/* ===== welcome: people first, then the four things a newcomer asks ===== */
.hm-welcome { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; padding: var(--sec) var(--margin) 0; }
.hw-photo { grid-column: 1 / span 6; margin: 0; }
.hw-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.hw-text { grid-column: 8 / span 5; display: grid; gap: var(--s3); }
.hw-text h2 { margin: 0; font: 700 var(--t-h2)/1.25 var(--sans); letter-spacing: -.02em; }
.hw-lead { font: 400 var(--t-lead)/1.6 var(--sans); color: var(--ink); }
.hw-facts { list-style: none; border-top: 1px solid var(--ink); }
.hw-facts li { display: grid; grid-template-columns: 96px 1fr; gap: var(--s2); padding: 12px 0; border-bottom: 1px solid var(--rule); font: 400 var(--t-small)/1.5 var(--sans); }
.hw-facts b { font-weight: 700; color: var(--ink); }
.hw-facts span { color: var(--ink-2); }
.hw-act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
@media (min-width: 901px) { .hm-three .jubo-card { grid-column: 1 / span 5 !important; } .hm-three .col:last-child { grid-column: 7 / span 6 !important; } }
@media (max-width: 900px) {
  .hm-welcome { grid-template-columns: 1fr; row-gap: var(--s3); }
  .hw-photo, .hw-text { grid-column: 1; }
  .hw-text h2 { font-size: var(--t-h3); }
  .hw-facts li { grid-template-columns: 80px 1fr; }
  .hw-act .btn { flex: 1 0 100%; justify-content: center; }
}

/* restraint: one quiet primary style; no shouting orange pills */
.btn { background: var(--night) !important; color: #fff !important; box-shadow: none !important; }
.btn:hover { background: #12305C !important; transform: none !important; box-shadow: none !important; }
.btn::after { content: none !important; }
.header .btn { background: transparent !important; color: var(--night) !important; box-shadow: inset 0 0 0 1px rgba(11,36,71,.35) !important; }
.header .btn:hover { background: var(--night) !important; color: #fff !important; }

/* ===== invitation + the week walked with God ===== */
.hm-invite { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: stretch; padding: var(--sec) var(--margin) 0; }
.inv-card { grid-column: 1 / span 6; position: relative; background: #fff; padding: var(--s5) var(--s5) var(--s4); text-align: center; display: grid; justify-items: center; gap: var(--s2);
  outline: 1px solid var(--rule); outline-offset: -12px; box-shadow: 0 1px 2px rgba(11,36,71,.06), 0 12px 32px -16px rgba(11,36,71,.18); }
.inv-k { font: 400 var(--t-cap)/1.5 var(--sans); letter-spacing: .3em; color: var(--ink-2); }
.inv-h { margin: 0; font: 400 var(--t-h2)/1.4 var(--sans); letter-spacing: -.02em; color: var(--night); }
.inv-verse { font: 400 var(--t-body)/1.6 var(--sans); color: var(--ink-2); }
.inv-verse span { display: block; font-size: var(--t-cap); }
.inv-times { display: flex; justify-content: center; gap: var(--s4); margin: var(--s1) 0; padding: var(--s2) var(--s3); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.inv-times div { display: grid; gap: 4px; }
.inv-times dt { font: 400 var(--t-cap)/1.4 var(--sans); color: var(--ink-2); }
.inv-times dd { margin: 0; font: 700 var(--t-lead)/1.3 var(--sans); color: var(--ink); }
.inv-place { font: 400 var(--t-small)/1.6 var(--sans); color: var(--ink-2); }
.inv-sign { margin-top: var(--s2); font: 700 var(--t-body)/1.4 var(--sans); color: var(--night); letter-spacing: .1em; }
.inv-week { grid-column: 8 / span 5; display: grid; align-content: center; gap: var(--s3); }
.inv-wh { margin: 0; font: 700 var(--t-h3)/1.35 var(--sans); letter-spacing: -.02em; }
.week-walk { list-style: none; border-top: 1px solid var(--ink); }
.week-walk li { display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; gap: var(--s2); padding: 12px 0; border-bottom: 1px solid var(--rule); font: 400 var(--t-small)/1.5 var(--sans); }
.week-walk .d { color: var(--ink-2); }
.week-walk b { font-weight: 700; color: var(--ink); }
.week-walk .t { color: var(--ink-2); }
.week-walk li.sun b, .week-walk li.sun .d { color: var(--night); }
@media (max-width: 900px) {
  .hm-invite { grid-template-columns: 1fr; row-gap: var(--s5); }
  .inv-card, .inv-week { grid-column: 1; }
  .inv-card { padding: var(--s4) var(--s3); }
  .inv-h { font-size: var(--t-h3); }
  .inv-times { gap: var(--s3); padding: var(--s2) var(--s1); }
}
.inv-times dd { white-space: nowrap; }
@media (max-width: 900px) { .inv-times { gap: var(--s2); } .inv-times dd { font-size: var(--t-body); } }
/* audit: on-scale gaps, phones down to 320 never scroll sideways */
.inv-times div { gap: 0; }
.inv-card { min-width: 0; }
@media (max-width: 420px) {
  .inv-times { flex-wrap: wrap; gap: var(--s1) var(--s2); padding-inline: 0; }
  .inv-times dd { font-size: var(--t-small); }
  .inv-card { padding: var(--s4) var(--s2); }
}
.inv-k { margin: 0; }

/* invitation in the bulletin slot; the week as its own row */
.hm-week .inv-week { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: var(--s2); }
.hm-week .inv-wh { grid-column: 1 / span 4; align-self: start; }
.hm-week .week-walk { grid-column: 5 / span 8; }
.hm-week .inv-week > .link { grid-column: 5 / span 8; }
.hm-three .inv-card { border-top: 0 !important; padding: var(--s4) var(--s3) !important; align-self: start; }
.hm-three .inv-card .inv-h { font-size: var(--t-h3); }
.hm-three .inv-card .inv-verse { font-size: var(--t-small); }
@media (min-width: 901px) { .hm-three .inv-card { grid-column: 1 / span 5 !important; } .hm-three .col:last-child { grid-column: 7 / span 6 !important; } }
@media (max-width: 900px) { .hm-week .inv-week { grid-template-columns: 1fr; } .hm-week .inv-wh, .hm-week .week-walk, .hm-week .inv-week > .link { grid-column: 1; } .inv-verse br { display: none; } }
.hm-three .inv-card .inv-k { font: 400 var(--t-cap)/1.5 var(--sans) !important; letter-spacing: .3em; color: var(--ink-2); border: 0 !important; padding: 0 !important; margin: 0 !important; }

/* mission network (from the bulletin) */
.mission-net { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: var(--s5); }
.mn-col:first-child { grid-column: 1 / span 7; } .mn-col:last-child { grid-column: 9 / span 4; }
.mn-h { margin: var(--s4) 0 var(--s2); font: 700 var(--t-lead)/1.3 var(--sans); border-bottom: 1px solid var(--ink); padding-bottom: var(--s1); }
.mn-col > .mn-h:first-child { margin-top: 0; }
.mn-names { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mn-names li { padding: 12px 0; border-bottom: 1px solid var(--rule); font: 400 var(--t-body)/1.5 var(--sans); }
.mn-list { list-style: none; }
.mn-list li { padding: 12px 0; border-bottom: 1px solid var(--rule); font: 400 var(--t-body)/1.5 var(--sans); }
.mn-list span { display: block; font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-2); }
.mn-note { margin-top: var(--s2); font: 400 var(--t-small)/1.6 var(--sans); color: var(--ink-2); }
@media (max-width: 900px) { .mission-net { grid-template-columns: 1fr; } .mn-col:first-child, .mn-col:last-child { grid-column: 1; } .mn-col:last-child { margin-top: var(--s4); } .mn-names { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* hero film */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; display: block; }
.hm-film .film-cap:empty { display: none; }

/* ---------- route map: numbered stops sit on the drawn walk; short cards beside them ---------- */
.m3d-step { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; will-change: transform; }
.m3d-step > i { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; display: grid; place-items: center;
  border-radius: 50%; background: var(--night); color: #fff; font: 700 var(--t-cap)/1 var(--sans); font-style: normal;
  box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(11,36,71,.28); }
.m3d-step.church > i { background: var(--orange); color: var(--night); }
.m3d-card { position: absolute; display: grid; gap: 4px; padding: 8px 12px; border-radius: 12px; background: #fff; color: var(--night);
  white-space: nowrap; box-shadow: 0 1px 0 rgba(11,36,71,.06), 0 6px 20px rgba(11,36,71,.16); font-size: var(--t-small); line-height: 1.25; }
.m3d-card small { font-size: var(--t-cap); color: rgb(110,98,93); letter-spacing: 0; }
.m3d-card b { font-weight: 800; }
.m3d-step.church .m3d-card { background: var(--night); color: #fff; }
.m3d-step.church .m3d-card small { color: #fff; }
.m3d-step.church .m3d-card b { color: var(--orange); }
.m3d-step[data-dir$="e"] .m3d-card { left: 16px; }
.m3d-step[data-dir$="w"] .m3d-card { right: 16px; }
.m3d-step[data-dir^="s"] .m3d-card { top: 10px; }
.m3d-step[data-dir^="n"] .m3d-card { bottom: 10px; }
@media (max-width: 520px) { .m3d-card small { display: none; } .m3d-card { padding: 4px 8px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.route-video { grid-column: 9 / span 4; display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px;
  color: var(--night); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.route-video:hover, .route-video:focus-visible { color: var(--orange-ink, #B45A00); }
@media (max-width: 900px) { .route-video { grid-column: 1 / -1; } }
.m3d-step.place .m3d-card { background: rgba(11,36,71,.9); color: #fff; }
.m3d-step.place .m3d-card small { color: #fff; }
.m3d-step.place[data-dir$="e"] .m3d-card { left: -8px; } .m3d-step.place[data-dir$="w"] .m3d-card { right: -8px; }
@media (max-width: 520px) {
  .m3d-step:not(.church):not(.place) .m3d-card { display: none; }
  .m3d-step.place .m3d-card small { display: none; }
}
.m3d-card { translate: var(--dx, 0px) 0; }
/* times band: who each service is for, so a family can come straight to the right one */
.hm-times dl { align-items: start; }
.hm-times dd.t-note { margin-top: 4px; font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-2); letter-spacing: 0; }

.footer .motto span { white-space: nowrap; }
.mn-col:only-child { grid-column: 1 / -1; }
/* the world: a flat Equal Earth map, then the two lists as plain text */
#nations .globe-stage { aspect-ratio: 16 / 10 !important; margin-inline: 0 !important; width: 100% !important; }
#nations .globe-stage canvas { cursor: default; }
.nat-lists { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: var(--s4); }
.nat-lists > div { grid-column: span 6; border-top: 1px solid var(--ink); padding-top: var(--s2); }
.nat-lists dt { display: flex; align-items: center; gap: 8px; font: 700 var(--t-body)/1.5 var(--sans); }
.nat-lists dt i { width: 16px; height: 2px; background: var(--orange); }
.nat-lists dt i.i { background: var(--blue); }
.nat-lists dd { margin: var(--s1) 0 0; font: 400 var(--t-body)/1.7 var(--sans); color: var(--ink-2); }
@media (max-width: 900px) { .nat-lists { grid-template-columns: 1fr; row-gap: var(--s3); } .nat-lists > div { grid-column: 1; } }
/* world map: one segmented control filters the map; three categorical chips explain it */
.map-modes { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: var(--s2); border-radius: 100vmax; background: #EEEDE7; }
.map-modes button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 100vmax; background: transparent; color: var(--ink-2);
  font: 600 var(--t-small)/1 var(--sans); cursor: pointer; transition: background-color var(--spring-quick-dur) var(--spring-quick), color var(--spring-quick-dur) var(--spring-quick); }
.map-modes button .num { margin-left: 4px; font-weight: 400; }
.map-modes button:hover { color: var(--ink); }
.map-modes button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.map-modes button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,36,71,.14); }
#nations .nations-map figcaption i { width: 14px; height: 14px; border-radius: 8px; }
#nations .nations-map figcaption i.o { background: var(--orange) !important; border-radius: 50%; width: 10px; height: 10px; }
#nations .nations-map figcaption i.i { background: var(--blue) !important; border-radius: 50%; width: 10px; height: 10px; }
#nations .nations-map figcaption i.b { background: radial-gradient(circle, var(--orange) 2px, transparent 2.5px) 0 0 / 7px 7px, radial-gradient(circle, var(--blue) 2px, transparent 2.5px) 3.5px 3.5px / 7px 7px; }
@media (max-width: 520px) { .map-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 12px; width: 100%; box-sizing: border-box; } .map-modes button { border-radius: 8px; padding: 0 4px; font-size: 15px; white-space: nowrap; letter-spacing: -.02em; } .map-modes button .num { display: none; } }   /* one row of three inside the margins */
/* hero film control: a quiet frosted chip, no ring; it only comes forward on hover or keyboard focus (44px target kept) */
.hm-hero .film-btn { position: relative; border: 0; background: transparent; opacity: .55; transition: opacity var(--spring-snappy-dur) var(--spring-snappy); }
.hm-hero .film-btn::before { content: ""; position: absolute; inset: 6px; border-radius: 8px; background: rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hm-hero .film-btn svg { position: relative; width: 14px; height: 14px; stroke-width: 1.8; }
.hm-hero .film-btn:hover, .hm-hero .film-btn:focus-visible, .hm-hero .paused .film-btn { opacity: 1; background: transparent; }
#map3d figcaption .osm { display: block; margin-top: 4px; font-size: var(--t-cap); color: rgb(110,98,93); }
#nations .nations-map figcaption i.b { background: radial-gradient(circle, var(--orange) 0 3px, #fff 3.5px 4.5px, var(--blue) 5px) !important; border-radius: 50%; width: 12px; height: 12px; }
#nations .nations-map figcaption i.e { background: radial-gradient(circle, var(--orange) 0 3px, #fff 3.5px 4.5px, var(--night) 5px) !important; border-radius: 50%; width: 14px; height: 14px; }
@media (max-width: 520px) { #nations .globe-stage { aspect-ratio: 1 / 1 !important; } }
#nations .globe-stage canvas { cursor: grab; } #nations .globe-stage canvas:active { cursor: grabbing; }
/* the film simply plays; its pause control is there only for keyboard and screen-reader users and appears on focus */
.hm-hero .film-btn { position: absolute; right: 0; bottom: 0; opacity: 0; pointer-events: none; }
.hm-hero .film-btn:focus-visible, .hm-hero .paused .film-btn { opacity: 1; pointer-events: auto; }
/* 말씀: the big card becomes the player in place */
.hm-player { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.hm-word-grid > .hm-player { grid-column: 1 / span 7; align-self: start; }
.hm-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hm-recent a.cover[aria-current] { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (max-width: 900px) { .hm-word-grid > .hm-player { grid-column: 1; } }
/* times band: the 2부 column gets room for its note; each half of the note stays whole */

/* times band on the page grid: six equal columns, each exactly two of the twelve; dividers sit in the gutters,
   so every time starts on a column line. The button takes its own row at column 1. */
.hm-times { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: var(--s3); align-items: start; }
.hm-times dl { grid-column: 1 / -1; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 24px; row-gap: var(--s3); align-items: start; }
.hm-times dl > div { position: relative; padding: 0 !important; border: 0 !important; }
.hm-times dl > div + div::before { content: ""; position: absolute; left: -12px; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.hm-times dt { white-space: nowrap; }
.hm-times dd.t-note span { display: block; white-space: nowrap; }
.hm-times .btn { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 1199px) { .hm-times dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hm-times dl > div:nth-child(3n + 1)::before { display: none; } }
@media (max-width: 760px) {
  .hm-times { grid-template-columns: 1fr; }
  .hm-times dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-times dl > div::before { display: none; }
  .hm-times .btn { justify-self: stretch; }
}
/* walk it: an overlay exactly over the model; the start button sits bottom-left, the player HUD takes over while walking */
.walk-ui { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 7 / 5; pointer-events: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.walk-ui[hidden] { display: none; }
.walk-ui button, .walk-ui input { pointer-events: auto; }
.walk-start { align-self: flex-start; min-height: 44px; padding: 0 16px; border: 0; border-radius: 100vmax; background: var(--night); color: #fff;
  font: 700 var(--t-small)/1 var(--sans); cursor: pointer; box-shadow: 0 6px 20px rgba(11,36,71,.22); }
.walk-start:hover, .walk-start:focus-visible { background: #16325E; }
.walk-start:focus-visible, .walk-ui .walk-bar button:focus-visible, .walk-ui input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.map3d.walking .walk-start, .map3d.walking .m3d-step { display: none; }
.walk-controls { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.walk-controls[hidden] { display: none; }
.walk-cap { align-self: flex-start; display: flex; gap: 12px; align-items: center; max-width: 34em; padding: 12px 16px; border-radius: 12px;
  background: rgba(11,36,71,.86); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.walk-cap i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: var(--night); font: 700 var(--t-cap)/1 var(--sans); font-style: normal; }
.walk-cap b { display: block; font: 700 var(--t-body)/1.4 var(--sans); }
.walk-cap small { display: block; font: 400 var(--t-small)/1.5 var(--sans); color: #fff; }
.walk-bar { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.92); box-shadow: 0 6px 20px rgba(11,36,71,.16); }
.walk-bar input[type=range] { flex: 1; min-width: 0; height: 44px; accent-color: var(--orange); }
.walk-play { flex: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--night); display: grid; place-items: center; cursor: pointer; }
.walk-play svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.walk-play .i-play { display: none; fill: #fff; stroke: none; }
.walk-play[data-state="paused"] .i-pause { display: none; } .walk-play[data-state="paused"] .i-play { display: block; }
.walk-views { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #EEEDE7; }
.walk-views button, .walk-close { min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font: 600 var(--t-small)/1 var(--sans); cursor: pointer; }
.walk-views button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,36,71,.14); }
.walk-close { color: var(--ink); }
@media (max-width: 900px) {
  .walk-ui { aspect-ratio: 4 / 5; padding: 12px; }
  .walk-bar { flex-wrap: wrap; } .walk-bar input[type=range] { flex-basis: calc(100% - 56px); }
  .walk-cap small { display: none; }
}
/* footer: real links, comfortable targets */
.footer .cols a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); display: inline-flex; align-items: center; min-height: 44px; }
.footer .cols a:hover, .footer .cols a:focus-visible { text-decoration-color: currentColor; }
/* 인사말 */
.greet-body { max-width: 38em; }
.greet-body p { font: 400 var(--t-body)/1.8 var(--sans); color: var(--ink-2); margin: 0 0 var(--s2); }
.greet-body .greet-lead { font: 700 var(--t-lead)/1.6 var(--sans); color: var(--ink); }
/* 다섯 가지 훈련 */
.train-list { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 24px; row-gap: var(--s3); counter-reset: t; }
.train-list li { counter-increment: t; border-top: 1px solid var(--ink); padding-top: var(--s2); }
.train-list li::before { content: "0" counter(t); display: block; font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-2); }
.train-list b { display: block; font: 700 var(--t-lead)/1.4 var(--sans); }
.train-list span { display: block; margin-top: var(--s1); font: 400 var(--t-small)/1.6 var(--sans); color: var(--ink-2); }
.train-note { max-width: 24em; margin-top: var(--s3); font: 400 var(--t-small)/1.6 var(--sans); color: var(--ink-2); }
.train-note a { color: inherit; }
/* 교회학교 · 청년 */
.school-list { list-style: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.school-list li { grid-column: span 6; display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; padding: var(--s2) 0; border-bottom: 1px solid var(--rule); }
.school-list b { flex: 0 0 7em; font: 700 var(--t-body)/1.5 var(--sans); }
.school-list span { flex: 1 1 12em; font: 400 var(--t-small)/1.6 var(--sans); color: var(--ink-2); }
.school-list a { display: inline-flex; align-items: center; min-height: 44px; font: 400 var(--t-small)/1 var(--sans); color: var(--blue); }
@media (max-width: 900px) { .train-list { grid-template-columns: 1fr 1fr; } .school-list li { grid-column: 1 / -1; } }
@media (max-width: 520px) { .train-list { grid-template-columns: 1fr; } }
/* Elim keyline icons */
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--night); color: #fff;
  transition: background-color var(--spring-quick-dur) var(--spring-quick), transform var(--spring-quick-dur) var(--spring-quick); }
.icon-btn:hover { background: #16325E; transform: translateY(-1px); }
.icon-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.hm-times .icon-btn { grid-column: auto; position: absolute; right: max(12px, calc((var(--margin) - 56px) / 2)); top: 50%; transform: translateY(-50%); }
.hm-times .icon-btn:hover { transform: translateY(calc(-50% - 1px)); }
.hm-times { position: relative; }
.hm-times dt small { font-size: var(--t-cap); color: var(--ink-2); margin-left: 4px; }
@media (max-width: 1199px) { .hm-times .icon-btn { position: static; transform: none; justify-self: start; } }
/* ---------- 오늘의 큐티: home card ---------- */
.qtc { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: var(--s1);
  padding: var(--s4) 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.qtc > span { grid-column: 1 / span 9; }
.qtc-k { display: flex; align-items: center; gap: 8px; font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-2); }
.qtc-k .ic { color: var(--blue); }
.qtc-t { font: 700 var(--t-h2)/1.25 var(--sans); letter-spacing: -.01em; }
.qtc-ref { font: 400 var(--t-body)/1.5 var(--sans); color: var(--ink-2); }
.qtc-p { max-width: 36em; font: 400 var(--t-body)/1.7 var(--sans); color: var(--ink-2); }
.qtc-go { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--night); color: #fff; transition: transform var(--spring-quick-dur) var(--spring-quick), background-color var(--spring-quick-dur) var(--spring-quick); }
.qtc:hover .qtc-go, .qtc:focus-visible .qtc-go { background: #16325E; transform: translate(4px, -50%); }
.qtc:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
@media (max-width: 760px) { .qtc > span { grid-column: 1 / -1; } .qtc-go { position: static; transform: none; margin-top: var(--s2); } .qtc:hover .qtc-go { transform: none; } }

/* ---------- 큐티 page: the passage on the left, Elim's six steps as a stream of springs on the right ---------- */
.qt { --qt-size: 19px; }
.qt-head { border-top: 1px solid var(--ink); padding-top: var(--s3); margin-bottom: var(--s4); }
.qt-day { display: flex; align-items: center; gap: var(--s2); }
.qt-date { font: 400 var(--t-body)/1.5 var(--sans); color: var(--ink-2); min-width: 8em; }
.qt-nav { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); color: var(--ink); }
.qt-nav.prev .ic { transform: scaleX(-1); }
.qt-nav:hover { border-color: var(--ink); } .qt-nav:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.qt-title { margin: var(--s2) 0 var(--s1); font: 700 var(--t-h1)/1.2 var(--sans); letter-spacing: -.02em; }
.qt-ref { font: 400 var(--t-lead)/1.5 var(--sans); color: var(--ink-2); }
.qt-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.qt-text { grid-column: 1 / span 7; position: relative; }
.qt-steps { grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h, 80px) + 24px); }
.qt-size { display: inline-flex; gap: 4px; margin-bottom: var(--s2); }
.qt-size button { width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; font-family: var(--sans); }
.qt-size button[data-size="-1"] span { font-size: 13px; } .qt-size button[data-size="1"] span { font-size: 20px; font-weight: 700; }
.qt-size button:hover { border-color: var(--ink); } .qt-size button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.qt-verses { list-style: none; max-width: 34em; }
.qt-verses li { position: relative; padding-left: 2.6em; margin-bottom: .6em; font-size: var(--qt-size); line-height: 1.8; color: var(--ink); }
.qt-verses .vn { position: absolute; left: 0; top: .35em; font-size: 13px; color: var(--blue); }
.qt-point { max-width: 34em; margin: var(--s4) 0 0; padding: var(--s3) 0 0 var(--s3); border-left: 2px solid var(--orange); }
.qt-point p { font: 400 var(--t-lead)/1.7 var(--sans); color: var(--ink); }
.qt-point cite { display: block; margin-top: var(--s1); font: 400 var(--t-small)/1.5 var(--sans); font-style: normal; color: var(--ink-2); }
.qt-reading { display: flex; align-items: center; gap: 8px; margin-top: var(--s3); font: 400 var(--t-body)/1.5 var(--sans); color: var(--ink-2); }
.qt-reading .ic { color: var(--blue); }
.qt-steps > ol { list-style: none; position: relative; }
.qt-steps > ol::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue), rgba(11, 36, 71,.15)); }
.qt-steps > ol > li { position: relative; padding: 0 0 var(--s3) 32px; }
.qt-steps .node { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 4px rgba(11, 36, 71,.10); }
.qt-steps h3 { font: 700 var(--t-body)/1.5 var(--sans); }
.qt-steps h3 em { font-style: normal; font-weight: 400; color: var(--orange-ink, #B45A00); margin-left: 4px; }
.qt-steps p, .qt-steps li li { font: 400 var(--t-small)/1.7 var(--sans); color: var(--ink-2); }
.qt-steps ul { list-style: none; margin-top: 4px; } .qt-steps ul li { padding: 4px 0; border-top: 1px solid var(--rule); }
.qt-steps .hint { color: var(--ink-3, #8A8079); }
.qt-dawn { display: flex; gap: 12px; align-items: center; padding: var(--s2); border-radius: 12px; background: var(--night); color: #fff; text-decoration: none; }
.qt-dawn .ic { color: var(--orange); flex: none; } .qt-dawn b { display: block; font: 700 var(--t-small)/1.4 var(--sans); }
.qt-dawn small { display: block; font: 400 var(--t-small)/1.5 var(--sans); color: #fff; }
.qt-dawn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.qt-fallback { display: none; }
.qt[data-state="failed"] .qt-fallback { display: block; } .qt[data-state="failed"] .qt-grid { display: none; }
@media (max-width: 900px) { .qt-text, .qt-steps { grid-column: 1 / -1; } .qt-steps { position: static; margin-top: var(--s4); } }
.qt[data-state="loading"] .qt-grid { min-height: 150vh; }
/* keep the QT header's size fixed from first paint so nothing shifts when the day's text arrives */
.qt-day { min-height: 44px; }
.qt-nav[data-off] { visibility: hidden; }
.qt-ref { min-height: 1.5em; }
/* ---------- 토요 산상기도: a ledger of dawns ---------- */
.dawns { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: var(--s4); align-items: start; }
.dawn-text { grid-column: 1 / span 4; }
.dawn-text h2 { font: 700 var(--t-h2)/1.25 var(--sans); color: #fff; }
.dawn-count { display: flex; align-items: flex-end; gap: 12px; margin-top: var(--s3); color: #fff; }
.dawn-count b { font: 400 var(--t-display, 88px)/.9 var(--sans); letter-spacing: -.03em; }
.dawn-count > span { padding-bottom: 4px; font: 400 var(--t-small)/1.5 var(--sans); color: rgba(255,255,255,.86); }
.dawn-route { list-style: none; position: relative; margin: var(--s4) 0 var(--s3); padding-left: 24px; }
.dawn-route::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; border-left: 2px dotted rgba(255,255,255,.5); }
.dawn-route li { position: relative; padding: 4px 0; font: 400 var(--t-body)/1.5 var(--sans); color: #fff; }
.dawn-route li::before { content: ""; position: absolute; left: -24px; top: 11px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: var(--night); }
.dawn-route li:last-child::before { background: var(--orange); border-color: var(--orange); }
.dawn-route .num { display: inline-block; min-width: 3.2em; color: rgba(255,255,255,.86); }
.icon-btn.light { background: #fff; color: var(--night); }
.icon-btn.light:hover { background: #F7F6F2; }
.dawn-tally { grid-column: 6 / span 7; }
.dawn-tally svg { display: block; width: 100%; height: auto; }
.dawn-tally .t-past { stroke: rgba(255,255,255,.30); stroke-width: 1.4; stroke-linecap: round; fill: none; }
.dawn-tally .t-now { stroke: var(--orange); stroke-width: 2.6; stroke-linecap: round; fill: none; }
.dawn-tally figcaption, .dawn-photo figcaption { margin-top: var(--s2); font: 400 var(--t-small)/1.5 var(--sans); color: rgba(255,255,255,.86); }
.dawn-photo { grid-column: 6 / span 7; }
.dawn-photo img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 12px; }
@media (max-width: 900px) { .dawn-text, .dawn-tally, .dawn-photo { grid-column: 1 / -1; } .dawn-count b { font-size: 64px; } }
.hm-qt .qtc { grid-column: 1 / -1; width: 100%; }
/* footer: keyline social marks, quiet extra link, add-to-home */
.footer .social { display: flex; gap: 8px; margin-bottom: var(--s1); }
.footer .social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); color: #fff; text-decoration: none; }
.footer .social a:hover, .footer .social a:focus-visible { background: rgba(255,255,255,.12); border-color: #fff; }
.footer .also a { color: #fff; }
.a2hs { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: var(--s1); padding: 0 16px 0 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 100vmax;
  background: transparent; color: #fff; font: 400 var(--t-small)/1 var(--sans); cursor: pointer; }
.a2hs .ic { color: var(--orange); width: 20px; height: 20px; }
.a2hs:hover, .a2hs:focus-visible { background: rgba(255,255,255,.12); border-color: #fff; }
.a2hs-hint { max-width: 18em; margin-top: var(--s1); font: 400 var(--t-small)/1.6 var(--sans); color: #fff; }
.footer .base a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; }
.policy-body { max-width: 38em; }
.policy-body p { margin: 0 0 var(--s2); font: 400 var(--t-body)/1.8 var(--sans); color: var(--ink-2); }
/* the church's own first-person film rides in a picture-in-picture over the model; the map follows its time */
.walk-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.walk-film { flex: 0 0 38%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 8px 28px rgba(11,36,71,.28); pointer-events: auto; }
.walk-film:empty { display: none; }
.walk-film iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 900px) { .walk-top { flex-direction: column-reverse; } .walk-film { flex-basis: auto; width: 100%; } }
/* ---------- 토요 산상기도: one dawn from the summit, the words laid over it; the count is a quiet fact, not a statistic ---------- */
.hm-dawn { position: relative; margin-top: var(--sec); min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); }
.hm-dawn .dawn-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hm-dawn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,36,71,0) 35%, rgba(11,36,71,.82) 100%); }
.dawn-in { position: relative; z-index: var(--z-raised); width: 100%; padding: 0 var(--margin) var(--s5); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: var(--s1); align-items: end; }
.dawn-in > * { grid-column: 1 / span 9; }
.dawn-in h2 { font: 700 var(--t-h1)/1.15 var(--sans); letter-spacing: -.02em; }
.dawn-line { max-width: 28em; font: 400 var(--t-lead)/1.6 var(--sans); }
.dawn-meta { max-width: 30em; font: 400 var(--t-small)/1.6 var(--sans); color: #fff; opacity: .9; }
.dawn-in .icon-btn { grid-column: 12 / span 1; grid-row: 1 / span 3; justify-self: end; align-self: end; }
@media (max-width: 760px) { .dawn-in > *, .dawn-in .icon-btn { grid-column: 1 / -1; grid-row: auto; justify-self: start; } .hm-dawn { min-height: 560px; } }
/* 주보 as the printed pages: a two-page spread; placeholders keep the layout until the week's images arrive */
.jubo-spread { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.jubo-page { aspect-ratio: 1 / 1.414; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(11,36,71,.06), 0 10px 30px rgba(11,36,71,.10); }
.jubo-page img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jubo-page a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; display: block; }
.jubo-page.is-empty { display: grid; place-items: center; background: repeating-linear-gradient(45deg, #fff 0 12px, #F7F6F2 12px 24px); box-shadow: inset 0 0 0 1px var(--rule); }
.jubo-page.is-empty span { font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-2); }
.jubo-note { margin-top: var(--s2); font: 400 var(--t-small)/1.6 var(--sans); color: var(--ink-2); }
@media (max-width: 760px) { .jubo-spread { grid-template-columns: 1fr; } }
/* times band: a plain, readable "더보기" instead of a symbol */
.more-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 24px; border-radius: 100vmax; background: var(--night); color: #fff;
  font: 700 var(--t-small)/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background-color var(--spring-quick-dur) var(--spring-quick); }
.more-btn .ic { width: 18px; height: 18px; transition: transform var(--spring-quick-dur) var(--spring-quick); }
.more-btn:hover { background: #16325E; } .more-btn:hover .ic { transform: translateX(3px); }
.more-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.hm-times .more-btn { position: absolute; right: max(12px, calc((var(--margin) - 112px) / 2)); top: 50%; transform: translateY(-50%); }
@media (max-width: 1439px) { .hm-times .more-btn { position: static; transform: none; justify-self: start; grid-column: 1 / -1; } }
/* ---------- 앨범: one category bar, a masonry of the church's own photos, a designed viewer ---------- */
.album-lead { max-width: 36em; margin-bottom: var(--s3); font: 400 var(--t-body)/1.8 var(--sans); color: var(--ink-2); }
.album-bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: #EEEDE7; width: fit-content; max-width: 100%; }
.album-bar button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); font: 600 var(--t-small)/1 var(--sans); cursor: pointer; }
.album-bar button .num { margin-left: 4px; font-weight: 400; }
.album-bar button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,36,71,.14); }
.album-bar button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.album-line { list-style: none; min-height: 1.6em; margin: var(--s2) 0 var(--s3); font: 400 var(--t-body)/1.6 var(--sans); color: var(--ink-2); }
.album-line b { color: var(--ink); margin-right: 8px; }
.album-grid { columns: 3 280px; column-gap: 24px; }
.ph { break-inside: avoid; margin: 0 0 24px; }
.ph[hidden] { display: none; }
.ph-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 8px; overflow: hidden; }
.ph-open img { display: block; width: 100%; height: auto; transition: transform var(--spring-smooth-dur) var(--spring-smooth); }
.ph-open:hover img { transform: scale(1.03); }
.ph-open:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.ph figcaption { margin-top: 8px; font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-2); }
.lb { width: min(1200px, 94vw); max-height: 94vh; padding: 0; border: 0; border-radius: 12px; background: var(--night); color: #fff; overflow: hidden; }
.lb::backdrop { background: rgba(11,36,71,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb figure { margin: 0; }
.lb img { display: block; width: 100%; max-height: calc(94vh - 64px); object-fit: contain; background: #000; }
.lb figcaption { min-height: 64px; display: flex; align-items: center; padding: 0 160px 0 24px; font: 400 var(--t-small)/1.5 var(--sans); } /* scale-exception: optical or section offset 160px */
.lb button { position: absolute; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; font: 400 24px/1 var(--sans); }
.lb button:hover, .lb button:focus-visible { background: rgba(255,255,255,.14); border-color: #fff; }
.lb button:focus-visible { outline-color: #fff; outline-offset: 2px; }
.lb .lb-prev { right: 116px; } .lb .lb-prev .ic { transform: scaleX(-1); } .lb .lb-next { right: 64px; } .lb .lb-close { right: 12px; }
@media (max-width: 760px) { .album-grid { columns: 2 140px; column-gap: 12px; } .ph { margin-bottom: 12px; } .ph figcaption { display: none; } }
/* 인사말: the words on the left; on the right a quiet composition of the church's own photographs */
.greet-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.greet-grid .greet-body { grid-column: 1 / span 6; }
.greet-photos { grid-column: 8 / span 5; position: relative; padding-bottom: 64px; }
.greet-photos img { display: block; border-radius: 12px; object-fit: cover; }
.greet-main { width: 100%; aspect-ratio: 4 / 5; object-position: 60% 50%; }
.greet-inset { position: absolute; left: -22%; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 6px solid var(--sand); box-shadow: 0 12px 32px rgba(11,36,71,.18); }
@media (max-width: 900px) { .greet-grid .greet-body, .greet-photos { grid-column: 1 / -1; } .greet-photos { margin-top: var(--s4); padding-bottom: 0; } .greet-main { aspect-ratio: 4 / 3; } .greet-inset { display: none; } }

/* ================= phone: the same site, summarised =================
   One idea per screen; anything that repeats another page steps aside and the page links to it instead. */
@media (max-width: 760px) {
  /* hero fills the first screen, minus the header and tab bar */
  .hm-hero { height: min(calc(100svh - 120px), 720px) !important; min-height: 520px; }
  .hm-def { font-size: var(--t-body) !important; }
  /* 말씀: one feature sermon + two recent, no rail */
  .hm-recent li:nth-child(n+3) { display: none; }
  .hm-recent { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; overflow: visible !important; }
  .hm-recent .cover { aspect-ratio: 4 / 5; }
  .hm-recent .c-m { display: none; }
  /* 산상기도: shorter */
  .hm-dawn { min-height: 440px; }
  .dawn-line { display: none; }
  /* 큐티: title and passage only */
  .qtc-p { display: none; }
  /* invitation + map: the invitation stays; the map lives on 오시는 길 (and the tab bar) */
  .hm-three > :not(.inv-card) { display: none !important; }
  .inv-card .inv-verse { display: none; }
  /* footer: one clean column */
  .footer .cols { display: grid !important; grid-template-columns: 1fr; row-gap: var(--s3); }
  .footer .cols > div { min-width: 0; }
  .footer .cols a { overflow-wrap: anywhere; }
  .footer .motto { font-size: var(--t-h3) !important; }
  .footer .also, .a2hs-hint { display: none; }
}
/* small tablets: two-column footer, keep the rail */
@media (min-width: 761px) and (max-width: 1024px) {
  .footer .cols { grid-template-columns: 1fr 1fr; row-gap: var(--s3); }
}
/* ---------- 걸어온 길: scrolling photo timeline ---------- */
.tl { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; --tl: 0; }
.tl-stage { grid-column: 1 / span 6; position: sticky; top: calc(var(--header-h, 80px) + 32px); aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--night); }
.tl-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity var(--spring-smooth-dur) var(--spring-smooth), transform 1.2s cubic-bezier(.2,.7,.2,1); }
.tl-stage img.on { opacity: 1; transform: none; }
.tl-list { grid-column: 8 / span 5; list-style: none; position: relative; padding: 160px 0 104px 24px; } /* scale-exception: optical or section offset 160px, 104px */
.tl-list::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 2px; background: var(--rule); }
.tl-list::after { content: ""; position: absolute; left: 5px; top: 0; width: 2px; height: 100%; background: var(--blue); transform-origin: top; transform: scaleY(var(--tl)); }
.tl-list li { position: relative; padding: var(--s4) 0; }
.tl-list li::before { content: ""; position: absolute; left: -24px; top: calc(var(--s4) + 14px); width: 12px; height: 12px; border-radius: 50%; background: var(--sand); box-shadow: inset 0 0 0 2px var(--rule); transition: box-shadow var(--spring-snappy-dur) var(--spring-snappy), background-color var(--spring-snappy-dur) var(--spring-snappy); z-index: var(--z-raised); }
.tl-list li.past::before { box-shadow: inset 0 0 0 2px var(--blue); }
.tl-list li.on::before { background: var(--blue); box-shadow: 0 0 0 5px rgba(11, 36, 71,.16); }
.tl-list li.latest.on::before { background: var(--orange); box-shadow: 0 0 0 5px rgba(239,131,6,.2); }
.tl-list b { display: block; font: 400 var(--t-h2)/1.1 var(--sans); color: rgb(110,98,93); letter-spacing: -.02em; transition: color var(--spring-smooth-dur) var(--spring-smooth); }
.tl-list li.on b, .tl-list li.past b { color: var(--blue); }
.tl-list span { display: block; margin-top: var(--s1); font: 400 var(--t-body)/1.6 var(--sans); color: var(--ink-2); transition: color var(--spring-smooth-dur) var(--spring-smooth); }
.tl-list li.on span { color: var(--ink); }
.tl-list li > span .num, .tl-list li > span span { display: inline; margin: 0; }
.tl-inline { display: none; }
/* phones and reduced motion: no sticky stage; each year carries its own photo */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .tl-stage { display: none; }
  .tl-list { grid-column: 1 / -1; padding: 0 0 0 24px; }
  .tl-list::after { display: none; }
  .tl-inline { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-top: var(--s2); }
}

/* ================= device tiers: the rhythm itself changes with the screen =================
   Desktop keeps the generous 8·16·24·40·64·104 rhythm. Tablets tighten one step; phones use a
   compact rhythm (8·16·24·32·48·80) with a 20px gutter and a type scale tuned for one-hand reading;
   the smallest phones drop to a 16px gutter. Every value stays on the shared spacing scale. */
@media (min-width: 761px) and (max-width: 1100px) {
  :root { --margin: 32px; --s5: 56px; --s6: 80px; --t-display: 80px; --t-h1: 44px; --t-h2: 32px; }
  .is-home { --sec: 64px; }
}
@media (max-width: 760px) {
  :root { --margin: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 80px; --s7: 104px;
    --t-display: 56px; --t-h1: 34px; --t-h2: 26px; --t-h3: 20px; --t-lead: 18px; --t-body: 16px; --t-small: 16px; --header-h: 64px; }
  .is-home, .is-inner { --sec: 56px; }
  .sh { margin-bottom: var(--s3) !important; }
  .sh p { font-size: var(--t-small) !important; }
  p, li { line-height: 1.65; }
  .hm-name { font-size: var(--t-display) !important; letter-spacing: -.03em; }
  .page-title { font-size: var(--t-h1) !important; }
}
@media (max-width: 360px) {
  :root { --margin: 16px; --t-display: 48px; --t-h1: 30px; --t-h2: 24px; }
}
/* ---------- walk, v3: the church's film and the model at eye level, side by side, on one clock ----------
   Nothing of ours covers the film: tags sit above each pane, the caption and controls below. */
.map3d.walking { background: var(--night); padding: 16px; border-radius: 0; }
.map3d.walking > .walk-ui { position: relative; aspect-ratio: auto; padding: 0; pointer-events: auto; display: block; }
.map3d.walking figcaption { display: none; }
.map3d.walking .walk-controls { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 12px; height: auto; }
.map3d.walking .walk-top { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.walk-pane { display: grid; gap: 8px; min-width: 0; }
.walk-tag { font: 600 var(--t-cap)/1.5 var(--sans); letter-spacing: .02em; color: rgba(255,255,255,.72); }
.map3d.walking .walk-film, .walk-eye { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; box-shadow: none; flex: none; }
.walk-eye .map3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; background: #DCE6EE; pointer-events: none; cursor: default; box-shadow: none; }
.walk-film .walk-yt { display: none; }
.walk-film.stalled .walk-yt { display: inline-flex; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: var(--z-raised); min-height: 44px; align-items: center; padding: 0 16px; border-radius: 100vmax; background: #fff; color: var(--night); font: 600 var(--t-small)/1 var(--sans); white-space: nowrap; }
.map3d.walking .walk-cap { position: static; display: flex; gap: 12px; align-items: center; max-width: none; margin: 0; padding: 0; background: none; box-shadow: none; color: #fff; min-height: 48px; }
.map3d.walking .walk-cap i { flex: none; width: 28px; height: 28px; }
.map3d.walking .walk-cap b { font: 700 var(--t-body)/1.4 var(--sans); }
.map3d.walking .walk-cap small { display: block; font: 400 var(--t-small)/1.5 var(--sans); color: rgba(255,255,255,.8); }
.map3d.walking .walk-bar { position: static; gap: 8px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: none; }
.walk-time { flex: none; font: 500 var(--t-cap)/1 var(--sans); color: var(--ink-2); min-width: 80px; text-align: center; }
.map3d.walking .walk-play { width: 44px; height: 44px; border-radius: 8px; }
@media (max-width: 760px) {
  .map3d.walking { padding: 12px; }
  .map3d.walking .walk-top { grid-template-columns: 1fr; gap: 12px; }
  .map3d.walking .walk-cap small { display: none; }
  .walk-time { display: none; }
  .map3d.walking .walk-bar { flex-wrap: nowrap; }
}
/* hero: the indoor scenes are bright; a soft shade under the title keeps the verse readable on any frame */
.hm-hero .hm-film::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: var(--z-flat);
  background: linear-gradient(0deg, rgba(11,36,71,.78) 0%, rgba(11,36,71,.35) 38%, rgba(11,36,71,0) 62%),
              linear-gradient(90deg, rgba(11,36,71,.45) 0%, rgba(11,36,71,0) 55%); }
.hm-hero .film-ui, .hm-hero .hm-id { z-index: var(--z-raised); }
/* calmer links: words instead of arrow circles. One underline, the colour of the section; the arrow only appears on hover */
.text-link { display: inline-flex; align-items: center; min-height: 44px; font: 700 var(--t-small)/1 var(--sans); color: var(--night);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgba(11,36,71,.35); }
.text-link::after { content: "→"; margin-left: 4px; opacity: 0; transform: translateX(-4px); transition: opacity var(--spring-quick-dur) var(--spring-quick), transform var(--spring-quick-dur) var(--spring-quick); }
.text-link:hover::after, .text-link:focus-visible::after { opacity: 1; transform: none; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.text-link.light { color: #fff; text-decoration-color: rgba(255,255,255,.5); }
.hm-times .text-link { position: absolute; right: var(--margin); top: 50%; transform: translateY(-50%); }
@media (max-width: 1439px) { .hm-times .text-link { position: static; transform: none; justify-self: start; grid-column: 1 / -1; } }
.dawn-in .text-link { grid-column: 1 / span 9; justify-self: start; }
.qtc:hover .qtc-t, .qtc:focus-visible .qtc-t { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.qt-nav span { font: 400 26px/1 var(--sans); margin-top: -3px; } /* scale-exception: optical or section offset -3px */
/* ---------- album v2: search, year, category, photo/list ---------- */
.al-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: var(--s2); }
.al-search { flex: 1 1 280px; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.al-search:focus-within { box-shadow: inset 0 0 0 2px var(--blue); }
.al-search input:focus { outline: none; box-shadow: 0 2px 0 var(--blue); }   /* the box rings (focus-within); the field underlines */
.al-search .ic { color: var(--ink-2); flex: none; }
.al-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; font: 400 var(--t-body)/1 var(--sans); color: var(--ink); }
.al-yearsel select { min-height: 48px; padding: 0 32px 0 16px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); font: 600 var(--t-small)/1 var(--sans); color: var(--ink); cursor: pointer; }
.al-yearsel select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.album-bar { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.album-bar button { white-space: nowrap; }
.al-count { margin: var(--s1) 0 var(--s3); font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-2); }
.al-year[hidden], .al-ev[hidden] { display: none; }
.al-y { margin: var(--s5) 0 var(--s3); padding: 0 0 var(--s1); font: 400 var(--t-h2)/1.2 var(--sans); color: var(--blue); border-bottom: 1px solid var(--rule); }
.al-ev { margin-bottom: var(--s4); }
.al-evh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: var(--s2); }
.al-evh h4 { font: 700 var(--t-lead)/1.4 var(--sans); }
.al-evh p { font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-2); }
.al-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.al-grid .ph { margin: 0; }
.al-grid .ph-open { aspect-ratio: 4 / 3; border-radius: 8px; }
.al-grid .ph-open img { height: 100%; object-fit: cover; }
/* list view: one line per event with a strip of up to four thumbnails */
@media (max-width: 760px) {
  .al-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .al-yearsel { flex: 1 1 auto; } .al-yearsel select { width: 100%; }
}
.al-year.is-folded .al-yb { display: none; }
.al-open { display: inline-flex; align-items: center; min-height: 48px; margin-bottom: var(--s2); padding: 0 16px; border: 0; border-radius: 12px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); font: 600 var(--t-small)/1 var(--sans); cursor: pointer; transition: box-shadow var(--spring-quick-dur) var(--spring-quick), background-color var(--spring-quick-dur) var(--spring-quick); }
.al-open:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.al-open:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.al-open[aria-expanded="true"] { background: transparent; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink-2); }   /* an open year keeps a way to fold it */
.al-evh h3 { font: 700 var(--t-lead)/1.4 var(--sans); }
.al-ev:not(.is-all) .ph.is-more { display: none; }
.al-grid .ph { position: relative; }
.al-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: rgba(11,36,71,.62); color: #fff;
  font: 400 var(--t-h3)/1 var(--sans); letter-spacing: -.01em; cursor: pointer; transition: background-color var(--spring-snappy-dur) var(--spring-snappy); }
.al-more:hover { background: rgba(11,36,71,.78); }
.al-ev.is-all .al-more { display: none; } .al-more:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ================= footer, redone: calm night, twelve springs, every link answers the pointer ================= */
.ft { position: relative; background: var(--night); color: #fff; padding: 0; overflow: hidden; }
.ft > img { display: none; }
.ft-springs { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: 0 var(--margin); height: 4px; }
.ft-springs i { display: block; height: 100%; border-radius: 0 0 8px 8px; background: rgba(255,255,255,.12); transform-origin: top; transition: background-color var(--spring-smooth-dur) var(--spring-smooth), transform var(--spring-smooth-dur) var(--spring-smooth); }
.ft-springs i:nth-child(1) { background: var(--orange); }
.ft:hover .ft-springs i { background: rgba(239,131,6,.55); }
.ft:hover .ft-springs i:nth-child(1) { background: var(--orange); }
.ft-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: var(--s5); padding: var(--s6) var(--margin) var(--s5); }
.ft-brand { grid-column: 1 / span 5; }
.ft-brand .lockup { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #fff; text-decoration: none; }
.ft-brand .lockup b { font: 700 var(--t-body)/1 var(--sans); }
.ft-motto { margin-top: var(--s4); font: 400 var(--t-h3)/1.45 var(--sans); letter-spacing: -.01em; color: #fff; }
.ft-ref { margin-top: var(--s1); font: 400 var(--t-small)/1.5 var(--sans); color: #C9D2DE; }
.ft-cols { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
.ft-cols > div { display: flex; flex-direction: column; align-items: flex-start; }
.ft .fh { margin-bottom: var(--s1); font: 700 var(--t-small)/1.5 var(--sans); color: #C9D2DE; letter-spacing: .02em; }
.ft-cols p:not(.fh) { font: 400 var(--t-small)/1.7 var(--sans); color: #fff; }
/* links: a hairline grows from the left, the text warms; the icon leans in */
.ft-link { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none;
  color: #fff; font: 400 var(--t-small)/1.4 var(--sans); text-decoration: none; cursor: pointer; transition: color var(--spring-quick-dur) var(--spring-quick); }
.ft-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--spring-smooth-dur) var(--spring-smooth); }
.ft-link .ic { width: 18px; height: 18px; color: #C9D2DE; transition: color var(--spring-quick-dur) var(--spring-quick), transform var(--spring-quick-dur) var(--spring-quick); }
.ft-link:hover, .ft-link:focus-visible { color: #FFC27A; }
.ft-link:hover::after, .ft-link:focus-visible::after { transform: scaleX(1); }
.ft-link:hover .ic, .ft-link:focus-visible .ic { color: var(--orange); transform: translateX(2px); }
.ft-link:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 2px; } /* scale-exception: focus ring corner */
.ft-link:active { transform: translateY(1px); }
.ft .a2hs { margin-top: var(--s1); }
.ft .a2hs .ic { color: var(--orange); }
.ft .a2hs-hint { max-width: 16em; font: 400 var(--t-small)/1.6 var(--sans); color: #fff; }
.ft-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin: 0 var(--margin); padding: var(--s3) 0 var(--s4); border-top: 1px solid rgba(255,255,255,.14); }
.ft-base p, .ft-copy { font: 400 var(--t-small)/1.6 var(--sans); color: #C9D2DE; }
.ft-legal { display: flex; gap: 24px; }
.ft-legal .ft-link { color: #C9D2DE; min-height: 44px; }
.ft-legal .ft-link:hover, .ft-legal .ft-link:focus-visible { color: #fff; }
@media (prefers-reduced-motion: reduce) { .ft-link::after, .ft-link .ic, .ft-springs i { transition: none; } }
@media (max-width: 900px) {
  .ft-brand, .ft-cols { grid-column: 1 / -1; }
  .ft-cols { grid-template-columns: 1fr 1fr; row-gap: var(--s4); }
  .ft-cols > div:last-child { grid-column: 1 / -1; }
  .ft-springs { gap: 8px; }
}
@media (max-width: 760px) { .ft-in { padding-top: var(--s5); } .ft-motto { font-size: var(--t-lead); } .ft-base { flex-direction: column; } }
@media (max-width: 760px) {
  .ft-cols > div:last-child { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; align-items: start; }
  .ft-cols > div:last-child .fh, .ft-cols > div:last-child .a2hs, .ft-cols > div:last-child .a2hs-hint { grid-column: 1 / -1; }
}

/* ================= 산상기도: a strip of 35mm film =================
   Warm black base, sprocket holes top and bottom (light coming through), thin frame lines, Kodak-style edge printing:
   the frame number on the top rail, the week and date on the bottom rail in safelight orange. */
.dawnstrip { --film: #16120E; --hole: rgba(247,246,242,.88); counter-reset: fr;
  position: relative; gap: 0 !important; grid-auto-columns: clamp(280px, 30vw, 440px) !important; padding: 32px 16px 48px !important; scroll-padding-inline: 16px; background: var(--film) !important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='14'%3E%3Crect x='6' y='3' width='10' height='8' rx='2' fill='%23F7F6F2' fill-opacity='.88'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='14'%3E%3Crect x='6' y='3' width='10' height='8' rx='2' fill='%23F7F6F2' fill-opacity='.88'/%3E%3C/svg%3E") !important;
  background-repeat: repeat-x, repeat-x !important; background-position: 0 4px, 0 calc(100% - 4px) !important; background-attachment: local, local !important; }
.dawnstrip .frame { counter-increment: fr; position: relative; padding: 0 4px; border-right: 2px solid #0B0907; }
.dawnstrip .frame:last-child { border-right: 0; }
.dawnstrip .frame::before { content: counter(fr) "  ▸  " counter(fr) "A"; position: absolute; top: -17px; left: 10px; white-space: pre;
  font: 600 10px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .14em; color: #E8A15A; opacity: .85; pointer-events: none; }
.dawnstrip .frame figure { margin: 0; }
.dawnstrip .frame img { display: block; border-radius: 4px; filter: saturate(.92) contrast(1.02); transition: filter var(--spring-smooth-dur) var(--spring-smooth), transform var(--spring-smooth-dur) var(--spring-smooth), opacity var(--spring-smooth-dur) var(--spring-smooth); } /* scale-exception: film frame corner (owner 2026-11-23: rectangles, not ovals) */
.dawnstrip .frame figcaption { position: absolute; left: 10px; right: 10px; bottom: -22px; margin: 0 !important; padding: 0 !important; display: flex; gap: 12px; align-items: baseline;
  font: 600 10px/1 ui-monospace, "SF Mono", Menlo, monospace !important; letter-spacing: .14em; color: #E8A15A !important; text-transform: uppercase; }
.dawnstrip .frame figcaption b.num { font: inherit !important; color: #FFC27A !important; letter-spacing: inherit; }
.dawnstrip .frame figcaption span.num { color: #E8A15A !important; }
.dawnstrip .frame figcaption::after { content: "ELIM · BUTLER"; margin-left: auto; opacity: .7; }
.dawnstrip .frame.latest figcaption b.num::after { width: 6px !important; height: 6px !important; margin-left: 4px; vertical-align: 1px; }
/* the frame you look at comes up to the light; the rest of the roll rests */
@media (hover: hover) {
  .dawnstrip:hover .frame img { opacity: .62; filter: saturate(.7) contrast(1); }
  .dawnstrip .frame:hover img { opacity: 1; filter: saturate(1.05) contrast(1.04); transform: translateY(-3px) scale(1.012); }
}
.dawnstrip:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .dawnstrip .frame img { transition: none; transform: none !important; } }
@media (max-width: 760px) { .dawnstrip { grid-auto-columns: 78% !important; } .dawnstrip .frame figcaption::after { content: none; } }
.al-year.is-loading .al-grid:empty { min-height: 120px; background: repeating-linear-gradient(90deg, #EEEDE7 0 24%, transparent 24% 25.3%); border-radius: 8px; animation: al-pulse 1.2s ease-in-out infinite; }
@keyframes al-pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .al-year.is-loading .al-grid:empty { animation: none; } }

/* times band: the six columns step in a little so the 예배 안내 link has room to breathe */
@media (min-width: 1440px) { .hm-times dl { margin-right: 128px; } .hm-times .text-link { right: calc(var(--margin) + 8px); } } /* scale-exception: optical or section offset 128px */

/* the strip caption keeps a readable measure on wide screens */
.hm-dawn .dawn-meta { max-width: 36em; }
/* while walking, the stage takes the full width; the written steps wait below it */
#route .route:has(.walking) > #map3d { grid-column: 1 / -1; }
#route .route:has(.walking) > ol, #route .route:has(.walking) > .route-video { grid-column: 1 / -1; }
.map3d.walking .walk-close { flex: none; white-space: nowrap; }
/* album: further pages of a large event arrive 48 at a time; the row button spans the grid */
.al-grid .al-next { grid-column: 1 / -1; justify-self: center; min-height: 44px; padding: 0 24px; border: 1px solid var(--rule); border-radius: 100vmax; background: transparent; color: var(--ink); font: 600 var(--t-small)/1 var(--sans); cursor: pointer; transition: background-color var(--spring-quick-dur) var(--spring-quick), border-color var(--spring-quick-dur) var(--spring-quick); }
.al-grid .al-next:hover, .al-grid .al-next:focus-visible { background: var(--paper-2, #F1EDE6); border-color: var(--ink-3); }
.al-grid .al-next:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.al-ev.is-loading .al-grid { opacity: .6; transition: opacity var(--spring-quick-dur) var(--spring-quick); }
/* the newest year opens with its latest events; the rest wait behind one button */
.al-year.is-partial .al-ev.is-later { display: none; }
.al-rest { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 56px; margin-top: var(--s3); border: 1px solid var(--rule); border-radius: 12px; background: transparent; color: var(--ink); font: 600 var(--t-body)/1 var(--sans); cursor: pointer; transition: background-color var(--spring-quick-dur) var(--spring-quick), border-color var(--spring-quick-dur) var(--spring-quick); }
.al-rest:hover, .al-rest:focus-visible { background: #F1EDE6; border-color: var(--ink-3); }
.al-rest:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
/* ---------- walk, v4: minimal player chrome. The controls float over the stage like a video player's:
   a soft scrim, a thin progress line, white icons. On phones one stage: the film fills it and the 3D eye view
   sits small in the corner (tap to swap). ---------- */
.map3d.walking .walk-controls { grid-template-areas: "stage" "cap"; }
.map3d.walking .walk-top { grid-area: stage; position: relative; }
.map3d.walking .walk-bar { grid-area: stage; align-self: end; position: relative; z-index: var(--z-float); display: flex; align-items: center; gap: 8px;
  padding: 24px 8px 4px; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, rgba(5,15,31,0), rgba(5,15,31,.72)); box-shadow: none; pointer-events: none; }
.map3d.walking .walk-bar > * { pointer-events: auto; }
.map3d.walking .walk-cap { grid-area: cap; }
.map3d.walking .walk-play { width: 44px; height: 44px; border-radius: 50%; background: transparent; }
.map3d.walking .walk-play:hover, .map3d.walking .walk-play:focus-visible { background: rgba(255,255,255,.14); }
.map3d.walking .walk-bar input[type=range] { height: 44px; accent-color: var(--orange); }
.map3d.walking .walk-time { color: rgba(255,255,255,.86); }
.map3d.walking .walk-close { min-height: 44px; padding: 0 12px; border-radius: 100vmax; background: transparent; color: #fff; font: 600 var(--t-small)/1 var(--sans); }
.map3d.walking .walk-close:hover, .map3d.walking .walk-close:focus-visible { background: rgba(255,255,255,.14); }
.map3d.walking .walk-tag { display: none; }
.map3d.walking .walk-pane { gap: 0; }
@media (max-width: 760px) {
  .map3d.walking { padding: 0; background: #050F1F; }
  .map3d.walking .walk-controls { gap: 0; }
  .map3d.walking .walk-top { display: block; }
  .map3d.walking .walk-film, .walk-eye { border-radius: 0; }
  .map3d.walking .walk-bar { border-radius: 0; }
  /* the small picture: bottom-right, above the controls; tap it to swap the two views */
  .map3d.walking .walk-pane + .walk-pane { position: absolute; right: 8px; top: 8px; width: 38%; z-index: var(--z-overlay); cursor: pointer; }
  .map3d.walking .walk-pane + .walk-pane > * { border-radius: 8px; box-shadow: 0 0 0 1.5px rgba(255,255,255,.9), 0 6px 18px rgba(0,0,0,.35); }
  .map3d.walking.walk-swap .walk-top { display: flex; flex-direction: column-reverse; }
  .map3d.walking.walk-swap .walk-pane:first-child { position: absolute; right: 8px; top: 8px; width: 38%; z-index: var(--z-overlay); }
  .map3d.walking.walk-swap .walk-pane:first-child > * { border-radius: 8px; box-shadow: 0 0 0 1.5px rgba(255,255,255,.9), 0 6px 18px rgba(0,0,0,.35); }
  .map3d.walking.walk-swap .walk-pane + .walk-pane { position: static; width: 100%; }
  .map3d.walking.walk-swap .walk-pane + .walk-pane > * { border-radius: 0; box-shadow: none; }
  .map3d.walking .walk-cap { padding: 12px 16px 16px; min-height: 0; }
  .map3d.walking .walk-cap b { font-size: var(--t-small); }
  .map3d.walking .walk-close { padding: 0 8px; }
}
@media (max-width: 760px) { .map3d.walking.walk-swap .walk-pane:first-child iframe { pointer-events: none; } }
/* the copyright reads as one line on wide screens; the two halves are separated by a middle dot */
.ft-copy { display: flex; flex-wrap: wrap; column-gap: 0; }
.ft-copy span + span::before { content: "·"; margin: 0 4px; }
@media (min-width: 761px) { .ft-copy { flex-wrap: nowrap; white-space: nowrap; } }
@media (max-width: 760px) { .ft-copy span + span::before { content: none; } .ft-copy { flex-direction: column; } }
/* the greeting picture is a pen sketch of the east side: keep the towers and the ridge, let the paper sky breathe */
.greet-sketch { object-fit: cover; object-position: 50% 78%; background: #F7F6F2; }
/* ---------- 교회 소개: the church's own statement as an editorial page ----------
   date on the left like a cornerstone; four claims as large lines; the four ways we grow as one row of words that
   light in turn; values and mission side by side; the bodies we belong to as a quiet list. */
.intro .in-story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: var(--s5); }
.in-date { grid-column: 1 / span 3; display: grid; gap: 8px; align-content: start; }
.in-date .num { white-space: nowrap; font: 300 36px/1 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.in-date span:last-child { font: 600 var(--t-small)/1 var(--sans); color: var(--orange-ink, #B35C00); letter-spacing: .04em; }
.in-text { grid-column: 5 / span 8; display: grid; gap: var(--s2); }
.in-text p { font: 400 var(--t-body)/1.85 var(--sans); color: var(--ink-2); max-width: 36em; }
.in-k { font: 600 var(--t-small)/1.4 var(--sans); letter-spacing: .04em; color: var(--ink-3); margin: 0 0 var(--s2); }
.in-is { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--ink); }
.in-four { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.in-four li { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding: var(--s2) 0; border-bottom: 1px solid var(--rule);
  font: 500 26px/1.45 var(--sans); letter-spacing: -.01em; color: var(--ink); word-break: keep-all; }
.in-four .num { font: 500 var(--t-small)/1 var(--sans); color: var(--orange-ink, #B35C00); }
.in-grow { margin-top: var(--s6); }
.in-words { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.in-words li { display: grid; gap: 8px; padding: var(--s3) var(--s2); border-radius: 12px; background: var(--night); color: #fff; }
.in-words b { font: 700 36px/1.1 var(--sans); letter-spacing: -.02em; }
.in-words span { font: 400 var(--t-small)/1.4 var(--sans); color: rgba(255,255,255,.78); }
.in-words li:nth-child(4) { background: var(--orange); color: var(--night); }
.in-words li:nth-child(4) span { color: var(--night); }
.in-two { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: var(--s6); }
.in-values { grid-column: 1 / span 7; }
.in-values ol { margin: 0; padding: 0; list-style: none; counter-reset: v; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 24px; }
.in-values li { counter-increment: v; display: grid; grid-template-columns: 32px 1fr; padding: 12px 0; border-top: 1px solid var(--rule); font: 400 var(--t-body)/1.6 var(--sans); color: var(--ink); word-break: keep-all; }
.in-values li::before { content: counter(v, decimal-leading-zero); font: 500 var(--t-cap)/1.9 var(--sans); color: var(--ink-3); }
.in-mission { grid-column: 9 / span 4; }
.in-mission dl { margin: 0; display: grid; gap: var(--s2); }
.in-mission div { padding: var(--s2) var(--s2) var(--s2); border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.in-mission dt { font: 700 var(--t-body)/1.4 var(--sans); color: var(--night); margin-bottom: 8px; }
.in-mission dd { margin: 0; font: 400 var(--t-small)/1.7 var(--sans); color: var(--ink-2); word-break: keep-all; }
.in-bonds { margin-top: var(--s6); padding-bottom: var(--s2); }
.in-bonds dl { margin: 0; }
.in-bonds div { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: var(--s2) 0; border-top: 1px solid var(--rule); }
.in-bonds dt { grid-column: 1 / span 3; font: 600 var(--t-body)/1.5 var(--sans); color: var(--ink); }
.in-bonds dd { grid-column: 5 / span 8; max-width: 36em; margin: 0; font: 400 var(--t-small)/1.75 var(--sans); color: var(--ink-2); word-break: keep-all; }
/* the four words light in turn as the row comes into view */
@media (prefers-reduced-motion: no-preference) {
  .in-grow.reveal .in-words li { opacity: 0; transform: translateY(12px); transition: opacity var(--spring-smooth-dur) var(--spring-smooth), transform var(--spring-smooth-dur) var(--spring-smooth); }
  .in-grow.reveal.in .in-words li { opacity: 1; transform: none; }
  .in-grow.reveal.in .in-words li:nth-child(2) { transition-delay: .12s; }
  .in-grow.reveal.in .in-words li:nth-child(3) { transition-delay: .24s; }
  .in-grow.reveal.in .in-words li:nth-child(4) { transition-delay: .36s; }
}
@media (max-width: 900px) {
  .in-date, .in-text, .in-values, .in-mission, .in-bonds dt, .in-bonds dd { grid-column: 1 / -1; }
  .in-text { margin-top: var(--s3); }
  .in-mission { margin-top: var(--s5); }
  .in-bonds dd { margin-top: 8px; }
  .in-words { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .in-values ol { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .in-four li { grid-template-columns: 40px 1fr; }
}

/* fold again: at the end of an open year, and beside "더 보기" inside a large event */
.al-close { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 48px; margin: var(--s3) 0 0; border: 0; border-radius: 12px; background: transparent; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink-2); font: 600 var(--t-small)/1 var(--sans); cursor: pointer; transition: box-shadow var(--spring-quick-dur) var(--spring-quick), color var(--spring-quick-dur) var(--spring-quick); }
.al-close:hover, .al-close:focus-visible { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.al-close:focus-visible, .al-less:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.al-grid .al-less { grid-column: 1 / -1; justify-self: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: 100vmax; background: transparent; color: var(--ink-2); font: 600 var(--t-small)/1 var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.al-grid .al-next + .al-less { margin-top: -8px; } /* scale-exception: optical or section offset -8px */
/* years: the year line itself is the dropdown (owner, 2026-11-22). One control, no fold buttons. */
.al-yearbar { position: relative; margin: var(--s5) 0 var(--s3); }
.al-yearbar .yb-btn { display: flex; width: 100%; align-items: flex-end; justify-content: space-between; padding: 0 0 var(--s1); border: 0; border-bottom: 1px solid var(--rule); background: none; cursor: pointer; text-align: left; }
.al-yearbar .yb-y { font: 400 var(--t-h2)/1.2 var(--sans); color: var(--blue); }
.al-yearbar .yb-chev { width: 28px; height: 28px; margin-bottom: 4px; fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--spring-snappy-dur) var(--spring-snappy); }
.al-yearbar .yb-btn:hover .yb-chev { stroke: var(--ink); transform: translateY(2px); }
.al-yearbar .yb-btn[aria-expanded="true"] .yb-chev { transform: rotate(180deg); }
.al-yearbar .yb-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 8px; }
/* the panel: paper card, years as a calm grid of numbers; the chosen year underlined in orange */
.yb-list { position: absolute; z-index: var(--z-header); top: calc(100% + 8px); right: 0; left: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 4px;
  margin: 0; padding: var(--s2); list-style: none; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--rule), 0 24px 48px -16px rgba(11,36,71,.28); }
.yb-list[hidden] { display: none; }
.yb-list li { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 8px; cursor: pointer; transition: background-color var(--spring-quick-dur) var(--spring-quick); }
.yb-list li .num { position: relative; font: 400 var(--t-lead)/1 var(--sans); color: var(--night); }
.yb-list li:hover, .yb-list li:focus-visible { background: #F1EDE6; }
.yb-list li:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--orange); }
.yb-list li[aria-selected="true"] .num { font-weight: 700; }
.yb-list li[aria-selected="true"] .num::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 100vmax; background: var(--orange); }
.yb-list li[data-v="all"] .num { font-size: var(--t-small); font-weight: 600; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { .yb-list:not([hidden]) { animation: yb-in .18s ease-out; } @keyframes yb-in { from { opacity: 0; transform: translateY(-4px); } } }
@media (max-width: 560px) { .yb-list { grid-template-columns: repeat(3, 1fr); } }
.al-open, .al-close, .al-yearsel { display: none; }
/* with one year shown, the year line says the year; its heading stays for screen readers and the outline */
.album.one-year .al-year.is-first .al-y { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; padding: 0; border: 0; }
@media (max-width: 760px) { .in-four li { font-size: 20px; } .in-words b { font-size: 26px; } .in-date .num { font-size: 26px; } }
/* the pastor signs the greeting: his own hand, from the church site */
.greet-sign { display: flex; align-items: center; gap: 16px; margin-top: var(--s4); font: 400 var(--t-small)/1 var(--sans); color: var(--ink-2); }
.greet-sign img { width: 202px; height: auto; mix-blend-mode: multiply; }
/* the greeting sketch: black ink on the page's paper, at its own wide proportion, never a tall empty frame */
.greet-photos:has(.greet-sketch) { align-self: start; padding: 0; }
.greet-main.greet-sketch { aspect-ratio: auto; height: auto; object-fit: contain; border-radius: 0; box-shadow: none; background: transparent; mix-blend-mode: multiply; filter: contrast(1.05); }
@media (max-width: 760px) { .week7 .pg.sun li { font-size: 16px; } }
/* this week's sermon is text: the title carries the card, no stock photo (owner, 2026-11-22) */
.hm-word .cover.big { background: var(--night); background-image: radial-gradient(120% 90% at 85% 15%, rgba(239,131,6,.18), transparent 55%); }
.hm-word .cover.big::before, .hm-word .cover.big::after { background: none !important; }
section.hm-word .hm-word-grid .cover.big .c-t { font-size: 56px; line-height: 1.2; letter-spacing: -.02em; }
.hm-word .cover.big .c-k { color: #F2C9A0; }
@media (max-width: 760px) { section.hm-word .hm-word-grid .cover.big .c-t { font-size: 36px; } }
/* the sketch column runs the full height of the greeting; the skyline and ferry sit at the bottom, level with the signature */
.greet-photos:has(.greet-sketch) { align-self: stretch; display: flex; }
.greet-main.greet-sketch { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 20% 100%; }
@media (max-width: 900px) { .greet-main.greet-sketch { height: auto; min-height: 0; aspect-ratio: 4 / 3; } }
/* greeting: the skyline rises from under the signature to the top right; the words sit on the paper above it */
.greet .greet-grid { position: relative; }
.greet .greet-body { position: relative; z-index: var(--z-raised); }
.greet-art { position: absolute; z-index: var(--z-flat); right: 0; bottom: 0; width: calc(50% - 24px); height: 100%; object-fit: contain; object-position: right bottom; mix-blend-mode: multiply; pointer-events: none; }
@media (max-width: 900px) { .greet-art { position: static; display: block; width: calc(100% + var(--margin)); margin: var(--s4) calc(-1 * var(--margin)) 0 0; } }
/* the footer reads as its own place: a deeper night and a hairline, so a navy section above never merges into it */
.footer.ft { background: #06152B; box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
/* the icon sprite is defined once per page and never shown */
svg.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* the cover says where: a small 홍콩 above the name */
.hm-name .hm-city { display: block; margin-bottom: 12px; font: 600 var(--t-lead, 20px)/1 var(--sans); letter-spacing: .32em; color: rgba(255,255,255,.86); }
@media (max-width: 760px) { .hm-name .hm-city { font-size: 17px; margin-bottom: 8px; } }
.album .al-count { display: none; }   /* how many photos a year holds is not what people come for (owner, 2026-11-22) */
/* footer: the three channels as one row of icons; everyone knows them */
.ft-social { display: flex; gap: 8px; margin: 0 0 4px -10px; } /* scale-exception: optical or section offset -10px */
.ft-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; transition: background-color var(--spring-quick-dur) var(--spring-quick), color var(--spring-quick-dur) var(--spring-quick); }
.ft-icon .ic { width: 22px; height: 22px; }
.ft-icon:hover, .ft-icon:focus-visible { background: rgba(255,255,255,.1); color: var(--orange); }
.ft-icon:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
/* ---------- 섬기는 분들: the senior pastor first, then the team as a row of portraits ---------- */
.st-lead { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s4); align-items: end; margin-top: var(--s5); padding-bottom: var(--s5); border-bottom: 1px solid var(--rule); }
.st-lead img, .st-grid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: 12px; background: #EEEDE7; }
.st-role { font: 600 var(--t-small)/1.4 var(--sans); letter-spacing: .04em; color: var(--orange-ink); margin: 0 0 8px; }
.st-lead h3 { font: 700 var(--t-h1)/1.15 var(--sans); letter-spacing: -.02em; margin: 0; color: var(--ink); }
.st-lead h3 span, .st-grid h3 span { font-weight: 400; color: var(--ink-2); font-size: .6em; margin-left: 4px; }
.st-motto { margin: var(--s2) 0 var(--s3); font: 500 var(--t-lead)/1.5 var(--sans); color: var(--night); }
.st-facts { margin: 0; display: grid; gap: 0; }
.st-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); }
.st-facts dt { font: 600 var(--t-small)/1.6 var(--sans); color: var(--ink-3); }
.st-facts dd { margin: 0; font: 400 var(--t-body)/1.6 var(--sans); color: var(--ink); }
.st-grid { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.st-grid li { display: grid; gap: 4px; align-content: start; }
.st-grid img { margin-bottom: 12px; }
.st-grid h3 { font: 700 var(--t-lead)/1.3 var(--sans); margin: 0; color: var(--ink); }
.st-work { margin: 4px 0 0; font: 400 var(--t-small)/1.6 var(--sans); color: var(--ink-2); word-break: keep-all; }
@media (max-width: 1100px) { .st-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .st-lead { grid-template-columns: 1fr; }
  .st-lead img { max-width: 280px; }
  .st-facts div { grid-template-columns: 1fr; gap: 4px; }
  .st-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
/* ---------- sub-pages of 교회 소개: one quiet strip of tabs under the page title ---------- */
.subnav { display: flex; gap: 4px; flex-wrap: wrap; margin: var(--s3) 0 0; padding: 4px; border-radius: 12px; background: #EEEDE7; width: max-content; max-width: 100%; }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 8px; color: var(--ink-2); font: 600 var(--t-small)/1 var(--sans); text-decoration: none; transition: background-color var(--spring-quick-dur) var(--spring-quick), color var(--spring-quick-dur) var(--spring-quick); }
.subnav a:hover { color: var(--ink); background: rgba(255,255,255,.6); }
.subnav a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,36,71,.14); }
.subnav a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (max-width: 560px) { .subnav { width: auto; overflow-x: auto; flex-wrap: nowrap; } .subnav a { padding: 0 12px; white-space: nowrap; } }
.nf-links { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: var(--s4) 0 var(--s6); font: 600 var(--t-body)/1.5 var(--sans); }
/* footer, compact (owner, 2026-11-22): less air above and below, a smaller motto under the logo, and every column
   starting on the same top line; links keep their 44 px touch height but their text sits at the top of it */
.ft-in { row-gap: var(--s4); padding: var(--s5) var(--margin) var(--s4); align-items: start; }
.ft-motto { margin-top: var(--s2); font-size: var(--t-lead); line-height: 1.5; }
.ft-cols { align-items: start; }
.ft-cols > div > * + * { margin-top: 0; }
.ft-cols .ft-link { align-items: flex-start; padding-top: 4px; line-height: 1.7; }
.ft-cols p:not(.fh) { margin: 0 0 4px; }
.ft-base { padding: var(--s2) 0 var(--s3); }
@media (max-width: 760px) { .ft-in { padding-top: var(--s4); row-gap: var(--s3); } }
/* 교회 소개: the words stay whole; a highlighter stroke draws across the key phrases as each block is read */
.intro mark.hl { background: linear-gradient(transparent 58%, rgba(239,131,6,.28) 58%, rgba(239,131,6,.28) 92%, transparent 92%) no-repeat 0 0 / 100% 100%; color: inherit; padding: 0 4px; }
@media (prefers-reduced-motion: no-preference) {
  html.js .intro .reveal mark.hl { background-size: 0% 100%; transition: background-size .9s cubic-bezier(.2,.7,.2,1) .25s; }
  html.js .intro .reveal.in mark.hl { background-size: 100% 100%; }
}
.in-values b { font-weight: 700; color: var(--night); }
/* ---------- 교회 소식: a dated list in the site's rhythm ---------- */
.news-list { list-style: none; margin: var(--s4) 0 0; padding: 0; border-top: 1px solid var(--ink); }
.news-list li { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: baseline; border-bottom: 1px solid var(--rule); }
.news-list time { padding: var(--s2) 0; font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-3); }
.news-list a { display: block; padding: var(--s2) 0; font: 500 var(--t-body)/1.5 var(--sans); color: var(--ink); text-decoration: none; transition: color var(--spring-quick-dur) var(--spring-quick); }
.news-list a:hover, .news-list a:focus-visible { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.news-more { margin: var(--s3) 0 var(--s5); }
@media (max-width: 560px) { .news-list li { grid-template-columns: 1fr; gap: 0; } .news-list time { padding-bottom: 0; } .news-list a { padding-top: 4px; } }
.al-yearbar .yb-btn { min-height: 48px; }
/* 섬기는 분들, compact (owner, 2026-11-22): the senior pastor in one wide row, the team as small cards that pack densely */
.st-lead { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: center; margin-top: var(--s4); padding-bottom: var(--s4); }
.st-lead img { max-width: 200px; }
.st-lead h3 { font-size: var(--t-h2); }
.st-motto { margin: 8px 0 var(--s2); }
.st-facts div { grid-template-columns: 96px 1fr; padding: 8px 0; }
.st-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px 24px; margin-top: var(--s4); }
.st-grid li { grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: center; padding: 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.st-grid li img { grid-row: 1 / span 3; width: 88px; aspect-ratio: 1; margin: 0; border-radius: 8px; object-position: 50% 15%; }
.st-grid li .st-role { margin: 0; font-size: var(--t-cap, 13px); }
.st-grid h3 { font-size: var(--t-body); }
.st-grid .st-work { margin: 0; font-size: var(--t-cap, 13px); line-height: 1.5; }
@media (max-width: 760px) {
  .st-lead { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; }
  .st-lead img { max-width: 120px; }
  .st-lead .st-facts { grid-column: 1 / -1; }
  .st-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .st-grid li .st-role, .st-grid .st-work { font-size: 16px; } }
/* the team: five equal cards on a three-column grid */
@media (min-width: 761px) {
  .st-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .st-grid li { grid-column: span 2; }
}
@media (min-width: 761px) and (max-width: 1180px) { .ft-brand, .ft-cols { grid-column: 1 / -1; } .ft-brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; } .ft-motto { margin-top: 0; } }
.jubo-news { margin: 0 0 var(--s3); font: 600 var(--t-small)/1.5 var(--sans); }
/* greeting art: a tall one-line drawing of Hong Kong standing in the right half, the height of the text */
.greet-art { object-position: center bottom; }
@media (max-width: 900px) { .greet-art { grid-column: 1 / -1; justify-self: center; width: min(100%, 312px); height: auto; margin: var(--s4) 0 0; } }
/* greeting art v4 (owner, 2026-11-22): the skyline stands on the right at the text's height, and the harbour's water
   lines run left to end near the signature; nothing below the text, so no extra scroll */
@media (min-width: 901px) {
  /* 20% larger than the text block: it rises into the open space beside the heading, never below the text */
  .greet-art { position: absolute; right: 0; bottom: 0; top: auto; height: 120%; width: auto; max-width: 82%; object-fit: contain; object-position: right bottom; }
}
@media (max-width: 900px) { .greet-art { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; object-position: 100% 100%; } }
/* 주보 notices: a quiet two-column list; the page images show only once the week's scans exist */
.jubo-list { list-style: none; margin: 0 0 var(--s3); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.jubo-list li { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); font: 400 var(--t-body)/1.6 var(--sans); color: var(--ink-2); word-break: keep-all; }
.jubo-list b { font-weight: 700; color: var(--ink); }
.jubo-spread:not(:has(.jubo-page:not(.is-empty))) { display: none; }
@media (max-width: 900px) { .jubo-list { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .jubo-list li { grid-template-columns: 1fr; gap: 4px; } }
@media (min-width: 901px) and (max-width: 1199px) { .greet-art { height: 110%; } }
/* 지난 설교: service and preacher on one line (the list now comes from the channel, names included) */
@media (min-width: 901px) { .archive .svc { grid-column: 9 / span 3; white-space: nowrap; } .archive .act { grid-column: 12 / span 1; white-space: nowrap; } }

/* ===== route map (owner 2026-11-22): one clean drawn map from the OpenStreetMap model, on 오시는 길 and the home page.
   Quiet outlines for the neighbourhood, Cityplaza in blue, the 본당 in orange, one navy walking line, three stops. ===== */
.routemap { display: block; width: 100%; height: auto; border-radius: 12px; }
.routemap .rm-bg { fill: #F3F1EB; }
.routemap .rm-road { fill: none; stroke: #FFFFFF; stroke-linecap: round; stroke-linejoin: round; }
.routemap .rm-bldg { fill: #E7E3DA; stroke: #D8D3C7; stroke-width: 1; }
.routemap .rm-mall { fill: #DCE5F1; stroke: #9FB4D3; stroke-width: 1.5; }
.routemap .rm-church { fill: #EF8306; stroke: #C96A00; stroke-width: 1.5; }
.routemap .rm-walk-halo { fill: none; stroke: #FFFFFF; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.routemap .rm-walk { fill: none; stroke: var(--night, #0B2447); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.routemap .rm-stop circle { fill: var(--night, #0B2447); stroke: #FFFFFF; stroke-width: 3; }
.routemap .rm-stop.is-main circle { fill: #EF8306; }
.routemap .rm-n { fill: #FFFFFF; font: 700 18px/1 var(--sans); text-anchor: middle; }
.routemap .rm-t, .routemap .rm-s { paint-order: stroke; stroke: #F3F1EB; stroke-width: 6px; stroke-linejoin: round; }
.routemap .rm-t { fill: var(--ink, #0B2447); font: 700 23px/1 var(--sans); }
.routemap .rm-s { fill: var(--ink-2, #6E625D); font: 400 18px/1 var(--sans); }
.routemap .rm-osm { fill: #8A7F79; font: 400 13px/1 var(--sans); }

/* 오시는 길: the drawn map is the overview; the 3D scene appears only for the walk */
.map3d .rm-wrap { position: relative; }
.map3d:not(.walking) > .map3d-canvas { position: absolute !important; inset: 0; visibility: hidden; pointer-events: none; }
.map3d .map3d-fallback { display: none !important; }
.map3d.walking .rm-wrap { display: none; }
.map3d:not(.walking) { background: none; box-shadow: none; }

/* home: the map preview links to 오시는 길 */
.hm-map { display: block; border-radius: 12px; overflow: hidden; transition: box-shadow var(--spring-quick-dur) var(--spring-quick); }
.hm-map:hover { box-shadow: 0 0 0 1px var(--rule), 0 10px 30px rgba(11,36,71,.10); }
.hm-map:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.map3d:not(.walking) { position: relative; }
.map3d:not(.walking) > .walk-ui { aspect-ratio: auto !important; height: 100%; }
/* 사이트 관리: a quiet link at the end of the legal line, for the people who run the site */
.ft-admin { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; opacity: .45; transition: opacity var(--spring-quick-dur) var(--spring-quick); }
.ft-admin svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ft-admin:hover, .ft-admin:focus-visible { opacity: 1; }
.admin-note { margin: 0 0 var(--s3); font: 400 var(--t-body)/1.6 var(--sans); color: var(--ink-2); }

/* ===== the invitation (owner 2026-11-22): a printed invitation card, centred, beside the route map at equal height.
   Paper white, a fine inner frame in a warm orange hairline, the Elim mark, a letter-spaced kicker, one ornament rule. ===== */
@media (min-width: 901px) {
  .hm-three { align-items: stretch !important; }
  .hm-three .inv-card { grid-column: 1 / span 6 !important; }
  .hm-three .col:last-child { grid-column: 7 / span 6 !important; }
}
.hm-three .inv-card { display: flex !important; padding: 12px !important; background: #FFFFFF; border: 0 !important; border-radius: 8px;
  box-shadow: 0 1px 0 rgba(11,36,71,.05), 0 18px 40px rgba(11,36,71,.08); align-self: stretch !important; }
.inv-frame { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  padding: 32px 32px; border: 1px solid rgba(239,131,6,.45); outline: 1px solid rgba(239,131,6,.22); outline-offset: -6px; }
.inv-mark { width: 40px; height: 40px; }
.hm-three .inv-card .inv-k { margin: 0 !important; font: 600 var(--t-cap)/1.4 var(--sans) !important; letter-spacing: .32em !important; color: #9C5200 !important; }
.hm-three .inv-card .inv-h { margin: 0; font: 400 var(--t-h3)/1.45 var(--sans) !important; letter-spacing: -.02em; color: var(--night); }
.inv-rule { display: block; width: 40px; height: 1px; background: rgba(239,131,6,.6); }
.hm-three .inv-card .inv-verse { margin: 0; font: 400 var(--t-small)/1.7 var(--sans) !important; color: var(--ink-2); }
.hm-three .inv-card .inv-verse span { display: block; margin-top: 4px; font-size: var(--t-cap); letter-spacing: .04em; }
.inv-place { margin: 4px 0 0; font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-2); }
.inv-place b { margin-right: 4px; font-weight: 700; color: var(--ink); }
.inv-frame .link { margin-top: 4px; }
@media (max-width: 760px) { .inv-frame { padding: 32px 16px; gap: 12px; } .hm-three .inv-card .inv-verse br { display: none; } }
@media (min-width: 901px) {
  .hm-three .col:last-child { display: flex; flex-direction: column; }
  .hm-three .col:last-child .hm-map { flex: 1 1 auto; min-height: 260px; }
  .hm-three .col:last-child .hm-map .routemap { height: 100%; }
}

/* home: the route as three numbered steps, the same numbers as the map */
.route-steps { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font: 400 var(--t-small)/1.4 var(--sans); color: var(--ink-2); }
.route-steps li { display: inline-flex; align-items: center; gap: 8px; }
.route-steps li + li::before { content: ""; width: 20px; height: 1px; margin: 0 8px; background: var(--rule); }
.route-steps i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--night); color: #fff; font: 700 13px/1 var(--sans); font-style: normal; }
.route-steps .is-main i { background: var(--orange, #EF8306); color: var(--night); }
.route-steps b { font-weight: 700; color: var(--ink); }

.routemap .rm-stop.is-main + .rm-n, .routemap .rm-stop.is-main .rm-n { fill: var(--night, #0B2447); }

/* ===== album year picker v3 (year-picker study 2026-11-22): a small panel under the year line with decade tabs and
   that decade's years; a bottom sheet on phones. Never a long block of every year. ===== */
.yb-pop { position: absolute; z-index: var(--z-popover); top: calc(100% + 8px); left: 0; width: 312px; padding: 8px; border-radius: 12px;
  background: #FFFFFF; box-shadow: 0 0 0 1px var(--rule), 0 16px 40px rgba(11,36,71,.14); }
.yb-pop[hidden] { display: none; }
.yb-dec { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 8px; background: #F1EDE6; }
.yb-dec button { min-height: 40px; border: 0; border-radius: 8px; background: none; color: var(--ink-2); font: 600 var(--t-small)/1 var(--sans); cursor: pointer; }
.yb-dec button[aria-selected="true"] { background: #FFFFFF; color: var(--ink); box-shadow: 0 1px 3px rgba(11,36,71,.14); }
.yb-dec button:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.yb-pop .yb-list { position: static; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 8px 0 0; padding: 0; list-style: none;
  box-shadow: none; background: none; border: 0; animation: none; }
.yb-pop .yb-list li { min-height: 44px; border-radius: 8px; }
.yb-pop .yb-list li[hidden] { display: none; }
.yb-pop .yb-list li .num { font: 400 var(--t-body)/1 var(--sans); color: var(--night); }
.yb-pop .yb-list li[aria-selected="true"] { background: var(--blue); }
.yb-pop .yb-list li[aria-selected="true"] .num, .yb-pop .yb-list li[aria-selected="true"] span { color: #FFFFFF; font-weight: 700; }
.yb-pop .yb-list li[aria-selected="true"] .num::after { display: none; }
.yb-pop .yb-list li[aria-disabled="true"] { opacity: .35; cursor: default; pointer-events: none; }
.yb-pop .yb-allrow { grid-template-columns: 1fr; margin-top: 4px; padding-top: 4px; border: 0; border-top: 1px solid var(--rule); border-radius: 0; }
.yb-pop .yb-allrow li span { font: 600 var(--t-small)/1 var(--sans); color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { .yb-pop:not([hidden]) { animation: yb-in .14s ease-out; } }

/* phones: the same panel as a short bottom sheet over a dimmed page; a tap on a year chooses and closes */
@media (max-width: 760px) {
  .yb-pop { position: fixed; top: auto; left: 0; right: 0; bottom: 0; width: auto; padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0; box-shadow: 0 0 0 100vmax rgba(8,18,36,.42); z-index: var(--z-tabbar); }
  .yb-pop::before { content: ""; display: block; width: 36px; height: 4px; margin: 0 auto 12px; border-radius: 100vmax; background: #D8D3C7; }
  .yb-dec button { min-height: 44px; }
  .yb-pop .yb-list li { min-height: 52px; }
  @media (prefers-reduced-motion: no-preference) { .yb-pop:not([hidden]) { animation: yb-up .2s cubic-bezier(.2,.7,.2,1); } @keyframes yb-up { from { transform: translateY(24px); opacity: 0; } } }
  html.yb-sheet-open body { overflow: hidden; }
  html.yb-sheet-open .bar { transform: translateY(100%); }
}

/* ===== cover (owner 2026-11-22): one full-resolution photo of worship, a slow breath of a zoom, a light veil only where
   the verse sits (bottom right); the church name lives in the header, so the cover carries no title ===== */
.hm-cover { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.hm-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (prefers-reduced-motion: no-preference) { .hm-cover img { animation: cover-breathe 24s ease-in-out infinite alternate; } }
@keyframes cover-breathe { from { transform: scale(1); } to { transform: scale(1.06); } }
.hm-cover::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(200deg, rgba(8,18,36,0) 45%, rgba(8,18,36,.55) 100%), linear-gradient(180deg, rgba(8,18,36,.28), rgba(8,18,36,0) 22%); }
.hm-hero .hm-id { left: auto; right: var(--margin); bottom: var(--s4); max-width: 560px; text-align: right; }
.hm-hero .hm-def { margin: 0; font: 400 var(--t-body)/1.65 var(--sans); color: rgba(255,255,255,.94); }
.hm-hero .hm-def .ref { display: inline-block; margin-left: 8px; }
@media (max-width: 760px) { .hm-hero .hm-id { left: var(--margin); right: var(--margin); text-align: right; } .hm-hero .hm-def { font-size: var(--t-small); } .hm-hero .hm-def br { display: none; } }

/* ===== times bar v2 (owner 2026-11-22): two groups, 주일 and 주중 (금요부흥회 included), and one clear button ===== */
.hm-times { display: grid !important; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) auto !important; gap: var(--s4) !important; align-items: center; }
.tm-group { display: grid; gap: 8px; min-width: 0; }
.tm-k { margin: 0; font: 700 var(--t-cap)/1 var(--sans); letter-spacing: .18em; color: #9C5200; }
.hm-times .tm-group dl { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; }
.hm-times .tm-group dl > div { padding: 0 var(--s2); border-left: 1px solid var(--rule); }
.hm-times .tm-group dl > div:first-child { padding-left: 0; border-left: 0; }
.hm-times .tm-group dt { white-space: nowrap; }
.btn-go { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 24px; border-radius: 100vmax; background: var(--night); color: #fff !important;
  font: 700 var(--t-small)/1 var(--sans); text-decoration: none; white-space: nowrap; box-shadow: 0 6px 18px rgba(11,36,71,.18); transition: transform var(--spring-quick-dur) var(--spring-quick), box-shadow var(--spring-quick-dur) var(--spring-quick); }
.btn-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--spring-quick-dur) var(--spring-quick); }
.btn-go:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11,36,71,.24); }
.btn-go:hover svg { transform: translateX(3px); }
.btn-go:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
@media (max-width: 1100px) { .hm-times { grid-template-columns: 1fr 1fr !important; } .hm-times .btn-go { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 760px) {
  .hm-times { grid-template-columns: 1fr !important; gap: var(--s3) !important; }
  .hm-times .tm-group dl { grid-auto-flow: row; grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .hm-times .tm-group dl > div { padding: 0; border-left: 0; }
  .hm-times .btn-go { justify-self: stretch; justify-content: center; }
}
/* cover slideshow: stacked photos, one shown; 1.6 s cross-fade; the shown photo zooms slowly */
.hm-cover img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; animation: none !important; }
.hm-cover img.on { opacity: 1; }
/* the slow push is one continuous motion driven from elim.js (coverShow): each photo keeps moving while it fades out,
   so nothing snaps back between photos (owner, 2026-11-23) */

/* ===== home order (owner 2026-11-22): 말씀 → 큐티 → 산상 (gallery) → 오시는 길 ===== */
.mtn-meta { margin: -8px 0 var(--s3); font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-2); } /* scale-exception: optical or section offset -8px */
.mtn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; aspect-ratio: 2.4 / 1; }
.mtn-grid a { position: relative; display: block; overflow: hidden; border-radius: 12px; background: #E7E3DA; }
.mtn-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--spring-smooth-dur) var(--spring-smooth); }
.mtn-grid a:hover img { transform: scale(1.04); }
.mtn-grid a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.mtn-grid .mtn-big { grid-column: span 2; grid-row: span 2; }
.mtn-more span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(11,36,71,.58); color: #fff; font: 700 var(--t-small)/1 var(--sans); }
@media (max-width: 760px) {
  .mtn-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .mtn-grid .mtn-big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; }
  .mtn-grid a:not(.mtn-big) { aspect-ratio: 1; }
}
.hm-route .route-home { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.hm-route .hm-map { aspect-ratio: 2.6 / 1; }
.hm-route .hm-map .routemap { height: 100%; }
@media (max-width: 760px) { .hm-route .hm-map { aspect-ratio: 4 / 3; } }

/* the invitation now opens the 주보 section on the 예배 page */
.inv-solo { display: flex; max-width: 720px; margin: 0 auto var(--s4); padding: 12px; background: #fff; border-radius: 8px; box-shadow: 0 1px 0 rgba(11,36,71,.05), 0 18px 40px rgba(11,36,71,.08); }
.inv-solo .inv-k { margin: 0; font: 600 var(--t-cap)/1.4 var(--sans); letter-spacing: .32em; color: #9C5200; }
.inv-solo .inv-h { margin: 0; font: 400 var(--t-h3)/1.45 var(--sans); letter-spacing: -.02em; color: var(--night); }
.inv-solo .inv-verse { margin: 0; font: 400 var(--t-small)/1.7 var(--sans); color: var(--ink-2); }
.inv-solo .inv-verse span { display: block; margin-top: 4px; font-size: var(--t-cap); }

/* header lockup (owner 2026-11-22): the name sits level with the "elim" letters, not with the whole mark (the tower
   rises above them). Measured: letters fill the lower 34% of the mark; the name's centre now matches theirs. */
.lockup { align-items: flex-end !important; }
.lockup b { line-height: 1 !important; transform: translateY(.14em); }
/* cover text stays readable on any photo: a soft dark veil gathered in the bottom-right corner only, a light shadow,
   and the church name small above the verse (owner 2026-11-22) */
.hm-cover::after { background: radial-gradient(120% 90% at 100% 100%, rgba(8,18,36,.82) 0%, rgba(8,18,36,.55) 32%, rgba(8,18,36,0) 62%),
  linear-gradient(180deg, rgba(8,18,36,.30), rgba(8,18,36,0) 20%) !important; }
.hm-hero .hm-id { z-index: var(--z-overlay); }
.hm-hero .hm-kick { margin: 0 0 8px; font: 700 var(--t-small)/1.2 var(--sans); letter-spacing: .14em; color: #fff; }
.hm-hero .hm-def { font-weight: 500 !important; color: #fff !important; }
.hm-hero .hm-def .ref { color: rgba(255,255,255,.8) !important; }
.hm-hero .hm-id, .hm-hero .hm-id * { text-shadow: 0 1px 2px rgba(8,18,36,.55), 0 2px 18px rgba(8,18,36,.45) !important; }
/* times v2 fix: columns size to their content so no time or label ever wraps */
@media (min-width: 761px) {
  .hm-times { grid-template-columns: max-content max-content 1fr !important; column-gap: 48px !important; }
  .hm-times .tm-group dl { grid-auto-columns: max-content; }
  .hm-times .tm-group dl > div { padding: 0 16px; }
  .hm-times .btn-go { justify-self: end; }
  .hm-times dd { white-space: nowrap; }
}
@media (min-width: 761px) and (max-width: 1180px) { .hm-times { grid-template-columns: max-content 1fr !important; } .hm-times .btn-go { grid-column: 1 / -1; justify-self: start; } }
/* …and the whole lockup rises so the name shares one line with the menu (the tower rises above, by design) */
.header .lockup { transform: translateY(-15px); }
@media (max-width: 760px) { .header .lockup { transform: translateY(-9px); } }

/* ===== times bar v3 (owner: "구조 밤티"): one even row across the page, quiet type, no boxes or bars between items;
   only a hairline divides 주일 from 주중; the button closes the row ===== */
@media (min-width: 761px) {
  .hm-times { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) auto !important; column-gap: 0 !important; padding-top: 24px !important; padding-bottom: 24px !important; }
  .hm-times .tm-group { padding-right: 32px; }
  .hm-times .tm-group + .tm-group { padding-left: 32px; border-left: 1px solid var(--rule); }
  .hm-times .tm-group dl { grid-auto-columns: minmax(0, 1fr) !important; grid-auto-flow: column; }
  .hm-times .tm-group dl > div { padding: 0 !important; border-left: 0 !important; }
  .hm-times .btn-go { justify-self: end; margin-left: 8px; }
}
.hm-times .tm-k { margin-bottom: 4px; }
.hm-times dt { font: 400 var(--t-cap)/1.4 var(--sans) !important; color: var(--ink-2); letter-spacing: 0; }
.hm-times dt small { margin-left: 4px; font-size: 12px; color: var(--ink-3, #8A7F79); }
.hm-times dd { margin-top: 4px !important; font: 500 26px/1.15 var(--sans) !important; letter-spacing: -.02em !important; color: var(--night) !important; font-variant-numeric: tabular-nums; }
@media (min-width: 761px) and (max-width: 1180px) { .hm-times .tm-group + .tm-group { padding-left: 24px; } .hm-times dd { font-size: 22px !important; } }
/* times v3 fix: the old per-item dividers (::before) are gone; items size to their content with even gaps */
.hm-times .tm-group dl > div::before { display: none !important; }
@media (min-width: 761px) {
  .hm-times { display: flex !important; align-items: center; justify-content: space-between; gap: 0 !important; }
  .hm-times .tm-group { flex: none; }
  .hm-times .tm-group dl { display: flex !important; gap: 32px; }
  .hm-times .tm-group dl > div { flex: none; }
  .hm-times .tm-group + .tm-group { margin-right: auto; }
  .hm-times .btn-go { flex: none; }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .hm-times { flex-wrap: wrap; row-gap: 16px !important; }
  .hm-times .tm-group dl { gap: 24px; }
  .hm-times .btn-go { margin-left: 0; }
}

/* the last home section breathes before the footer; the route steps keep clear of the map */
.hm-route { padding-bottom: var(--s6, 104px) !important; } /* scale-exception: optical or section offset 104px */
.hm-route .route-steps { margin-top: 16px; }
@media (max-width: 760px) { .hm-route { padding-bottom: var(--s5, 64px) !important; } }

/* ===== 오늘의 큐티 v2 (owner 2026-11-22: give it presence): a morning page in dawn colours, a big date tile,
   the passage as a tag, a clear button; a faint spring mark rests in the corner ===== */
.qtc.qtc-v2 { position: relative; display: grid !important; grid-template-columns: 148px minmax(0, 1fr); gap: 32px; align-items: center; overflow: hidden;
  padding: 48px 48px; border-radius: 20px; color: var(--night); text-decoration: none;
  background: linear-gradient(115deg, #FBEBD3 0%, #F8D9B0 45%, #F3C08A 100%); box-shadow: 0 1px 0 rgba(11,36,71,.04), 0 18px 44px rgba(156,82,0,.14); }
.qtc-v2 .qtc-day { display: grid; place-items: center; align-content: center; gap: 4px; aspect-ratio: 1; border-radius: 20px; background: rgba(255,255,255,.72);
  box-shadow: inset 0 0 0 1px rgba(156,82,0,.18); }
.qtc-v2 .qtc-day b { font: 500 56px/1 var(--sans); letter-spacing: -.04em; color: #9C5200; }
.qtc-v2 .qtc-day small { font: 600 var(--t-cap)/1 var(--sans); color: var(--night); letter-spacing: .02em; }
.qtc-v2 .qtc-body { position: relative; z-index: var(--z-raised); display: grid; gap: 8px; justify-items: start; }
.qtc-v2 > span { grid-column: auto !important; }
.qtc-v2 .qtc-k { font: 700 var(--t-cap)/1.2 var(--sans) !important; letter-spacing: .18em; color: #9C5200 !important; }
.qtc-v2 .qtc-k .qtc-date { margin-left: 4px; font-weight: 500; letter-spacing: 0; color: var(--night); opacity: .7; }
.qtc-v2 .qtc-t { font: 700 var(--t-h2)/1.2 var(--sans) !important; letter-spacing: -.02em; color: var(--night); text-decoration: none; }
.qtc-v2 .qtc-ref:not(:empty) { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 100vmax; background: var(--night); color: #fff !important; font: 600 var(--t-cap)/1 var(--sans) !important; }
.qtc-v2 .qtc-p { max-width: 40em; font: 400 var(--t-body)/1.7 var(--sans) !important; color: rgba(11,36,71,.82) !important; }
.qtc-v2 .qtc-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 4px; padding: 0 16px 0 24px; border-radius: 100vmax; background: var(--night); color: #fff;
  font: 700 var(--t-small)/1 var(--sans); box-shadow: 0 6px 18px rgba(11,36,71,.2); transition: transform var(--spring-quick-dur) var(--spring-quick); }
.qtc-v2 .qtc-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--spring-quick-dur) var(--spring-quick); }
.qtc-v2:hover .qtc-btn { transform: translateY(-1px); } .qtc-v2:hover .qtc-btn svg { transform: translateX(3px); }
.qtc-v2 .qtc-mark { position: absolute; right: -40px; bottom: -60px; width: 300px; height: 300px; color: #fff; opacity: .28; pointer-events: none; }
.qtc-v2 .qtc-go { display: none !important; }
.qtc-v2:focus-visible { outline: 2px solid var(--night); outline-offset: 4px; }
@media (max-width: 760px) {
  .qtc.qtc-v2 { grid-template-columns: 1fr; gap: 16px; padding: 24px 24px; }
  .qtc-v2 .qtc-day { width: 96px; aspect-ratio: 1; } .qtc-v2 .qtc-day b { font-size: 40px; }
  .qtc-v2 .qtc-mark { width: 200px; height: 200px; right: -50px; bottom: -50px; }
}

/* ===== polish batch (owner 2026-11-22) ===== */
/* header: thinner and quieter */
.header-in { padding-top: 8px !important; padding-bottom: 8px !important; }
.header .lockup img { height: 32px !important; width: auto; }
.header .lockup b { font-size: 18px !important; font-weight: 700; }
.header .lockup { transform: translateY(-15.5px) !important; }
@media (max-width: 760px) { .header .lockup img { height: 28px !important; } .header .lockup b { font-size: 16px !important; } .header .lockup { transform: translateY(-9px) !important; } }

/* cover: no hairline at the bottom edge while the photo zooms */
.hm-hero { isolation: isolate; }
.hm-cover { inset: -1px; }

/* sermon play: a solid, labelled button that reads as a button */
.cover.big .play.play-v2 { width: auto; height: 52px; padding: 0 24px 0 8px; gap: 12px; border: 0; border-radius: 100vmax; background: #fff; color: var(--night);
  display: inline-flex; align-items: center; font: 700 var(--t-small)/1 var(--sans); box-shadow: 0 10px 28px rgba(0,0,0,.28); transition: transform var(--spring-quick-dur) var(--spring-quick), box-shadow var(--spring-quick-dur) var(--spring-quick); }
.cover.big .play.play-v2 i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange, #EF8306); }
.cover.big .play.play-v2 svg { width: 16px; height: 16px; fill: #fff; stroke: none; margin-left: 4px; }
.cover.big:hover .play.play-v2 { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.34); }
.cover.big:active .play.play-v2 { transform: translateY(0) scale(.98); }

/* 산상: an exhibition wall. Three framed prints on a white mat with a museum label under each; generous, even gaps */
.mtn-wall { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 32px; align-items: start; padding: 48px; border-radius: 8px;
  background: linear-gradient(180deg, #EFEBE3, #E9E4DA); }
.mtn-wall figure { margin: 0; }
.mtn-wall a { display: block; padding: 12px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 14px 30px rgba(11, 36, 71,.16); transition: transform var(--spring-snappy-dur) var(--spring-snappy), box-shadow var(--spring-snappy-dur) var(--spring-snappy); }
.mtn-wall a:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 22px 40px rgba(11, 36, 71,.22); }
.mtn-wall a:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.mtn-wall img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mtn-wall figure:first-child img { aspect-ratio: 4 / 3.4; }
.mtn-wall figcaption { display: flex; gap: 8px; align-items: baseline; margin-top: 12px; font: 400 var(--t-cap)/1.4 var(--sans); color: var(--ink-2); }
.mtn-wall figcaption b { font-weight: 700; color: var(--ink); letter-spacing: .02em; }
@media (max-width: 900px) { .mtn-wall { grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; } .mtn-wall figure:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .mtn-wall { grid-template-columns: 1fr; padding: 16px; gap: 16px; } }

/* every button: the same hover lift, press and focus ring */
.btn-go:active, .qtc-v2:active .qtc-btn, .ft-contact:active, .walk-start:active { transform: scale(.98) !important; }
.qtc-v2 .qtc-btn:hover { box-shadow: 0 10px 24px rgba(11,36,71,.26); }
.walk-start { transition: transform var(--spring-quick-dur) var(--spring-quick), box-shadow var(--spring-quick-dur) var(--spring-quick); }
.walk-start:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11,36,71,.26); }
.walk-start:focus-visible, .ft-contact:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* album categories: one segmented control with even spacing */
.album-bar { gap: 4px !important; padding: 4px !important; }
.album-bar button { flex: none !important; min-width: 0 !important; padding: 0 16px !important; margin: 0 !important; }
.album-bar button:hover:not([aria-pressed="true"]) { background: rgba(255,255,255,.55); color: var(--ink); }

/* footer: the four places, and a Contact us button */
.ft-places dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 0; }
.ft-places dt { font: 700 var(--t-cap)/1.4 var(--sans); color: #fff; letter-spacing: .04em; }
.ft-places dd { margin: 4px 0 0; font: 400 var(--t-cap)/1.55 var(--sans); color: rgba(201,210,222,.92); }
.ft-contact { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; padding: 0 16px; border-radius: 100vmax;
  border: 1px solid rgba(255,255,255,.55); color: #fff !important; font: 700 var(--t-small)/1 var(--sans); text-decoration: none; transition: background-color var(--spring-quick-dur) var(--spring-quick), color var(--spring-quick-dur) var(--spring-quick); }
.ft-contact svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ft-contact:hover { background: #fff; color: var(--night) !important; }
@media (min-width: 1101px) { .ft-cols { grid-template-columns: 2fr 1fr 1fr !important; } }
@media (max-width: 560px) { .ft-places dl { grid-template-columns: 1fr; } }
/* footer v2 layout: brand on the left; places get room (2×2, one address per line); contact and social share a column */
@media (min-width: 1101px) {
  .ft-in { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr) !important; column-gap: 64px !important; }
  .ft-cols { display: grid !important; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, .8fr) !important; column-gap: 48px !important; }
}
.ft-places dl { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
.ft-places dd { white-space: nowrap; }
.ft-cols a[href^="mailto"], .ft-contact { white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1100px) { .ft-cols { grid-template-columns: 1fr 1fr !important; } .ft-places { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ft-places dl { grid-template-columns: 1fr; } .ft-places dd { white-space: normal; } }
.mtn-wall { align-items: center !important; }
/* Contact us: a small, quiet outline pill in the footer's own scale (44 px tap area kept by padding around it) */
.ft-contact { min-height: 32px !important; margin-top: 8px; padding: 0 12px !important; gap: 4px !important; border-color: rgba(255,255,255,.35) !important;
  font: 600 var(--t-cap)/1 var(--sans) !important; position: relative; }
.ft-contact::after { content: ""; position: absolute; inset: -6px -4px; }
.ft-contact svg { width: 13px !important; height: 13px !important; }

/* ===== 주보 as a printed bulletin opened flat (owner 2026-11-22) ===== */
.jubo-book { position: relative; display: grid; grid-template-columns: 1fr 1fr; max-width: 1080px; margin: 0 auto var(--s4); background: #FFFDF9;
  border-radius: 8px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 60px rgba(11, 36, 71,.14); }
.jubo-book::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 40px; margin-left: -20px; pointer-events: none; /* scale-exception: optical or section offset -20px */
  background: linear-gradient(90deg, rgba(11, 36, 71,0), rgba(11, 36, 71,.07) 48%, rgba(11, 36, 71,.12) 50%, rgba(11, 36, 71,.07) 52%, rgba(11, 36, 71,0)); }
.jb-page { padding: 48px 48px; min-width: 0; }
.jb-top { display: flex; align-items: center; gap: 8px; margin: 0 0 48px; padding-bottom: 12px; border-bottom: 1px solid rgba(156,82,0,.25);
  font: 600 var(--t-cap)/1 var(--sans); color: var(--ink-2); }
.jb-top img { width: 22px; height: 22px; }
.jb-top .num { margin-left: auto; font-weight: 500; }
.jb-k { margin: 0 0 12px; font: 700 var(--t-cap)/1 var(--sans); letter-spacing: .28em; color: #9C5200; }
.jb-h { margin: 0 0 24px; font: 500 var(--t-h3)/1.45 var(--sans); letter-spacing: -.02em; color: var(--night); }
.jb-verse { margin: 0 0 32px; padding-left: 12px; border-left: 2px solid rgba(239,131,6,.5); font: 400 var(--t-small)/1.75 var(--sans); color: var(--ink-2); }
.jb-verse span { display: block; margin-top: 4px; font-size: var(--t-cap); color: var(--ink-3, #8A7F79); }
.jb-times { display: flex; gap: 32px; margin: 0 0 16px; }
.jb-times dt { font: 400 var(--t-cap)/1.3 var(--sans); color: var(--ink-2); }
.jb-times dd { margin: 4px 0 0; font: 500 24px/1.1 var(--sans); letter-spacing: -.02em; color: var(--night); }
.jb-place { margin: 0; font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-2); }
.jb-place b { margin-right: 4px; color: var(--ink); }
.jb-news .jubo-list { display: block !important; margin: 0 0 24px !important; }
.jb-news .jubo-list li { display: grid !important; grid-template-columns: 7.5em minmax(0, 1fr) !important; gap: 16px; padding: 12px 0 !important; border-top: 1px solid var(--rule); }
.jb-news .jubo-list li:last-child { border-bottom: 1px solid var(--rule); }
.jb-more { display: inline-flex; align-items: center; gap: 4px; font: 700 var(--t-small)/1 var(--sans); color: var(--blue); text-decoration: none; min-height: 44px; }
.jb-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--spring-quick-dur) var(--spring-quick); }
.jb-more:hover svg { transform: translateX(3px); }
.jb-more:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
#bulletin .jubo-news { display: none; }
@media (max-width: 900px) {
  .jubo-book { grid-template-columns: 1fr; }
  .jubo-book::after { display: none; }
  .jb-page { padding: 32px 24px; }
  .jb-news { border-top: 1px dashed rgba(156,82,0,.3); }
  .jb-top { margin-bottom: 24px; flex-wrap: wrap; }
}
@media (max-width: 560px) { .jb-news .jubo-list li { grid-template-columns: 1fr !important; gap: 4px; } .jb-times { gap: 16px; } }

/* ===== 산상 grid v3 (owner preferred the grid; refined): even 8 px gaps and corners, quiet labels on a soft shade,
   a slow zoom on hover, and a light "all photos" tile instead of a dark overlay ===== */
.mtn-v3 { gap: 8px !important; aspect-ratio: 2.5 / 1; }
.mtn-v3 a { border-radius: 8px !important; }
.mtn-v3 a img { transition: transform .8s cubic-bezier(.2,.7,.2,1) !important; }
.mtn-v3 a:hover img { transform: scale(1.05) !important; }
.mtn-v3 .mtn-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; align-items: baseline; padding: 24px 16px 12px;
  background: linear-gradient(180deg, rgba(8,18,36,0), rgba(8,18,36,.55)); color: rgba(255,255,255,.88); font: 400 var(--t-cap)/1.3 var(--sans); }
.mtn-v3 .mtn-cap b { color: #fff; font-weight: 700; }
.mtn-v3 .mtn-big .mtn-cap { padding: 32px 16px 16px; font-size: var(--t-small); }
.mtn-v3 .mtn-all { display: grid; align-content: center; justify-items: start; gap: 4px; padding: 16px 24px; background: #EFEBE3 !important; color: var(--night); text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(11, 36, 71,.06); transition: background-color var(--spring-quick-dur) var(--spring-quick); }
.mtn-v3 .mtn-all:hover { background: #E7E1D6 !important; }
.mtn-v3 .mtn-all-n { font: 500 40px/1 var(--sans); letter-spacing: -.03em; color: #9C5200; }
.mtn-v3 .mtn-all-t { font: 600 var(--t-small)/1.45 var(--sans); color: var(--night); }
.mtn-v3 .mtn-all svg { width: 20px; height: 20px; margin-top: 4px; fill: none; stroke: var(--night); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--spring-quick-dur) var(--spring-quick); }
.mtn-v3 .mtn-all:hover svg { transform: translateX(4px); }
@media (max-width: 760px) { .mtn-v3 { aspect-ratio: auto; } .mtn-v3 .mtn-all { grid-column: 1 / -1; aspect-ratio: auto !important; } }

/* ===== 주보: a frame for the real printed pages (assets/bulletin/current.json lists the scans). Two pages open flat
   with a soft fold; each page opens full size. Until the scans arrive, quiet paper pages show the issue and date. ===== */
#bulletin .jubo-spread { position: relative; display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 !important; max-width: 1080px; margin: 0 auto;
  background: #FFFDF9; border-radius: 8px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 60px rgba(11, 36, 71,.14); }
#bulletin .jubo-spread:not(:has(.jubo-page:not(.is-empty))) { display: grid !important; }
#bulletin .jubo-spread::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 48px; margin-left: -24px; pointer-events: none; /* scale-exception: optical or section offset -24px */
  background: linear-gradient(90deg, rgba(11, 36, 71,0), rgba(11, 36, 71,.08) 46%, rgba(11, 36, 71,.16) 50%, rgba(11, 36, 71,.08) 54%, rgba(11, 36, 71,0)); }
#bulletin .jubo-page { margin: 0; aspect-ratio: 1 / 1.414; border-radius: 0; box-shadow: none !important; background: #FFFDF9 !important; overflow: hidden; }
#bulletin .jubo-page img { width: 100%; height: 100%; object-fit: contain; }
#bulletin .jubo-page a { display: block; height: 100%; cursor: zoom-in; }
#bulletin .jubo-page.is-empty { display: grid; place-items: center; }
#bulletin .jubo-page.is-empty span { font: 500 var(--t-small)/1 var(--sans); letter-spacing: .12em; color: rgba(110,98,93,.55); }
#bulletin .jubo-note { margin-top: var(--s3); text-align: center; }
@media (max-width: 760px) { #bulletin .jubo-spread { grid-template-columns: 1fr; } #bulletin .jubo-spread::after { display: none; } #bulletin .jubo-page + .jubo-page { border-top: 1px dashed rgba(156,82,0,.25); } }
/* album: each event's photos fill the full width (four equal columns), no empty space on wide screens */
@media (min-width: 761px) { .al-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 12px !important; } }
/* cover play: one quiet glass pill at the bottom left; the photos only change while it plays */
.cover-play { position: absolute; z-index: var(--z-float); left: var(--margin); bottom: var(--s4); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px;
  border: 1px solid rgba(255,255,255,.45); border-radius: 100vmax; background: rgba(8,18,36,.32); backdrop-filter: blur(8px); color: #fff; font: 600 var(--t-small)/1 var(--sans); cursor: pointer;
  transition: background-color var(--spring-quick-dur) var(--spring-quick), border-color var(--spring-quick-dur) var(--spring-quick); }
.cover-play:hover { background: rgba(8,18,36,.5); border-color: rgba(255,255,255,.8); }
.cover-play:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cover-play svg { width: 16px; height: 16px; fill: #fff; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.cover-play .i-pause { display: none; fill: none; } .cover-play[aria-pressed="true"] .i-play { display: none; } .cover-play[aria-pressed="true"] .i-pause { display: inline; }
/* sermon play: one clean white pill */
.cover.big .play.play-v3 { width: auto; height: 44px; padding: 0 16px 0 12px; gap: 8px; border: 0; border-radius: 100vmax; background: #fff; color: var(--night);
  display: inline-flex; align-items: center; font: 700 var(--t-small)/1 var(--sans); box-shadow: none; transition: transform var(--spring-quick-dur) var(--spring-quick), background-color var(--spring-quick-dur) var(--spring-quick); }
.cover.big .play.play-v3 svg { width: 14px; height: 14px; fill: var(--night); stroke: none; }
.cover.big:hover .play.play-v3 { background: #F1EDE6; }
.cover.big:active .play.play-v3 { transform: scale(.97); }
/* the all-photos tile: words only */
.mtn-v3 .mtn-all { align-content: end; }
.mtn-v3 .mtn-all-t { font: 700 var(--t-lead)/1.3 var(--sans) !important; }
/* footer contact column: one left edge, one rhythm (phone, email, button) */
.ft-reach { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ft-reach .fh { margin-bottom: 4px !important; }
.ft-reach .ft-link { display: inline-flex !important; align-items: center; min-height: 32px !important; margin: 0 !important; padding: 0 !important; line-height: 1.3 !important; }
.ft-reach .ft-contact { margin-top: 8px !important; }
.ft-social { margin-left: -12px !important; } /* scale-exception: optical or section offset -12px */
/* audit fixes: full tap height for footer contact links; empty 주보 labels readable; spacing on the scale; one less type size */
.ft-reach .ft-link { min-height: 44px !important; }
.ft-reach { gap: 0 !important; }
#bulletin .jubo-page.is-empty span { color: var(--ink-2) !important; }
.hm-times .tm-k { margin-bottom: 4px !important; }
.hm-times dd { margin-top: 4px !important; }
.hm-times dt small { font-size: 13px !important; }
.qtc.qtc-v2 { padding-top: 32px !important; padding-bottom: 32px !important; }
/* 교회학교 시간: a quiet toggle under the times; opens one more row in the same type */
.hm-times { flex-wrap: wrap !important; }
.tm-more { order: 9; flex: 1 0 100%; margin-top: 16px; }
.tm-more summary { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; list-style: none; cursor: pointer; font: 600 var(--t-cap)/1 var(--sans); color: var(--ink-2); }
.tm-more summary::-webkit-details-marker { display: none; }
.tm-more summary::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform var(--spring-quick-dur) var(--spring-quick); } /* scale-exception: optical or section offset -3px */
.tm-more[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.tm-more summary:hover { color: var(--ink); }
.tm-more summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 8px; }
.tm-more dl { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); }
.tm-more dt { font: 400 var(--t-cap)/1.4 var(--sans); color: var(--ink-2); }
.tm-more dt small { margin-left: 4px; font-size: 13px; color: var(--ink-3, #8A7F79); }
.tm-more dd { margin: 4px 0 0; font: 500 20px/1.15 var(--sans); color: var(--night); font-variant-numeric: tabular-nums; }
@media (min-width: 761px) { .hm-times .btn-go { order: 5; } }
@media (max-width: 760px) { .tm-more dl { display: grid; grid-template-columns: 1fr 1fr; } }
.tm-more dl > div::before { display: none !important; } .tm-more dl > div { padding: 0 !important; border: 0 !important; }
/* home route: a smaller map with a legend beside it (the same numbers as the map) */
@media (min-width: 901px) {
  .hm-route .route-home { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) !important; gap: 48px !important; align-items: center; }
}
.hm-route .hm-map { aspect-ratio: 16 / 10 !important; }
.route-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: none; }
.route-legend li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding: 16px 0; }
.route-legend li + li { border-top: 1px solid var(--rule); }
.route-legend li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 52px; bottom: -18px; width: 2px; background: var(--night); opacity: .18; }
.route-legend i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--night); color: #fff; font: 700 15px/1 var(--sans); font-style: normal; }
.route-legend .is-main i { background: #EF8306; color: var(--night); }
.route-legend b { display: block; font: 700 var(--t-body)/1.35 var(--sans); color: var(--ink); }
.route-legend span { display: block; margin-top: 4px; font: 400 var(--t-small)/1.55 var(--sans); color: var(--ink-2); }
@media (min-width: 901px) {
  .hm-route .route-home > .hm-head { grid-column: 1 / -1; }
  .hm-route .route-home > .hm-map { grid-column: 1; }
  .hm-route .route-home > .route-legend { grid-column: 2; }
}
/* cover control: a small round pause/play, bottom left (aria-pressed = paused) */
.cover-play { width: 44px; height: 44px; padding: 0 !important; justify-content: center; gap: 0 !important; border-radius: 50% !important; }
.cover-play .i-pause { display: inline !important; fill: none; } .cover-play .i-play { display: none !important; }
.cover-play[aria-pressed="true"] .i-pause { display: none !important; } .cover-play[aria-pressed="true"] .i-play { display: inline !important; fill: #fff; stroke: none; }

/* ===== 예배 안내: one schedule in three tabs ===== */
.sc-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: var(--s3); border-radius: 12px; background: #EEEDE7; max-width: 100%; overflow-x: auto; }
.sc-tabs button { flex: none; min-height: 44px; padding: 0 16px; border: 0; border-radius: 8px; background: none; color: var(--ink-2); font: 600 var(--t-small)/1 var(--sans); cursor: pointer; white-space: nowrap; }
.sc-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,36,71,.14); }
.sc-tabs button:hover:not([aria-selected="true"]) { color: var(--ink); background: rgba(255,255,255,.55); }
.sc-tabs button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.sc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.sc-list li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) minmax(0, 14em); gap: 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.sc-t { font: 500 22px/1.2 var(--sans); letter-spacing: -.01em; color: var(--night); font-variant-numeric: tabular-nums; }
.sc-n { font: 700 var(--t-body)/1.4 var(--sans); color: var(--ink); }
.sc-n small { margin-left: 4px; font: 400 var(--t-cap)/1 var(--sans); color: var(--ink-2); }
.sc-p { font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-2); text-align: right; }
.sc-school li { grid-template-columns: 9.5em minmax(0, 1fr) auto; }
.sc-school .sc-p { text-align: left; }
.sc-ig { display: flex; gap: 12px; justify-content: flex-end; }
.sc-ig a { font: 500 var(--t-cap)/1 var(--sans); color: var(--blue); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.sc-ig a:hover { text-decoration: underline; }
.sc-go { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: var(--s3); }
.sc-panel[hidden] { display: none; }
@media (max-width: 760px) {
  .sc-list li { grid-template-columns: 6.5em minmax(0, 1fr); gap: 4px 16px; }
  .sc-p { grid-column: 2; text-align: left; }
  .sc-school li { grid-template-columns: 1fr; } .sc-ig { justify-content: flex-start; }
  .sc-t { font-size: 18px; }
}
/* footer alignment: the brand starts on the columns' top line; the motto sits close under it */
.ft-brand { align-self: start; padding-top: 0 !important; margin-top: 0 !important; }
.footer .lockup { margin: 0 !important; transform: none !important; align-items: flex-end !important; }
.footer .lockup img { height: 32px !important; }
.footer .lockup b { font-size: 18px !important; transform: translateY(.14em); }
.ft-motto { margin: 16px 0 0 !important; font: 400 var(--t-body)/1.6 var(--sans) !important; color: rgba(255,255,255,.86); }
.ft-cols .fh { margin: 0 0 12px !important; line-height: 32px !important; }
/* route film link under the legend */
@media (min-width: 901px) { .hm-route .route-home > .route-film { grid-column: 2; justify-self: start; margin-top: -12px; } } /* scale-exception: optical or section offset -12px */
.route-film { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 var(--t-small)/1 var(--sans); color: var(--ink); text-decoration: none; }
.route-film i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #E9242A; }
.route-film svg { width: 13px; height: 13px; fill: #fff; margin-left: 4px; }
.route-film:hover { color: var(--blue); }
.route-film:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
/* spacing on the scale; Contact us keeps a 44 px tap height but stays light */
.sc-list li { padding: 16px 0 !important; }
.sc-tabs { gap: 4px !important; }
.ft-contact { min-height: 44px !important; padding: 0 16px !important; }
.route-legend li { padding: 16px 0 !important; }
.route-film i { background: var(--night) !important; }
.hm-word-grid .cover.big .c-k, .hm-word-grid .cover.big .c-k .num { color: rgba(255,255,255,.82) !important; }
.st-lead h3 span, .st-grid h3 span { font-size: var(--t-cap) !important; }

/* ===== large screens (owner 2026-11-22): content keeps a comfortable measure and centres; backgrounds stay full-bleed.
   Every section pads with var(--margin), so growing the margin past 1600 px centres the whole site on one column. ===== */
@media (min-width: 1600px) {
  :root { --margin: max(96px, calc((100vw - 1480px) / 2)); } /* scale-exception: optical or section offset 96px, 1480px */
}
@media (min-width: 2200px) {
  :root { --margin: max(120px, calc((100vw - 1640px) / 2)); --t-body: 18px; --t-lead: 21px; --t-h2: 40px; } /* scale-exception: optical or section offset 120px, 1640px */
  .hm-hero { height: min(78svh, 1100px) !important; }
}

/* ===== 큐티 and 교회 소개 v3 (reference study 2026-11-22: Pray As You Go, Dictionary.com WOTD, Linear Method, Anthropic,
   Vitsoe, Stripe, GOV.UK). One family (NSNeo): --disp is the sans. Unboxed, one accent, emphasis by weight and tone. ===== */
:root { --disp: var(--sans); }
/* 오늘의 큐티: a page from a daily book. Big light date numeral, kicker, title, passage as coloured text, one arrow. */
.hm-qt .qtc.qtc-v2 { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start;
  padding: 32px 0; border-radius: 0; background: none; box-shadow: none; overflow: visible;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); color: var(--night); }
.qtc-v2 .qtc-day { grid-column: 1 / span 3 !important; aspect-ratio: auto; width: auto; background: none; box-shadow: none; border-radius: 0;
  display: grid; justify-items: start; align-content: start; place-items: start; gap: 12px; }
.qtc-v2 .qtc-day b { font: 300 88px/1 var(--disp); letter-spacing: -.03em; color: var(--night); }
.qtc-v2 .qtc-day small { font: 600 15px/1.4 var(--sans); color: var(--ink-2); letter-spacing: .02em; }
.qtc-v2 .qtc-body { position: static; grid-column: 4 / span 7 !important; gap: 12px; padding-top: 4px; }
.qtc-v2 .qtc-k { font: 600 15px/1.4 var(--sans) !important; letter-spacing: .04em; color: #9C5200 !important; display: flex; align-items: center; gap: 8px; }
.qtc-v2 .qtc-k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.qtc-v2 .qtc-k .qtc-date { display: none; }
.qtc-v2 .qtc-t { font: 600 36px/1.3 var(--disp) !important; letter-spacing: -.01em; color: var(--night); }
.qtc-v2 .qtc-ref:not(:empty) { min-height: 0; padding: 0; border-radius: 0; background: none; color: #9C5200 !important; font: 600 17px/1.5 var(--sans) !important; }
.qtc-v2 .qtc-p { max-width: 34em; font: 400 17px/1.9 var(--disp) !important; color: var(--ink-2) !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qtc-v2 .qtc-btn { position: absolute; right: 0; top: 40px; width: 56px; height: 56px; min-height: 0; margin: 0; padding: 0; justify-content: center;
  font-size: 0; border-radius: 50%; background: var(--night); box-shadow: none; }
.qtc-v2 .qtc-btn svg { width: 22px; height: 22px; }
.qtc-v2 .qtc-mark { display: none; }
.qtc-v2:hover .qtc-btn { transform: translateX(4px); }
@media (max-width: 760px) {
  .hm-qt .qtc.qtc-v2 { grid-template-columns: 1fr; padding: 24px 0; }
  .qtc-v2 .qtc-day { display: none; }
  .qtc-v2 .qtc-body { grid-column: 1 / -1 !important; gap: 8px; padding: 0 48px 0 0; }
  .qtc-v2 .qtc-k { font-size: 13px !important; }
  .qtc-v2 .qtc-k .qtc-date { display: inline; margin: 0; font-weight: 500; letter-spacing: 0; color: var(--ink-2); opacity: 1; }
  .qtc-v2 .qtc-t { font-size: 26px !important; }
  .qtc-v2 .qtc-ref:not(:empty) { font-size: 15px !important; }
  .qtc-v2 .qtc-p { display: none; }
  .qtc-v2 .qtc-btn { top: 24px; width: 44px; height: 44px; }
  .qtc-v2 .qtc-btn svg { width: 20px; height: 20px; }
}
/* 교회 소개: one hanging-label grid; emphasis only where it earns it. */
#intro .in-is, #intro .in-grow, #intro .in-values, #intro .in-mission, #intro .in-bonds {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start;
  margin: var(--s6) 0 0; padding: var(--s3) 0 0; border-top: 1px solid var(--ink); grid-column: auto; }
#intro .in-two { display: block; margin: 0; }
#intro .in-k { grid-column: 1 / span 3; margin: 0; font: 600 15px/1.5 var(--sans); letter-spacing: .04em; color: var(--ink); }
#intro .in-is > :not(.in-k), #intro .in-grow > :not(.in-k), #intro .in-values > :not(.in-k), #intro .in-mission > :not(.in-k), #intro .in-bonds > :not(.in-k) { grid-column: 4 / -1; }
/* statements: shared subject sits in the label, the nucleus of each sentence carries the weight */
#intro .in-four li { display: grid; grid-template-columns: 48px 1fr; align-items: baseline; padding: 16px 0; border-bottom: 0; border-top: 1px solid var(--rule);
  font: 400 26px/1.5 var(--disp); letter-spacing: -.01em; color: var(--ink-2); }
#intro .in-four li:first-child { border-top: 0; padding-top: 0; }
#intro .in-four .num { font: 600 15px/1 var(--sans); color: #9C5200; letter-spacing: .04em; }
#intro .in-four b { font-weight: 600; color: var(--night); }
/* growth principle: one sentence, the four verbs carry it, the predicate recedes */
#intro .in-words { display: block; margin: 0; font: 600 56px/1.35 var(--disp); letter-spacing: -.02em; color: var(--night); text-wrap: balance; }
#intro .in-words li { display: inline; padding: 0; border-radius: 0; background: none; color: inherit; font: inherit; opacity: 1; transform: none; }
#intro .in-words li + li::before { content: ""; display: inline-block; width: .4em; }
#intro .in-words::after { content: none; }
#intro .in-words li span { display: none; }
#intro .in-words li:last-child span { display: inline; margin-left: .4em; font-size: inherit; line-height: inherit; font-weight: 400; color: var(--ink-2); }
/* values: a calm index, no emphasis (eight emphases would be noise) */
#intro .in-values ol { grid-column: 4 / -1; display: block; columns: 2; column-gap: 24px; }
#intro .in-values li { break-inside: avoid; display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-top: 1px solid var(--rule); font: 400 20px/1.6 var(--sans); color: var(--ink); }
#intro .in-values li::before { color: #9C5200; font: 600 15px/1.9 var(--sans); letter-spacing: .04em; }
/* mission: two terms, no cards */
#intro .in-mission dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
#intro .in-mission dl > div { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
#intro .in-mission dt { font: 600 26px/1.4 var(--disp); color: var(--night); margin-bottom: 8px; }
#intro .in-mission dd { font: 400 17px/1.8 var(--sans); color: var(--ink-2); max-width: 26em; }
/* partners: keep the existing rows, align them to the same label grid */
#intro .in-bonds dl > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); column-gap: 24px; padding: 16px 0; }
#intro .in-bonds dt, #intro .in-bonds dd { grid-column: auto; }
@media (max-width: 760px) {
  #intro .in-is, #intro .in-grow, #intro .in-values, #intro .in-mission, #intro .in-bonds { display: block; margin-top: var(--s5); }
  #intro .in-k { margin-bottom: var(--s2); }
  #intro .in-four li { grid-template-columns: 32px 1fr; padding: 12px 0; font-size: 20px; line-height: 1.55; }
  #intro .in-words { font-size: 28px; line-height: 1.4; }
  #intro .in-words li { color: var(--night) !important; }
  #intro .in-words li:last-child span { color: var(--ink-2); }
  #intro .in-values ol { columns: 1; }
  #intro .in-values li { font-size: 17px; padding: 12px 0; grid-template-columns: 32px 1fr; }
  #intro .in-mission dl { display: block; }
  #intro .in-mission dl > div + div { margin-top: var(--s3); }
  #intro .in-mission dt { font-size: 20px; }
  #intro .in-mission dd { font-size: 15px; }
  #intro .in-bonds dl > div { display: block; }
}
#intro .in-words li + li::before { content: " " !important; display: inline !important; width: auto !important; }

/* home type scale: the small sermon titles share the 18px step (eight sizes on the page, with the 88px QT date) */
section.hm-word .cover:not(.big) .c-t { font-size: 18px; }
/* 큐티, white (owner, 2026-11-22: "차라리 전 버전이 나은거 같다 하얀색"): the earlier white layout comes back with the owner's
   corrections: the label reads 큐티, no orange dot, and the round arrow is centred by a grid (the hidden button text used to
   push it aside). The date numeral keeps its height while it waits, so nothing jumps. */
.qtc-v2 .qtc-k::before { content: none !important; display: none !important; }
.qtc-v2 .qtc-k { color: var(--night) !important; letter-spacing: .02em; }
.qtc-v2 .qtc-day b:empty::before { content: "\00a0"; }
.hm-qt.is-ready .qtc-v2 .qtc-day, .hm-qt.is-ready .qtc-v2 .qtc-body { animation: qtc-fade .4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes qtc-fade { from { opacity: 0; } }
.qtc-v2 .qtc-btn { display: grid !important; place-items: center; gap: 0 !important; padding: 0 !important; font-size: 0; line-height: 0;
  color: #fff; box-shadow: 0 0 0 0 var(--halo-navy, rgba(11,36,71,.14)) !important; transform: none !important;
  transition: box-shadow var(--spring-smooth-dur) var(--spring-smooth), transform var(--spring-quick-dur) var(--spring-quick), background-color var(--spring-quick-dur) !important var(--spring-quick); }
.qtc-v2 .qtc-btn svg { display: block; margin: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qtc-v2:hover .qtc-btn, .qtc-v2:focus-visible .qtc-btn { transform: none !important; box-shadow: 0 0 0 6px var(--halo-navy, rgba(11,36,71,.14)) !important; }
.qtc-v2:hover .qtc-btn svg, .qtc-v2:focus-visible .qtc-btn svg { animation: arrow-through .5s cubic-bezier(.65,0,.35,1); }
.qtc-v2:active .qtc-btn { transform: scale(.94) !important; }
.qtc-v2:hover .qtc-t { text-decoration: none !important; }
.hm-qt .qtc.qtc-v2:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) { .qtc-v2 .qtc-btn svg, .hm-qt.is-ready .qtc-v2 * { animation: none !important; } .qtc-v2:active .qtc-btn { transform: none !important; } }

/* service times line up (owner, 2026-11-22: "5시 반 … 잘 맞춰서 왼쪽으로 정렬"): within each group every column is as wide
   as the widest one, so the times sit on an even rhythm; the numerals' side bearing (about 1px at 26px) is cancelled so
   each time starts on its label's left edge */
@media (min-width: 761px) {
  .hm-times .tm-group dl { gap: 16px; }
  .hm-times .tm-group dl > div { flex: 0 0 104px; min-width: 0; }
  .hm-times dd { margin-left: -.045em !important; }
}
@media (min-width: 761px) and (max-width: 1180px) { .hm-times .tm-group dl { gap: 16px; } .hm-times .tm-group dl > div { flex-basis: 104px; } }
@media (min-width: 1181px) and (max-width: 1400px) { .hm-times .tm-group dl { gap: 12px; } .hm-times .tm-group dl > div { flex-basis: 92px; } }

/* 걸어온 길 as a theatre (owner, 2026-11-23: "다큐처럼 … 주변 어두워지고 … 극장 느낌 … 사진이 조금 위에서 내려오는데 조정"):
   the photo stays at the vertical centre of the screen; once the timeline reaches the top, the page and header go dark,
   the years turn light and the photo carries the light. Contrast stays above 4.5:1 for text, 3:1 for the large years. */
@media (min-width: 761px) {
  .tl-stage { top: 50svh !important; transform: translateY(-50%); box-shadow: 0 0 0 rgba(0,0,0,0); transition: box-shadow .8s ease; }
  html { transition: background-color .8s ease; }
  body, .header, .header-in { transition: background-color .8s ease, color .8s ease, box-shadow .8s ease; }
  html.theater, html.theater body { background: #0D1015; }
  html.theater .header { background: rgba(13, 16, 21, .94) !important; box-shadow: none !important; }
  html.theater .header .lockup b, html.theater .header .nav > li > a { color: rgba(255, 255, 255, .86) !important; }
  html.theater .header .btn { color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4) !important; background: transparent !important; }
  html.theater .roots .sh h2, html.theater .roots .sh p { color: rgba(255, 255, 255, .86); transition: color .8s ease; }
  html.theater .subnav a { color: rgba(255, 255, 255, .7) !important; }
  html.theater .tl-stage { box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
  html.theater .tl-list::before { background: rgba(255, 255, 255, .14); }
  html.theater .tl-list::after { background: #8FB0E8; }
  html.theater .tl-list b { color: rgba(255, 255, 255, .5); }
  html.theater .tl-list li.on b, html.theater .tl-list li.past b { color: #fff; }
  html.theater .tl-list span { color: rgba(255, 255, 255, .62); }
  html.theater .tl-list li.on span { color: rgba(255, 255, 255, .92); }
  html.theater .tl-list li::before { background: #0D1015; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3); }
  html.theater .tl-list li.past::before { box-shadow: inset 0 0 0 2px #8FB0E8; }
  html.theater .tl-list li.on::before { background: #8FB0E8; box-shadow: 0 0 0 5px rgba(143, 176, 232, .22); }
  .tl-list b, .tl-list span, .tl-list li::before { transition: color .8s ease, background-color .8s ease, box-shadow .8s ease; }
}
@media (prefers-reduced-motion: reduce) { html, body, .header, .tl-stage { transition: none !important; } }
@media (min-width: 761px) {
  main, .sec, .roots { transition: background-color .8s ease; }
  html.theater body, html.theater main, html.theater .sec, html.theater .roots, html.theater .page-head, html.theater .subnav { background-color: #0D1015 !important; }
  html.theater .page-title, html.theater .page-line, html.theater .crumb, html.theater .crumb a { color: rgba(255, 255, 255, .8) !important; }
  html.theater .subnav a[aria-current] { background: rgba(255, 255, 255, .12) !important; color: #fff !important; box-shadow: none !important; }
}

/* theatre, refined (owner, 2026-11-23: "튀어나오는거 뭐냐", "어두워지는게 빨리", "다큐 느낌 좀 더 감성"): the photo is held at the
   centre by its measured height (no translate, so it never overlaps the title); the lights go down earlier and more slowly;
   each year's photo drifts and zooms a little while it is on screen, warmed and softly vignetted in the dark */
@media (min-width: 761px) {
  .tl-stage { top: max(calc(var(--header-h, 72px) + 24px), calc(50svh - var(--stage-h, 450px) / 2)) !important; transform: none !important; }
  html, body, main, .sec, .roots, .header, .tl-list b, .tl-list span { transition-duration: 1.2s !important; }
  .tl-stage::after { content: ""; position: absolute; inset: 0; z-index: var(--z-over); pointer-events: none; border-radius: inherit;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(13, 16, 21, .45) 100%); opacity: 0; transition: opacity 1.2s ease; }
  html.theater .tl-stage::after { opacity: 1; }
  html.theater .tl-stage img { filter: saturate(.92) contrast(1.04) sepia(.08); transition: opacity 1.2s ease, filter 1.2s ease; }
  .tl-stage img.on { animation: tl-drift 16s ease-out both; }
  @keyframes tl-drift { from { transform: scale(1.02) translate(.6%, .6%); } to { transform: scale(1.1) translate(-1.2%, -1%); } }
}
@media (prefers-reduced-motion: reduce) { .tl-stage img.on { animation: none !important; } }

/* theatre, continuous (owner, 2026-11-23: "사이사이 더 길게 … 년도별로 감상", "어두워지는게 자연스럽지 않다"): each year has about
   a screen of scroll to itself, and the room darkens in step with the scroll through one veil (--dark 0→1) rather than a
   switch; the light/dark text colours cross over at the half-way point with a gentle fade */
@media (min-width: 761px) {
  .tl-list { padding-top: 0 !important; padding-bottom: 0 !important; }
  .tl::before, .tl::after { content: ""; grid-column: 8 / span 5; } .tl-list > li:first-child { padding-top: 0 !important; } .tl { row-gap: 0; }
  .tl-list { border-top: 20vh solid transparent; border-bottom: 40vh solid transparent; }
  .tl-list li { padding: 0 !important; min-height: 72vh; display: flex; flex-direction: column; justify-content: center; }
  .tl-list li::before { top: calc(50% - 16px) !important; }
  html.theater, html.theater body, html.theater main, html.theater .sec, html.theater .roots, html.theater .page-head, html.theater .subnav { background-color: transparent !important; }
  body::before { content: ""; position: fixed; inset: 0; z-index: var(--z-flat); pointer-events: none; background: #0D1015; opacity: var(--dark, 0); }
  main, .footer { position: relative; z-index: var(--z-raised); }
  html.theater .header { background: rgba(13, 16, 21, calc(.94 * var(--dark, 0))) !important; }
  .header { background-color: rgba(247, 246, 242, calc(.94 * (1 - var(--dark, 0)))) !important; }
  html, body, main, .sec, .roots, .header, .tl-list b, .tl-list span, .tl-list li::before { transition-duration: .6s !important; }
  .tl-stage { box-shadow: 0 40px 120px rgba(0, 0, 0, calc(.6 * var(--dark, 0))) !important; }
  .tl-stage::after { opacity: var(--dark, 0) !important; transition: none !important; }
}
@media (prefers-reduced-motion: reduce) { body::before { transition: none; } }

/* only the year in focus is shown (owner, 2026-11-23: "글자도 뜨는것만 이쁘게"): in the dark, the current year rises into place
   and the others recede to a faint trace, like a title card in a documentary */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  html.theater .tl-list li b, html.theater .tl-list li span { opacity: .12; transform: translateY(12px); filter: blur(1.5px);
    transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1), filter .9s ease, color .9s ease !important; }
  html.theater .tl-list li.on b, html.theater .tl-list li.on span { opacity: 1; transform: none; filter: none; }
  html.theater .tl-list li.on span { transition-delay: .15s !important; }
  html.theater .tl-list li.on b { font-size: calc(var(--t-h2) * 1.25); }
  html.theater .tl-list li:not(.on)::before { opacity: .35; }
}

/* house lights (owner, 2026-11-23: "극장처럼 자연스럽게", "풋터까지 깔끔하게"): the veil is a warm near-black that also gives the
   photo a faint glow rather than a hard blue shadow; the timeline ends with less empty space so the footer follows cleanly */
@media (min-width: 761px) {
  body::before { background: radial-gradient(ellipse 70% 60% at 30% 50%, #17140F 0%, #0B0B0C 70%); transition: opacity .25s linear; }
  .tl-stage { box-shadow: 0 0 80px rgba(255, 214, 160, calc(.06 * var(--dark, 0))) !important; }
  .tl-list { border-bottom-width: 22vh !important; }
  html.theater .header { background: rgba(11, 11, 12, calc(.9 * var(--dark, 0))) !important; }
}
/* the photo bows out at the end of the timeline as the lights come up */
@media (min-width: 761px) { .tl-stage { opacity: calc(1 - var(--end, 0)); scale: calc(1 - .04 * var(--end, 0)); } }

@media (min-width: 901px) { .hm-route .route-home > .route-walk { grid-column: 2; justify-self: start; } }
/* the room darkens as one: no section paints its own background over the veil, so no grey band appears at the top */
@media (min-width: 761px) { main[data-page="history"], main[data-page="history"] .sec, main[data-page="history"] .page-head { background: transparent !important; } }
/* sermon cards show the service itself: the video frame fills the card under the same dark gradient as before */
.hm-word-grid .cover img.yt-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: var(--z-backdrop); }
/* film edge print on the grid (owner, 2026-11-23: "글자 정렬 인덱싱 스페이싱"): both rails' text starts and ends on the
   picture's own edges (4px frame inset), sits centred between the sprocket holes and the picture (top rail 15–32px,
   bottom rail 0–33px below the picture), and "7 ▸ 7A" has single, even spaces */
.dawnstrip .frame::before { content: counter(fr) " ▸ " counter(fr) "A" !important; top: -13px !important; left: 4px !important; letter-spacing: .12em !important; }
.dawnstrip .frame figcaption { left: 4px !important; right: 4px !important; bottom: -21px !important; letter-spacing: .12em !important; }
/* a clear gap of film between frames, so one frame's edge print never runs into the next ("BUTLER #922") */
.dawnstrip .frame { padding: 0 12px !important; }
.dawnstrip .frame::before { left: 12px !important; }
.dawnstrip .frame figcaption { left: 12px !important; right: 12px !important; }
/* the rail and its blue fill stop on the last year's dot (--tl-end is measured in elim.js timeline()) */
.tl-list::before, .tl-list::after { bottom: var(--tl-end, 0px) !important; height: auto !important; top: 0 !important; }
/* while the film moves (drag, fling, swipe) every frame stays in full light and nothing re-animates under the pointer */
.dawnstrip.is-moving .frame img, .dawnstrip.is-grabbing .frame img { opacity: 1 !important; filter: saturate(.92) contrast(1.02) !important; transform: none !important; transition: none !important; }

/* 오시는 길 map, three destinations (본당 · 패션하우스 · 미션하우스): one walk shown at a time, chosen by ?to= on the visit
   page; the church's other rooms stay visible as a light tint, the chosen one in full orange */
.routemap .rm-route.is-off { display: none; }
.routemap .rm-room:not(.is-on) { fill: #F7DDBE; stroke: #E9B77F; }
/* the rooms a walk does not end at: quiet white dots with their names, so every place is on every map */
.routemap .rm-q { fill: #FFFFFF; stroke: var(--night, #0B2447); stroke-width: 2.5; }
.routemap .rm-qt { fill: var(--ink-2, #4A5670); font: 600 17px/1 var(--sans); paint-order: stroke; stroke: #F3F1EB; stroke-width: 5px; stroke-linejoin: round; }

/* review 2026-11-23: on tablets (no photo panel) the first year follows its subtitle without the 20vh lead-in */
@media (min-width: 761px) and (max-width: 900px) { .tl-list { border-top-width: 0 !important; } }
/* phone map (viewBox cropped by visit-walk.mjs): labels a size up so they read at about 10-12 px */
.routemap.rm-phone .rm-t { font-size: 30px; }
.routemap.rm-phone .rm-s { font-size: 23px; }
.routemap.rm-phone .rm-qt { font-size: 22px; }
.routemap.rm-phone .rm-osm { font-size: 20px; }
.routemap.rm-phone { aspect-ratio: 888 / 427; height: auto !important; }
/* phone map stops: a size up, so the numbers read and each stop sits on the line as a clear marker */
.routemap.rm-phone .rm-stop { transform-box: fill-box; transform-origin: center; scale: 1.3; }
.routemap.rm-phone .rm-walk-halo { stroke-width: 9; }
@media (max-width: 760px) { .hm-route .hm-map { aspect-ratio: 888 / 427 !important; } }
/* the map, tidied (owner, 2026-11-23: "지도도 완벽하게 정돈되지 않았다"): a calmer ground so the route and the church's five rooms
   lead. Buildings sit one quiet step above the paper with no outlines, roads are plain white, the mall keeps a pale blue,
   and every church room shows its whole outline in one light tint (the chosen one in full orange) */
.routemap .rm-bg { fill: #F4F2EC; }
.routemap .rm-bldg { fill: #EBE7DF; stroke: none; }
.routemap .rm-mall { fill: #E3EAF3; stroke: #B9C8DD; stroke-width: 1; }
.routemap .rm-room:not(.is-on) { fill: #F8E2C6; stroke: #EBB57A; stroke-width: 1.25; }
.routemap .rm-church.is-on { fill: #EF8306; stroke: #C96A00; stroke-width: 1.5; }
/* 연혁 ending (owner 2026-11-25: the last photo stood alone after "지금" scrolled away): "지금" sits at the foot of its
   row, level with the photo's middle, and the list ends there, so the photo and its caption leave the screen together */
@media (min-width: 761px) {
  .tl .tl-list { border-bottom-width: 0 !important; }
  .tl-list li.latest { justify-content: flex-end !important; padding-bottom: calc(var(--stage-h, 454px) / 2 - 37px) !important; }
  .tl-list li.latest::before { top: auto !important; bottom: calc(var(--stage-h, 454px) / 2 + 4px) !important; }
}
