/* ============================================================
   PUB-CORP-043 · 새길교회 · MIN 미니멀·클린
   ============================================================ */

:root {
  --brand:       #71487e;
  --brand-ink:   #ffffff;
  --accent:      #1c1620;
  --accent-ink:  #ffffff;
  --surface:     #fbfafb;
  --surface-alt: #f2eff4;
  --font-display: var(--font-sans);
  --r: var(--r-sm);
}

body { background: var(--surface); }

/* 컨테이너 좌측 여백과 같은 값 — 풀블리드 구간 정렬용 */
.u-edge { padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); }

/* ── 공통 타입 ─────────────────────────────────────────────── */

.kicker, .label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--brand);
}
.label { color: var(--ink-3); }

.h2 { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); line-height: 1.1; }
.body-lg { font-size: var(--fs-md); color: var(--ink-2); max-width: 48ch; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold);
  color: var(--brand);
  padding-bottom: 2px;
  border-bottom: 1px solid color-mix(in oklab, var(--brand) 40%, transparent);
  transition: border-color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.link-arrow:hover { border-color: var(--brand); gap: var(--sp-3); }

/* ── 버튼 ──────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-6);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold);
  border-radius: var(--r);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: var(--sp-3) var(--sp-5); }

.btn--solid { background: var(--brand); color: var(--brand-ink); }
.btn--solid:hover { background: var(--accent); }

.btn--line { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--line:hover { border-color: var(--brand); color: var(--brand); }

.btn--ghost {
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: #fff; color: var(--accent); border-color: #fff; }

/* ── 헤더 ──────────────────────────────────────────────────── */

.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: var(--z-header);
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: var(--sh-sm); }

.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-4);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.nav__logo {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-size: var(--fs-sm); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide);
}
/* 브랜드 마크 — 위로 좁아지는 길. currentColor 라 부모 color 만 바꾸면 된다. */
.nav__mark { flex: none; color: var(--brand); transition: transform var(--dur-slow) var(--ease-out); }
.nav__logo:hover .nav__mark { transform: translateY(-2px); }

/* ── 아이콘 ────────────────────────────────────────────────── */
.ico { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }
.nav__menu { display: none; gap: var(--sp-6); }
.nav__menu a { font-size: var(--fs-sm); color: var(--ink-2); transition: color var(--dur) var(--ease); }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { color: var(--brand); }
.nav__cta { display: none; }

