/* 기산교회 — 흰 바탕, 글꼴 하나(Pretendard), 색은 사진에서 */
:root {
  --bg: #ffffff;
  --ink: #111113;
  --sub: #6e6e73;
  --faint: #a1a1a6;
  --soft: #f5f5f7;
  --soft-2: #ececef;
  --line: rgba(0, 0, 0, .07);
  --dark: #111113;
  --radius: 24px;
  --radius-sm: 16px;
  --wrap: 1180px;
  --gutter: 24px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 17px; line-height: 1.65; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, dl, dd, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 머리 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
/* 흐림 효과가 있으면 고정 메뉴가 머리 안에 갇히므로, 메뉴를 열 때는 끈다 */
.site-header.menu-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; z-index: 2; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; flex: none; }
.brand img { width: 36px; height: auto; }

.gnb { height: 100%; }
.gnb-list { display: flex; height: 100%; }
.gnb-item { position: relative; width: 120px; height: 100%; display: flex; align-items: center; justify-content: center; }
.gnb-top { padding: 8px 12px; border-radius: 999px; font-size: 15.5px; font-weight: 500; color: var(--sub); transition: color .2s, background-color .2s; white-space: nowrap; }
.gnb-top:hover, .gnb-top[aria-current] { color: var(--ink); }
.gnb-top[aria-current] { font-weight: 600; }
.gnb-sub {
  position: absolute; top: 100%; left: 0; width: 100%; padding: 18px 0 26px;
  display: grid; gap: 2px; justify-items: center;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s;
}
.gnb-sub a { padding: 7px 10px; font-size: 14.5px; color: var(--sub); border-radius: 10px; white-space: nowrap; transition: color .15s, background-color .15s; }
.gnb-sub a:hover { color: var(--ink); background: var(--soft); }
/* 마우스를 메뉴에 올리면 전체 하위 메뉴가 한 판으로 펼쳐진다 */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: var(--header-h); height: 196px;
  background: rgba(255, 255, 255, .97); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .12), 0 -1px 0 var(--line) inset;
  transform-origin: top; transform: scaleY(0); opacity: 0; pointer-events: none;
  transition: transform .26s var(--ease), opacity .2s;
}
.site-header.mega::after { transform: scaleY(1); opacity: 1; }
.site-header.mega .gnb-sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; height: 196px; align-content: start; }

.menu-btn { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0; background: #fff; overflow-y: auto; padding: 8px 0 40px; z-index: 1; }
.m-group { display: flex; flex-wrap: wrap; gap: 4px 6px; padding: 18px 0; box-shadow: inset 0 -1px 0 var(--line); }
.m-group a { font-size: 15px; color: var(--sub); padding: 6px 12px; border-radius: 999px; background: var(--soft); }
.m-group .m-top { width: 100%; background: none; padding: 0 0 8px; font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }

/* ---------- 단추 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #2a2a2e; }
.btn-soft { background: var(--soft); color: var(--ink); }
.btn-soft:hover { background: var(--soft-2); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--soft-2); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.chip {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--soft); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease);
}
.chip:hover { background: var(--soft-2); }
.chip:active { transform: scale(.96); }
.on-soft .chip, .chip-white { background: #fff; }
.on-soft .chip:hover, .chip-white:hover { background: var(--soft-2); }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--sub); transition: color .2s; }
.text-link:hover { color: var(--ink); }
.text-link svg { width: 16px; height: 16px; }

.meta { font-size: 14px; font-weight: 500; color: var(--sub); }
.sub { font-size: 15px; color: var(--sub); }
.fill-later { color: var(--faint); }

/* ---------- 홈 첫 화면 ---------- */
.hero { padding: 32px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.hero-text { padding-bottom: 12px; }
.eyebrow { font-size: 15px; font-weight: 500; color: var(--sub); margin-bottom: 18px; }
.hero h1 { font-size: clamp(64px, 9.2vw, 128px); line-height: .98; font-weight: 800; letter-spacing: -0.055em; margin-left: -0.04em; }
.hero-lead { margin: 28px 0 40px; font-size: clamp(20px, 2vw, 26px); line-height: 1.45; font-weight: 500; letter-spacing: -0.03em; }
.hero-facts { display: flex; gap: 40px; margin-top: 56px; }
.hero-facts dt { font-size: 13px; font-weight: 500; color: var(--sub); margin-bottom: 4px; }
.hero-facts dd { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.hero-text > * { animation: rise .9s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .06s; }
.hero-text > :nth-child(3) { animation-delay: .12s; }
.hero-text > :nth-child(4) { animation-delay: .18s; }
.hero-text > :nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }

/* 첫 화면 사진: 천천히 넘어가는 캐러셀 */
.fader { position: relative; border-radius: 28px; overflow: hidden; height: clamp(520px, calc(100vh - var(--header-h) - 72px), 820px); background: var(--soft); animation: settle 1.6s var(--ease) both; }
.fader img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease, transform 6s linear; }
.fader img.on { opacity: 1; transform: scale(1); }
.fader-dots { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.fader-dots button { width: 28px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: background-color .3s, width .3s var(--ease); }
.fader-dots button[aria-current="true"] { background: #fff; width: 44px; }
.fader::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .28)); pointer-events: none; }
@keyframes settle { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

/* ---------- 표어 띠 ---------- */
.motto { background: var(--dark); color: #fff; padding: 120px 0; text-align: center; }
.motto-label { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .6); }
.motto-text { margin: 20px 0 18px; font-size: clamp(34px, 5.6vw, 72px); font-weight: 700; line-height: 1.15; letter-spacing: -0.045em; }
.motto-ref { font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, .6); }

