/* =========================================================
   괴정제일교회 — 공개 사이트 스타일
   레이아웃 개념: 새벽빛이 드는 아치형 대문. 파스텔 빛 번짐 위에
   명조 타이포를 얹고, 곡선·아치·겹친 레이어로 흐르는 에디토리얼.
   ========================================================= */
:root {
  /* 색 */
  --paper: #FCF8F6;
  --paper-2: #F6EFEB;
  --card: #FFFFFF;
  --ink: #2A2431;
  --ink-2: #594F63;
  --ink-3: #8C8394;
  --line: #ECE2DE;
  --line-2: #DCCDCB;
  --plum: #6B4A78;
  --plum-2: #8B6A98;
  --plum-deep: #2F2639;
  --gold: #B48D58;
  --gold-soft: #E7D3AF;
  --blush: #F5D9CF;
  --peach: #F9E5D6;
  --lilac: #E3DCF1;
  --butter: #F6EBCB;
  --sage: #D9E7DB;
  --sky: #DBE7F2;
  --ok: #4F8A6A;
  --err: #B5485B;
  /* 글꼴 */
  --f-display: 'Gowun Batang', 'Noto Serif KR', 'Noto Serif CJK KR', 'Nanum Myeongjo', 'AppleMyungjo', 'Batang', serif;
  --f-body: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', 'Noto Sans CJK KR', sans-serif;
  --f-latin: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  /* 형태·움직임 */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 30px;
  --r-arch: 999px 999px 26px 26px;
  --sh-1: 0 1px 2px rgba(47, 38, 57, .04), 0 10px 30px -16px rgba(47, 38, 57, .16);
  --sh-2: 0 2px 6px rgba(47, 38, 57, .05), 0 30px 70px -30px rgba(107, 74, 120, .34);
  --sh-3: 0 40px 100px -40px rgba(47, 38, 57, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-back: cubic-bezier(.2, 1.35, .3, 1);
  --hdr: 84px;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
html[data-fs="1"] { font-size: 112.5%; }
html[data-fs="2"] { font-size: 125%; }
html.rm { scroll-behavior: auto; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.75; font-weight: 400;
  word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, video, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lilac); color: var(--ink); }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 999; background: var(--plum-deep); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .3s var(--ease); }
.skip:focus { top: 16px; }
.muted { color: var(--ink-3); }
.main { display: block; min-height: 60vh; outline: none; }

.eyebrow {
  font-family: var(--f-latin); font-style: italic; font-weight: 500; font-size: 1.12rem;
  letter-spacing: .02em; color: var(--plum-2); display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

/* ---------- 버튼·칩 ---------- */
.btn {
  --bh: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--bh); padding: 0 1.5em; border-radius: 999px; font-weight: 500; font-size: 1rem;
  letter-spacing: -.005em; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn .ic { transition: transform .45s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--sm { --bh: 42px; font-size: .92rem; padding: 0 1.1em; }
.btn--block { width: 100%; }
.btn--primary { background: var(--plum-deep); color: #fff; box-shadow: 0 12px 28px -14px rgba(47, 38, 57, .7); }
.btn--primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, var(--plum) 0%, #8E5F86 50%, var(--plum) 100%);
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn--primary:hover::before { transform: none; }
.btn--primary:hover { box-shadow: 0 18px 38px -16px rgba(107, 74, 120, .8); }
.btn--line { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .6); color: var(--ink); backdrop-filter: blur(8px); }
.btn--line:hover { border-color: var(--plum-2); background: #fff; }
.btn--ghost { color: var(--ink-2); padding-inline: 1em; }
.btn--ghost:hover { color: var(--plum); background: rgba(107, 74, 120, .07); }
.btn--glass { background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); backdrop-filter: blur(14px); color: var(--ink); }
.btn--glass:hover { background: rgba(255, 255, 255, .85); }

.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 .75em; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .01em; background: var(--tone, var(--lilac)); color: var(--ink); white-space: nowrap; }
.tone-blush { --tone: var(--blush); }
.tone-butter { --tone: var(--butter); }
.tone-sage { --tone: var(--sage); }
.tone-lilac { --tone: var(--lilac); }
.tone-sky { --tone: var(--sky); }
.tone-peach { --tone: var(--peach); }

.more { display: inline-flex; align-items: center; gap: .6em; font-size: .95rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.more__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .35s, border-color .35s, color .35s, transform .5s var(--ease); }
.more:hover { color: var(--plum); }
.more:hover .more__ic { background: var(--plum-deep); border-color: var(--plum-deep); color: #fff; transform: translateX(4px); }
.more--sm .more__ic { width: 32px; height: 32px; }
.more--sm .ic { width: 1em; height: 1em; }

.rbtn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; transition: all .35s var(--ease); }
.rbtn:hover { background: var(--plum-deep); color: #fff; border-color: var(--plum-deep); }
.rbtn--dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.rbtn--dark:hover { background: #fff; color: var(--plum-deep); border-color: #fff; }

/* ---------- 헤더 ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 60; padding-top: env(safe-area-inset-top, 0px);
  transition: transform .5s var(--ease), background-color .4s, box-shadow .4s, color .4s;
}
.hdr::before { content: ''; position: absolute; inset: 0; background: rgba(252, 248, 246, .82); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); opacity: 0; transition: opacity .4s; z-index: -1; box-shadow: 0 1px 0 rgba(47, 38, 57, .06); }
.hdr.is-solid::before, .hdr.is-mega::before { opacity: 1; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr.is-dark:not(.is-solid):not(.is-mega) { color: #fff; }
.hdr.is-dark:not(.is-solid):not(.is-mega) .brand__mark { color: #fff; }
.hdr__bar { display: flex; align-items: center; gap: 24px; height: var(--hdr); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 34px; height: 40px; color: var(--ink); transition: color .4s; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt b { font-family: var(--f-display); font-size: 1.32rem; font-weight: 700; letter-spacing: -.01em; }
.brand__txt i { font-family: var(--f-latin); font-style: italic; font-size: .82rem; opacity: .62; letter-spacing: .02em; margin-top: 3px; }
.brand--light, .brand--light .brand__mark { color: #fff; }
.gnb { margin-left: auto; }
.gnb__list { display: flex; gap: 4px; }
.gnb__link { position: relative; display: flex; align-items: center; height: var(--hdr); padding: 0 18px; font-size: 1.02rem; font-weight: 500; letter-spacing: -.01em; }
.gnb__link span { position: relative; }
.gnb__link span::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 5px; height: 5px; border-radius: 50%; background: var(--plum); transform: translateX(-50%) scale(0); transition: transform .45s var(--ease-back); }
.gnb__item.is-hover .gnb__link span::after, body[data-group] .gnb__item.is-current .gnb__link span::after { transform: translateX(-50%) scale(1); }
.gnb__item.is-hover .gnb__link { color: var(--plum); }
.hdr__tools { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.tool { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; position: relative; transition: background .3s, color .3s; }
.tool:hover { background: rgba(107, 74, 120, .1); }
.tool .ic { width: 22px; height: 22px; }
.tool__dots { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; }
.tool__dots i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .25; transition: opacity .3s; }
html[data-fs="0"] .tool__dots i:nth-child(1), html[data-fs="1"] .tool__dots i:nth-child(-n+2), html[data-fs="2"] .tool__dots i { opacity: .9; }
.hdr__ch2ch { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 14px; margin-left: 6px; border-radius: 999px; border: 1px solid currentColor; font-size: .82rem; font-weight: 600; letter-spacing: .04em; opacity: .85; transition: opacity .3s, background .3s, color .3s; }
.hdr__ch2ch .ic { width: 15px; height: 15px; }
.hdr__ch2ch:hover { opacity: 1; background: var(--plum-deep); color: #fff; border-color: var(--plum-deep); }
.tool--menu { display: none; }
.burger { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.burger i { height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), width .45s var(--ease); }
.burger i:nth-child(2) { width: 70%; margin-left: auto; }
.tool--menu:hover .burger i:nth-child(2) { width: 100%; }

/* 메가 메뉴 */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; overflow: hidden;
  clip-path: inset(0 0 100% 0); pointer-events: none; visibility: hidden;
  transition: clip-path .6s var(--ease), visibility 0s .6s;
}
.mega::before { content: ''; position: absolute; inset: 0; background: rgba(252, 248, 246, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 40px 80px -40px rgba(47, 38, 57, .35); border-top: 1px solid var(--line); }
.hdr.is-mega .mega { clip-path: inset(0 0 0 0); pointer-events: auto; visibility: visible; transition: clip-path .6s var(--ease), visibility 0s; }
.mega__inner { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding-block: 36px 44px; color: var(--ink); }
.mega__intro { position: relative; padding: 26px; border-radius: var(--r-lg); overflow: hidden; min-height: 210px; display: flex; flex-direction: column; gap: 8px;
  background: radial-gradient(120% 90% at 0% 0%, var(--blush), transparent 60%), radial-gradient(90% 90% at 100% 100%, var(--lilac), transparent 60%), var(--paper-2); }
.mega__intro::after { content: ''; position: absolute; right: -40px; bottom: -70px; width: 180px; height: 230px; border: 1px solid var(--gold); border-radius: 999px 999px 0 0; opacity: .6; }
.mega__tag { font-family: var(--f-display); font-size: 1.55rem; font-weight: 700; line-height: 1.35; margin-top: 6px; }
.mega__hint { font-size: .95rem; color: var(--ink-2); margin-top: auto; transition: opacity .25s; }
.mega__cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.mega__col { padding: 6px 14px 10px; border-radius: var(--r-md); transition: background .35s; opacity: 0; transform: translateY(-10px); }
.hdr.is-mega .mega__col { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease), background .35s; }
.hdr.is-mega .mega__col:nth-child(2) { transition-delay: .03s; } .hdr.is-mega .mega__col:nth-child(3) { transition-delay: .06s; }
.hdr.is-mega .mega__col:nth-child(4) { transition-delay: .09s; } .hdr.is-mega .mega__col:nth-child(5) { transition-delay: .12s; }
.hdr.is-mega .mega__col:nth-child(6) { transition-delay: .15s; }
.mega__col.is-hover { background: rgba(255, 255, 255, .75); }
.mega__h { font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); padding: 10px 0 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.mega__col.is-hover .mega__h { color: var(--plum); }
.mega__col a { display: block; padding: 7px 0; font-size: .98rem; color: var(--ink-2); position: relative; transition: color .25s, transform .35s var(--ease); }
.mega__col a:hover { color: var(--plum); transform: translateX(4px); }

/* 전체 메뉴(모바일) */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; transition: visibility 0s .6s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer__veil { position: absolute; inset: 0; background: rgba(42, 36, 49, .35); opacity: 0; transition: opacity .5s; backdrop-filter: blur(3px); }
.drawer.is-open .drawer__veil { opacity: 1; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(460px, 100%); background: var(--paper);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 18px calc(env(safe-area-inset-bottom, 0px) + 24px);
  transform: translateX(100%); transition: transform .65s var(--ease);
  background: radial-gradient(70% 40% at 100% 0%, var(--lilac), transparent 70%), radial-gradient(60% 30% at 0% 100%, var(--blush), transparent 70%), var(--paper);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 14px; }
.drawer__search { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px; border-radius: 999px; background: #fff; box-shadow: var(--sh-1); margin-bottom: 16px; color: var(--ink-3); }
.drawer__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font-size: 1rem; }
.drawer__nav { display: flex; flex-direction: column; gap: 10px; }
.dgroup { background: rgba(255, 255, 255, .78); border-radius: var(--r-md); box-shadow: var(--sh-1); overflow: hidden; opacity: 0; transform: translateX(30px); }
.drawer.is-open .dgroup { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(.12s + var(--i) * .05s); }
.dgroup__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; font-size: 1.12rem; font-weight: 600; text-align: left; }
.dgroup__btn span { display: flex; align-items: baseline; gap: 10px; }
.dgroup__btn i { font-family: var(--f-latin); font-style: italic; font-weight: 500; font-size: .92rem; color: var(--ink-3); }
.dgroup__btn .ic { transition: transform .45s var(--ease); color: var(--ink-3); }
.dgroup.is-open .dgroup__btn .ic { transform: rotate(180deg); color: var(--plum); }
.dgroup__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.dgroup.is-open .dgroup__body { grid-template-rows: 1fr; }
.dgroup__body ul { overflow: hidden; padding: 0 12px; }
.dgroup.is-open .dgroup__body ul { padding-bottom: 10px; }
.dgroup__body a { display: flex; justify-content: space-between; align-items: center; padding: 12px 10px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 1rem; }
.dgroup__body a .ic { width: 16px; color: var(--ink-3); transition: transform .35s var(--ease); }
.dgroup__body a:active .ic, .dgroup__body a:hover .ic { transform: translateX(4px); color: var(--plum); }
.drawer__foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding-top: 14px; }