/* 모바일 메뉴 — details/summary 라 JS 없이도 열린다 */
.menu { position: relative; }
.menu summary {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  border: 1px solid var(--line-strong); border-radius: var(--r);
  cursor: pointer; list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary span {
  width: 14px; height: 9px;
  background: linear-gradient(var(--ink), var(--ink)) top / 100% 1px no-repeat,
              linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat,
              linear-gradient(var(--ink), var(--ink)) bottom / 100% 1px no-repeat;
}
.menu[open] summary span {
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat;
}
.menu__panel {
  position: absolute; right: 0; top: calc(100% + var(--sp-3));
  display: grid; min-width: 12rem;
  padding: var(--sp-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
}
.menu__panel a { padding: var(--sp-3) var(--sp-4); font-size: var(--fs-sm); border-radius: var(--r); }
.menu__panel a:hover { background: var(--surface-alt); color: var(--brand); }

@media (min-width: 1024px) {
  .nav__menu { display: flex; }
  .nav__cta { display: inline-flex; }
  .menu { display: none; }
}

/* ── 히어로 ────────────────────────────────────────────────── */
/* 사진이 첫 화면 전체를 덮고, 그 위에 카피와 CTA가 올라간다.
   하단 예배 카드는 다음 섹션 위로 겹쳐 내려간다. */

.hero {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100svh;
  padding-top: calc(var(--sp-9) + var(--sp-5));
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -1;
  aspect-ratio: auto; border-radius: 0;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background:
    linear-gradient(to top, rgba(22,15,26,.94) 4%, rgba(22,15,26,.74) 34%,
                    rgba(22,15,26,.30) 66%, rgba(22,15,26,.12) 100%),
    linear-gradient(to right, rgba(22,15,26,.55), transparent 62%);
}
.hero__body {
  display: grid; gap: var(--sp-5); justify-items: start;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding-bottom: var(--sp-7);
  color: #fff;
}
.hero .kicker { color: color-mix(in oklab, #fff 78%, var(--brand)); }
.hero__title {
  font-size: var(--fs-4xl);
  line-height: 1.02; letter-spacing: var(--ls-tighter);
  text-shadow: 0 2px 24px rgba(20,12,24,.35);
}
.hero__title em { font-style: normal; color: color-mix(in oklab, #fff 62%, var(--brand)); }
.hero__lead { font-size: var(--fs-md); color: rgba(255,255,255,.84); max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.hero__card { position: relative; z-index: 2; margin-bottom: calc(var(--sp-8) * -1); }
.wcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  padding: var(--sp-5);
  display: grid; gap: var(--sp-4);
  box-shadow: var(--sh-lg);
}
.wcard__label {
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide); color: var(--brand);
}
.wcard__list { display: grid; }
.wcard__list li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-4);
  padding-block: var(--sp-3);
  border-top: 1px solid var(--line);
}
.wcard__list li:first-child { border-top: 0; padding-top: 0; }
.wcard__list b {
  font-size: var(--fs-lg); font-family: var(--font-mono);
  letter-spacing: var(--ls-tight); min-width: 4.5em;
}
.wcard__list span { font-size: var(--fs-sm); color: var(--ink-2); }
.wcard__more { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--brand); }
.wcard__more:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 768px) {
  .wcard { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: var(--sp-6) var(--sp-7); }
  .wcard__label { grid-column: 1 / -1; }
  .wcard__more { justify-self: end; }
}
@media (min-width: 1024px) {
  .hero__body { padding-bottom: var(--sp-8); }
  .hero__title { max-width: 14ch; }
  .hero__lead { font-size: var(--fs-lg); }
}

/* ── 지표 ──────────────────────────────────────────────────── */

.stats { padding-top: calc(var(--section-y) + var(--sp-8)); }
.stats__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.stat {
  padding-block: var(--sp-5); padding-right: var(--sp-4);
  border-bottom: 1px solid var(--line);
}
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: var(--sp-4); }
.stat dt {
  font-size: var(--fs-xs); letter-spacing: var(--ls-wide);
  color: var(--ink-3); margin-bottom: var(--sp-3);
}
.stat dd { font-size: var(--fs-2xl); font-weight: var(--fw-bold); line-height: 1; letter-spacing: var(--ls-tight); }
.stat dd span { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--ink-3); margin-left: 3px; }

@media (min-width: 768px) {
  .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { border-bottom: 0; border-right: 1px solid var(--line); padding-inline: var(--sp-5); }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: 0; }
  .stat:nth-child(even) { padding-left: var(--sp-5); }
}

/* ── 비대칭 2단 소개 ───────────────────────────────────────── */

.split__inner { display: grid; gap: var(--sp-6); }
.split__head { display: grid; gap: var(--sp-4); align-content: start; }
.split__body { display: grid; gap: var(--sp-4); justify-items: start; }
.split__body p { color: var(--ink-2); max-width: 54ch; }

.marks { display: grid; gap: var(--sp-3); margin-top: var(--sp-2); width: 100%; }
.marks li {
  display: flex; gap: var(--sp-4); align-items: baseline;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--ink-2);
}
.marks b {
  font-size: var(--fs-lg); font-weight: var(--fw-bold);
  color: var(--brand); min-width: 3.6em; letter-spacing: var(--ls-tight);
}
.split__media { border-radius: var(--r); }

@media (min-width: 768px) {
  .split__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); align-items: start; }
  .split__head { grid-column: 1 / -1; }
  .split__media { grid-row: 2 / 4; }
}
@media (min-width: 1024px) {
  .split__inner { grid-template-columns: minmax(0, 320px) minmax(0, 1fr) minmax(0, 380px); gap: var(--sp-8); }
  .split__head { grid-column: auto; position: sticky; top: var(--sp-9); }
  .split__media { grid-row: auto; }
}

/* ── 예배 시간 (헤어라인 그리드) ───────────────────────────── */