/* ---------- 구역 ---------- */
.section { padding: 120px 0; }
.section-tight { padding-top: 0; }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.section h2 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.15; }
.section-head h2 { margin: 0; }
.section > .wrap > h2 { margin-bottom: 48px; }
.h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.3; margin-bottom: 24px; }

/* 하위 페이지 머리 */
.page-head { padding: 72px 0 40px; }
.page-head h1 { font-size: clamp(44px, 6vw, 76px); font-weight: 800; letter-spacing: -0.05em; line-height: 1.05; }
.page-head .lead { margin-top: 16px; font-size: 19px; color: var(--sub); letter-spacing: -0.02em; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.subnav a { height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--soft); font-size: 15px; font-weight: 500; color: var(--sub); transition: background-color .2s, color .2s; }
.subnav a:hover { background: var(--soft-2); color: var(--ink); }
.page-section { padding-top: 56px; padding-bottom: 72px; }
.page-section + .page-section { padding-top: 24px; }
.page-section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.2; margin-bottom: 32px; }

/* ---------- 예배 ---------- */
.worship-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 20px; }
.worship-main { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 520px; background: #222; color: #fff; }
.worship-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.worship-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.82) 100%); }
.worship-main-body { position: absolute; left: 32px; right: 32px; bottom: 30px; z-index: 1; }
.worship-main .worship-name { font-size: 17px; font-weight: 600; opacity: .9; }
.worship-main .worship-time { font-size: clamp(48px, 5.4vw, 68px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.1; margin: 4px 0 8px; font-variant-numeric: tabular-nums; }
.worship-main .worship-note { font-size: 15px; opacity: .78; }
.worship-list { background: var(--soft); border-radius: var(--radius); padding: 12px 32px; display: flex; flex-direction: column; justify-content: center; }
.worship-list li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; }
.worship-list li + li { box-shadow: inset 0 1px 0 var(--line); }
.worship-list .worship-name { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.worship-list .worship-note { font-size: 14px; color: var(--sub); margin-top: 2px; }
.worship-list .worship-time { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.section-foot { margin-top: 28px; }

/* 예배 순서 */
.order-list { display: grid; gap: 0; background: var(--soft); border-radius: var(--radius); padding: 8px 32px; counter-reset: ord; }
.order-list li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 18px 0; counter-increment: ord; }
.order-list li + li { box-shadow: inset 0 1px 0 var(--line); }
.order-list li::before { content: counter(ord); font-size: 14px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.order-label { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.order-content { display: block; font-size: 15px; color: var(--sub); font-weight: 400; margin-top: 2px; }
.order-leader { font-size: 15px; color: var(--sub); white-space: nowrap; }

/* ---------- 말씀·주보 카드 ---------- */
.sermon-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; align-items: start; }
.card { background: #fff; border-radius: var(--radius); padding: 40px; }
.card-soft { background: var(--soft); border-radius: var(--radius); padding: 40px; }
.sermon-title { margin: 14px 0 14px; font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.35; letter-spacing: -0.04em; }
.sermon-info { font-size: 16px; font-weight: 500; color: var(--sub); }
.card .btn-row { margin-top: 32px; }
.news-list { margin-top: 16px; display: grid; gap: 10px; }
.news-list li { background: var(--soft); border-radius: var(--radius-sm); padding: 18px 22px; font-size: 16px; line-height: 1.55; letter-spacing: -0.015em; }
.card-soft .news-list li { background: #fff; }

.bulletin-rows { display: grid; gap: 10px; }
.bulletin-row { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 24px; padding: 24px 28px; border-radius: var(--radius-sm); background: var(--soft); transition: background-color .2s; }
.bulletin-row:hover { background: var(--soft-2); }
.bulletin-row .when { font-size: 15px; font-weight: 600; color: var(--sub); font-variant-numeric: tabular-nums; }
.bulletin-row .when small { display: block; font-size: 13px; font-weight: 500; color: var(--faint); }
.bulletin-row .title { font-size: 18px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.45; }
.bulletin-row .verse { font-size: 14px; color: var(--sub); margin-top: 2px; }
.bulletin-row .go { color: var(--faint); }
.bulletin-row .go svg { width: 20px; height: 20px; display: block; }
.more-row { display: flex; justify-content: center; margin-top: 24px; }
.empty { padding: 56px 24px; border-radius: var(--radius); background: var(--soft); text-align: center; color: var(--sub); }

/* 주보 상세 */
.b-head { padding-top: 56px; padding-bottom: 8px; }
.b-back { margin-bottom: 28px; }
.b-meta { font-size: 15px; font-weight: 600; color: var(--sub); }
.b-title { margin: 16px 0 16px; font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; line-height: 1.22; letter-spacing: -0.05em; max-width: 920px; }
.b-info { font-size: 18px; color: var(--sub); font-weight: 500; }
.b-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; align-items: start; }
.b-block + .b-block { margin-top: 20px; }
.b-block h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 18px; }
.prayer { font-size: 17px; line-height: 1.9; letter-spacing: -0.015em; }
.verse-block + .verse-block { margin-top: 24px; }
.verse-block p { font-size: 16px; line-height: 1.8; }
.verse-block .ref { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--sub); }
.q-list { counter-reset: q; display: grid; gap: 14px; }
.q-list li { counter-increment: q; display: grid; grid-template-columns: 28px 1fr; gap: 6px; font-size: 16px; line-height: 1.7; }
.q-list li::before { content: counter(q) "."; font-weight: 700; color: var(--sub); font-variant-numeric: tabular-nums; }
.files { display: grid; gap: 10px; }
.file-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: var(--radius-sm); background: #fff; font-size: 15px; }
.file-row .name { font-weight: 600; word-break: break-all; }
.file-row .size { color: var(--sub); font-size: 13px; }
.b-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 48px; }
.b-nav a { padding: 22px 24px; border-radius: var(--radius-sm); background: var(--soft); transition: background-color .2s; }
.b-nav a:hover { background: var(--soft-2); }
.b-nav .dir { display: block; font-size: 13px; color: var(--sub); font-weight: 500; }
.b-nav .t { font-size: 16px; font-weight: 600; }
.b-nav .next { text-align: right; }