/* 검색 시트 */
.sheet { position: fixed; inset: 0; z-index: 95; visibility: hidden; transition: visibility 0s .5s; }
.sheet.is-open { visibility: visible; transition: none; }
.sheet__veil { position: absolute; inset: 0; background: rgba(42, 36, 49, .4); backdrop-filter: blur(6px); opacity: 0; transition: opacity .45s; }
.sheet.is-open .sheet__veil { opacity: 1; }
.sheet__box { position: relative; margin: calc(env(safe-area-inset-top, 0px) + 12vh) auto 0; width: min(760px, calc(100% - 32px)); padding: 34px 34px 28px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--sh-3); opacity: 0; transform: translateY(-24px) scale(.98); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.sheet.is-open .sheet__box { opacity: 1; transform: none; }
.sheet__field { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 0 8px 12px; border-bottom: 1.5px solid var(--ink); }
.sheet__field > .ic { width: 28px; height: 28px; color: var(--ink-3); }
.sheet__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-family: var(--f-display); font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 700; }
.sheet__go { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--plum-deep); color: #fff; }
.sheet__tips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.sheet__tips a { padding: 8px 14px; border-radius: 999px; background: var(--paper-2); font-size: .9rem; color: var(--ink-2); transition: background .3s, color .3s; }
.sheet__tips a:hover { background: var(--plum-deep); color: #fff; }
.sheet__close { position: absolute; top: 14px; right: 14px; }

/* ---------- 대문 ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; max-height: 1100px; overflow: hidden; background: var(--paper-2); isolation: isolate; }
.hero__track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; visibility: hidden; clip-path: inset(0 0 0 100%); transition: clip-path 1.1s var(--ease-io), visibility 0s 1.1s; z-index: 1; }
.slide.is-active { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-io), visibility 0s; z-index: 2; }
.slide.is-leaving { visibility: visible; clip-path: inset(0 0 0 0); z-index: 1; }
.hero.is-back .slide:not(.is-active):not(.is-leaving) { clip-path: inset(0 100% 0 0); }
.slide__bg { position: absolute; inset: 0; overflow: hidden; }
.slide__art, .slide__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__img { background-size: cover; background-position: center; }
.slide__bg > * { transform: scale(1.1); }
.slide.is-active .slide__bg > * { animation: kenburns 7s var(--ease) forwards; }
.slide.is-leaving .slide__bg > * { transform: scale(1); }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.slide__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(252, 248, 246, .2) 0%, rgba(252, 248, 246, 0) 35%, rgba(252, 248, 246, .25) 80%, var(--paper) 100%); transform: none !important; animation: none !important; }
.slide[data-tone="dark"] .slide__veil { background: linear-gradient(180deg, rgba(20, 15, 26, .45), rgba(20, 15, 26, .15) 40%, rgba(20, 15, 26, .55)); }
.slide[data-tone="dark"] .slide__content { color: #fff; }
.slide[data-tone="dark"] .slide__eyebrow { color: rgba(255, 255, 255, .85); }
.slide[data-tone="dark"] .slide__sub { color: rgba(255, 255, 255, .88); }
.gate { position: absolute; left: 50%; bottom: 0; height: 92%; width: auto; transform: translateX(-50%) !important; animation: none !important; }
.gate__line, .gate__rose * { stroke: var(--gold); stroke-width: 1.3; vector-effect: non-scaling-stroke; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
.gate__line--in { stroke: rgba(107, 74, 120, .35); }
.gate__fill, .gate__glow { opacity: 0; }
.slide.is-active .gate__line { animation: draw 2.4s var(--ease) .2s forwards; }
.slide.is-active .gate__line--in { animation-delay: .5s; }
.slide.is-active .gate__rose * { animation: draw 2s var(--ease) 1s forwards; }
.slide.is-active .gate__fill { animation: fadein 1.6s var(--ease) .6s forwards; }
.slide.is-active .gate__glow { animation: fadein 2s var(--ease) .9s forwards, breathe 7s ease-in-out 3s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .65; } }
.slide__content { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: calc(var(--hdr) * .6); }
.slide__eyebrow { font-family: var(--f-latin); font-style: italic; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--plum-2); letter-spacing: .04em; opacity: 0; transform: translateY(12px); }
.slide__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 7.2vw, 6rem); line-height: 1.12; letter-spacing: -.02em; margin-top: 14px; }
.slide__title .w { display: inline-block; white-space: nowrap; }
.slide__title .ch { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(3deg); filter: blur(8px); }
.slide__sub { max-width: 34em; margin-top: 22px; font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--ink-2); opacity: 0; transform: translateY(14px); }
.slide__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; opacity: 0; transform: translateY(14px); }
.slide.is-active .slide__eyebrow { animation: rise .9s var(--ease) .35s forwards; }
.slide.is-active .ch { animation: chIn 1s var(--ease) forwards; animation-delay: calc(.55s + var(--i) * 45ms); }
.slide.is-active .slide__sub { animation: rise 1s var(--ease) 1.25s forwards; }
.slide.is-active .slide__cta { animation: rise 1s var(--ease) 1.45s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes chIn { to { opacity: 1; transform: none; filter: blur(0); } }

.hctrl { position: absolute; z-index: 5; left: 50%; bottom: calc(34px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; transform: translateY(14px); display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 16px 40px -20px rgba(47, 38, 57, .4); opacity: 0; animation: rise 1s var(--ease) 1.8s forwards; }
.hctrl__b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background .3s; }
.hctrl__b:hover { background: #fff; }
.hctrl__b .ic { width: 18px; height: 18px; }
.hctrl__count { display: inline-flex; align-items: baseline; gap: 6px; padding: 0 8px; font-family: var(--f-latin); font-size: 1.05rem; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.hctrl__count b { color: var(--ink); font-weight: 600; min-width: 1.3em; text-align: right; }
.hctrl__count i { font-style: normal; opacity: .5; }
.hctrl__play { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--plum-deep); color: #fff; margin-left: 4px; }
.hctrl__play .ic { width: 15px; height: 15px; }
.hctrl__pi { display: grid; place-items: center; }
.hctrl__play .is-play, .hero.is-paused .hctrl__play .is-pause { display: none; }
.hero.is-paused .hctrl__play .is-play { display: grid; }
.ring { position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 2; }
.ring .ring__p { stroke: var(--gold-soft); stroke-dasharray: 1; stroke-dashoffset: 1; }
.hero__scroll { position: absolute; z-index: 5; right: var(--gutter); bottom: 44px; width: 26px; height: 44px; border: 1.5px solid rgba(47, 38, 57, .4); border-radius: 999px; display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--ink); animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---- 대문: 포스터 장면 (교회 제작 이미지를 자르지 않고 액자로) ---- */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.slide__media.pslide__blur { inset: -12%; width: auto; height: auto; background-size: cover; background-position: center; filter: blur(46px) saturate(1.55) brightness(1.06); }
.pslide__veil { background:
  linear-gradient(90deg, rgba(252, 248, 246, .86) 0%, rgba(252, 248, 246, .62) 42%, rgba(252, 248, 246, .3) 100%),
  linear-gradient(180deg, rgba(252, 248, 246, .25) 0%, rgba(252, 248, 246, 0) 30%, rgba(252, 248, 246, 0) 70%, var(--paper) 100%); }
.slide--poster .slide__content.pslide { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(32px, 5vw, 96px); width: 100%; height: 100%; text-align: left; padding-top: var(--hdr); padding-bottom: 104px; }
.pslide__text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; max-width: 32em; }
.pslide__text .slide__cta { justify-content: flex-start; }
.slide__title.pslide__title { font-size: clamp(2.2rem, 4.3vw, 4rem); line-height: 1.16; }
.pslide__text .slide__sub { margin-top: 18px; }
.pslide__card { position: relative; margin: 0; justify-self: end; opacity: 0; transform: translateY(44px) rotate(1.4deg) scale(.95); }
.slide.is-active .pslide__card { animation: posterIn 1.35s var(--ease) .3s forwards; }
.slide.is-leaving .pslide__card { opacity: 1; transform: none; }
@keyframes posterIn { to { opacity: 1; transform: none; } }
.pslide__frame { position: relative; display: block; padding: clamp(8px, .75vw, 12px); border-radius: 28px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 60px 100px -48px rgba(47, 38, 57, .55), 0 22px 44px -28px rgba(47, 38, 57, .32);
  cursor: zoom-in; overflow: hidden; transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .9s var(--ease), box-shadow .5s var(--ease); }