.rows__head { display: grid; gap: var(--sp-4); margin-bottom: var(--sp-7); }
.rows__list { border-top: 1px solid var(--line-strong); }
.row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-2) var(--sp-4);
  padding-block: var(--sp-5);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background var(--dur) var(--ease);
}
.row:hover { background: color-mix(in oklab, var(--brand) 5%, transparent); }
.row__day {
  font-size: var(--fs-xs); letter-spacing: var(--ls-wide);
  color: var(--brand); font-weight: var(--fw-semibold);
}
.row__time { font-family: var(--font-mono); font-size: var(--fs-lg); letter-spacing: var(--ls-tight); }
.row__name { font-size: var(--fs-md); font-weight: var(--fw-semibold); grid-column: 1 / -1; }
.row__note { font-size: var(--fs-sm); color: var(--ink-3); grid-column: 1 / -1; }

@media (min-width: 768px) {
  .row {
    grid-template-columns: 5rem 7rem minmax(0, 12rem) minmax(0, 1fr);
    align-items: center;
  }
  .row__name, .row__note { grid-column: auto; }
}

/* ── 사역 ──────────────────────────────────────────────────── */

.works__head { display: grid; gap: var(--sp-4); margin-bottom: var(--sp-7); }
.works__list { display: grid; gap: var(--sp-6); }
.work {
  display: grid; gap: var(--sp-3);
  padding-top: var(--sp-5);
  border-top: 2px solid var(--accent);
}
.work__num {
  font-size: var(--fs-2xl); font-weight: var(--fw-bold);
  color: var(--brand); line-height: 1; letter-spacing: var(--ls-tighter);
}
.work__title { font-size: var(--fs-lg); letter-spacing: var(--ls-tight); }
.work p { font-size: var(--fs-sm); color: var(--ink-2); }
.work__meta { color: var(--ink-3); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); }

@media (min-width: 768px) { .works__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); } }

/* ── 섹션 사이 풀블리드 밴드 ───────────────────────────────── */

.band { border-radius: 0; aspect-ratio: 16 / 9; }
.container > .band { border-radius: var(--r); margin-bottom: var(--sp-7); }
@media (min-width: 768px) { .band { aspect-ratio: 21 / 9; } }
@media (min-width: 1280px) { .band { aspect-ratio: 3 / 1; } }

/* ── 인용 ──────────────────────────────────────────────────── */

.quote-sec { background: var(--accent); color: #fff; padding-block: var(--section-y); }
.quote { display: grid; gap: var(--sp-5); }
.quote p {
  font-size: var(--fs-xl); font-weight: var(--fw-medium);
  line-height: 1.5; letter-spacing: var(--ls-tight);
}
.quote footer { font-size: var(--fs-sm); color: rgba(255,255,255,.6); }
.quote footer span { color: #fff; font-weight: var(--fw-semibold); }

/* ── 새가족 (풀블리드 + 겹침 카드) ─────────────────────────── */

.newcomer { position: relative; padding-bottom: var(--section-y); }
.newcomer__media { border-radius: 0; aspect-ratio: 4 / 5; }
.newcomer__card {
  position: relative;
  margin-top: calc(var(--sp-8) * -1);
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid; gap: var(--sp-4); justify-items: start;
}
.promise { display: grid; gap: var(--sp-3); }
.promise li {
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--ink-2);
}
.promise b { display: block; color: var(--ink); font-size: var(--fs-md); margin-bottom: 2px; }

@media (min-width: 768px) {
  .newcomer__media { aspect-ratio: 21 / 9; }
  .newcomer__card { margin-top: calc(var(--sp-10) * -1); max-width: 620px; padding: var(--sp-8); }
}

/* ── 소식 ──────────────────────────────────────────────────── */

.news__inner { display: grid; gap: var(--sp-6); }
.news__head { display: grid; gap: var(--sp-4); justify-items: start; align-content: start; }
.news__list { border-top: 1px solid var(--line-strong); }
.news__item {
  display: grid; gap: var(--sp-2);
  padding-block: var(--sp-5);
  border-bottom: 1px solid var(--line);
}
.news__item time { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--brand); letter-spacing: var(--ls-wide); }
.news__item h3 { font-size: var(--fs-md); }
.news__item p { font-size: var(--fs-sm); color: var(--ink-2); max-width: 62ch; }

@media (min-width: 1024px) {
  .news__inner { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: var(--sp-8); }
  .news__head { position: sticky; top: var(--sp-9); }
  .news__item { grid-template-columns: 9rem minmax(0, 1fr); gap: var(--sp-2) var(--sp-5); }
  .news__item time { grid-row: 1 / 3; padding-top: 4px; }
}

