@charset "UTF-8";
/* ============================================================
   로뎀나무교회 — 디자인 시스템
   색상 방향 : 로뎀 그린 (로고의 초록·브라운·블루에서 추출)
   레이아웃/분위기 : 시네마틱 다크 히어로 + 대형 타이포 (오메가교회 참고)
   ============================================================ */

/* ---------- 1. 웹폰트 ---------- */
@import url("https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/pretendard-dynamic-subset.min.css");
@import url("https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&display=swap");

/* ---------- 2. 디자인 토큰 ---------- */
:root {
  /* 브랜드 — 로고에서 추출 */
  --leaf:        #86C440;   /* 로고 나뭇잎 */
  --leaf-soft:   #A9DC6B;
  --sky:         #2E9BD6;   /* 로고 PCK 심볼 */
  --bark:        #6B4A2F;   /* 로고 나무 줄기 */

  --green-900:   #08251A;
  --green-800:   #0D3626;
  --green-700:   #14523A;
  --green-600:   #1A6B4A;
  --green-500:   #22885D;
  --green-400:   #35A873;

  /* 중립 */
  --ink:         #0A120E;
  --ink-2:       #111C16;
  --ink-3:       #1A2921;
  --text:        #1B2620;
  --text-soft:   #566159;
  --line:        #E3E9E3;
  --cream:       #F5F8F3;
  --paper:       #FFFFFF;

  /* 다크 표면 위 텍스트 */
  --on-dark:     #F2F7F1;
  --on-dark-soft:#A9B8AE;

  /* 그라데이션 */
  --grad-leaf:   linear-gradient(115deg, var(--green-600) 0%, var(--leaf) 100%);
  --grad-deep:   linear-gradient(160deg, var(--green-900) 0%, var(--ink) 100%);

  /* 형태 */
  --r-sm: 10px;
  --r:    18px;
  --r-lg: 28px;
  --shadow:    0 2px 8px rgba(10,18,14,.05), 0 18px 40px -22px rgba(10,18,14,.28);
  --shadow-lg: 0 4px 14px rgba(10,18,14,.07), 0 42px 80px -34px rgba(10,18,14,.42);

  /* 간격 */
  --pad:   clamp(20px, 5vw, 40px);
  --gap:   clamp(20px, 3vw, 34px);
  --bleed: clamp(64px, 11vw, 148px);

  --nav-h: 84px;

  --sans: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  --serif: "Gowun Batang", "Nanum Myeongjo", serif;
}

/* ---------- 3. 리셋 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  background: var(--green-700); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 12px;
  transition: top .2s;
}
.skip:focus { top: 0; }

/* ---------- 4. 레이아웃 ---------- */
.container { width: min(1200px, 100% - (var(--pad) * 2)); margin-inline: auto; }
.container-narrow { width: min(840px, 100% - (var(--pad) * 2)); margin-inline: auto; }
.section { padding-block: var(--bleed); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--grad-deep); color: var(--on-dark); }
.section--dark .lead,
.section--dark .muted { color: var(--on-dark-soft); }