.slide.is-active .pslide__frame { animation: pfloat 7.5s ease-in-out 1.9s infinite; }
@keyframes pfloat { 50% { translate: 0 -9px; } }
.pslide__frame:hover { box-shadow: 0 70px 110px -46px rgba(47, 38, 57, .6), 0 26px 50px -26px rgba(47, 38, 57, .38); }
.pslide__frame:focus-visible { outline: 3px solid var(--plum-2); outline-offset: 4px; }
.pslide__frame img { display: block; width: auto; height: auto; max-width: min(46vw, 780px); max-height: min(64svh, 680px); border-radius: 18px; background: rgba(255, 255, 255, .5); }
.pslide__sheen { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, .5) 50%, transparent 66%); transform: translateX(-130%); }
.slide.is-active .pslide__sheen { animation: sheen 1.7s var(--ease) 1.35s forwards; }
@keyframes sheen { to { transform: translateX(130%); } }
.pslide__zoom { position: absolute; right: clamp(18px, 1.6vw, 24px); bottom: clamp(18px, 1.6vw, 24px); display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px 7px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--sh-1); font-size: .82rem; color: var(--ink); pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.pslide__zoom .ic { width: 15px; height: 15px; }
.pslide__card:hover .pslide__zoom, .pslide__frame:focus-visible + .pslide__zoom { opacity: 1; transform: none; }
.slide--solo .slide__content.pslide { grid-template-columns: 1fr; justify-items: center; }
.slide--solo .pslide__card { justify-self: center; }
.slide--solo .pslide__frame img { max-width: min(78vw, 1040px); max-height: min(70svh, 760px); }
.slide--solo .pslide__veil { background: radial-gradient(90% 80% at 50% 45%, rgba(255, 252, 247, .42), rgba(255, 252, 247, .16)), linear-gradient(180deg, rgba(252, 248, 246, 0) 70%, var(--paper) 100%); }
@media (hover: none) {
  .slide.is-active .pslide__zoom { animation: zoomHint 4.2s var(--ease) 1.8s forwards; }
}
@keyframes zoomHint { 0% { opacity: 0; transform: translateY(6px); } 14%, 78% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(4px); } }
@media (max-width: 1024px) {
  .slide--poster .slide__content.pslide { gap: 32px; }
  .pslide__frame img { max-width: 48vw; max-height: 56svh; }
}
@media (max-width: 760px) {
  .slide--poster .slide__content.pslide { grid-template-columns: 1fr; align-content: center; justify-items: center; gap: 20px; text-align: center; padding-top: calc(var(--hdr) + 10px); padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
  .pslide__card { order: -1; justify-self: center; transform: translateY(28px) scale(.96); }
  .pslide__frame { padding: 7px; border-radius: 20px; }
  .pslide__frame img { max-width: calc(100vw - 2 * var(--gutter) - 14px); max-height: 46svh; border-radius: 14px; }
  .slide--solo .pslide__frame img { max-height: 58svh; }
  .pslide__text { align-items: center; max-width: none; }
  .pslide__text .slide__cta { justify-content: center; margin-top: 18px; }
  .slide__title.pslide__title { font-size: clamp(1.65rem, 7.2vw, 2.25rem); margin-top: 8px; }
  .pslide__text .slide__eyebrow { font-size: 1rem; }
  .pslide__text .slide__sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 10px; font-size: .95rem; }
  .pslide__veil { background: linear-gradient(180deg, rgba(252, 248, 246, .55) 0%, rgba(252, 248, 246, .5) 45%, rgba(252, 248, 246, .78) 75%, var(--paper) 100%); }
  .pslide__zoom { right: 16px; bottom: 16px; padding: 6px 11px 6px 9px; font-size: .78rem; }
}
@media (max-width: 760px) and (max-height: 760px) {
  .pslide__text .slide__sub, .pslide__text .slide__eyebrow { display: none; }
  .slide--poster .slide__content.pslide { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .pslide__card { opacity: 1; transform: none; }
  .slide.is-active .pslide__frame { animation: none; }
}

/* 섹션 점 내비 */
.dots { position: fixed; z-index: 40; left: 22px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; opacity: 0; transition: opacity .5s; pointer-events: none; }
.dots.is-on { opacity: 1; pointer-events: auto; }
.dots a { display: flex; align-items: center; gap: 12px; padding: 7px 4px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); opacity: .35; transition: all .45s var(--ease); }
.dots span { font-size: .82rem; color: var(--ink-2); opacity: 0; transform: translateX(-8px); transition: all .4s var(--ease); white-space: nowrap; background: rgba(255, 255, 255, .8); padding: 2px 10px; border-radius: 999px; backdrop-filter: blur(8px); }
.dots a:hover span, .dots a.is-on span { opacity: 1; transform: none; }
.dots a.is-on i { opacity: 1; background: var(--plum); box-shadow: 0 0 0 4px rgba(107, 74, 120, .15); height: 22px; border-radius: 6px; }
.dots.is-dark i { background: #fff; }

/* ---------- 지금, 괴정제일 ---------- */
.now { position: relative; padding-block: clamp(80px, 11vw, 150px) clamp(80px, 10vw, 130px); overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, #FCF8F6, #F6EEF6, #FBF1EA, #F2F5F0); background-size: 300% 300%; }
.now.is-in { animation: gshift 16s ease infinite; }
@keyframes gshift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.now__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .75; }
.shape--1 { width: 460px; height: 460px; left: -140px; top: 10%; background: var(--blush); animation: float 14s ease-in-out infinite; }
.shape--2 { width: 520px; height: 520px; right: -160px; top: -60px; background: var(--lilac); animation: float 18s ease-in-out -4s infinite; }
.shape--3 { width: 380px; height: 380px; left: 40%; bottom: -160px; background: var(--sage); animation: float 16s ease-in-out -8s infinite; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -26px) scale(1.06); } 66% { transform: translate(-20px, 18px) scale(.95); } }
.masthead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.masthead__eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); opacity: 0; transform: translateY(10px); }
.masthead__title { font-family: var(--f-display); font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-top: 10px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .28em; }
.masthead__now { font-weight: 400; color: var(--ink-2); display: inline-block; opacity: 0; transform: translateX(42px) scaleX(.86); filter: blur(6px); }
.masthead__name { display: inline-block; opacity: 0; clip-path: inset(-10% 100% -10% 0); transform: translateX(-12px); filter: blur(4px); }
.masthead__dot { display: inline-block; color: var(--plum); margin-left: -.22em; opacity: 0; transform: scale(0); }
.masthead__kicker { font-family: var(--f-latin); font-style: italic; text-align: right; font-size: 1.05rem; line-height: 1.35; color: var(--ink-3); opacity: 0; transform: translateY(10px); }
.masthead.is-in .masthead__eyebrow { animation: rise .6s var(--ease) .05s forwards; }
.masthead.is-in .masthead__now { animation: wordIn .95s var(--ease) .15s forwards; }
.masthead.is-in .masthead__name { animation: nameIn 1s var(--ease) .45s forwards; }
.masthead.is-in .masthead__dot { animation: dotPop .5s var(--ease-back) 1.15s forwards; }
.masthead.is-in .masthead__kicker { animation: rise 1s var(--ease) 1.2s forwards; }
@keyframes wordIn { 60% { opacity: 1; transform: translateX(-6px) scaleX(1.02); filter: blur(0); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes nameIn { to { opacity: 1; clip-path: inset(-10% 0 -10% 0); transform: none; filter: blur(0); } }
@keyframes dotPop { 70% { opacity: 1; transform: scale(1.35); } to { opacity: 1; transform: scale(1); } }

.qguide { display: flex; align-items: stretch; border-radius: 26px; padding: 10px; background: linear-gradient(120deg, #2F2639, #3D3049 60%, #3A2F45); color: #fff; box-shadow: 0 30px 60px -32px rgba(47, 38, 57, .7); margin-bottom: 28px; position: relative; overflow: hidden; }
.qguide::after { content: ''; position: absolute; inset: 0; background: radial-gradient(400px 120px at var(--mx, 80%) 0%, rgba(231, 211, 175, .18), transparent 70%); pointer-events: none; }
.qguide__lab { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 10px 26px 10px 18px; border-right: 1px solid rgba(255, 255, 255, .12); flex: none; }
.qguide__lab span { align-self: flex-start; font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(231, 211, 175, .18); color: var(--gold-soft); }
.qguide__lab b { font-family: var(--f-display); font-size: 1.25rem; }
.qguide__a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 10px; border-radius: 18px; font-size: .98rem; font-weight: 500; color: rgba(255, 255, 255, .88); transition: background .35s, color .35s; position: relative; z-index: 1; }
.qguide__a + .qguide__a::before { content: ''; position: absolute; left: 0; top: 30%; height: 40%; width: 1px; background: rgba(255, 255, 255, .1); }
.qguide__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .35s, color .35s, transform .5s var(--ease-back); }
.qguide__ic .ic { width: 18px; height: 18px; }
.qguide__go { width: 14px; opacity: .4; transition: transform .35s var(--ease), opacity .35s; }
.qguide__a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.qguide__a:hover .qguide__ic { background: var(--gold-soft); color: var(--plum-deep); transform: rotate(-8deg) scale(1.06); }
.qguide__a:hover .qguide__go { opacity: 1; transform: translateX(3px); }

.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pnl { background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--r-lg); padding: 28px 30px 30px; box-shadow: var(--sh-1); display: flex; flex-direction: column; min-width: 0; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.pnl:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.pnl__h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pnl__h h3 { font-family: var(--f-display); font-size: 1.32rem; display: flex; align-items: center; gap: 12px; }
.pnl__h h3::before { content: ''; width: 3px; height: 1.05em; border-radius: 2px; background: linear-gradient(var(--plum), var(--gold)); }
.pnl__more { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--paper-2); transition: background .35s, color .35s, transform .6s var(--ease); }
.pnl__more:hover { background: var(--plum-deep); color: #fff; transform: rotate(90deg); }
.pnl__more .ic { width: 18px; height: 18px; }
.pnl__empty { color: var(--ink-3); font-size: .98rem; padding: 26px 0; margin: auto 0; text-align: center; }
.plist li + li { border-top: 1px dashed var(--line); }
.plist a { display: flex; align-items: center; gap: 10px; padding: 14px 2px; transition: color .3s, padding .4s var(--ease); }
.plist a:hover { color: var(--plum); padding-left: 8px; }
.plist__pin { flex: none; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--blush); }
.plist__t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plist time { flex: none; font-family: var(--f-latin); font-size: 1rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pvideo { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 9; background: var(--tone, var(--lilac)); }
.pvideo > a, .pvideo .player__facade { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.pvideo > a.poster { display: flex; }
.pnl__foot { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: .92rem; font-weight: 500; color: var(--plum); }
.pnl__foot .ic { width: 16px; transition: transform .4s var(--ease); }
.pnl__foot:hover .ic { transform: translateX(5px); }
.pvideo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pvideo:hover img { transform: scale(1.05); }
.pvideo .poster { position: absolute; inset: 0; }
.pvideo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pvideo__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 16px; }
.pvideo__cap b { font-family: var(--f-display); font-size: 1.15rem; flex: 1 1 60%; min-width: 0; }
.pvideo__cap i { font-style: normal; flex-basis: 100%; font-size: .9rem; color: var(--ink-3); }
.pbul { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pbul__date { display: flex; align-items: baseline; gap: 10px; }
.pbul__date b { font-family: var(--f-display); font-size: 1.8rem; }
.pbul__date i { font-style: normal; color: var(--ink-3); font-size: .92rem; }
.pbul__img { border-radius: 14px; overflow: hidden; max-height: 210px; box-shadow: var(--sh-1); }
.pbul__img img { width: 100%; object-fit: cover; object-position: top; }
.pbul .liturgy { font-size: .95rem; }
.pbul .liturgy li { padding: 6px 0; }
.pbul__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--plum); }
.pbul__go .ic { width: 16px; transition: transform .4s var(--ease); }
.pbul:hover .pbul__go .ic { transform: translateX(5px); }
.evs { position: relative; flex: 1; display: flex; flex-direction: column; }
.evs__track { position: relative; flex: 1; min-height: 210px; border-radius: var(--r-md); overflow: hidden;
  background: radial-gradient(70% 90% at 0% 100%, var(--butter), transparent 70%), radial-gradient(70% 90% at 100% 0%, var(--blush), transparent 70%), var(--peach); }
.evs__track::before { content: ''; position: absolute; right: -50px; bottom: -80px; width: 220px; height: 260px; border: 1px solid rgba(180, 141, 88, .45); border-radius: 999px 999px 0 0; }
.evs__track::after { content: ''; position: absolute; right: -20px; bottom: -80px; width: 160px; height: 200px; border: 1px solid rgba(180, 141, 88, .3); border-radius: 999px 999px 0 0; }
.evs__card { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 24px; opacity: 0; transform: translateX(30px); filter: blur(4px); transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s; pointer-events: none; z-index: 1; }
.evs__card.is-on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.evs__card.is-out { opacity: 0; transform: translateX(-30px); }
.evs__date { font-size: .98rem; color: var(--plum); font-weight: 500; }
.evs__t { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; }
.evs__m { font-size: .92rem; color: var(--ink-2); }
.evs__dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.evs__dots button { width: 7px; height: 7px; border-radius: 99px; background: var(--line-2); transition: all .45s var(--ease); }
.evs__dots button.is-on { width: 24px; background: var(--plum); }

/* ---------- 말씀 (부채꼴 카드) ---------- */
.word { padding-block: clamp(70px, 8vw, 110px); background: var(--paper); }
.word__shell { position: relative; border-radius: 40px; padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 56px) clamp(36px, 5vw, 56px); overflow: hidden; isolation: isolate; color: #fff; background: #3A3046; }
.word__shell::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 15% 10%, #5A4467, transparent 70%), radial-gradient(60% 70% at 90% 90%, #4B3A52, transparent 70%), linear-gradient(160deg, #2F2639, #3F3350); transform: translateY(100%) scaleY(.1); border-radius: 50% 50% 0 0 / 12% 12% 0 0; }
.word__shell.is-in::before { animation: waveFill 1.3s cubic-bezier(.17, .84, .26, 1) forwards; }
@keyframes waveFill { 46% { transform: translateY(18%) scaleY(1.06); border-radius: 50% 50% 0 0 / 10% 10% 0 0; } to { transform: none; border-radius: 0; } }
.word__shell::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 50% 55%, rgba(231, 211, 175, .16), transparent 70%); }
.word__big { position: absolute; z-index: -1; left: 50%; bottom: -.12em; transform: translateX(-50%); font-family: var(--f-latin); font-style: italic; font-weight: 600; font-size: clamp(5rem, 17vw, 15rem); line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12); letter-spacing: -.02em; opacity: 0; transition: opacity 1.6s .8s; }
.word__shell.is-in .word__big { opacity: 1; }
.word__head { text-align: center; opacity: 0; transform: translateY(26px); filter: blur(8px); }
.word__shell.is-in .word__head { animation: textIn .9s var(--ease) .5s forwards; }
@keyframes textIn { to { opacity: 1; transform: none; filter: none; } }
.badge { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; background: var(--gold-soft); color: var(--plum-deep); }
.word__title { font-family: var(--f-display); font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-top: 14px; }
.fan { margin-top: 34px; }
.fan__stage { position: relative; height: clamp(300px, 34vw, 420px); touch-action: pan-y; }
.fan__card {
  --o: 0; --a: 0;
  position: absolute; left: 50%; top: 50%; width: clamp(240px, 30vw, 400px); aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden;
  background: var(--tone, var(--lilac)); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55);
  transform: translate(-50%, -50%) translateX(calc(var(--o) * 64%)) translateY(calc(var(--a) * 10px)) scale(calc(1 - var(--a) * .15)) rotate(calc(var(--o) * 1.6deg));
  z-index: calc(10 - var(--a)); opacity: calc(1 - var(--a) * .28); filter: saturate(calc(1 - var(--a) * .25)) brightness(calc(1 - var(--a) * .12));
  transition: transform .9s var(--ease), opacity .7s, filter .7s;
}
.fan__card[data-hide] { opacity: 0; pointer-events: none; }
.word__shell:not(.is-in) .fan__card { transform: translate(-50%, -50%) translateY(60px) scale(.75); opacity: 0; filter: blur(10px); }
.fan__card img { width: 100%; height: 100%; object-fit: cover; }
.fan__card .poster { position: absolute; inset: 0; }
.fan__play { position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--plum-deep); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); transform: scale(.7); opacity: 0; transition: all .5s var(--ease-back); }
.fan__card.is-on .fan__play { transform: none; opacity: 1; }
.fan__card.is-on:hover .fan__play { transform: scale(1.1); }
.fan__info { position: relative; height: 70px; margin-top: 18px; text-align: center; }
.fan__txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; opacity: 0; transform: translateY(10px); filter: blur(4px); transition: opacity .35s, transform .6s var(--ease), filter .5s; pointer-events: none; }
.fan__txt.is-on { transition-delay: .25s; }
.fan__txt.is-on { opacity: 1; transform: none; filter: none; }
.fan__txt b { font-family: var(--f-display); font-size: 1.3rem; }
.fan__txt span { font-size: .9rem; color: rgba(255, 255, 255, .65); }
.fan__ctrl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; }
.fan__dots { display: flex; gap: 6px; }
.fan__dots button { width: 7px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .3); transition: all .45s var(--ease); }
.fan__dots button.is-on { width: 26px; background: var(--gold-soft); }
.word__all { position: absolute; right: clamp(20px, 4vw, 56px); top: clamp(40px, 6vw, 72px); display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: rgba(255, 255, 255, .78); transition: color .3s; }
.word__all:hover { color: #fff; }
.word__all .ic { width: 16px; }
.word__empty { text-align: center; margin: 40px auto 10px; color: rgba(255, 255, 255, .7); }

/* 포스터(설교 이미지가 없을 때 생성 그래픽) */
.poster { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 9% 9% 10%; width: 100%; height: 100%; overflow: hidden; color: var(--ink);
  background: radial-gradient(90% 80% at 85% 10%, rgba(255, 255, 255, .85), transparent 60%), radial-gradient(70% 70% at 0% 100%, rgba(255, 255, 255, .45), transparent 60%), var(--tone, var(--lilac)); }
.poster__arch { position: absolute; right: -6%; bottom: -2%; height: 92%; width: auto; }
.poster__arch path { stroke: var(--gold); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .6; }
.poster__arch path + path { stroke: var(--plum); opacity: .25; }
.poster__ref { position: relative; font-family: var(--f-latin); font-style: italic; font-size: .95rem; color: var(--plum); }
.poster__t { position: relative; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.3; max-width: 82%; }
.poster--player .poster__t { font-size: clamp(1.6rem, 3.6vw, 2.8rem); }
.poster--player .poster__ref { font-size: 1.15rem; }

/* ---------- 예배와 한 주 ---------- */
.life { position: relative; overflow: hidden; padding-block: clamp(80px, 10vw, 140px); background: linear-gradient(180deg, var(--paper), #F7F3EE); isolation: isolate; }
.life__art { position: relative; margin-top: 44px; height: clamp(260px, 26vw, 380px); border-radius: var(--r-lg); overflow: hidden; pointer-events: none; background: linear-gradient(160deg, #F6EFF5, #F9F2EB 60%, #EEF4EE); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), var(--sh-1); }
.life__art::after { content: ''; position: absolute; inset: 12px; border-radius: calc(var(--r-lg) - 8px); border: 1px solid rgba(180, 141, 88, .28); }
.branch { position: absolute; inset: 0; height: 100%; width: 100%; }
.wc { transform-origin: center; transform-box: fill-box; opacity: 0; transform: scale(.85); transition: opacity 1.8s var(--ease), transform 2.2s var(--ease); }
.life.is-in .wc { opacity: 1; transform: none; }
.life.is-in .wc--2 { transition-delay: .2s; } .life.is-in .wc--3 { transition-delay: .4s; }
.arch-win, .stem { fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.arch-win { stroke: var(--gold); stroke-width: 1.2; }
.stem { stroke: #8FA58F; stroke-width: 2.2; stroke-linecap: round; }
.life.is-in .arch-win { animation: draw 2.6s var(--ease) .3s forwards; }
.life.is-in .stem { animation: draw 2.4s var(--ease) .6s forwards; }
.leaf { transform-box: fill-box; transform-origin: 0% 50%; opacity: 0; transform: scale(0) rotate(var(--r)); }
.life.is-in .leaf { animation: leafIn 1s var(--ease-back) forwards; animation-delay: var(--dl); }
@keyframes leafIn { to { opacity: 1; transform: scale(1) rotate(var(--r)); } }
.life.is-in .leaf.sway { animation: leafIn 1s var(--ease-back) forwards, sway 6s ease-in-out infinite; animation-delay: var(--dl), calc(var(--dl) + 1s); }
@keyframes sway { 0%, 100% { transform: scale(1) rotate(var(--r)); } 50% { transform: scale(1) rotate(calc(var(--r) + 6deg)); } }
.life__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.life__title { font-family: var(--f-display); font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.25; letter-spacing: -.02em; margin-top: 16px; }
.life__big { display: inline-block; padding: 0 .12em; margin-right: .04em; border-radius: 14px; background: linear-gradient(transparent 58%, var(--gold-soft) 58%, var(--gold-soft) 90%, transparent 90%); }
.life__lead { max-width: 34em; margin-top: 22px; color: var(--ink-2); font-size: 1.08rem; }
.life__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.lcard { padding: 26px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .72); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--sh-1); }
.lcard__k { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.lcard__h { font-weight: 600; margin-top: 6px; }
.lcard__q { font-family: var(--f-display); font-size: 1.14rem; line-height: 1.75; margin-top: 12px; color: var(--ink); }
.life__side { display: flex; flex-direction: column; gap: 18px; }
.tcard { padding: 28px 28px 22px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); box-shadow: var(--sh-2); border: 1px solid #fff; }
.tcard__h { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.tcard__h .eyebrow::before { display: none; }
.tcard__h b { font-family: var(--f-display); font-size: 1.32rem; flex: 1; }
.times__g + .times__g { margin-top: 16px; }
.times__h { font-size: .78rem; font-weight: 600; letter-spacing: .14em; color: var(--plum-2); margin-bottom: 4px; }
.times li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.times__g li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.times__n { font-weight: 500; }
.times__lead { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); min-width: 16px; }
.times__d { color: var(--ink-3); font-size: .92rem; }
.times__t { font-family: var(--f-latin); font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.invite { position: relative; display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-radius: var(--r-lg); overflow: hidden; color: #fff; background: linear-gradient(120deg, var(--plum-deep), var(--plum)); box-shadow: var(--sh-2); isolation: isolate; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.invite:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.invite__arch { flex: none; width: 54px; height: 66px; border-radius: 999px 999px 8px 8px; border: 1.5px solid var(--gold-soft); position: relative; }
.invite__arch::after { content: ''; position: absolute; inset: 6px; border-radius: inherit; background: radial-gradient(circle at 50% 30%, rgba(255, 246, 234, .9), rgba(255, 246, 234, 0) 70%); animation: breathe 4s ease-in-out infinite; }
.invite__t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.invite__t i { font-family: var(--f-latin); font-size: 1rem; color: var(--gold-soft); }
.invite__t b { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.4; }
.invite__go { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .14); transition: background .4s, color .4s, transform .5s var(--ease); }
.invite:hover .invite__go { background: #fff; color: var(--plum-deep); transform: translateX(4px); }

/* ---------- 함께한 순간 ---------- */
.moments { padding-block: clamp(70px, 9vw, 120px); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 230px); gap: 6px; margin-top: 30px; border-radius: var(--r-lg); overflow: hidden; }
.mosaic__p { position: relative; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.mosaic__p:nth-of-type(1) { grid-column: span 2; grid-row: span 2; }
.mosaic__p img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; }
.mosaic__p:hover img { transform: scale(1.06); }
.mosaic__q { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 24px; background: var(--paper-2); font-family: var(--f-display); font-size: 1.05rem; line-height: 1.7; color: var(--ink-2); }
.mosaic__q span { font-family: var(--f-latin); font-style: italic; font-size: .95rem; color: var(--ink-3); }
.mosaic__more { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; background: #7C8A73; color: #fff; transition: background .4s; }
.mosaic__more:hover { background: var(--plum-deep); }
.mosaic__more b { font-size: 1.1rem; }
.mosaic__more i { font-style: normal; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; opacity: .8; }

/* ---------- 오시는 길 띠 ---------- */
.visitband { padding-block: 0 clamp(80px, 9vw, 120px); }
.visitband__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 48px; padding: 36px 40px; border-radius: var(--r-lg); background: radial-gradient(60% 120% at 0% 0%, var(--sky), transparent 70%), radial-gradient(60% 120% at 100% 100%, var(--sage), transparent 70%), var(--paper-2); }
.visitband__info { display: flex; flex-direction: column; gap: 6px; }
.visitband__info p { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.visitband__info .ic { color: var(--plum); }
.visitband__btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 공통 섹션 ---------- */
.sec { position: relative; padding-block: clamp(64px, 8vw, 110px); }
.sec--tight { padding-block: clamp(36px, 5vw, 60px) clamp(64px, 8vw, 110px); }
.sec--soft { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.shead__title { font-family: var(--f-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.02em; margin-top: 10px; }
.shead__title em { font-style: normal; color: var(--plum); }

/* 하위 페이지 머리 */
.phead { position: relative; overflow: hidden; padding: calc(var(--hdr) + clamp(48px, 7vw, 96px)) 0 clamp(36px, 5vw, 56px); isolation: isolate; }
.phead__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .8; }
.blob--a { width: 520px; height: 520px; left: -120px; top: -180px; background: var(--blush); animation: float 16s ease-in-out infinite; }
.blob--b { width: 560px; height: 560px; right: -160px; top: -100px; background: var(--lilac); animation: float 20s ease-in-out -5s infinite; }
.blob--c { width: 380px; height: 380px; left: 45%; bottom: -260px; background: var(--butter); animation: float 18s ease-in-out -9s infinite; }
.phead__arch { position: absolute; right: max(var(--gutter), calc((100% - 1280px) / 2 + 48px)); bottom: -2px; height: 118%; width: auto; }
.arch path { stroke: var(--gold); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease) .2s forwards; }
.arch path + path { stroke: rgba(107, 74, 120, .28); animation-delay: .45s; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink-3); opacity: 0; animation: rise .8s var(--ease) .05s forwards; transform: translateY(8px); }
.crumbs a:hover { color: var(--plum); }
.phead__eyebrow { margin-top: 22px; opacity: 0; transform: translateY(10px); animation: rise .8s var(--ease) .15s forwards; }
.phead__title { font-family: var(--f-display); font-size: clamp(2.3rem, 5.4vw, 4.2rem); letter-spacing: -.025em; line-height: 1.2; margin-top: 12px; max-width: 18em; opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(20px); animation: titleIn 1.1s var(--ease) .25s forwards; }
@keyframes titleIn { to { opacity: 1; clip-path: inset(-20% 0 -20% 0); transform: none; } }
.phead__desc { max-width: 40em; margin-top: 16px; color: var(--ink-2); font-size: 1.08rem; opacity: 0; transform: translateY(10px); animation: rise .9s var(--ease) .5s forwards; }
.subnav { display: flex; gap: 6px; margin-top: 34px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(12px); box-shadow: var(--sh-1); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; opacity: 0; animation: rise .9s var(--ease) .6s forwards; transform: translateY(10px); }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 10px 20px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--ink-2); transition: background .35s, color .35s; }
.subnav a:hover { color: var(--plum); }
.subnav a.is-on { background: var(--plum-deep); color: #fff; }

/* 필터·검색 */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; font-size: .95rem; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); transition: all .35s var(--ease); }
.pill:hover { border-color: var(--plum-2); color: var(--plum); }
.pill.is-on { background: var(--plum-deep); border-color: var(--plum-deep); color: #fff; }
.find { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); min-width: min(320px, 100%); color: var(--ink-3); transition: border-color .3s, box-shadow .3s; }
.find:focus-within { border-color: var(--plum-2); box-shadow: 0 0 0 4px rgba(107, 74, 120, .1); }
.find input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font-size: 1rem; }
.find--big { height: 64px; padding-left: 24px; margin-bottom: 30px; }
.resultline { color: var(--ink-2); margin: -10px 0 24px; }
.resultline b { color: var(--plum); font-family: var(--f-latin); font-size: 1.2em; }

/* 설교 카드 */
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.scard { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.scard__media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--tone, var(--lilac)); box-shadow: var(--sh-1); transition: box-shadow .6s var(--ease), border-radius .6s var(--ease); }
.scard:hover .scard__media { box-shadow: var(--sh-2); border-radius: 120px 120px var(--r-md) var(--r-md); }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.scard:hover .scard__media img { transform: scale(1.06); }
.scard__play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--plum-deep); box-shadow: 0 10px 24px -10px rgba(47, 38, 57, .5); transform: scale(.6); opacity: 0; transition: all .5s var(--ease-back); }
.scard:hover .scard__play { transform: none; opacity: 1; }
.scard__body { display: flex; flex-direction: column; gap: 6px; }
.scard__meta { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--ink-3); }
.scard__title { font-family: var(--f-display); font-size: 1.24rem; font-weight: 700; line-height: 1.4; transition: color .3s; }
.scard:hover .scard__title { color: var(--plum); }
.scard__sub { font-size: .92rem; color: var(--ink-2); }