/* ── CTA ───────────────────────────────────────────────────── */

.cta { background: var(--surface-alt); padding-block: var(--section-y); border-top: 1px solid var(--line); }
.cta__inner { display: grid; gap: var(--sp-6); }
.cta__title { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); line-height: 1.06; margin-block: var(--sp-4) var(--sp-4); }
.cta__lead { color: var(--ink-2); font-size: var(--fs-md); max-width: 44ch; }
.cta__side { display: grid; gap: var(--sp-5); justify-items: start; align-content: start; }
.cta__info { display: grid; gap: var(--sp-3); width: 100%; }
.cta__info div { display: flex; gap: var(--sp-5); padding-top: var(--sp-3); border-top: 1px solid var(--line-strong); }
.cta__info dt { font-size: var(--fs-xs); letter-spacing: var(--ls-wide); color: var(--ink-3); min-width: 4rem; }
.cta__info dd { font-size: var(--fs-sm); font-weight: var(--fw-medium); }

@media (min-width: 768px) { .cta__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: var(--sp-8); } }

/* ── 서브페이지 공통 ───────────────────────────────────────── */

.phead {
  position: relative;
  display: grid; align-content: end;
  min-height: 62svh;
  padding-top: calc(var(--sp-9) + var(--sp-6));
  padding-bottom: var(--sp-7);
  isolation: isolate;
  color: #fff;
}
.phead__media { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; border-radius: 0; }
.phead__media::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(to top, rgba(22,15,26,.92) 6%, rgba(22,15,26,.62) 46%, rgba(22,15,26,.24) 100%);
}
.phead__inner { display: grid; gap: var(--sp-4); }
.phead h1 { font-size: var(--fs-4xl); letter-spacing: var(--ls-tighter); line-height: 1.04; }
.phead p { color: rgba(255,255,255,.82); font-size: var(--fs-md); max-width: 46ch; }
.phead .kicker { color: color-mix(in oklab, #fff 74%, var(--brand)); }

.crumb { display: flex; gap: var(--sp-2); font-size: var(--fs-xs); color: rgba(255,255,255,.6); letter-spacing: var(--ls-wide); }
.crumb a:hover { color: #fff; }

.prose { display: grid; gap: var(--sp-4); }
.prose p { color: var(--ink-2); max-width: 62ch; }
.prose h3 { font-size: var(--fs-lg); margin-top: var(--sp-4); letter-spacing: var(--ls-tight); }

.cards { display: grid; gap: var(--sp-5); }
.card {
  display: grid; gap: var(--sp-3); align-content: start;
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.card h3 { font-size: var(--fs-md); }
.card p { font-size: var(--fs-sm); color: var(--ink-2); }
.card__tag {
  font-size: var(--fs-xs); letter-spacing: var(--ls-wide);
  color: var(--brand); font-weight: var(--fw-semibold);
}
@media (min-width: 768px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  padding-block: var(--sp-5);
  font-size: var(--fs-md); font-weight: var(--fw-semibold);
  cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--brand); }
.qa summary::after {
  content: ""; width: 13px; height: 13px; flex: none;
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat,
              linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat;
  transition: transform var(--dur) var(--ease);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding-bottom: var(--sp-5); font-size: var(--fs-sm); color: var(--ink-2); max-width: 64ch; }

/* ── 푸터 ──────────────────────────────────────────────────── */

.foot { padding-block: var(--sp-8) var(--sp-6); border-top: 1px solid var(--line); }
.foot__inner { display: grid; gap: var(--sp-5); }
.foot__brand { display: inline-flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-sm); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide); }
.foot__addr { font-style: normal; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.9; }
.foot__nav { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-5); }
.foot__nav a { font-size: var(--fs-sm); color: var(--ink-2); }
.foot__nav a:hover { color: var(--brand); }
.foot__copy {
  grid-column: 1 / -1; padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs); color: var(--ink-3);
}

@media (min-width: 768px) { .foot__inner { grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-7); } }


/* ============================================================
   인터랙션 보강
   동네 교회 지면이다. 크게 움직이지 않는다.
   이동은 2~4px, 나머지는 색·테두리·배경으로만 답한다.
   transform 과 계단식 지연은 맨 아래에서 전부 해제한다.
   ============================================================ */

/* ── 아이콘이 붙는 자리 ─────────────────────────────────────── */