/* ---------- 5. 타이포 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--leaf); border-radius: 2px; }
.section--dark .eyebrow { color: var(--leaf-soft); }

.display {
  font-size: clamp(2.6rem, 8.4vw, 6.4rem);
  font-weight: 900; line-height: 1.02; letter-spacing: -.035em; margin: 0;
}
.h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.18; letter-spacing: -.028em; }
.h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.25; letter-spacing: -.024em; }
.h3 { font-size: clamp(1.14rem, 1.9vw, 1.4rem); font-weight: 700; line-height: 1.4; letter-spacing: -.015em; }
.lead { font-size: clamp(1rem, 1.55vw, 1.16rem); line-height: 1.85; color: var(--text-soft); }
.muted { color: var(--text-soft); }
.small { font-size: .88rem; }

.verse {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
  line-height: 1.85; letter-spacing: -.01em;
}
.verse cite { display: block; margin-top: 18px; font: 600 .84rem/1 var(--sans); letter-spacing: .12em; opacity: .7; font-style: normal; }

.accent { color: var(--green-600); }
.section--dark .accent { color: var(--leaf); }
.grad-text {
  background: var(--grad-leaf); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .h2 { margin-top: 16px; }
.section-head .lead { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- 6. 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 700; font-size: .96rem; letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad-leaf); color: #04150D; box-shadow: 0 12px 30px -12px rgba(134,196,64,.7); }
.btn--primary:hover { box-shadow: 0 18px 40px -14px rgba(134,196,64,.85); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.4); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--outline { border: 1.5px solid var(--line); color: var(--text); background: var(--paper); }
.btn--outline:hover { border-color: var(--green-500); color: var(--green-600); }
.btn--yt { background: #FF0033; color: #fff; box-shadow: 0 12px 30px -14px rgba(255,0,51,.8); }
.btn--sm { padding: 11px 22px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--green-600); font-size: .95rem;
}
.link-more svg { transition: transform .2s ease; }
.link-more:hover svg { transform: translateX(4px); }
.section--dark .link-more { color: var(--leaf); }

/* ---------- 7. 헤더 / 내비게이션 ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.header__inner { display: flex; align-items: center; gap: 24px; width: min(1320px, 100% - 40px); margin-inline: auto; }

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { height: 54px; width: auto; transition: opacity .25s ease; }
@media (max-width: 900px) { .brand img { height: 42px; } }
.brand__light { display: block; }
.brand__dark  { display: none; }

.header--solid { background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom-color: var(--line); box-shadow: 0 8px 28px -22px rgba(10,18,14,.5); }
.header--solid .brand__light { display: none; }
.header--solid .brand__dark  { display: block; }
.header--solid .gnb > li > a { color: var(--text); }
.header--solid .nav-toggle span { background: var(--text); }
.header--solid .header__cta { border-color: var(--line); color: var(--green-700); }

.gnb-wrap { margin-left: auto; }
.gnb { display: flex; }
.gnb > li { position: relative; }
.gnb > li > a {
  display: flex; align-items: center; height: var(--nav-h); padding-inline: clamp(12px, 1.3vw, 20px);
  font-weight: 700; font-size: .97rem; color: #fff; letter-spacing: -.015em;
  transition: color .2s ease;
}
.gnb > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 20px; translate: -50% 0;
  width: 0; height: 2px; background: var(--leaf); border-radius: 2px; transition: width .25s ease;
}
.gnb > li:hover > a::after, .gnb > li.is-current > a::after { width: calc(100% - 30px); }
.gnb > li:hover > a { color: var(--leaf); }

.submenu {
  position: absolute; top: calc(var(--nav-h) - 8px); left: 50%; translate: -50% 0;
  min-width: 208px; padding: 10px; border-radius: 16px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.gnb > li:hover .submenu, .gnb > li:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: 10px 16px; border-radius: 10px;
  font-size: .92rem; font-weight: 600; color: var(--text); white-space: nowrap;
}
.submenu a:hover { background: var(--cream); color: var(--green-600); }

.header__cta {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45);
  color: #fff; font-weight: 700; font-size: .88rem;
}
.header__cta:hover { background: var(--grad-leaf); color: #04150D; border-color: transparent; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; padding: 0 10px; margin-left: auto; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 8. 히어로 ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; background: var(--ink); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg .photo, .hero__bg img { width: 100%; height: 100%; border-radius: 0; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,37,26,.72) 0%, rgba(8,37,26,.42) 40%, rgba(10,18,14,.92) 100%),
    radial-gradient(120% 80% at 15% 20%, rgba(134,196,64,.20) 0%, transparent 60%);
}
.hero__inner { position: relative; z-index: 2; padding-block: calc(var(--nav-h) + 48px) 96px; color: #fff; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 8px 18px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  font-size: .82rem; font-weight: 700; letter-spacing: .06em;
}
.hero__kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(134,196,64,.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(134,196,64,0); } 100% { box-shadow: 0 0 0 0 rgba(134,196,64,0); } }

.hero__title { color: #fff; text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.hero__title .line-2 { display: block; color: var(--leaf); }
.hero__sub { margin-top: 26px; max-width: 620px; font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.85; color: rgba(255,255,255,.86); }
.hero__actions { margin-top: 38px; }
.hero__meta {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px 32px;
  padding: 22px 0 0; margin-top: 44px; border-top: 1px solid rgba(255,255,255,.18);
  font-size: .9rem; color: rgba(255,255,255,.8);
}
.hero__meta b { color: #fff; font-weight: 700; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .7rem; letter-spacing: .22em; color: rgba(255,255,255,.6);
}
.hero__scroll i { display: block; width: 1px; height: 42px; background: linear-gradient(180deg, rgba(255,255,255,.7), transparent); animation: drop 2s ease-in-out infinite; }
@keyframes drop { 0%,100% { opacity: .25; transform: scaleY(.5); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* 서브페이지 히어로 */
.page-hero { position: relative; min-height: 46svh; display: grid; align-items: end; background: var(--grad-deep); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; opacity: .34; }
.page-hero__bg .photo, .page-hero__bg img { width: 100%; height: 100%; border-radius: 0; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,37,26,.82) 0%, rgba(10,18,14,.94) 100%);
}
.page-hero__inner { position: relative; z-index: 2; padding-block: calc(var(--nav-h) + 56px) 54px; color: #fff; }
.page-hero .h1 { color: #fff; margin-top: 14px; }
.page-hero .lead { color: rgba(255,255,255,.8); margin-top: 16px; max-width: 640px; }
.crumb { font-size: .84rem; color: rgba(255,255,255,.62); display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a:hover { color: var(--leaf); }

/* 페이지 내 섹션 이동 탭 */
.subnav { position: sticky; top: var(--nav-h); z-index: 80; background: rgba(255,255,255,.95); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; padding: 17px 18px; font-size: .93rem; font-weight: 700; white-space: nowrap;
  color: var(--text-soft); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.subnav a:hover { color: var(--green-600); }
.subnav a.is-active { color: var(--green-700); border-bottom-color: var(--leaf); }

/* ---------- 9. 사진 자리(첨부 안내) ---------- */
.photo {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--r);
  background: var(--cream); aspect-ratio: var(--ratio, 4 / 3);
}
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.photo--round { border-radius: 50%; }
.photo--flat { border-radius: 0; }

.photo__slot {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 18px; text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(134,196,64,.05) 0 12px, transparent 12px 24px),
    var(--cream);
  border: 2px dashed rgba(26,107,74,.32); border-radius: inherit; color: var(--green-700);
}
.photo__slot svg { opacity: .55; flex: 0 0 auto; }
.photo__slot b { font-size: .85rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.4; }
.photo__slot code {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .71rem; padding: 4px 9px; border-radius: 6px;
  background: rgba(26,107,74,.1); color: var(--green-700); word-break: break-all;
}
.photo__slot small { font-size: .71rem; color: var(--text-soft); line-height: 1.5; }
.hero__bg .photo__slot, .page-hero__bg .photo__slot { border: 0; background: var(--grad-deep); }
.hero__bg .photo__slot > *, .page-hero__bg .photo__slot > * { display: none; }
@media (max-width: 520px) { .photo__slot code, .photo__slot small { display: none; } }

/* ---------- 10. 카드 ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__body { padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__body .h3 { letter-spacing: -.02em; }
.card__tag {
  align-self: flex-start; padding: 5px 13px; border-radius: 999px;
  font-size: .74rem; font-weight: 800; letter-spacing: .04em;
  background: rgba(134,196,64,.16); color: var(--green-700);
}
.card__foot { margin-top: auto; padding-top: 6px; }
.section--dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--on-dark); }
.section--dark .card .muted { color: var(--on-dark-soft); }
.section--dark .card__tag { background: rgba(134,196,64,.2); color: var(--leaf-soft); }

/* 아이콘 카드 */
.icard { padding: clamp(26px, 3vw, 38px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); height: 100%; }
.icard__ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-leaf); color: #04150D; margin-bottom: 22px; font-weight: 900; font-size: 1.1rem;
}
.section--dark .icard { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }

/* 통계 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.14); border-radius: var(--r-lg); overflow: hidden; }
.stat { padding: clamp(26px, 3vw, 40px); background: var(--ink-2); text-align: center; }
.stat__num { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; color: var(--leaf); }
.stat__label { margin-top: 12px; font-size: .88rem; color: var(--on-dark-soft); }

/* ---------- 11. 유튜브 ---------- */
.yt {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden;
  background: #000; cursor: pointer; border: 0; width: 100%; display: block;
}
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.yt:hover img { transform: scale(1.04); opacity: .82; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play {
  position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center; background: #FF0033; color: #fff;
  box-shadow: 0 14px 40px -10px rgba(0,0,0,.6); transition: transform .25s ease, background-color .25s ease;
  pointer-events: none;
}
.yt:hover .yt__play { transform: scale(1.1); }
.yt__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 26px 22px; text-align: left;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  color: #fff; pointer-events: none;
}
.yt__cap b { display: block; font-size: clamp(.98rem, 1.5vw, 1.16rem); font-weight: 700; line-height: 1.45; }
.yt__cap span { font-size: .8rem; opacity: .75; }

.playlist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.pl {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 20px; border-radius: var(--r-lg); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12); transition: transform .28s ease, border-color .28s ease, background-color .28s ease;
}
.pl:hover { transform: translateY(-5px); border-color: var(--leaf); background: rgba(134,196,64,.08); }
.pl__thumb { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.pl__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pl__name { font-weight: 700; font-size: 1.02rem; color: #fff; letter-spacing: -.02em; }
.pl__meta { font-size: .82rem; color: var(--on-dark-soft); display: flex; align-items: center; gap: 7px; }

/* ---------- 12. 양육 5단계 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.step {
  position: relative; padding: 30px 22px; border-radius: var(--r-lg);
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .28s ease, box-shadow .28s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step::before {
  counter-increment: s; content: "0" counter(s);
  display: block; font-size: .8rem; font-weight: 900; letter-spacing: .1em; color: var(--leaf); margin-bottom: 14px;
}
.step__leaf { width: 40px; height: 40px; margin-bottom: 16px; color: var(--green-500); }
.step h3 { font-size: 1.06rem; font-weight: 800; letter-spacing: -.02em; }
.step p { margin-top: 10px; font-size: .9rem; line-height: 1.7; color: var(--text-soft); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; right: -9px; width: 8px; height: 2px;
  background: var(--line);
}

/* ---------- 13. 예배 시간표 ---------- */
.timetable { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.timetable caption {
  padding: 20px 26px; text-align: left; font-weight: 800; font-size: 1.05rem;
  background: var(--cream); border-bottom: 1px solid var(--line); letter-spacing: -.02em;
}
.timetable th, .timetable td { padding: 15px 26px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.timetable thead th { font-size: .78rem; letter-spacing: .1em; color: var(--text-soft); background: #FBFDFA; font-weight: 700; }
.timetable tbody th { font-weight: 700; width: 38%; }
.timetable tbody tr:last-child th, .timetable tbody tr:last-child td { border-bottom: 0; }
.timetable td b { color: var(--green-700); font-weight: 700; }
.timetable tbody tr:hover { background: rgba(134,196,64,.06); }

/* ---------- 14. CTA 밴드 ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad-deep); color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 85% 10%, rgba(134,196,64,.26) 0%, transparent 60%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band .h2 { color: #fff; }

/* ---------- 15. 푸터 ---------- */
.footer { background: var(--ink); color: var(--on-dark-soft); padding-block: clamp(48px, 6vw, 76px) 30px; font-size: .92rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: var(--gap); padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__logo { height: 46px; width: auto; margin-bottom: 20px; }
.footer h4 { font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: #fff; margin-bottom: 16px; }
.footer li + li { margin-top: 9px; }
.footer a:hover { color: var(--leaf); }
.footer address { font-style: normal; line-height: 1.9; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; padding-top: 26px; font-size: .84rem; color: #6C7A70; }
.sns { display: flex; gap: 10px; margin-top: 20px; }
.sns a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff;
  transition: background-color .2s, transform .2s, border-color .2s;
}
.sns a:hover { background: var(--grad-leaf); color: #04150D; transform: translateY(-3px); border-color: transparent; }

/* ---------- 16. 기타 컴포넌트 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }

.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { padding: 8px 16px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--text-soft); }
.section--dark .chip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: var(--on-dark-soft); }

/* 섬기는 사람들 사진 톤 — 흑백·청회색 (화면에서만 입힘, 사진 파일은 그대로)
   되돌리려면 about.html 의 <section ... class="section tone-mono" id="people"> 에서 tone-mono 만 지우세요 */
.tone-mono .person .photo img { filter: url(#tone-people); }
.tone-mono .person .photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, transparent 55%, rgba(6, 10, 16, .32) 125%);
}

/* 섬기는 사람들 — 가로 슬라이드(캐러셀). 담임목사부터 옆으로 계속 돕니다 (참고: 엘릭서 아틀리에)
   PC는 여러 명이 함께, 휴대폰은 한 명씩 화면 가득. 되돌리려면 about.html 의 people-slider 클래스만 지우세요 */
.person__cap { display: contents; }

.pcar { position: relative; }
.pcar__stage { position: relative; margin-inline: -10px; }
.pcar__viewport { overflow: hidden; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.pcar__viewport.is-drag { cursor: grabbing; }
.pcar__track { display: flex; will-change: transform; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.pcar__track.no-anim { transition: none; }
.pcar img { -webkit-user-drag: none; user-drag: none; }

.pcar .person { position: relative; flex: 0 0 calc(100% / var(--pv, 4)); padding: 0 10px; text-align: center; }

/* 사진은 카드 위쪽에 꽉 채우고, 맨 아래 --band 높이만 글자 띠로 씁니다 (얼굴을 가리지 않음).
   --zoom : 사진 속 인물이 작을 때 확대 (1 = 그대로), --zy : 확대할 때 기준 높이 (작을수록 위 여백이 잘림) */
.pcar .person .photo { --ratio: 3 / 4.25; --pos: 50% 0%; --band: 62px; --zoom: 1; --zy: 40%; margin: 0; border-radius: var(--r-lg); background: #0b1119; }
.pcar .person .photo img { height: 100%; transform: scale(var(--zoom)); transform-origin: 50% var(--zy); }
.pcar .person .photo::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none;
  height: calc(var(--band) + 46px);
  background: linear-gradient(180deg, rgba(11, 17, 25, 0) 0%, #0b1119 46px);
}
/* 사진 속 인물이 작은 분만 확대 */
.pcar .photo[data-photo*="staff-kwonmina"] { --zoom: 1.16; --zy: 42%; }
.pcar .photo[data-photo*="elder-oheunyoung"] { --zoom: 1.1; --zy: 30%; }

/* 이름 · 직분 · 담당 3줄 (띠 위에 촘촘하게) */
.pcar .person__cap {
  display: block; position: absolute; left: 10px; right: 10px; bottom: 0; z-index: 3;
  padding: 0 14px 8px; color: #fff; text-align: center; pointer-events: none; line-height: 1.25;
}
.pcar .person__name { color: #fff; font-size: 1.2rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; margin: 0; }
.pcar .person__role { color: var(--leaf-soft); font-size: .88rem; line-height: 1.25; margin-top: 1px; }
.pcar .person__note { color: rgba(255, 255, 255, .85); font-size: .8rem; line-height: 1.25; margin-top: 1px; }
.pcar .person__note br,
.pcar .person__note a { display: none; }
/* 좌우 화살표(PC) */
.pcar__btn {
  position: absolute; top: 50%; z-index: 5; width: 52px; height: 52px; margin-top: -26px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--green-700); box-shadow: var(--shadow);
  transition: transform .2s ease, background-color .2s ease;
}
.pcar__btn:hover { transform: scale(1.08); background: #fff; }
.pcar__prev { left: 24px; }
.pcar__next { right: 24px; }

/* 아래 점 표시 */
.pcar__dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.pcar__dots button {
  position: relative; width: 9px; height: 9px; padding: 0; border-radius: 999px; background: var(--line);
  transition: width .25s ease, background-color .25s ease;
}
.pcar__dots button::after { content: ""; position: absolute; inset: -9px; }
.pcar__dots button.on { width: 26px; background: var(--green-600); }

/* 휴대폰: 한 명씩 화면 가득, 점은 사진 안쪽 맨 아래 */
@media (max-width: 700px) {
  .pcar__stage { margin-inline: calc(var(--pad) * -1); }
  .pcar .person { padding: 0; }
  .pcar .person .photo { --ratio: 4 / 5.5; --band: 84px; border-radius: 0; }
  .pcar .photo[data-photo*="staff-kwonmina"],
  .pcar .photo[data-photo*="elder-oheunyoung"] { --zoom: 1; }
  .pcar .person__cap { left: 0; right: 0; padding: 0 20px 32px; }
  .pcar .person__name { font-size: 1.3rem; }
  .pcar__btn { display: none; }
  .pcar__dots { position: relative; z-index: 4; gap: 8px; margin: -24px 0 40px; }
  .pcar__dots button { width: 8px; height: 8px; border: 1.5px solid #fff; background: transparent; }
  .pcar__dots button.on { width: 24px; background: #fff; }
}
.person { text-align: center; }
.person .photo { --ratio: 3 / 4; margin-bottom: 18px; }
.person__name { font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; }
.person__role { font-size: .84rem; color: var(--green-600); font-weight: 700; margin-top: 4px; }
.person__note { font-size: .85rem; color: var(--text-soft); margin-top: 6px; }

.note {
  display: flex; gap: 14px; padding: 18px 22px; border-radius: var(--r);
  background: rgba(134,196,64,.1); border: 1px solid rgba(134,196,64,.3);
  font-size: .9rem; line-height: 1.7; color: var(--green-800);
}
.note svg { flex: 0 0 auto; margin-top: 2px; color: var(--green-600); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 22px 40px 22px 0; font-weight: 700; font-size: 1.04rem; cursor: pointer; position: relative; list-style: none; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600);
  translate: 0 -70%; rotate: 45deg; transition: rotate .25s ease;
}
.faq details[open] summary::after { rotate: -135deg; translate: 0 -20%; }
.faq details p { padding-bottom: 24px; color: var(--text-soft); line-height: 1.85; }

.map-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--cream); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- 17. 스크롤 등장 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }

/* ---------- 18. 반응형 ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(3)::after { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .nav-toggle { display: flex; }
  .header__cta { display: none; }
  .gnb {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 110;
    flex-direction: column; align-items: stretch; margin: 0; padding: 20px var(--pad) 60px;
    background: var(--paper); overflow-y: auto;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.22,1,.36,1);
  }
  .nav-open .gnb { transform: none; }
  .nav-open { overflow: hidden; }
  .gnb > li > a { height: auto; padding: 16px 4px; color: var(--text) !important; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .gnb > li > a::after { display: none; }
  .submenu {
    position: static; translate: none; opacity: 1; visibility: visible; transform: none;
    min-width: 0; padding: 8px 0 14px; background: transparent; border: 0; box-shadow: none; backdrop-filter: none;
  }
  .submenu a { padding: 9px 14px; color: var(--text-soft); }
  .split, .grid-2, .grid-3, .playlist-grid { grid-template-columns: 1fr; }
  .split--wide-left { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .hero { min-height: 92svh; }
}

@media (max-width: 560px) {
  .grid-4, .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .timetable th, .timetable td { padding: 13px 16px; font-size: .9rem; }
  .timetable tbody th { width: 46%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .subnav, .hero__scroll, .cta-band, .footer { display: none !important; }
  body { color: #000; }
}