.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 56px; }
.pager__num, .pager__arrow { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; border-radius: 999px; font-family: var(--f-latin); font-size: 1.12rem; font-variant-numeric: tabular-nums; color: var(--ink-2); transition: background .3s, color .3s; }
.pager__num:hover, .pager__arrow:hover { background: var(--paper-2); color: var(--plum); }
.pager__num.is-on { background: var(--plum-deep); color: #fff; }
.pager__arrow.is-off { opacity: .3; }

.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 64px 20px; border-radius: var(--r-lg); background: radial-gradient(60% 80% at 50% 0%, rgba(227, 220, 241, .6), transparent 70%); }
.empty__ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px 999px 18px 18px; background: #fff; color: var(--plum); box-shadow: var(--sh-1); margin-bottom: 8px; }
.empty__ic .ic { width: 26px; height: 26px; }
.empty__t { font-family: var(--f-display); font-size: 1.24rem; font-weight: 700; }
.empty__d { color: var(--ink-3); }

/* 설교 상세 */
.sermon__head { position: relative; overflow: hidden; padding: calc(var(--hdr) + clamp(40px, 6vw, 80px)) 0 clamp(36px, 5vw, 56px); isolation: isolate; }
.sermon__headin { position: relative; }
.sermon__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; font-size: .95rem; color: var(--ink-2); opacity: 0; animation: rise .8s var(--ease) .15s forwards; transform: translateY(8px); }
.sermon__series { font-family: var(--f-latin); font-style: italic; color: var(--plum-2); font-size: 1.05rem; }
.sermon__title { font-family: var(--f-display); font-size: clamp(2.1rem, 5vw, 3.8rem); letter-spacing: -.025em; margin-top: 14px; max-width: 20em; opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(20px); animation: titleIn 1.1s var(--ease) .25s forwards; }
.sermon__by { margin-top: 14px; font-size: 1.1rem; color: var(--ink-2); opacity: 0; animation: rise .9s var(--ease) .5s forwards; transform: translateY(8px); }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--tone, var(--lilac)); box-shadow: var(--sh-3); }
.player--banner { aspect-ratio: 21 / 7; box-shadow: var(--sh-2); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__facade { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.player__facade img, .player__still { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; }
.player__facade:hover img { transform: scale(1.03); filter: brightness(.92); }
.player__btn { position: absolute; left: 50%; top: 50%; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--plum-deep); box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); animation: pulse 2.4s var(--ease) infinite; transition: transform .5s var(--ease-back); }
.player__btn .ic { width: 30px; height: 30px; margin-left: 4px; }
.pvideo .player__btn { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.pvideo .player__btn .ic { width: 22px; height: 22px; }
.player__facade:hover .player__btn { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); } 70%, 100% { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0); } }
.player__hint { position: absolute; left: 50%; top: calc(50% + 58px); transform: translateX(-50%); color: #fff; font-size: .9rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.sermon__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); margin-top: clamp(40px, 5vw, 64px); }
.facts { display: flex; flex-direction: column; border-top: 1.5px solid var(--ink); }
.facts div { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { width: 56px; flex: none; font-size: .86rem; color: var(--ink-3); padding-top: 2px; }
.facts dd { margin: 0; font-weight: 500; }
.side-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 18px; }
.sermon__side, .article__side { position: sticky; top: calc(var(--hdr) + 24px); align-self: start; }
.prose { max-width: 42em; color: var(--ink); font-size: 1.06rem; line-height: 1.9; }
.prose > * + * { margin-top: 1.1em; }
.prose h3 { font-family: var(--f-display); font-size: 1.4rem; margin-top: 2em; }
.prose ul { padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.3em; }
.prose ul li + li { margin-top: .4em; }
.prose ul li::before { content: ''; position: absolute; left: .2em; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.prose blockquote { margin: 1.4em 0; padding: 18px 24px; border-left: 2px solid var(--gold); background: var(--paper-2); border-radius: 0 var(--r-md) var(--r-md) 0; font-family: var(--f-display); }
.prose a { color: var(--plum); text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 3px; }
.lede { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.8; color: var(--ink); }
.pn { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: clamp(56px, 7vw, 90px); padding-top: 28px; border-top: 1px solid var(--line); }
.pn__a { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 18px 20px; border-radius: var(--r-md); transition: background .4s var(--ease); }
.pn__a:hover { background: var(--paper-2); }
.pn__next { text-align: right; align-items: flex-end; }
.pn__k { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--ink-3); }
.pn__k .ic { width: 15px; }
.pn__t { font-family: var(--f-display); font-size: 1.12rem; font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn__d { font-size: .84rem; color: var(--ink-3); }
.pn__list { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); transition: all .4s var(--ease); }
.pn__list:hover { background: var(--plum-deep); color: #fff; transform: rotate(90deg); }
.sgrid--3 { grid-template-columns: repeat(3, 1fr); }

/* 주보 */
.bgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 24px; }
.bcard { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bcard__sheet { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 8px 8px 8px 8px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 var(--line), 6px 6px 0 -1px var(--paper-2), 6px 6px 0 0 var(--line), var(--sh-1); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.bcard:hover .bcard__sheet { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 1px 0 var(--line), 10px 10px 0 -1px var(--paper-2), 10px 10px 0 0 var(--line), var(--sh-2); }
.bcard__sheet img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bcard__mock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(80% 60% at 50% 0%, var(--peach), transparent 70%), #fff; }
.bcard__mock::before { content: ''; position: absolute; inset: 12px; border: 1px solid var(--gold-soft); border-radius: 4px; }
.bcard__mockdate { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; }
.bcard__mark { width: 40px; height: 48px; color: var(--ink); }
.bcard__mockname { font-family: var(--f-display); font-size: .92rem; color: var(--ink-2); }
.bcard__new { position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px; background: var(--plum-deep); color: #fff; font-size: .78rem; font-weight: 600; }
.bcard__body { display: flex; flex-direction: column; gap: 3px; }
.bcard__date { font-size: .86rem; color: var(--ink-3); }
.bcard__title { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; }
.bcard__meta { font-size: .84rem; color: var(--plum-2); }
.bview { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); }
.bview__side { position: sticky; top: calc(var(--hdr) + 24px); align-self: start; }
.seg { position: relative; display: inline-flex; gap: 2px; padding: 5px; border-radius: 999px; background: var(--paper-2); margin-bottom: 24px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg__b { position: relative; z-index: 1; flex: none; padding: 10px 20px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--ink-2); transition: color .35s; }
.seg__b.is-on { color: #fff; }
.seg__ink { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--plum-deep); transition: transform .55s var(--ease), width .55s var(--ease); }
.bpane { animation: paneIn .6s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px); } }
.pages__stage { position: relative; border-radius: var(--r-md); background: linear-gradient(var(--paper-2), #EFE7E3); padding: clamp(14px, 3vw, 36px); overflow: hidden; }
.pages__p { margin: 0; display: none; }
.pages__p.is-on { display: block; animation: pageIn .7s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateX(var(--from, 30px)) rotateY(var(--ry, -6deg)); } }
.pages__p img { margin-inline: auto; max-height: 80vh; width: auto; border-radius: 4px; box-shadow: var(--sh-2); cursor: zoom-in; background: #fff; }
.pages__nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); box-shadow: var(--sh-1); transition: all .35s var(--ease); }
.pages__nav:hover { background: var(--plum-deep); color: #fff; }
.pages__prev { left: 14px; } .pages__next { right: 14px; }
.pages__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
.pages__count { font-family: var(--f-latin); font-size: 1.1rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pages__count b { color: var(--ink); }
.pages__thumbs { display: flex; gap: 8px; flex: 1; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.pages__th { flex: none; width: 54px; height: 72px; border-radius: 6px; overflow: hidden; opacity: .55; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .3s, outline-color .3s; }
.pages__th img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pages__th.is-on { opacity: 1; outline-color: var(--plum); }
.sheetcard { padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-1); position: relative; overflow: hidden; }
.sheetcard::before { content: ''; position: absolute; inset: 14px; border: 1px solid var(--gold-soft); border-radius: calc(var(--r-lg) - 10px); pointer-events: none; }
.sheetcard__h { display: flex; flex-direction: column; gap: 4px; margin-bottom: 22px; }
.sheetcard__h b { font-family: var(--f-display); font-size: 1.6rem; }
.liturgy li { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; }
.liturgy li + li { border-top: 1px solid rgba(236, 226, 222, .6); }
.liturgy__n { font-weight: 600; flex: none; }
.liturgy__lead { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); min-width: 12px; }
.liturgy__c { color: var(--ink-2); }
.liturgy__w { flex: none; min-width: 4.5em; text-align: right; font-size: .92em; color: var(--ink-3); }
.pdfbox { border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: var(--sh-1); height: min(82vh, 1100px); }
.pdfbox iframe { width: 100%; height: 100%; border: 0; }
.bview__pdf { margin-top: 14px; }
.sidebox { padding: 24px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-1); }
.sidebox__h { font-weight: 600; margin-bottom: 10px; }
.blist a { display: flex; flex-direction: column; padding: 12px 12px; border-radius: 12px; transition: background .3s; }
.blist a:hover { background: var(--paper-2); }
.blist a.is-on { background: var(--lilac); }
.blist span { font-size: .8rem; color: var(--ink-3); font-family: var(--f-latin); font-size: .95rem; }
.blist b { font-weight: 500; font-size: .96rem; }
.sidebox .more { margin-top: 12px; }

/* 자료실 */
.files { display: flex; flex-direction: column; gap: 10px; }
.files__row { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 0; border-radius: var(--r-md); background: #fff; box-shadow: var(--sh-1); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.files__row:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.files__open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 18px; padding: 14px 8px 14px 22px; text-align: left; }
.files__main { display: flex; flex-direction: column; min-width: 0; }
.files__t { font-weight: 600; font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files__m { font-size: .86rem; color: var(--ink-3); }
.files__dl { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 999px; background: var(--paper-2); font-size: .92rem; font-weight: 500; transition: background .35s, color .35s; }
.files__dl:hover { background: var(--plum-deep); color: #fff; }
.fbadge { flex: none; display: grid; place-items: center; width: 52px; height: 60px; border-radius: 10px 18px 10px 10px; font-family: var(--f-latin); font-weight: 600; font-size: .88rem; letter-spacing: .04em; background: var(--lilac); color: var(--plum); }
.fbadge--pdf { background: var(--blush); color: #A04C54; }
.fbadge--doc { background: var(--sky); color: #3E6A92; }
.fbadge--sheet { background: var(--sage); color: #3F7254; }
.fbadge--slide { background: var(--peach); color: #A1623A; }
.fbadge--image { background: var(--butter); color: #8A6A2D; }
.panel { position: fixed; inset: 0; z-index: 92; visibility: hidden; transition: visibility 0s .6s; }
.panel.is-open { visibility: visible; transition: none; }
.panel__veil { position: absolute; inset: 0; background: rgba(42, 36, 49, .35); backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s; }
.panel.is-open .panel__veil { opacity: 1; }
.panel__box { position: absolute; inset: 0 0 0 auto; width: min(560px, 100%); background: var(--paper); padding: calc(env(safe-area-inset-top, 0px) + 32px) 32px calc(env(safe-area-inset-bottom, 0px) + 32px); overflow-y: auto; transform: translateX(100%); transition: transform .65s var(--ease); display: flex; flex-direction: column; gap: 12px; }
.panel.is-open .panel__box { transform: none; }
.panel__x { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 18px); right: 18px; }
.panel__cat { color: var(--plum-2); font-size: .9rem; font-weight: 500; }
.panel__t { font-family: var(--f-display); font-size: 1.7rem; padding-right: 40px; }
.panel__m { display: flex; gap: 12px; color: var(--ink-3); font-size: .9rem; }
.panel__m span:empty { display: none; }
.panel__prev { border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); }
.panel__prev:empty { display: none; }
.panel__prev iframe { width: 100%; height: 56vh; border: 0; display: block; background: #fff; }
.panel__prev img { width: 100%; }
.panel__d { color: var(--ink-2); white-space: pre-line; }
.panel__d:empty { display: none; }
.panel__act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* 공지 */
.board { display: flex; flex-direction: column; border-top: 1.5px solid var(--ink); }
.board li { border-bottom: 1px solid var(--line); }
.board__row { display: flex; align-items: center; gap: 22px; padding: 22px 10px; position: relative; transition: background .4s var(--ease); }
.board__row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--plum); transform: scaleY(0); transition: transform .45s var(--ease); }
.board__row:hover { background: linear-gradient(90deg, rgba(227, 220, 241, .5), transparent); }
.board__row:hover::before { transform: none; }
.board__cat { flex: none; min-width: 70px; text-align: center; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--paper-2); color: var(--ink-2); }
.board__row.is-pin .board__cat { background: var(--plum-deep); color: #fff; }
.board__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.board__t { font-weight: 600; font-size: 1.08rem; display: flex; align-items: center; gap: 8px; }
.board__clip .ic { width: 16px; color: var(--ink-3); }
.board__ex { font-size: .9rem; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board__d { flex: none; font-family: var(--f-latin); font-size: 1.05rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.board__go { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; opacity: 0; transform: translateX(-8px); transition: all .4s var(--ease); background: var(--plum-deep); color: #fff; }
.board__go .ic { width: 16px; }
.board__row:hover .board__go { opacity: 1; transform: none; }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 72px); }
.attach { display: flex; align-items: center; gap: 14px; margin-top: 2em; padding: 12px 18px 12px 12px; border-radius: var(--r-md); background: #fff; box-shadow: var(--sh-1); text-decoration: none !important; color: var(--ink) !important; transition: box-shadow .4s; }
.attach:hover { box-shadow: var(--sh-2); }
.attach__n { flex: 1; min-width: 0; font-weight: 500; }
.article__side .btn { margin-top: 16px; }
.related { margin-top: clamp(56px, 7vw, 90px); }
.related__h { font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 14px; }
.nlist li + li { border-top: 1px solid var(--line); }
.nlist a { display: flex; align-items: center; gap: 14px; padding: 16px 4px; transition: padding .4s var(--ease), color .3s; }
.nlist a:hover { color: var(--plum); padding-left: 10px; }
.nlist__cat { flex: none; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.nlist__t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nlist__d { flex: none; font-family: var(--f-latin); color: var(--ink-3); }

/* 행사 */
.agenda { display: flex; flex-direction: column; gap: 40px; }
.agenda__mh { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 14px; }
.agenda__mh::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.agenda__list { display: flex; flex-direction: column; gap: 12px; }
.agenda__it { display: flex; gap: 24px; padding: 22px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-1); transition: box-shadow .5s var(--ease), transform .5s var(--ease); scroll-margin-top: calc(var(--hdr) + 20px); }
.agenda__it:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.agenda__it:target { box-shadow: 0 0 0 2px var(--plum), var(--sh-2); }
.agenda__it.is-past { opacity: .7; }
.agenda__b { flex: 1; min-width: 0; }
.agenda__t { font-family: var(--f-display); font-size: 1.3rem; }
.agenda__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; color: var(--ink-2); font-size: .94rem; }
.agenda__meta span { display: inline-flex; align-items: center; gap: 6px; }
.agenda__meta .ic { width: 16px; color: var(--plum-2); }
.agenda__d { margin-top: 12px; font-size: .98rem; }
.stamp { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 78px; height: 92px; border-radius: 999px 999px 16px 16px; background: linear-gradient(var(--lilac), var(--blush)); line-height: 1.1; }
.stamp__m { font-size: .8rem; color: var(--ink-2); }
.stamp__d { font-family: var(--f-latin); font-size: 2.1rem; font-weight: 600; }
.stamp__w { font-size: .74rem; color: var(--plum); font-weight: 600; }
.pastbox { border-radius: var(--r-lg); background: var(--paper-2); }
.pastbox summary { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; font-weight: 600; list-style: none; }
.pastbox summary::-webkit-details-marker { display: none; }
.pastbox summary .ic { transition: transform .4s var(--ease); }
.pastbox[open] summary .ic { transform: rotate(180deg); }
.pastbox__in { padding: 0 20px 24px; }

/* 앨범 */
.agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }
.acard { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.acard__img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); margin-bottom: 10px; transition: border-radius .7s var(--ease); }
.acard:hover .acard__img { border-radius: 160px 160px var(--r-md) var(--r-md); }
.acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.acard:hover .acard__img img { transform: scale(1.07); }
.acard__none { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); }
.acard__n { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: rgba(42, 36, 49, .55); color: #fff; font-size: .8rem; backdrop-filter: blur(6px); }
.acard__n .ic { width: 14px; }
.acard__t { font-family: var(--f-display); font-size: 1.18rem; font-weight: 700; }
.acard__d { font-size: .88rem; color: var(--ink-3); }
.masonry { columns: 3 260px; column-gap: 14px; }
.masonry__it { display: block; width: 100%; margin-bottom: 14px; break-inside: avoid; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--paper-2); }
.masonry__it img { width: 100%; transition: transform 1.2s var(--ease); }
.masonry__it:hover img { transform: scale(1.04); }
.album__desc { margin-top: 30px; }

/* 라이트박스 */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; visibility: hidden; transition: visibility 0s .5s; }
.lb.is-open { visibility: visible; transition: none; }
.lb__veil { position: absolute; inset: 0; background: rgba(24, 19, 30, .92); opacity: 0; transition: opacity .5s; }
.lb.is-open .lb__veil { opacity: 1; }
.lb__fig { position: relative; margin: 0; max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 12px; opacity: 0; transform: scale(.94); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.lb.is-open .lb__fig { opacity: 1; transform: none; }
.lb__img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 6px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.lb__img.is-swap { animation: lbSwap .5s var(--ease); }
@keyframes lbSwap { from { opacity: 0; transform: translateX(var(--from, 20px)); } }
.lb__cap { color: rgba(255, 255, 255, .8); font-size: .92rem; }
.lb__btn { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .3s; }
.lb__btn:hover { background: rgba(255, 255, 255, .25); }
.lb__prev { left: 20px; top: 50%; margin-top: -27px; }
.lb__next { right: 20px; top: 50%; margin-top: -27px; }
.lb__close { right: 20px; top: calc(env(safe-area-inset-top, 0px) + 20px); }
.lb__count { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 34px); left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-family: var(--f-latin); font-size: 1.1rem; }

/* 교회소개 */
.vision__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.vision__art { position: relative; aspect-ratio: 4 / 5; max-height: 560px; border-radius: var(--r-arch); overflow: hidden; background: radial-gradient(70% 50% at 50% 35%, #FFF5EA, transparent 70%), linear-gradient(180deg, var(--lilac), var(--blush) 70%, var(--peach)); }
.vision__arch { position: absolute; left: 50%; bottom: 0; height: 86%; transform: translateX(-50%); }
.vision__sun { position: absolute; left: 50%; top: 32%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #FFF8EE, rgba(255, 248, 238, 0) 70%); animation: breathe 6s ease-in-out infinite; }
.vision__ring { position: absolute; left: 50%; top: 32%; width: 52%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(180, 141, 88, .5); animation: spin 40s linear infinite; border-style: dashed; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.vision__title { font-family: var(--f-display); font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.02em; margin-top: 14px; }
.vision__body { margin-top: 20px; }
.vpoints { margin-top: 30px; display: flex; flex-direction: column; }
.vpoints li { display: flex; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.vpoints__n { font-family: var(--f-latin); font-size: 1.6rem; font-style: italic; color: var(--gold); line-height: 1; }
.vpoints b { font-family: var(--f-display); font-size: 1.24rem; }
.vpoints p { color: var(--ink-2); margin-top: 4px; }
.greet__grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.greet__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-arch); overflow: hidden; background: linear-gradient(var(--sage), var(--sky)); position: sticky; top: calc(var(--hdr) + 30px); }
.greet__photo img { width: 100%; height: 100%; object-fit: cover; }
.greet__mono { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--f-display); font-size: 6rem; color: rgba(47, 38, 57, .4); }
.greet__text .prose { margin-top: 22px; }
.greet__sign { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin-top: 34px; max-width: 42em; }
.greet__sign span { color: var(--ink-3); font-size: .92rem; }
.greet__sign b { font-family: var(--f-display); font-size: 1.6rem; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.person { text-align: center; padding: 28px 18px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-1); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.person:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.person__ph { display: block; width: 120px; height: 140px; margin: 0 auto 16px; border-radius: 999px 999px 18px 18px; overflow: hidden; background: linear-gradient(var(--lilac), var(--blush)); }
.person__ph img { width: 100%; height: 100%; object-fit: cover; }
.person__mono { display: grid; place-items: center; height: 100%; font-family: var(--f-display); font-size: 2.6rem; color: rgba(47, 38, 57, .5); }
.person__role { font-size: .84rem; color: var(--plum-2); font-weight: 500; }
.person__n { font-family: var(--f-display); font-size: 1.3rem; margin-top: 2px; }
.person__dept { font-size: .88rem; color: var(--ink-3); }
.person__bio { font-size: .9rem; color: var(--ink-2); margin-top: 8px; }
.tline { position: relative; max-width: 860px; }
.tline::before { content: ''; position: absolute; left: 110px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--gold), var(--line)); }
.tline__it { display: grid; grid-template-columns: 90px 40px 1fr; align-items: baseline; padding: 12px 0; }
.tline__y { font-family: var(--f-latin); font-size: 1.6rem; font-weight: 600; text-align: right; color: var(--plum); }
.tline__dot { justify-self: center; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); transform: translateY(2px); }
.tline__c b { margin-right: 10px; color: var(--ink-3); font-weight: 500; }

/* 예배 안내 */
.wgroups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px; }
.wgroup { padding: 30px; border-radius: var(--r-lg); background: radial-gradient(90% 70% at 100% 0%, var(--tone), transparent 70%), #fff; box-shadow: var(--sh-1); }
.wgroup__h h2 { font-family: var(--f-display); font-size: 1.8rem; margin-top: 8px; margin-bottom: 12px; }
.wlist__it { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.wlist__name b { font-size: 1.1rem; }
.wlist__name span { display: block; font-size: .86rem; color: var(--ink-3); }
.wlist__when { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.wlist__day { font-size: .86rem; color: var(--ink-3); }
.wlist__time { font-family: var(--f-latin); font-size: 1.45rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; }
.wlist__place { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--ink-2); }
.wlist__place .ic { width: 15px; color: var(--plum-2); }
.wcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding: 30px 34px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--lilac), var(--blush)); }
.wcta__t { font-family: var(--f-display); font-size: 1.24rem; margin-top: 6px; }
.wcta__b { display: flex; flex-wrap: wrap; gap: 8px; }

/* 새가족 */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: j; position: relative; }
.journey::before { content: ''; position: absolute; left: 6%; right: 6%; top: 42px; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px); opacity: .6; }
.journey__it { position: relative; padding: 0 8px; text-align: center; }
.journey__n { position: relative; display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 999px 999px 22px 22px; background: linear-gradient(var(--lilac), var(--blush)); font-family: var(--f-latin); font-size: 2rem; font-weight: 600; color: var(--plum); box-shadow: 0 0 0 8px var(--paper); }
.journey__t { font-family: var(--f-display); font-size: 1.28rem; }
.journey__d { color: var(--ink-2); font-size: .96rem; margin-top: 8px; }
.faqwrap { max-width: 960px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__it { border-radius: var(--r-md); background: #fff; box-shadow: var(--sh-1); overflow: hidden; }
.faq__it summary { display: flex; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; list-style: none; }
.faq__it summary::-webkit-details-marker { display: none; }
.faq__q { flex: none; font-family: var(--f-latin); font-size: 1.5rem; font-style: italic; color: var(--gold); line-height: 1; }
.faq__t { flex: 1; font-weight: 600; font-size: 1.06rem; }
.faq__ic { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); transition: background .35s, transform .5s var(--ease); }
.faq__ic::before, .faq__ic::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .45s var(--ease); }
.faq__ic::after { transform: rotate(90deg); }
.faq__it[open] .faq__ic { background: var(--plum-deep); color: #fff; transform: rotate(180deg); }
.faq__it[open] .faq__ic::after { transform: rotate(0); }
.faq__a { padding: 0 24px 24px 64px; color: var(--ink-2); }
.regi { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.regi__d { color: var(--ink-2); margin-top: 16px; }
.regi__tel { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--plum); font-weight: 500; }
.regi__box { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-2); position: relative; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__err { padding: 12px 16px; border-radius: 12px; background: #FBE9EC; color: var(--err); font-size: .94rem; animation: shake .5s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.fld { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fld__l { font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.fld__l i { color: var(--err); font-style: normal; }
.fld input, .fld select, .fld textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper); outline: 0; transition: border-color .3s, box-shadow .3s, background .3s; font-size: 1rem; }
.fld textarea { resize: vertical; min-height: 120px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--plum-2); background: #fff; box-shadow: 0 0 0 4px rgba(107, 74, 120, .1); }
.fld.is-bad input { border-color: var(--err); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--line-2); background: #fff; transition: all .35s var(--ease-back); margin-top: 1px; }
.check__box .ic { width: 15px; height: 15px; color: #fff; transform: scale(0); transition: transform .35s var(--ease-back); }
.check input:checked + .check__box { background: var(--plum-deep); border-color: var(--plum-deep); }
.check input:checked + .check__box .ic { transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--plum); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.regi__done { text-align: center; padding: 40px 10px; animation: paneIn .8s var(--ease); }
.regi__check { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(var(--sage), var(--sky)); color: var(--ok); animation: dotPop .7s var(--ease-back); }
.regi__check .ic { width: 38px; height: 38px; }
.regi__dt { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; margin-top: 20px; }
.regi__dd { color: var(--ink-2); margin-top: 8px; }

/* 오시는 길 */
.visit { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.mapcard { border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--sh-2); }
.mapcard__art { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--sky), var(--sage) 60%, var(--butter)); color: var(--plum-deep); overflow: hidden; }
.mapcard__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapcard__road { fill: none; stroke: #fff; stroke-width: 14; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s var(--ease) .3s forwards; }
.mapcard__road--2 { stroke-width: 9; animation-delay: .6s; }
.mapcard__pulse { fill: rgba(107, 74, 120, .18); transform-origin: 300px 150px; animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.mapcard__pin { position: absolute; left: 50%; top: 41.6%; transform: translate(-50%, -100%); display: grid; place-items: center; width: 64px; height: 76px; border-radius: 999px 999px 999px 999px / 999px 999px 40% 40%; background: #fff; box-shadow: var(--sh-2); animation: pinDrop 1s var(--ease-back) .8s both; }
@keyframes pinDrop { from { transform: translate(-50%, -160%); opacity: 0; } }
.mapcard__mark { width: 30px; height: 36px; color: var(--plum-deep); }
.mapcard__body { padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.mapcard__name { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; }
.mapcard__addr { color: var(--ink-2); }
.mapcard__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.vinfo { display: flex; flex-direction: column; gap: 14px; }
.vinfo__it { display: flex; gap: 18px; padding: 24px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-1); scroll-margin-top: calc(var(--hdr) + 20px); }
.vinfo__ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--lilac); color: var(--plum); }
.vinfo__h { font-weight: 600; margin-bottom: 6px; }
.vinfo__it p { color: var(--ink-2); }
.vinfo__times li { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; color: var(--ink-2); font-size: .95rem; }
.vinfo__times b { color: var(--ink); font-weight: 500; }

/* 검색 결과 */
.sres { margin-top: 30px; }
.sres__h { font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.sres__h span { font-family: var(--f-latin); color: var(--plum); }
.sres a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; transition: background .3s; }
.sres a:hover { background: #fff; box-shadow: var(--sh-1); }
.sres a b { flex: 1; min-width: 0; font-weight: 500; }
.sres a span { font-size: .86rem; color: var(--ink-3); text-align: right; }
.sres a .ic { width: 16px; color: var(--ink-3); }

/* 404 */
.nf { position: relative; overflow: hidden; isolation: isolate; min-height: 80vh; display: grid; place-items: center; text-align: center; padding: calc(var(--hdr) + 40px) 0 80px; }
.nf__in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.nf__arch { position: absolute; left: 50%; top: 50%; height: 420px; transform: translate(-50%, -50%); z-index: -1; opacity: .7; }
.nf__t { font-family: var(--f-display); font-size: clamp(2rem, 5vw, 3.2rem); }
.nf__d { color: var(--ink-2); }
.nf__b { display: flex; gap: 8px; margin-top: 18px; }

/* ---------- 푸터·탭바·토스트 ---------- */
.ftr { position: relative; overflow: hidden; background: var(--plum-deep); color: rgba(255, 255, 255, .78); padding-block: 72px 36px; isolation: isolate; }
.ftr__glow { position: absolute; inset: auto -10% -60% auto; width: 680px; height: 680px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 106, 152, .55), transparent 70%); z-index: -1; }
.ftr__inner { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ftr__tag { font-family: var(--f-display); font-size: 1.3rem; color: #fff; margin-top: 20px; }
.ftr__info { display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.ftr__info p { display: flex; gap: 10px; }
.ftr__info .ic { color: var(--gold-soft); margin-top: 4px; }
.ftr__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; align-content: start; font-size: .95rem; }
.ftr__links a { transition: color .3s; }
.ftr__links a:hover { color: #fff; }
.ftr__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: .84rem; color: rgba(255, 255, 255, .5); }
.ftr__admin:hover { color: #fff; }
.tabbar { display: none; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: calc(30px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 30px); padding: 14px 22px; border-radius: 999px; background: var(--plum-deep); color: #fff; font-size: .95rem; box-shadow: var(--sh-3); opacity: 0; pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.totop { position: fixed; z-index: 45; right: 22px; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .85); backdrop-filter: blur(10px); box-shadow: var(--sh-2); display: grid; place-items: center; opacity: 0; transform: translateY(20px) scale(.9); transition: all .45s var(--ease); pointer-events: none; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop .ring circle { stroke: var(--line); }
.totop .ring .ring__p { stroke: var(--plum); stroke-dashoffset: var(--p, 1); }
.totop .ic { transform: rotate(-90deg); width: 20px; }

/* ---------- 스크롤 등장 ---------- */
html.reveal-on [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(34px); filter: blur(6px); }
html.reveal-on [data-reveal] { transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
html.reveal-on [data-drift]:not(.is-in) { opacity: 0; }
html.reveal-on [data-drift="lt"]:not(.is-in) { transform: translate3d(-40px, 20px, 0); }
html.reveal-on [data-drift="rt"]:not(.is-in) { transform: translate3d(40px, -16px, 0); }
html.reveal-on [data-drift="lb"]:not(.is-in) { transform: translate3d(-34px, -16px, 0); }
html.reveal-on [data-drift="rb"]:not(.is-in) { transform: translate3d(36px, 20px, 0); }
html.reveal-on [data-drift] { transition: opacity 1s var(--ease), transform 1.2s var(--ease), box-shadow .5s var(--ease); }
html.reveal-on [data-drift="rt"] { transition-delay: .12s; } html.reveal-on [data-drift="lb"] { transition-delay: .22s; } html.reveal-on [data-drift="rb"] { transition-delay: .32s; }
html.reveal-on [data-drift].is-in { transition-delay: 0s; transition: opacity 1s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }

/* 페이지 전환 */
@view-transition { navigation: none; }
::view-transition-old(root) { animation: vtOut .35s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .6s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-14px); filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(20px); filter: blur(6px); } }
.main.is-leaving { opacity: 0; transform: translateY(-12px); filter: blur(4px); transition: all .3s var(--ease); }
.main.is-entering { animation: vtIn .65s var(--ease) both; }
.loadbar { position: fixed; z-index: 130; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--gold), var(--plum)); transform-origin: left; transform: scaleX(0); opacity: 0; }
.loadbar.is-on { opacity: 1; animation: load 1.6s var(--ease) forwards; }
.loadbar.is-done { opacity: 0; transform: scaleX(1); transition: opacity .4s .1s, transform .2s; }
@keyframes load { to { transform: scaleX(.85); } }

/* ---------- 반응형 ---------- */
@media (max-width: 1180px) {
  .gnb__link { padding: 0 11px; font-size: .98rem; }
  .mega__inner { grid-template-columns: 1fr; }
  .mega__intro { display: none; }
  .sgrid, .sgrid--3 { grid-template-columns: repeat(2, 1fr); }
  .bgrid { grid-template-columns: repeat(3, 1fr); }
  .people { grid-template-columns: repeat(3, 1fr); }
  .dots { display: none; }
  .qguide { flex-wrap: wrap; }
  .qguide__lab { flex-basis: 100%; flex-direction: row; align-items: center; gap: 12px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 12px 14px 14px; }
}
@media (max-width: 1024px) {
  :root { --hdr: 70px; }
  .gnb, .hdr__ch2ch, .tool--fs { display: none; }
  .tool--menu { display: grid; }
  .hdr__tools { margin-left: auto; }
  .mega { display: none; }
  .panels { grid-template-columns: 1fr; }
  .life__grid { grid-template-columns: 1fr; }
  .sermon__grid, .article, .bview, .visit, .regi, .vision__grid, .greet__grid { grid-template-columns: 1fr; }
  .sermon__side, .article__side, .bview__side, .greet__photo { position: static; }
  .greet__photo { max-width: 360px; }
  .ftr__inner { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .journey { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .journey::before { display: none; }
  .visitband__in { grid-template-columns: 1fr; }
  .word__all { position: static; justify-content: center; margin-top: 18px; display: flex; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .brand__txt b { font-size: 1.14rem; }
  .brand__mark { width: 28px; height: 34px; }
  .hero { min-height: 560px; }
  .slide__title { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
  .gate { height: 74%; }
  .hctrl { bottom: calc(94px + env(safe-area-inset-bottom, 0px)); }
  .player--banner { aspect-ratio: 16 / 9; }
  .masthead { flex-direction: column; align-items: flex-start; }
  .masthead__kicker { text-align: left; }
  .qguide { border-radius: 22px; }
  .qguide__a { flex: 1 1 33%; flex-direction: column; gap: 6px; padding: 14px 4px; font-size: .86rem; text-align: center; }
  .qguide__a + .qguide__a::before { display: none; }
  .qguide__go { display: none; }
  .pnl { padding: 22px 20px 24px; }
  .life__cards { grid-template-columns: 1fr; }
  .fan__card { width: 68vw; }
  .fan__stage { height: 240px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .sgrid, .sgrid--3, .agrid { grid-template-columns: 1fr; }
  .bgrid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .people { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .person { padding: 20px 12px; }
  .person__ph { width: 96px; height: 112px; }
  .filters { flex-direction: column; align-items: stretch; }
  .pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .pills::-webkit-scrollbar { display: none; }
  .pill { flex: none; }
  .board__row { flex-wrap: wrap; gap: 6px 12px; padding: 18px 4px; }
  .board__main { flex-basis: 100%; order: 2; }
  .board__d { margin-left: auto; font-size: .95rem; }
  .board__go { display: none; }
  .files__open { gap: 12px; padding-left: 12px; }
  .fbadge { width: 44px; height: 52px; font-size: .78rem; }
  .files__dl span { display: none; }
  .files__dl { width: 46px; padding: 0; justify-content: center; }
  .agenda__it { gap: 16px; padding: 18px; }
  .stamp { width: 64px; height: 78px; }
  .stamp__d { font-size: 1.7rem; }
  .form__row { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .faq__a { padding-left: 24px; }
  .pn { grid-template-columns: 1fr 1fr; }
  .pn__list { display: none; }
  .pn__a { padding: 12px; }
  .tline::before { left: 70px; }
  .tline__it { grid-template-columns: 54px 32px 1fr; }
  .tline__y { font-size: 1.25rem; }
  .ftr { padding-top: 56px; }
  .ftr__inner { grid-template-columns: 1fr; gap: 28px; }
  .ftr__bottom { flex-direction: column; gap: 6px; }
  .wlist__time { font-size: 1.25rem; }
  .pages__nav { width: 42px; height: 42px; margin-top: -21px; }
  .tabbar {
    position: fixed; z-index: 55; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    display: grid; grid-template-columns: repeat(5, 1fr); height: 62px; padding: 0 4px; border-radius: 22px;
    background: rgba(252, 248, 246, .9); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
    box-shadow: 0 16px 40px -18px rgba(47, 38, 57, .45), 0 0 0 1px rgba(47, 38, 57, .05); transition: transform .5s var(--ease);
  }
  .tabbar.is-hidden { transform: translateY(calc(100% + 20px)); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: .7rem; color: var(--ink-3); position: relative; }
  .tabbar .ic { width: 22px; height: 22px; transition: transform .4s var(--ease-back); }
  .tabbar a.is-on { color: var(--plum); }
  .tabbar a.is-on .ic { transform: translateY(-2px); }
  .tabbar a.is-on::after { content: ''; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--plum); }
  .totop { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); right: 14px; width: 46px; height: 46px; }
  .toast { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 1025px) {
  .hero__scroll { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.reveal-on [data-reveal]:not(.is-in), html.reveal-on [data-drift]:not(.is-in) { opacity: 1; transform: none; filter: none; }
}

/* 전환 중에도 머리말·탭바는 제자리에 */
.hdr { view-transition-name: site-hdr; }
.tabbar { view-transition-name: site-tab; }
::view-transition-group(site-hdr), ::view-transition-group(site-tab) { animation: none; }
::view-transition-old(site-hdr), ::view-transition-new(site-hdr), ::view-transition-old(site-tab), ::view-transition-new(site-tab) { animation: none; }
@media (max-width: 760px) {
  .phead__arch { height: 80%; right: -70px; opacity: .55; }
  .phead { padding-top: calc(var(--hdr) + 36px); }
}