.work__title { display: flex; align-items: center; gap: var(--sp-3); }
.work__title .ico { color: var(--brand); font-size: 1em; transition: transform var(--dur) var(--ease-out); }
.work:hover .work__title .ico { transform: translateY(-2px); }

.cta__info dd { display: flex; align-items: center; gap: var(--sp-2); }
.cta__info dd .ico { color: var(--brand); font-size: var(--fs-md); transition: color var(--dur) var(--ease); }
.cta__info div:hover dd .ico { color: var(--accent); }

.row__name .ico { color: var(--brand); font-size: var(--fs-md); margin-right: 2px; }

.foot__addr { display: grid; gap: var(--sp-3); line-height: 1.6; }
.foot__addr span { display: flex; align-items: flex-start; gap: var(--sp-3); }
.foot__addr .ico { font-size: var(--fs-lg); margin-top: .1em; color: var(--ink-3); transition: color var(--dur) var(--ease); }
.foot__addr span:hover .ico { color: var(--ink); }

.foot__brand .nav__mark { transition: transform var(--dur-slow) var(--ease-out); }
.foot__brand:hover .nav__mark { transform: translateY(-2px); }

/* ── 브랜드 마크: 올리면 중앙선이 길을 따라 한 번 흘러 올라간다 ── */

@keyframes roadMove {
  from { transform: translateY(4.3px); opacity: .3; }
  to   { transform: translateY(-4.3px); opacity: 1; }
}
.nav__logo:hover .nav__mark path:last-child,
.foot__brand:hover .nav__mark path:last-child {
  animation: roadMove var(--dur-slow) var(--ease-out) both;
}

/* ── 버튼: 화살표가 밀려나간다 ──────────────────────────────── */

.btn__arrow { font-size: 1.25em; margin-left: 1px; transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ── 내비게이션: 밑줄이 왼쪽에서 그어진다 ───────────────────── */

.nav__menu a { position: relative; padding-block: 2px; }
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--brand); transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav__menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__menu a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu summary { transition: border-color var(--dur) var(--ease); }
.menu summary:hover { border-color: var(--brand); }

/* ── 모바일 메뉴가 열릴 때 항목이 흘러나온다 ───────────────── */

@keyframes menuOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.menu[open] .menu__panel { animation: menuOpen var(--dur) var(--ease-out) both; }
.menu__panel a { transition: color var(--dur) var(--ease); }
.menu__panel a:hover { color: var(--brand); }

/* ── 지표 ──────────────────────────────────────────────────── */

.stat { transition: background var(--dur) var(--ease); }
.stat:hover { background: var(--surface-alt); }
.stat dd { transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease); }
.stat:hover dd { transform: translateY(-2px); color: var(--brand); }

/* ── 예배 시간표: 시간이 밀려나오고 요일 칩이 채워진다 ─────── */

.row__time { transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out); display: inline-block; }
.row:hover .row__time { color: var(--brand); transform: translateX(3px); }
.row__day { transition: color var(--dur) var(--ease); }
.row:hover .row__day { color: var(--ink); }
.row__note { transition: color var(--dur) var(--ease); }
.row:hover .row__note { color: var(--ink-2); }

/* ── 사역 카드: 번호 위 선이 차오른다 ──────────────────────── */

.work { position: relative; transition: transform var(--dur) var(--ease-out); }
.work::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0;
  background: var(--brand); transition: width var(--dur-slow) var(--ease-out);
}
.work:hover { transform: translateY(-3px); }
.work:hover::before { width: 100%; }
.work__num { transition: color var(--dur) var(--ease); }
.work:hover .work__num { color: var(--brand); }

/* ── 소개 지표 목록 ────────────────────────────────────────── */

.marks li { transition: border-color var(--dur) var(--ease); }
.marks li:hover { border-top-color: var(--brand); }
.marks b { transition: transform var(--dur) var(--ease-out); display: inline-block; }
.marks li:hover b { transform: translateX(3px); }

/* ── 사진: 당겨진다 ────────────────────────────────────────── */

.split__media { overflow: hidden; }
.split__media img { transition: transform var(--dur-slow) var(--ease-out); }
.split__media:hover img { transform: scale(1.03); }

/* ── CTA 정보 ──────────────────────────────────────────────── */