/* ---------- 캐러셀 ---------- */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 auto; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--soft); position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-peek .slide { width: min(760px, 64%); aspect-ratio: 3 / 2; }
.carousel-full .slide { width: 100%; height: min(72vh, 760px); background: #0e0e10; }
.carousel-full .slide img { object-fit: contain; }
.carousel-doc .slide { width: 100%; aspect-ratio: auto; background: var(--soft); }
.carousel-doc .slide img { height: auto; object-fit: contain; }
.slide figcaption { position: absolute; left: 20px; bottom: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(17, 17, 19, .6); color: #fff; font-size: 13px; font-weight: 500; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.carousel-ui { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.carousel-count { font-size: 15px; font-weight: 600; color: var(--sub); font-variant-numeric: tabular-nums; }
.carousel-count b { color: var(--ink); }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-btn { width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--soft); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, opacity .2s, transform .2s var(--ease); }
.carousel-btn:hover { background: var(--soft-2); }
.carousel-btn:active { transform: scale(.94); }
.carousel-btn[disabled] { opacity: .35; pointer-events: none; }
.carousel-btn svg { width: 20px; height: 20px; }
.section-soft .carousel-btn { background: #fff; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 20px; }
.thumbs button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: pointer; background: var(--soft); opacity: .55; transition: opacity .2s; }
.thumbs button[aria-current="true"], .thumbs button:hover { opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 갤러리 ---------- */
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.album-card { display: block; }
.album-card .cover { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.album-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.album-card:hover .cover img { transform: scale(1.035); }
.album-card .t { margin-top: 14px; font-size: 18px; font-weight: 600; letter-spacing: -0.025em; }
.album-card .m { font-size: 14px; color: var(--sub); }

/* ---------- 소개 ---------- */
.greet-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.greet-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--soft); }
.greet-photo img { width: 100%; height: 100%; object-fit: cover; }
.greet-text { font-size: 18px; line-height: 1.9; letter-spacing: -0.02em; white-space: pre-line; }
.greet-sign { margin-top: 32px; font-size: 16px; color: var(--sub); }
.greet-sign b { color: var(--ink); font-size: 19px; margin-left: 8px; }
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vision-card { border-radius: var(--radius); padding: 44px 40px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.vision-card.dark { background: var(--dark); color: #fff; }
.vision-card.dark .meta { color: rgba(255, 255, 255, .6); }
.vision-card.light { background: var(--soft); }
.vision-card .big { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.3; letter-spacing: -0.04em; }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.person { background: var(--soft); border-radius: var(--radius-sm); padding: 28px; }
.person-role { font-size: 14px; font-weight: 500; color: var(--sub); }
.person-name { margin-top: 6px; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.history { display: grid; gap: 0; }
.history li { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 20px 0; box-shadow: inset 0 -1px 0 var(--line); font-size: 17px; }
.history .y { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- 오시는 길 ---------- */
.location-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; }
.map { border-radius: var(--radius); overflow: hidden; background: var(--soft); min-height: 460px; }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: grayscale(.25); }
.location-info { background: var(--soft); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 32px; }
.address { font-size: 26px; font-weight: 700; line-height: 1.35; letter-spacing: -0.035em; margin: 8px 0 6px; }
.info-block .chip { margin-top: 16px; }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; }
.map-links .btn { height: 46px; padding: 0 20px; font-size: 15px; }
.bus { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin: 8px 0 12px; }
.bus-lines { display: flex; flex-wrap: wrap; gap: 6px; }
.bus-lines span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 8px; background: #fff; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { background: var(--soft); border-radius: var(--radius); padding: 36px; }
.contact-main { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; margin: 10px 0 4px; font-variant-numeric: tabular-nums; }
.contact-card .chip { margin-top: 18px; }
.contact-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; }
.contact-row + .contact-row { box-shadow: inset 0 1px 0 var(--line); }
.contact-row:first-of-type { margin-top: 6px; }
.contact-row span { font-size: 16px; color: var(--sub); }
.contact-row strong { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* ---------- 바닥 ---------- */
.site-footer { padding: 64px 0 48px; background: var(--soft); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-nav a { font-size: 15px; font-weight: 500; color: var(--sub); }
.footer-nav a:hover { color: var(--ink); }
.footer-info { margin-top: 36px; display: grid; gap: 8px; }
.footer-info div { display: flex; gap: 16px; font-size: 14px; }
.footer-info dt { width: 84px; flex: none; color: var(--faint); }
.footer-info dd { color: var(--sub); }
.footer-bottom { margin-top: 36px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--faint); }
.footer-admin { color: var(--faint); }
.footer-admin:hover { color: var(--sub); }

/* ---------- 알림·등장 ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); z-index: 200;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--dark); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 500;
  transition: opacity .25s var(--ease), transform .25s var(--ease); max-width: calc(100vw - 40px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.skeleton { background: linear-gradient(90deg, var(--soft) 0%, var(--soft-2) 50%, var(--soft) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; border-radius: 12px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- 태블릿 ---------- */
@media (max-width: 1080px) {
  .gnb-item { width: 104px; }
}
@media (max-width: 980px) {
  .hero-grid { gap: 40px; }
  .worship-grid, .sermon-grid, .location-grid, .b-grid, .greet-grid { grid-template-columns: 1fr; }
  .greet-grid { gap: 32px; }
  .greet-photo { aspect-ratio: 16 / 10; }
  .worship-main { min-height: 440px; }
  .album-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .gnb { display: none; }
  .menu-btn { display: block; }
}

/* ---------- 휴대폰 ---------- */
@media (max-width: 760px) {
  :root { --gutter: 20px; --header-h: 60px; --radius: 20px; }
  body { font-size: 16px; }
  .hero { padding: 8px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .fader { order: -1; height: auto; aspect-ratio: 4 / 4.4; border-radius: 22px; }
  .hero-text { padding-bottom: 0; }
  .eyebrow { margin-bottom: 10px; font-size: 14px; }
  .hero h1 { font-size: 64px; }
  .hero-lead { margin: 18px 0 28px; font-size: 20px; }
  .hero .btn-row .btn { flex: 1; }
  .hero-facts { margin-top: 32px; gap: 28px; }
  .motto { padding: 88px 0; }
  .motto-text { font-size: 34px; }
  .section { padding: 88px 0; }
  .section-tight { padding-top: 0; }
  .section-head { margin-bottom: 28px; flex-wrap: wrap; }
  .section > .wrap > h2 { margin-bottom: 32px; }
  .page-head { padding: 44px 0 24px; }
  .page-section { padding-top: 40px; padding-bottom: 56px; }
  .worship-main { min-height: 400px; }
  .worship-main-body { left: 24px; right: 24px; bottom: 24px; }
  .worship-list, .order-list { padding: 4px 22px; }
  .worship-list li { padding: 20px 0; }
  .worship-list .worship-name { font-size: 17px; }
  .order-list li { grid-template-columns: 30px 1fr; }
  .order-leader { grid-column: 2; }
  .card, .card-soft { padding: 28px 24px; }
  .bulletin-row { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 20px 22px; }
  .bulletin-row .when { grid-column: 1 / -1; }
  .carousel-peek .slide { width: 86%; }
  .carousel-full .slide { height: auto; aspect-ratio: 4 / 5; }
  .album-grid { grid-template-columns: 1fr; }
  .vision-grid, .people, .contact-grid { grid-template-columns: 1fr; }
  .vision-card { min-height: 0; padding: 32px 28px; }
  .history li { grid-template-columns: 90px 1fr; gap: 16px; }
  .map, .map iframe { min-height: 320px; }
  .location-info, .contact-card { padding: 28px 24px; }
  .address { font-size: 23px; }
  .map-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .map-links .btn { padding: 0 6px; font-size: 14px; }
  .contact-main { font-size: 23px; }
  .contact-row strong { font-size: 18px; }
  .b-nav { grid-template-columns: 1fr; }
  .b-nav .next { text-align: left; }
  .footer-info div { flex-direction: column; gap: 0; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .carousel-track { scroll-behavior: auto; }
}
