/* 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; }
.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: 2; 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: -1; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; 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 .2s ease; }
.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: 6px; 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: 2px; 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: -2; }
.cover::before { z-index: -1; }
@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; min-width: 44px; }
.cover.big .c-t { font-size: var(--t-h2) !important; }
.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: 900px) { .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: 2px; 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: 2px; }
.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: 6px 10px; } }
.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: 999px; background: #EEEDE7; }
.map-modes button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2);
  font: 600 var(--t-small)/1 var(--sans); cursor: pointer; transition: background-color .2s, color .2s; }
.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: 4px; }
#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: 1fr; border-radius: 16px; width: 100%; } .map-modes button { border-radius: 12px; } }
/* 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 .25s ease; }
.hm-hero .film-btn::before { content: ""; position: absolute; inset: 6px; border-radius: 10px; 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: 2px; 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 20px; border: 0; border-radius: 999px; 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: 16px; 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 14px; border: 0; border-radius: 10px; 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 .2s ease, transform .2s ease; }
.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 .2s ease, background-color .2s ease; }
.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(0,58,143,.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(0,58,143,.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: 6px; 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: 999px;
  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: 1; 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: 4px; 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 20px 0 22px; border-radius: 999px; background: var(--night); color: #fff;
  font: 700 var(--t-small)/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background-color .2s ease; }
.more-btn .ic { width: 18px; height: 18px; transition: transform .2s ease; }
.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: 16px; 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 .5s cubic-bezier(.2,.7,.2,1); }
.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: 16px; 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); }
.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; outline: none; }
.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: 18%; }
.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; } }