.cta__info div { transition: border-color var(--dur) var(--ease); }
.cta__info div:hover { border-top-color: var(--brand); }

/* ── FAQ: 열릴 때 답이 흘러나온다 ──────────────────────────── */

@keyframes qaOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.qa[open] p { animation: qaOpen var(--dur) var(--ease-out) both; }
.qa summary { transition: color var(--dur) var(--ease); }
.qa summary:hover { color: var(--brand); }

/* ── 푸터 링크 ─────────────────────────────────────────────── */

.foot__nav a { position: relative; transition: color var(--dur) var(--ease); }
.foot__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.foot__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── 스크롤 등장에 계단식 지연 ─────────────────────────────── */

html.js .rows__list .reveal:nth-child(2) { transition-delay: 50ms; }
html.js .rows__list .reveal:nth-child(3) { transition-delay: 100ms; }
html.js .rows__list .reveal:nth-child(4) { transition-delay: 150ms; }
html.js .rows__list .reveal:nth-child(5) { transition-delay: 200ms; }
html.js .works__list .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .works__list .reveal:nth-child(3) { transition-delay: 180ms; }
html.js .stats .reveal:nth-child(2) { transition-delay: 60ms; }
html.js .stats .reveal:nth-child(3) { transition-delay: 120ms; }
html.js .stats .reveal:nth-child(4) { transition-delay: 180ms; }
html.js .marks .reveal:nth-child(2) { transition-delay: 70ms; }
html.js .marks .reveal:nth-child(3) { transition-delay: 140ms; }

/* ── 모션 최소화 — 지연·이동을 전부 해제한다 ───────────────── */

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { transition-delay: 0s !important; }
  .nav__logo:hover .nav__mark,
  .foot__brand:hover .nav__mark,
  .work:hover, .work:hover .work__title .ico,
  .row:hover .row__time,
  .stat:hover dd,
  .marks li:hover b,
  .split__media:hover img,
  .btn:hover .btn__arrow { transform: none; }
  .work:hover::before { width: 0; }
  .qa[open] p, .menu[open] .menu__panel { animation: none; }
  .nav__logo:hover .nav__mark path:last-child,
  .foot__brand:hover .nav__mark path:last-child { animation: none; transform: none; opacity: 1; }
}


/* ===== 획일성 제거 — MIN 무드 어휘 =====================================
   160작품이 레퍼런스의 밑줄 draw·카드 리프트·대문자 킥커를 그대로 복사해
   같은 사이트 리스킨으로 보였다. 반응 방식을 무드에 맞게 갈아끼운다.
   ==================================================================== */
/* 세로 카덴스를 작품마다 다르게 — 전부 같은 --section-y 를 쓰는 게 구조적 tell 이었다 */
:root { --section-y: clamp(3.54rem, 2.2020rem + 5.7444vw, 7.08rem); }

/* 미니멀 — 밑줄을 없앤다. 여백과 색만으로 반응한다. */
.nav__menu a::after, .foot__nav a::after { display: none !important; }
.foot__nav a, .nav__menu a:hover { color: var(--ink); }
.foot__nav a, .nav__menu a { position: relative; }
.foot__nav a::before, .nav__menu a::before {
  content: ""; position: absolute; left: -10px; top: 50%;
  width: 3px; height: 3px; border-radius: 50%;
  background: currentColor; opacity: 0;
  transform: translateY(-50%);
  transition: opacity var(--dur) var(--ease);
}
.foot__nav a:hover::before, .nav__menu a:hover::before { opacity: 1; }
.nav__logo:hover .nav__mark, .work:hover .work__title .ico, .foot__brand:hover .nav__mark, .stat:hover dd, .work:hover { transform: none; }
.nav__logo:hover .nav__mark, .work:hover .work__title .ico, .foot__brand:hover .nav__mark, .stat:hover dd, .work:hover { box-shadow: none; }
.kicker, .label { text-transform: none; letter-spacing: var(--ls-snug); font-weight: var(--fw-medium); }

/* webit-touch */
@media (max-width: 767px) {
  .nav__inner { flex-wrap: wrap; overflow: visible; }
  .hero__actions, .hero__acts { flex-wrap: wrap; }
}
html.tier-premium .hero__title em, html.tier-premium h1 em { font-style: italic; }
html.tier-premium .btn--solid { letter-spacing: .06em; }
