/* 양향자 — 용인 중심 버전 시안 y2 "깊은 레드"
   색: 빨강 #E61E2B, 짙은 빨강, 먹색, 흰색, 연분홍, 무채색만. 파란 계열은 쓰지 않는다.
   글꼴: 제목·인용·숫자 Noto Serif KR, 본문 Pretendard.
   숨겼다 보여 주는 효과는 모두 html.js 아래에만 건다. */

@property --z { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --tx { syntax: '<percentage>'; inherits: true; initial-value: 0%; }
@property --ty { syntax: '<percentage>'; inherits: true; initial-value: 0%; }

:root {
  --red: #E61E2B;
  --crimson: #B5121F;
  --deep: #7A0C14;
  --wine: #3B0A10;
  --night: #1A0709;
  --ink: #120607;
  --blush: #F6B8AC;
  --petal: #FFD9D2;
  --rose: #FBF1F0;
  --text: #221618;
  --soft: #5E5053;
  --hair: #E6DADA;
  --serif: 'Noto Serif KR', 'Noto Serif CJK KR', 'Nanum Myeongjo', 'NanumMyeongjo', 'AppleMyungjo', 'Batang', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  --bar: 56px;
  --pad: 22px;
  --tz: 1;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --focus: #B5121F;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 8px); background: var(--ink); }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.75; letter-spacing: -.005em;
  word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; overflow-x: clip;
}
html.is-menu { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--red); color: #fff; }
a, button, label, summary, input, textarea { -webkit-tap-highlight-color: rgba(230, 30, 43, .12); }
input, textarea { accent-color: var(--red); caret-color: var(--crimson); }
input:-webkit-autofill, textarea:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff inset; -webkit-text-fill-color: var(--text); }

.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.nb { white-space: nowrap; }
html:not(.js) .js-only { display: none; }
.geo { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 14px 18px; background: #fff; color: var(--text); font-weight: 700; border-radius: 3px; }
.skip:focus { top: 12px; }

.dark { background: var(--night); color: #fff; --focus: #fff; }
.light { background: #fff; color: var(--text); }
.red { background: linear-gradient(165deg, #C8141F 0%, #A9101B 46%, #7A0C14 100%); color: #fff; --focus: #fff; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 760px; }

.title {
  font-family: var(--serif); font-weight: 700; letter-spacing: -.012em; line-height: 1.3;
  font-size: calc(clamp(1.875rem, 8.2vw, 3.25rem) * var(--tz)); margin-bottom: .75em;
}
.title--s { font-size: calc(clamp(1.625rem, 6.4vw, 2.25rem) * var(--tz)); }
.prose { text-wrap: pretty; font-size: 1.09375rem; line-height: 1.82; margin-bottom: 1.15em; }
.prose:last-child { margin-bottom: 0; }
.prose--lead { font-size: 1.1875rem; line-height: 1.75; }
.dark .prose { color: rgba(255, 255, 255, .88); }
.sub { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; line-height: 1.35; margin-bottom: 18px; }

/* ── 버튼 ── */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 24px; border: 1px solid transparent; border-radius: 3px;
  font-family: var(--sans); font-size: 1.1875rem; font-weight: 700; line-height: 1.2; letter-spacing: -.015em;
  text-decoration: none; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s, color .25s;
}
.btn:active { transform: scale(.985); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 14px 34px -14px rgba(230, 30, 43, .85); }
.btn--line { border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .05); font-weight: 600; }
.btn--ink { border-color: var(--text); color: var(--text); background: transparent; font-weight: 600; }
@media (hover: hover) {
  .btn--red:hover { background: #F02A37; box-shadow: 0 18px 40px -14px rgba(230, 30, 43, .95); }
  .btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
  .btn--ink:hover { background: var(--text); color: #fff; }
}
/* 빛이 지나간다 */
.btn--sheen::after {
  content: ""; position: absolute; top: -30%; bottom: -30%; left: -70%; width: 46%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
  transform: translateX(0) skewX(-16deg); animation: sheen 6s var(--ease-io) 1.6s infinite;
}
@keyframes sheen { 0%, 64% { transform: translateX(0) skewX(-16deg); } 100% { transform: translateX(520%) skewX(-16deg); } }

/* ── 머리띠 ── */
.bar {
  position: fixed; left: 0; right: 0; top: 0; z-index: 50; --focus: #fff;
  display: flex; align-items: center; gap: 12px; height: calc(var(--bar) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 8px 0 var(--pad);
  color: #fff; transition: background-color .4s, box-shadow .4s;
}
.bar.is-solid { background: rgba(20, 6, 8, .97); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.bar__brand { position: relative; z-index: 2; display: inline-flex; align-items: baseline; gap: 10px; min-height: 48px; padding: 12px 0; text-decoration: none; transition: opacity .4s; }
.bar__brand b { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; letter-spacing: .04em; line-height: 1.2; }
.bar__brand span { display: inline-flex; align-items: center; gap: 6px; font-size: 1rem; font-weight: 700; line-height: 1.2; }
.bar__brand span::before { content: ""; width: 7px; height: 7px; background: var(--red); }
html.js .bar:not(.is-solid):not(.is-open) .bar__brand { opacity: 0; pointer-events: none; }
.bar__cta { display: none; min-height: 44px; font-size: 1.0625rem; padding: 0 20px; box-shadow: none; }
.bar__menu {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px;
  border: 0; background: none; color: #fff; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; position: relative; z-index: 2;
}
.bar__menu-icon { position: relative; width: 22px; height: 12px; }
.bar__menu-icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.bar__menu-icon i:nth-child(1) { top: 0; }
.bar__menu-icon i:nth-child(2) { top: 10.5px; }
.bar.is-open .bar__menu-icon i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.bar.is-open .bar__menu-icon i:nth-child(2) { top: 5px; transform: rotate(-45deg); }
.bar__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; overflow: hidden; pointer-events: none; }
.bar__progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--red) 0%, var(--red) 86%, var(--petal) 100%); }

/* 휴대폰 메뉴: 스크립트가 켜지면 화면을 덮는 큰 글씨 메뉴 */
html.js .bar__nav {
  position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--bar) + 24px) var(--pad) calc(40px + env(safe-area-inset-bottom));
  background: radial-gradient(120% 70% at 80% 0%, #5A0D15 0%, #2A080C 48%, #150608 100%);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s;
}
html.js .bar.is-open .bar__nav { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
html.js .bar__nav li { border-bottom: 1px solid rgba(255, 255, 255, .14); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
html.js .bar.is-open .bar__nav li { opacity: 1; transform: none; transition-delay: calc(80ms + var(--k) * 45ms); }
html.js .bar__nav a { display: flex; align-items: center; min-height: 64px; font-family: var(--serif); font-weight: 700; font-size: calc(1.625rem * var(--tz)); text-decoration: none; letter-spacing: -.01em; }
html.js .bar__nav .bar__nav-cheer a { color: var(--petal); }
/* 스크립트가 꺼져 있으면: 머리띠는 고정하지 않고, 메뉴는 한 줄로 옆으로 넘겨 본다 */
html:not(.js) .bar { position: absolute; flex-wrap: wrap; height: auto; padding-right: var(--pad); background: rgba(20, 6, 8, .82); }
html:not(.js) .bar__menu, html:not(.js) .bar__progress { display: none; }
html:not(.js) .bar__nav { flex: 0 0 100%; margin: 0 calc(var(--pad) * -1); overflow-x: auto; -webkit-overflow-scrolling: touch; }
html:not(.js) .bar__nav ul { display: flex; gap: 4px; padding: 0 var(--pad); width: max-content; }
html:not(.js) .bar__nav a { display: flex; align-items: center; min-height: 48px; padding: 0 12px 0 0; margin-right: 12px; font-size: 1.0625rem; font-weight: 600; white-space: nowrap; text-decoration: none; }

/* ── 첫 화면 ── */
.hero {
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh; overflow: hidden; overflow: clip; color: #fff; --focus: #fff;
  background: linear-gradient(to bottom, #1F0709 0%, #2E090E 30%, #1C0709 62%, #150608 100%);
  --pw: min(124vw, 58vh); --pw: min(124vw, 58svh);
  --f0: 55%; --f1: 73%;
}
.hero__set { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__set::after {
  /* 필름 입자: 평평한 색면이 아니라 사진처럼 보이게 */
  content: ""; position: absolute; inset: 0; opacity: .16; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__glow {
  position: absolute; left: 50%; top: calc(var(--bar) - var(--pw) * .04); width: calc(var(--pw) * 1.36); aspect-ratio: 1; margin-left: calc(var(--pw) * -.62);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(244, 70, 76, .78) 0%, rgba(214, 26, 38, .56) 26%, rgba(150, 14, 24, .3) 56%, rgba(122, 12, 20, 0) 100%);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: .82; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.hero__map {
  position: absolute; left: 50%; top: calc(var(--bar) - 3vw); width: 108vw; margin-left: -54vw;
  overflow: visible; pointer-events: none; opacity: .8;
}
.hero__map-red { fill: rgba(230, 30, 43, .12); stroke: none; }
.hero__map-dongs use { fill: none; stroke: rgba(255, 226, 220, .13); stroke-width: 1.3; }
.hero__map-gu { fill: none; stroke: rgba(255, 226, 220, .2); stroke-width: 1.5; }
.hero__map-line { fill: none; stroke: rgba(255, 232, 226, .5); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js .hero__map-line { animation: draw 2.4s var(--ease-io) .1s both; }
html.js .hero__map-red, html.js .hero__map-dongs, html.js .hero__map-gu { animation: fadein 1.4s var(--ease) .9s both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.hero__beam {
  position: absolute; top: -20%; left: -70%; width: 56%; height: 140%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 170, 160, 0) 0%, rgba(255, 170, 160, .08) 38%, rgba(255, 214, 206, .16) 50%, rgba(255, 170, 160, .08) 62%, rgba(255, 170, 160, 0) 100%);
  transform: translateX(0) skewX(-14deg); animation: beam 12s var(--ease-io) .6s infinite;
}
@keyframes beam { 0% { transform: translateX(0) skewX(-14deg); } 34%, 100% { transform: translateX(420%) skewX(-14deg); } }
.hero__motes { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__set::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 70% at 50% 34%, rgba(10, 2, 3, 0) 46%, rgba(10, 2, 3, .62) 100%); }

.hero__figure {
  position: absolute; z-index: 0; left: 50%; top: calc(var(--bar) - var(--pw) * .05); width: var(--pw); margin-left: calc(var(--pw) * -.5);
  pointer-events: none; will-change: transform;
}
.hero__figure img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 var(--f0), rgba(0, 0, 0, .78) calc(var(--f0) + (var(--f1) - var(--f0)) * .3), rgba(0, 0, 0, .34) calc(var(--f0) + (var(--f1) - var(--f0)) * .66), transparent var(--f1));
  mask-image: linear-gradient(to bottom, #000 0, #000 var(--f0), rgba(0, 0, 0, .78) calc(var(--f0) + (var(--f1) - var(--f0)) * .3), rgba(0, 0, 0, .34) calc(var(--f0) + (var(--f1) - var(--f0)) * .66), transparent var(--f1));
  filter: drop-shadow(0 0 34px rgba(238, 44, 56, .34));
}
html.js .hero__figure img { animation: figureIn 1.5s var(--ease) both; }
@keyframes figureIn { from { opacity: 0; transform: scale(1.035); filter: drop-shadow(0 0 34px rgba(238, 44, 56, .34)) blur(8px); } to { opacity: 1; transform: none; filter: drop-shadow(0 0 34px rgba(238, 44, 56, .34)) blur(0); } }
.hero__fade {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 60%; pointer-events: none;
  background: linear-gradient(to top, #150608 0%, rgba(21, 6, 8, .94) 34%, rgba(21, 6, 8, .6) 64%, rgba(21, 6, 8, 0) 100%);
}
.hero__copy {
  position: relative; z-index: 2; margin-top: auto; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(var(--bar) + var(--pw) * .6) var(--pad) calc(22px + env(safe-area-inset-bottom));
}
.hero__role { display: inline-flex; align-items: center; gap: 10px; font-size: 1.0625rem; line-height: 1.4; margin-bottom: 4px; }
.hero__role b { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: -.01em; }
.hero__role b::before { content: ""; width: 9px; height: 9px; background: var(--red); }
.hero__role span { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: rgba(255, 255, 255, .9); }
.hero__role span::before { content: ""; width: 1px; height: 14px; background: rgba(255, 255, 255, .45); }
.hero__name {
  font-family: var(--serif); font-weight: 700; line-height: 1.14; letter-spacing: .1em; margin: 0 -.1em 8px 0;
  font-size: calc(clamp(3.125rem, 16vw, 4.5rem) * var(--tz)); text-shadow: 0 2px 34px rgba(0, 0, 0, .4);
}
.hero__name span { display: inline-block; }
.hero__slogan { font-family: var(--serif); font-weight: 500; line-height: 1.36; letter-spacing: -.005em; margin-bottom: 12px; font-size: calc(clamp(1.25rem, 6.2vw, 1.75rem) * var(--tz)); color: var(--petal); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__slogan span, .glint {
    background: linear-gradient(100deg, var(--petal) 0%, var(--petal) 38%, #fff 50%, var(--petal) 62%, var(--petal) 100%) 100% 0 / 260% 100%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    animation: glint 6.5s var(--ease-io) 1.6s infinite;
  }
}
@keyframes glint { 0% { background-position: 100% 0; } 46%, 100% { background-position: 0 0; } }
.hero__lead { text-wrap: balance; max-width: 23em; font-size: 1.0625rem; line-height: 1.6; color: rgba(255, 255, 255, .9); margin-bottom: 18px; }
.hero__cta { display: flex; gap: 10px; width: 100%; max-width: 430px; }
.hero__cta .btn { flex: 1 1 0; padding: 0 12px; }
.hero__cta .btn--red { flex-grow: 1.2; }
.hero__count { margin-top: 14px; font-size: 1rem; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.hero__count strong { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: #fff; margin: 0 1px 0 3px; }

html.js .hero__role, html.js .hero__slogan, html.js .hero__lead, html.js .hero__cta, html.js .hero__count { animation: rise .7s var(--ease) both; }
html.js .hero__role { animation-delay: .1s; }
html.js .hero__slogan { animation-delay: .6s; }
html.js .hero__lead { animation-delay: .72s; }
html.js .hero__cta { animation-delay: .84s; }
html.js .hero__count { animation-delay: .96s; }
html.js .hero__name span { animation: nameIn .9s var(--ease) calc(.2s + var(--i) * .12s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes nameIn { from { opacity: 0; filter: blur(14px); transform: translateY(.14em) scale(1.06); } to { opacity: 1; filter: blur(0); transform: none; } }

@media (max-width: 339px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { flex: none; width: 100%; }
  .hero__cta .btn--line { min-height: 48px; }
}
@media (max-height: 620px) and (max-width: 899px) {
  .hero { --pw: min(124vw, 54vh); --pw: min(124vw, 54svh); }
  .hero__slogan { margin-bottom: 14px; }
  .hero__cta { order: 1; }
  .hero__lead { order: 2; margin: 16px 0 0; }
  .hero__count { order: 3; }
}
@media (min-height: 760px) and (max-width: 899px) {
  .hero { --f0: 57%; --f1: 90%; }
}
html:not(.js) .hero__figure { top: calc(var(--bar) + 48px - var(--pw) * .05); }
html:not(.js) .hero__copy { padding-top: calc(var(--bar) + 48px + var(--pw) * .6); }

/* ── 용인: 본인의 말 ── */
.said {
  position: relative; padding: 104px 0 112px; text-align: center; overflow: hidden; overflow: clip;
  background: radial-gradient(90% 60% at 50% 58%, rgba(181, 18, 31, .34) 0%, rgba(122, 12, 20, .12) 55%, rgba(21, 6, 8, 0) 100%), linear-gradient(to bottom, #150608 0%, #1C0709 100%);
}
.said .title { font-size: calc(clamp(1.375rem, 5.6vw, 1.75rem) * var(--tz)); color: var(--petal); margin-bottom: 40px; }
.said .title::after { content: ""; display: block; width: 1px; height: 44px; margin: 22px auto 0; background: linear-gradient(to bottom, rgba(255, 217, 210, .9), rgba(255, 217, 210, 0)); }
.said__quote blockquote, .quote blockquote {
  font-family: var(--serif); font-weight: 500; line-height: 1.52; letter-spacing: -.015em;
  font-size: calc(clamp(1.6875rem, 7.5vw, 3rem) * var(--tz));
}
.said__quote blockquote::before { content: "“"; display: block; height: .62em; font-size: 2.2em; line-height: 1; color: var(--red); font-weight: 700; margin-bottom: .14em; }
.said__quote figcaption, .quote figcaption { margin-top: 26px; font-size: 1rem; color: rgba(255, 255, 255, .72); }
[data-words] .w { opacity: calc(.22 + .78 * clamp(0, var(--p, 1) * var(--n, 1) - var(--i, 0), 1)); transition: opacity .3s linear; }

/* ── 용인: 이야기 ── */
.home { padding: 76px 0 84px; }
.home__years { display: flex; flex-direction: column; margin-bottom: 30px; }
.home__years b { font-family: var(--serif); font-weight: 700; font-size: calc(clamp(4.5rem, 24vw, 8rem) * var(--tz)); line-height: 1; letter-spacing: -.02em; color: var(--crimson); font-variant-numeric: tabular-nums; }
.home__years > span { margin-top: 10px; font-size: 1.0625rem; font-weight: 600; color: var(--soft); }
.home__facts { margin-top: 30px; border-top: 1px solid var(--text); }
.home__facts div { display: grid; grid-template-columns: 7.2em 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.home__facts dt { font-family: var(--serif); font-weight: 700; color: var(--crimson); }
.home__facts dd { font-weight: 500; }

/* ── 고정 장면 공통 ── */
.scene { position: relative; }
html.js .scene.is-live { height: calc(100vh + var(--len, 300vh)); height: calc(100svh + var(--len, 300vh)); }
/* 장면의 끝 부분(다 그려진 상태)으로 바로 가는 자리표. 화면 확인용 */
.scene__end { position: absolute; left: 0; top: 0; width: 1px; height: 1px; pointer-events: none; }
html.js .scene.is-live .scene__end { top: calc((100% - 100vh) * .96 + 70px); top: calc((100% - 100svh) * .96 + 70px); }
html.js .scene.is-live .scene__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ── 지도 ── */
.scene--map { background: radial-gradient(90% 70% at 62% 34%, #33090E 0%, #1C0709 58%, #150608 100%); --len: 340vh; --cap: 300px; }
/* --cap: 고정 장면에서 지도 아래에 남겨 둘 높이(축척 줄 + 설명 + 눈금 + 아래 응원 버튼 자리). 지도는 남는 높이에 맞춰 같은 비율로 줄어든다 */
@media (max-width: 379px) { .scene--map { --cap: 336px; } }
@media (min-height: 800px) and (max-width: 599px) { .scene--map { --cap: 414px; } }
@media (min-height: 800px) and (max-width: 379px) { .scene--map { --cap: 448px; } }
@media (min-width: 600px) and (max-width: 899px) { .scene--map { --cap: 392px; } }
.scene--map .scene__pin { padding: 64px 0 24px; }
.scene--map.is-live .scene__pin { padding: 0; }
.scene--map.is-live .scene__body { height: 100%; display: flex; flex-direction: column; padding-top: calc(var(--bar) + env(safe-area-inset-top) + 2px); }
.ymap { position: relative; --u: 2.6; --z: 1; --tx: 0%; --ty: 0%; transition: --z 1.4s var(--ease-io), --tx 1.4s var(--ease-io), --ty 1.4s var(--ease-io); }
.ymap--main { width: 100%; margin: 0 auto; }
.scene--map.is-live .ymap--main { flex: none; width: min(100%, calc((100vh - var(--bar) - var(--cap)) * 1.1223)); width: min(100%, calc((100svh - var(--bar) - var(--cap)) * 1.1223)); }
.ymap__view { position: relative; aspect-ratio: 1000 / 891; overflow: hidden; }
.ymap__stage { position: absolute; inset: 0; transform-origin: 0 0; transform: translate(var(--tx), var(--ty)) scale(var(--z)); }
.ymap__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.ymap__grid path { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: calc(1 * var(--u)); }
.ymap__nb use { fill: rgba(255, 255, 255, .014); stroke: rgba(255, 255, 255, .17); stroke-width: calc(.8 * var(--u)); stroke-linejoin: round; }
.ymap__land { fill: #2B0A0F; stroke: none; }
.ymap__gu { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 236, 232, .62); stroke-width: calc(.9 * var(--u)); stroke-linejoin: round; transition: fill .8s var(--ease), opacity .9s var(--ease); }
.ymap__red { stroke: none; transition: fill-opacity 1.1s var(--ease); }
.dong { fill: rgba(255, 255, 255, 0); stroke: rgba(255, 226, 220, .56); stroke-width: calc(.75 * var(--u)); stroke-linejoin: round; cursor: pointer; transition: fill .4s var(--ease), stroke .4s, opacity .6s var(--ease); -webkit-tap-highlight-color: transparent; }
.dong.is-on { fill: rgba(255, 255, 255, .34); stroke: #fff; stroke-width: calc(1.7 * var(--u)); }
@media (hover: hover) { .dong:hover { fill: rgba(255, 255, 255, .16); } }
.ymap__rim { fill: none; stroke: var(--petal); stroke-width: calc(1.3 * var(--u)); stroke-linejoin: round; pointer-events: none; transition: opacity .9s var(--ease); }
.ymap__halo { fill: none; stroke: rgba(255, 130, 130, .2); stroke-width: calc(7 * var(--u)); stroke-linejoin: round; pointer-events: none; transition: opacity 1s var(--ease); }
.ymap__edge { fill: none; stroke: #fff; stroke-width: calc(1.5 * var(--u)); stroke-linejoin: round; pointer-events: none; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ymap__spark { fill: none; stroke: #fff; stroke-width: calc(2.6 * var(--u)); stroke-linecap: round; stroke-dasharray: .03 .97; stroke-dashoffset: 1; opacity: 0; pointer-events: none; }
.ymap.is-spark .ymap__spark { opacity: .95; animation: spark 7s linear 2; }
@media (hover: hover) and (pointer: fine) { .ymap.is-spark .ymap__spark { animation-iteration-count: infinite; } }
@keyframes spark { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.ymap__labels { position: absolute; inset: 0; pointer-events: none; }
.lb {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) scale(calc(1 / var(--z))); white-space: nowrap;
  font-size: 12.5px; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: #fff; transition: opacity .6s var(--ease);
}
.lb--nb { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .5); }
.lb--nb[data-edge="l"] { transform: translate(-22%, -50%) scale(calc(1 / var(--z))); }
.lb--nb[data-edge="r"] { transform: translate(-78%, -50%) scale(calc(1 / var(--z))); }
.lb--gu { font-size: 14px; font-weight: 800; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.lb--cheoin { font-size: 15px; }
.lb--dong { text-shadow: 0 0 6px rgba(70, 6, 12, .95), 0 1px 2px rgba(0, 0, 0, .45); }
.lb--dong.is-on { color: var(--text); text-shadow: none; }
.pin { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; transform: scale(calc(1 / var(--z))); transition: opacity .5s var(--ease); }
.pin i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .28), 0 0 16px 5px rgba(255, 214, 206, .8); }
.pin i::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .9); animation: ping 2.8s var(--ease) calc(var(--k, 0) * .5s) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(3.4); opacity: 0; } }
.pin b { position: absolute; white-space: nowrap; padding: 4px 6px; border-radius: 2px; background: rgba(18, 6, 7, .82); font-size: 12.5px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: #fff; }
.pin[data-side="r"] b { left: 12px; top: -10px; }
.pin[data-side="l"] b { right: 12px; top: -10px; }
.pin[data-side="lb"] b { right: 11px; top: 1px; }
.pin[data-side="b"] b { left: 0; top: 12px; transform: translateX(-50%); }
.ymap__tip {
  position: absolute; z-index: 3; left: var(--x); top: var(--y); transform: translate(-50%, calc(-100% - 12px)) scale(calc(1 / var(--z))); transform-origin: 50% 100%;
  padding: 8px 12px; border-radius: 3px; background: #fff; color: var(--text); box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
  font-size: 14px; font-weight: 800; line-height: 1.35; white-space: nowrap; text-align: center; animation: tip .35s var(--ease) both;
}
.ymap__tip small { display: block; font-size: 13px; font-weight: 600; color: var(--crimson); }
@keyframes tip { from { opacity: 0; margin-top: 6px; } to { opacity: 1; margin-top: 0; } }
.ymap__north { position: absolute; right: 12px; top: 10px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; line-height: 1; color: rgba(255, 255, 255, .78); pointer-events: none; }
.ymap__north i { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 11px solid rgba(255, 255, 255, .78); }
.ymap__scale { position: absolute; left: 12px; bottom: 10px; width: calc(var(--w) * var(--z)); display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; line-height: 1; color: rgba(255, 255, 255, .78); pointer-events: none; }
.ymap__scale i { order: 2; height: 5px; border: 1px solid rgba(255, 255, 255, .78); border-top: 0; }
/* 전체 지도의 축척 막대는 지도 아래에 둔다(이웃 시 이름을 가리지 않게). 막대 길이는 지도 폭의 23.45% × 확대 배율 */
.ymap__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px var(--pad) 0 0; font-size: 13px; line-height: 1; color: rgba(255, 255, 255, .74); }
.ymap__meta .ymap__scale { position: static; flex: 1 1 auto; width: auto; flex-direction: row; align-items: center; gap: 8px; font-size: 13px; }
.ymap__meta .ymap__scale i { order: 0; flex: none; width: calc(var(--w) * var(--z)); margin-left: var(--pad); }
.ymap__meta .ymap__scale b { font-weight: 600; }
.ymap__gridnote { flex: none; white-space: nowrap; }
.ymap__sweep { position: absolute; top: -10%; bottom: -10%; left: -60%; width: 46%; pointer-events: none; opacity: 0; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 236, 232, .16), rgba(255, 255, 255, 0)); transform: skewX(-14deg); }
.ymap__sweep.is-go { animation: sweep 1.3s var(--ease-io) both; }
@keyframes sweep { 0% { opacity: 1; transform: translateX(0) skewX(-14deg); } 100% { opacity: 1; transform: translateX(380%) skewX(-14deg); } }

/* 설명 다섯 줄 */
.caps-box { padding: 26px var(--pad) 0; }
.cap { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.cap__fig { font-family: var(--serif); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; font-size: calc(clamp(2.5rem, 11.6vw, 4.25rem) * var(--tz)); font-variant-numeric: tabular-nums; }
.cap__fig small { margin-left: .14em; font-size: .42em; font-weight: 700; color: var(--petal); }
.cap__fig--word { font-size: calc(clamp(1.9375rem, 8.8vw, 3.25rem) * var(--tz)); line-height: 1.26; }
.cap__txt { margin-top: 8px; font-size: 1.0625rem; line-height: 1.62; color: rgba(255, 255, 255, .88); }
.scene__ticks { display: none; }
/* 세 구의 넓이 비율(42 : 82 : 468) */
.share { margin-top: 26px; }
.share__bar { display: flex; gap: 2px; height: 10px; transform-origin: 0 50%; }
.share__seg { height: 100%; background: rgba(255, 255, 255, .5); transition: background-color .8s var(--ease), box-shadow .8s var(--ease), opacity .8s var(--ease); }
.share__seg--suji { flex: 42 1 0; background: rgba(255, 255, 255, .34); }
.share__seg--giheung { flex: 82 1 0; background: rgba(255, 255, 255, .6); }
.share__seg--cheoin { flex: 468 1 0; background: var(--red); box-shadow: 0 0 18px rgba(238, 44, 56, .7); }
.share__key { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 10px; font-size: 1rem; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.share__k { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.share__k::before { content: ""; width: 9px; height: 9px; background: rgba(255, 255, 255, .34); }
.share__k--giheung::before { background: rgba(255, 255, 255, .6); }
.share__k--cheoin { color: #fff; font-weight: 700; }
.share__k--cheoin::before { background: var(--red); }
.scene--map.is-live .share { flex: none; margin: 0 0 18px; }
.scene--map.is-live .share__bar { transition: transform 1.1s var(--ease-io) .5s; }
.scene--map.is-live:not(.s1) .share__bar { transform: scaleX(0); }
.scene--map.is-live:not(.s1) .share__key { opacity: 0; }
.scene--map.is-live .share__key { transition: opacity .8s var(--ease) .9s; }
.scene--map.is-live:not(.s3) .share__seg--cheoin { background: rgba(255, 255, 255, .86); box-shadow: none; }
.scene--map.is-live.s3 .share__seg--suji, .scene--map.is-live.s3 .share__seg--giheung { opacity: .55; }
@media (max-height: 799px) and (max-width: 599px) { .scene--map.is-live .share { display: none; } }
/* 스크립트가 장면을 맡으면 한 번에 한 줄만 보인다 */
.scene--map.is-live .caps-box { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 14px var(--pad) calc(96px + env(safe-area-inset-bottom)); }
.scene--map.is-live .caps { position: relative; flex: 1 1 auto; }
/* 가려진 줄도 화면 낭독기에서는 그대로 읽힌다(투명도만 바꾼다) */
.scene--map.is-live .cap { position: absolute; left: 0; right: 0; top: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.scene--map.is-live .cap.is-on { opacity: 1; pointer-events: auto; transform: none; transition: opacity .6s var(--ease) .12s, transform .6s var(--ease) .12s; }
.scene--map.is-live .scene__ticks { display: flex; gap: 6px; }
.scene__ticks i { width: 24px; height: 2px; background: rgba(255, 255, 255, .26); transition: background-color .4s; }
.scene__ticks i.is-on { background: #fff; }
/* 단계별 상태(다 그려진 모습이 기본이고, 장면이 살아 있을 때만 앞 단계의 것을 숨긴다) */
.scene--map.is-live:not(.s1) .ymap__edge { stroke-dashoffset: 1; }
.scene--map.is-live .ymap__edge { transition: stroke-dashoffset 1.5s var(--ease-io); }
.scene--map.is-live:not(.s1) .ymap__halo, .scene--map.is-live:not(.s1) .ymap__gu, .scene--map.is-live:not(.s1) .lb--gu, .scene--map.is-live:not(.s1) .lb--nb, .scene--map.is-live:not(.s1) .ymap__north, .scene--map.is-live:not(.s1) .ymap__meta { opacity: 0; }
.scene--map.is-live.s1 .ymap__gu, .scene--map.is-live.s1 .lb--gu, .scene--map.is-live.s1 .lb--nb, .scene--map.is-live.s1 .ymap__halo { transition-delay: .7s; }
.ymap__north, .ymap__meta { transition: opacity .8s var(--ease) .9s; }
.scene--map.is-live:not(.s2) .pin[data-pin="giheung"], .scene--map.is-live:not(.s3) .pin[data-pin="cityhall"], .scene--map.is-live:not(.s4) .pin[data-pin="national"], .scene--map.is-live:not(.s5) .pin[data-pin="cluster"] { opacity: 0; }
.scene--map.is-live.s3 .pin[data-pin="cityhall"] { transition-delay: .7s; }
.scene--map.is-live.s2:not(.s3) .ymap__gu--giheung { fill: rgba(255, 255, 255, .2); }
.scene--map.is-live:not(.s3) .ymap__red { fill-opacity: 0; }
.scene--map.is-live:not(.s3) .ymap__rim { opacity: 0; }
.scene--map.is-live.s3 .ymap--main { --z: 1.2; --tx: -13.2%; --ty: -12%; }
.scene--map.is-live.s3 .lb--nb[data-west] { opacity: 0; }
.scene--map.is-live:not(.s6) .dong, .scene--map.is-live:not(.s6) .lb--dong { opacity: 0; }
.scene--map.is-live:not(.s6) .dong { pointer-events: none; }
.scene--map.is-live.s6 .dong { transition-delay: calc(var(--k) * 32ms); }
.scene--map.is-live.s6 .lb--dong { transition-delay: .3s; }
/* 4·5단계: 그 산업단지가 있는 읍·면이 먼저 밝아진다 */
.scene--map.is-live.s4:not(.s5) .dong[data-dong="이동읍"], .scene--map.is-live.s4:not(.s5) .dong[data-dong="남사읍"], .scene--map.is-live.s5:not(.s6) .dong[data-dong="원삼면"] { opacity: 1; fill: rgba(255, 255, 255, .2); transition-delay: 0s; }
.scene--map.is-live.s4:not(.s5) .lb--dong[data-dong="이동읍"], .scene--map.is-live.s4:not(.s5) .lb--dong[data-dong="남사읍"], .scene--map.is-live.s5:not(.s6) .lb--dong[data-dong="원삼면"] { opacity: 1; transition-delay: .2s; }

/* ── 시내 확대 지도와 목록 ── */
.explore { padding: 64px 0 88px; background: linear-gradient(to bottom, #150608 0%, #1C0709 100%); }
.explore__grid { display: grid; gap: 56px; }
.explore__title { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; line-height: 1.35; margin-bottom: 16px; }
.explore__hint { font-size: 1rem; color: rgba(255, 255, 255, .72); margin: -8px 0 16px; }
.ymap--inset { margin: 0 calc(var(--pad) * -1); --u: .78; }
.ymap--inset .ymap__view { background: #1B0709; border-top: 1px solid rgba(255, 255, 255, .5); border-bottom: 1px solid rgba(255, 255, 255, .5); }
.ymap--inset .lb--dong { font-size: 13.5px; }
.ymap--inset .ymap__edge { stroke-width: calc(2 * var(--u)); }
.ymap--inset .dong { stroke-width: calc(1.1 * var(--u)); stroke: rgba(255, 232, 226, .8); }
.ymap--inset .dong.is-on { stroke-width: calc(2.4 * var(--u)); }
.ymap--inset .dong--rim { fill: rgba(22, 6, 8, .62); stroke: rgba(255, 232, 226, .3); pointer-events: none; }
.ymap--inset .ymap__gu { fill: rgba(255, 255, 255, .03); }
/* 화면에 들어오면 시내 6개 동이 차례로 밝아진다 */
html.js .ymap--inset .dong--core { transition: fill .4s var(--ease), stroke .4s, opacity .45s var(--ease) calc((var(--k) - 7) * 55ms); }
html.js .ymap--inset:not(.is-in) .dong--core { opacity: 0; }
html.js .ymap--inset .lb--dong, html.js .ymap--inset .pin { transition: opacity .4s var(--ease) .25s; }
html.js .ymap--inset:not(.is-in) .lb--dong, html.js .ymap--inset:not(.is-in) .pin { opacity: 0; }
.ymap--inset .ymap__rim { stroke-width: calc(2 * var(--u)); }
.ymap--inset .ymap__halo { stroke-width: calc(10 * var(--u)); }
.ymap--inset .ymap__grid path { stroke-width: calc(1.2 * var(--u)); }
.ymap--inset .ymap__gu { stroke-width: calc(1.2 * var(--u)); }
.ymap--inset figcaption { padding: 12px var(--pad) 0; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.dongs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dongs__btn {
  width: 100%; min-height: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 8px; padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 3px; background: rgba(255, 255, 255, .05); color: #fff; text-align: left;
  transition: background-color .3s, border-color .3s, color .3s; -webkit-tap-highlight-color: transparent;
}
.dongs__btn b { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.dongs__btn span { font-size: 1rem; line-height: 1.3; color: var(--petal); }
.dongs__btn[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--text); }
.dongs__btn[aria-pressed="true"] span { color: var(--crimson); }
html:not(.js) .dongs__btn { cursor: default; }
.legend__list li { display: grid; grid-template-columns: 22px 1fr; gap: 0 8px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.legend__list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.legend__list i { width: 12px; height: 12px; margin-top: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25), 0 0 12px 3px rgba(255, 214, 206, .6); }
.legend__list b { display: block; font-size: 1.0625rem; font-weight: 700; line-height: 1.45; }
.legend__where { display: block; font-size: 1rem; color: var(--petal); line-height: 1.5; }
.legend__note { display: block; margin-top: 2px; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.legend__small { margin-top: 18px; font-size: 1rem; line-height: 1.65; color: rgba(255, 255, 255, .72); }
.legend__src { margin-top: 6px; }

/* ── 처인구 구상 ── */
.plan { padding: 84px 0 92px; }
.title--plan { color: var(--crimson); margin-bottom: .5em; }
.plan__list { margin: 28px 0 44px; border-top: 1px solid var(--text); }
.plan__list li { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.plan__list b { font-family: var(--serif); font-weight: 700; font-size: 1.4375rem; line-height: 1.35; }
.plan__list span { color: var(--soft); font-weight: 500; }
.belt { padding: 30px 0 4px; }
.belt__cities { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); row-gap: 34px; margin-bottom: 26px; text-align: center; }
.belt__cities b { grid-column: 1 / -1; grid-row: 1; justify-self: center; position: relative; padding: 9px 16px; background: var(--crimson); color: #fff; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; border-radius: 2px; }
.belt__cities b::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 17px; background: var(--crimson); transform-origin: 50% 0; }
.belt__cities span { grid-row: 2; position: relative; padding-top: 16px; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.belt__cities span::before { content: ""; position: absolute; left: 50%; top: 0; width: 9px; height: 9px; margin: -4px 0 0 -4.5px; border-radius: 50%; background: var(--crimson); box-shadow: 0 0 0 4px rgba(230, 30, 43, .14); }
.belt__cities::before { content: ""; position: absolute; left: 10%; right: 10%; top: calc(100% - 1.3em - 16px - .5px); height: 1px; background: var(--crimson); transform-origin: 50% 50%; }
html.js .belt .belt__cities::before { transform: scaleX(0); transition: transform .9s var(--ease-io) .25s; }
html.js .belt .belt__cities b::after { transform: scaleY(0); transition: transform .3s var(--ease) .05s; }
html.js .belt .belt__cities span { opacity: 0; transition: opacity .5s var(--ease) calc(.5s + var(--k) * .1s); }
html.js .belt.is-in .belt__cities::before { transform: none; }
html.js .belt.is-in .belt__cities b::after { transform: none; }
html.js .belt.is-in .belt__cities span { opacity: 1; }
.plan__now { display: grid; gap: 2px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--text); }
.plan__now b { font-family: var(--serif); font-weight: 700; color: var(--crimson); }
.plan__now span { font-weight: 600; }

/* ── 걸어온 길 ── */
.glance { padding: 34px 0 38px; }
.glance__list { display: grid; grid-template-columns: 1fr 1fr; }
.glance__list li { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .24); }
.glance__list li:nth-child(odd) { padding-right: 12px; }
.glance__list li:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .24); }
.glance__list li:nth-last-child(-n+2) { border-bottom: 0; }
.glance__list b { font-family: var(--serif); font-weight: 700; font-size: calc(2rem * var(--tz)); line-height: 1.15; font-variant-numeric: tabular-nums; }
.glance__list span { font-size: 1rem; font-weight: 600; line-height: 1.45; }
.path__open { padding: 84px 0 76px; }
.path__rest { padding: 20px 0 92px; }
.chap { margin-top: 60px; }
.chap__when { display: flex; align-items: center; gap: 14px; }
.chap__when span { flex: none; font-family: var(--serif); font-weight: 700; font-size: 1.3125rem; line-height: 1.3; color: var(--crimson); font-variant-numeric: tabular-nums; }
.chap__when::after { content: ""; flex: 1 1 auto; height: 1px; background: #D9CACA; transform-origin: 0 50%; }
.chap h3 { font-family: var(--serif); font-weight: 700; font-size: calc(clamp(1.5rem, 6.4vw, 2rem) * var(--tz)); line-height: 1.4; letter-spacing: -.015em; margin: 14px 0 14px; }
.pair { margin-top: 24px; border-top: 1px solid var(--text); }
.pair li { display: grid; grid-template-columns: 4.4em 1fr; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.pair b { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; line-height: 1.2; color: var(--crimson); }
.pair span { font-weight: 600; }
.credit { margin: 26px 0 28px; padding: 22px 20px 20px; background: var(--rose); border-top: 1px solid var(--crimson); }
.credit__cap { font-size: 1rem; font-weight: 600; color: var(--soft); margin-bottom: 12px; }
.credit dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.credit dl div + div { padding-left: 16px; border-left: 1px solid #E7CFCD; }
.credit dt { font-size: 1rem; font-weight: 600; }
.credit dd { font-family: var(--serif); font-weight: 700; font-size: calc(3rem * var(--tz)); line-height: 1.15; color: var(--crimson); font-variant-numeric: tabular-nums; }
.votes { margin: 26px 0 28px; display: grid; gap: 4px; padding-left: 18px; border-left: 2px solid var(--red); }
.votes b { font-family: var(--serif); font-weight: 700; font-size: calc(clamp(2.5rem, 12vw, 3.5rem) * var(--tz)); line-height: 1.15; color: var(--crimson); font-variant-numeric: tabular-nums; }
.votes > span { font-size: 1rem; font-weight: 600; color: var(--soft); }
.ledger { margin-top: 64px; border-top: 1px solid var(--text); border-bottom: 1px solid var(--text); }
.ledger summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; cursor: pointer; list-style: none; font-size: 1.1875rem; font-weight: 700; }
.ledger summary::-webkit-details-marker { display: none; }
.ledger summary i { position: relative; flex: none; width: 18px; height: 18px; }
.ledger summary i::before, .ledger summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--text); transition: transform .35s var(--ease); }
.ledger summary i::after { transform: rotate(90deg); }
.ledger[open] summary i::after { transform: rotate(0deg); }
.ledger table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.ledger tr { border-top: 1px solid var(--hair); }
.ledger th, .ledger td { padding: 13px 0; vertical-align: top; text-align: left; line-height: 1.6; }
.ledger th { width: 6.6em; padding-right: 12px; font-family: var(--serif); font-weight: 700; font-size: 1rem; color: var(--crimson); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger td { font-size: 1.0625rem; }

/* ── 직급 장면 ── */
.scene--ladder { background: radial-gradient(80% 60% at 78% 60%, #3A0A10 0%, #1C0709 60%, #150608 100%); --len: 230vh; }
.ladder { padding: 64px var(--pad) 68px; max-width: 760px; margin: 0 auto; }
.ladder__now { display: none; }
.ladder__fill { display: none; }
.ladder__steps li { display: grid; grid-template-columns: 4.6em 1fr; gap: 0 12px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.ladder__steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.ladder__y { grid-row: span 2; font-family: var(--serif); font-weight: 700; font-size: 1.5rem; line-height: 1.3; color: var(--petal); font-variant-numeric: tabular-nums; }
.ladder__steps strong { font-size: 1.1875rem; font-weight: 700; line-height: 1.4; }
.ladder__d { font-size: 1rem; color: rgba(255, 255, 255, .76); }
.ladder__first { margin-top: 28px; font-family: var(--serif); font-weight: 500; font-size: 1.3125rem; line-height: 1.6; }
/* 살아 있는 장면: 왼쪽에 지금 연도와 직급, 오른쪽에 연도 간격 그대로의 세로 눈금 */
.scene--ladder.is-live .ladder { height: 100%; max-width: 980px; display: grid; grid-template-columns: minmax(0, 1fr) 88px; grid-template-rows: minmax(0, 1fr) auto; gap: 0 8px; padding: calc(var(--bar) + 28px) var(--pad) calc(100px + env(safe-area-inset-bottom)); }
.scene--ladder.is-live .ladder__now { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.ladder__year { white-space: nowrap; font-family: var(--serif); font-weight: 700; font-size: calc(clamp(3.25rem, 21vw, 10rem) * var(--tz)); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ladder__rank { margin-top: 18px; font-family: var(--serif); font-weight: 700; font-size: calc(clamp(1.625rem, 7.4vw, 2.5rem) * var(--tz)); line-height: 1.3; }
.ladder__dept { margin-top: 4px; font-size: 1.0625rem; font-weight: 500; color: var(--petal); }
.ladder__rank, .ladder__dept { transition: opacity .3s var(--ease), transform .3s var(--ease); }
.ladder__now.is-swap .ladder__rank, .ladder__now.is-swap .ladder__dept { opacity: 0; transform: translateY(8px); }
.scene--ladder.is-live .ladder__axis { grid-area: 1 / 2; position: relative; margin: 7vh 0 5vh; }
.scene--ladder.is-live .ladder__axis::before { content: ""; position: absolute; right: 14px; top: 0; bottom: 0; width: 7px; margin-right: -3px; background: repeating-linear-gradient(to top, rgba(255, 255, 255, .36) 0, rgba(255, 255, 255, .36) 1px, transparent 1px, transparent calc(100% / 29)); }
.scene--ladder.is-live .ladder__axis::after { content: ""; position: absolute; right: 14px; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .3); }
.scene--ladder.is-live .ladder__fill { display: block; position: absolute; z-index: 1; right: 13px; bottom: 0; width: 3px; height: 100%; transform-origin: 50% 100%; transform: scaleY(var(--f, 0)); background: linear-gradient(to top, var(--red) 0%, #FF8E86 70%, #fff 100%); box-shadow: 0 0 14px rgba(255, 130, 130, .85); }
.scene--ladder.is-live .ladder__steps { position: absolute; inset: 0; }
.scene--ladder.is-live .ladder__steps li { position: absolute; right: 0; bottom: calc(var(--t) * 100%); display: block; padding: 0 30px 0 0; border: 0; transform: translateY(50%); }
.scene--ladder.is-live .ladder__steps li::after { content: ""; position: absolute; z-index: 2; right: 9.5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); background: #1C0709; transition: background-color .4s, box-shadow .4s, border-color .4s; }
.scene--ladder.is-live .ladder__steps li.is-on::after { background: #fff; border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18), 0 0 16px 4px rgba(255, 190, 180, .9); }
.scene--ladder.is-live .ladder__y { display: block; font-size: 1rem; line-height: 1; color: rgba(255, 255, 255, .5); transition: color .4s; }
.scene--ladder.is-live .ladder__steps li.is-on .ladder__y { color: #fff; }
.scene--ladder.is-live .ladder__steps strong, .scene--ladder.is-live .ladder__d { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.scene--ladder.is-live .ladder__first { grid-area: 2 / 1 / 3 / 3; margin: 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .22); opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.scene--ladder.is-live.is-top .ladder__first { opacity: 1; transform: none; }

/* ── 정치를 시작한 이유 ── */
.why { position: relative; padding: 100px 0 108px; background: radial-gradient(80% 36% at 86% 6%, rgba(181, 18, 31, .3) 0%, rgba(122, 12, 20, 0) 100%), radial-gradient(90% 40% at 10% 62%, rgba(122, 12, 20, .34) 0%, rgba(122, 12, 20, 0) 100%), #1A0709; }
.ceil { margin: 44px 0 64px; --p: 1; }
.ceil__stage { position: relative; height: 290px; max-width: 520px; margin: 0 auto; }
.ceil__beam { position: absolute; left: 50%; bottom: 0; width: 2px; height: 100%; margin-left: -1px; transform-origin: 50% 100%; transform: scaleY(var(--p)); background: linear-gradient(to top, rgba(230, 30, 43, .2) 0%, var(--red) 30%, #FF9A92 78%, #fff 100%); box-shadow: 0 0 16px 1px rgba(255, 110, 110, .7); }
.ceil__pane { position: absolute; left: 0; right: 0; top: calc(72% - var(--n) * 30%); height: 1px; --o: clamp(0, (var(--p) - .28 - var(--n) * .3) * 9, 1); }
.ceil__pane i { position: absolute; top: 0; width: calc(50% - 3px); height: 1px; }
.ceil__pane i:nth-child(1) { left: 0; transform-origin: 0 50%; transform: rotate(calc(var(--o) * -7deg)); background: linear-gradient(to right, rgba(255, 255, 255, .08), rgba(255, 255, 255, .92)); }
.ceil__pane i:nth-child(2) { right: 0; transform-origin: 100% 50%; transform: rotate(calc(var(--o) * 7deg)); background: linear-gradient(to left, rgba(255, 255, 255, .08), rgba(255, 255, 255, .92)); }
.ceil__pane::after { content: ""; position: absolute; left: 50%; top: 0; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; opacity: calc(var(--o) * .9); background: radial-gradient(closest-side, rgba(255, 190, 180, .5), rgba(255, 120, 120, .12) 55%, rgba(255, 120, 120, 0)); pointer-events: none; }
.ceil__pane b { position: absolute; right: 0; bottom: 12px; font-size: 1.0625rem; font-weight: 700; line-height: 1; letter-spacing: .02em; color: #fff; opacity: calc(1 - var(--o) * .5); }
.ceil figcaption { margin-top: 18px; text-align: center; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, .74); }
.quote { margin: 0 0 56px; }
.quote blockquote { position: relative; padding-left: 20px; }
.quote blockquote::before { content: ""; position: absolute; left: 0; top: .32em; bottom: .32em; width: 2px; background: var(--red); }
.quote figcaption { padding-left: 20px; margin-top: 18px; }
.quote--second { margin: 56px 0 0; }
.quote--second blockquote { font-weight: 700; }

/* ── 철학 ── */
.belief { position: relative; padding: 96px 0 100px; overflow: hidden; overflow: clip; }
.belief .wrap { position: relative; }
.wafer { position: absolute; right: -150px; top: -70px; width: 460px; height: 460px; max-width: none; pointer-events: none; }
.wafer__spin { transform-origin: 200px 200px; transform: rotate(calc(var(--r, 0) * 1deg)); }
.wafer circle, .wafer path { fill: none; stroke: #EBCFCD; stroke-width: 1; }
.wafer__dies path { stroke: #F1DDDB; }
.wafer__rim { stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js .wafer:not(.is-in) .wafer__rim { stroke-dashoffset: 1; }
html.js .wafer:not(.is-in) .wafer__dies, html.js .wafer:not(.is-in) .wafer__notch { opacity: 0; }
html.js .wafer .wafer__rim { transition: stroke-dashoffset 1.8s var(--ease-io); }
html.js .wafer .wafer__dies, html.js .wafer .wafer__notch { transition: opacity 1.2s var(--ease) .7s; }
.belief__head { max-width: 640px; }
.creed { margin-top: 44px; border-top: 1px solid var(--text); }
.creed li { position: relative; padding: 28px 0 30px; border-bottom: 1px solid var(--hair); }
.creed h3 { font-family: var(--serif); font-weight: 700; font-size: calc(clamp(1.5625rem, 6.6vw, 2rem) * var(--tz)); line-height: 1.35; letter-spacing: -.015em; margin-bottom: 10px; }
.creed h3::before { content: ""; display: inline-block; width: 22px; height: 2px; margin-right: 12px; vertical-align: .32em; background: var(--red); transform-origin: 0 50%; }
html.js .creed li:not(.is-in) h3::before { transform: scaleX(0); }
html.js .creed li h3::before { transition: transform .7s var(--ease-io) .25s; }
.creed p { color: #3A2C2E; }

/* ── 첨단도지사 캠프 ── */
.camp__top { position: relative; padding: 96px 0 84px; overflow: hidden; overflow: clip; }
.camp__top::before { content: ""; position: absolute; left: -30%; top: -30%; width: 110%; height: 80%; background: radial-gradient(closest-side, rgba(255, 120, 110, .26), rgba(255, 120, 110, 0)); pointer-events: none; }
.camp__top .wrap { position: relative; }
.camp__top .prose { color: #fff; }
.reel { position: relative; margin: 40px 0 52px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .3); border-bottom: 1px solid rgba(255, 255, 255, .3); overflow: hidden; }
.reel__track { display: flex; width: max-content; animation: reel 46s linear infinite; }
.reel.is-off .reel__track { animation-play-state: paused; }
.reel ul { display: flex; flex: none; }
.reel li { display: flex; align-items: center; font-family: var(--serif); font-weight: 500; font-size: calc(1.5rem * var(--tz)); line-height: 1.4; white-space: nowrap; }
.reel li::after { content: ""; width: 5px; height: 5px; margin: 0 26px; border-radius: 50%; background: var(--petal); }
@keyframes reel { to { transform: translateX(-50%); } }
.pledge { border-top: 1px solid rgba(255, 255, 255, .7); }
.pledge li { display: grid; gap: 4px; padding: 18px 0 20px; border-bottom: 1px solid rgba(255, 255, 255, .26); }
.pledge__what { font-size: 1rem; font-weight: 700; color: #fff; opacity: .92; }
.pledge__say { font-size: 1.0625rem; font-weight: 500; line-height: 1.5; }
.pledge__pre { display: block; }
.pledge__say b { display: inline-block; margin-right: 2px; font-family: var(--serif); font-weight: 700; font-size: calc(clamp(2.125rem, 10vw, 2.75rem) * var(--tz)); line-height: 1.2; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.pledge__say--text { font-family: var(--serif); font-weight: 700; font-size: calc(1.4375rem * var(--tz)); line-height: 1.45; }
.camp__log { padding: 84px 0 96px; }
.sub--ink { margin-bottom: 30px; }
.log { position: relative; --p: 1; }
.log::before, .log::after { content: ""; position: absolute; left: 5px; top: 10px; bottom: 6px; width: 1px; }
.log::before { background: #DCCDCD; }
.log::after { background: var(--red); transform-origin: 50% 0; transform: scaleY(var(--p)); }
.log li { position: relative; padding: 0 0 38px 32px; }
.log li:last-child { padding-bottom: 0; }
.log li::before { content: ""; position: absolute; z-index: 1; left: 0; top: 8px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--red); background: var(--red); transition: background-color .4s, box-shadow .4s; }
html.js .log.is-live li:not(.is-on)::before { background: #fff; border-color: #C9B5B5; }
html.js .log.is-live li.is-on::before { box-shadow: 0 0 0 5px rgba(230, 30, 43, .14); }
.log__when { font-family: var(--serif); font-weight: 700; font-size: 1.125rem; line-height: 1.5; color: var(--crimson); }
.log h4 { font-size: 1.3125rem; font-weight: 800; line-height: 1.4; letter-spacing: -.02em; margin: 2px 0 6px; font-variant-numeric: tabular-nums; }
.dots31 { display: flex; flex-wrap: wrap; gap: 7px; max-width: 300px; margin-top: 14px; }
.dots31 i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
html.js .dots31:not(.is-in) i { background: #E6D6D6; }
html.js .dots31 i { transition: background-color .3s; }

/* ── 응원 ── */
.cheer__head { position: relative; padding: 104px 0 136px; text-align: center; overflow: hidden; overflow: clip; background: radial-gradient(80% 70% at 50% 100%, rgba(200, 22, 34, .55) 0%, rgba(122, 12, 20, .25) 50%, rgba(21, 6, 8, 0) 100%), #1A0709; }
.cheer__embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cheer__head .wrap { position: relative; }
.cheer__head .title { margin-bottom: .4em; }
.cheer__count { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cheer__count strong { font-family: var(--serif); font-weight: 700; font-size: calc(clamp(3.75rem, 19vw, 6.5rem) * var(--tz)); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-shadow: 0 0 44px rgba(255, 120, 120, .5); }
.cheer__count span { font-size: 1.1875rem; font-weight: 600; color: var(--petal); }
.cheer__body { position: relative; padding-bottom: 92px; }
.cheer__grid { position: relative; top: -72px; margin-bottom: -72px; display: grid; gap: 64px; padding: 0 14px; }
.form { position: relative; overflow: hidden; background: #fff; border-radius: 6px; padding: 30px 20px 24px; box-shadow: 0 34px 80px -26px rgba(40, 6, 10, .5), 0 0 0 1px rgba(40, 6, 10, .07); }
.form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--red); }
.form__intro { margin-bottom: 24px; }
.form__intro h3 { font-family: var(--serif); font-weight: 700; font-size: 1.625rem; line-height: 1.35; margin-bottom: 6px; }
.form__intro p { color: var(--soft); }
.field { margin-bottom: 20px; }
.field label, .times legend { display: block; margin-bottom: 8px; font-size: 1.0625rem; font-weight: 700; line-height: 1.4; }
.mark { margin-left: 4px; font-style: normal; font-size: 1rem; font-weight: 600; color: var(--soft); }
.mark--req { color: var(--crimson); }
.field input, .field textarea {
  display: block; width: 100%; min-height: 56px; padding: 14px 14px; border: 1px solid #BFAFB0; border-radius: 4px; background: #fff; color: var(--text);
  font-size: 1.0625rem; line-height: 1.5; -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7A6C6E; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(230, 30, 43, .22); }
.field [aria-invalid="true"] { border-color: var(--crimson); box-shadow: 0 0 0 1px var(--crimson); }
.field__err { font-size: 1rem; font-weight: 600; line-height: 1.5; color: var(--crimson); }
.field__err:not(:empty) { margin-top: 6px; }
.check { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; min-height: 48px; padding: 10px 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.check input { position: absolute; left: 0; top: 10px; width: 28px; height: 28px; margin: 0; opacity: 0; cursor: pointer; }
.check__box { width: 28px; height: 28px; border: 1.5px solid #8B7D7F; border-radius: 4px; background: #fff center / 18px 18px no-repeat; transition: background-color .2s, border-color .2s, box-shadow .2s; }
.check input:checked + .check__box { border-color: var(--red); background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.5l3.6 3.6 7.4-8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--crimson); }
.check input[aria-invalid="true"] + .check__box { border-color: var(--crimson); box-shadow: 0 0 0 1px var(--crimson); }
.check__text { padding-top: 1px; font-size: 1.0625rem; line-height: 1.55; font-weight: 500; }
.check--big .check__text, .check--all .check__text { font-weight: 700; }
.callback { margin: 4px 0 26px; padding: 6px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.times { padding: 4px 0 14px; }
.times__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.times__list label { position: relative; display: block; cursor: pointer; }
.times__list input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.times__list span { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 6px 4px; border: 1px solid #BFAFB0; border-radius: 4px; font-size: 1rem; font-weight: 600; line-height: 1.3; text-align: center; transition: background-color .2s, border-color .2s, color .2s; }
.times__list input:checked + span { background: var(--text); border-color: var(--text); color: #fff; }
.times__list input:focus-visible + span { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--crimson); }
.consents__title { font-size: 1.1875rem; font-weight: 800; line-height: 1.4; margin-bottom: 10px; }
.consents__all { padding: 6px 14px 12px; margin-bottom: 4px; background: var(--rose); border-radius: 4px; }
.consents__note { padding-left: 40px; margin-top: -4px; font-size: 1rem; line-height: 1.5; color: var(--soft); }
.consent { padding: 4px 0 8px; border-bottom: 1px solid var(--hair); }
.consent__sum { padding-left: 40px; margin-top: -4px; font-size: 1rem; line-height: 1.55; color: var(--soft); }
.consent__err { padding-left: 40px; }
.consent details { padding-left: 40px; }
.consent summary { display: inline-flex; align-items: center; min-height: 48px; cursor: pointer; list-style: none; font-size: 1rem; font-weight: 600; color: var(--text); }
.consent summary::-webkit-details-marker { display: none; }
.consent summary span { border-bottom: 1px solid currentColor; line-height: 1.3; }
.consent details ul { padding: 2px 0 12px; }
.consent details li { position: relative; padding-left: 12px; font-size: 1rem; line-height: 1.65; color: #3A2C2E; }
.consent details li + li { margin-top: 6px; }
.consent details li::before { content: ""; position: absolute; left: 0; top: .74em; width: 4px; height: 4px; border-radius: 50%; background: #8B7D7F; }
.tag { font-weight: 800; }
.tag--req { color: var(--crimson); }
.tag--opt { color: var(--soft); }
.form__who { margin: 20px 0 4px; font-size: 1rem; line-height: 1.7; color: var(--soft); }
.form__who a { color: var(--text); font-weight: 600; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 48px; }
.form__trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__done { display: none; justify-content: center; padding: 14px 0 6px; }
.form__done svg circle, .form__done svg path { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.form__status { font-size: 1.0625rem; font-weight: 600; line-height: 1.6; }
.form__status:not(:empty) { margin: 12px 0 14px; }
.form__status[data-state="error"] { color: var(--crimson); }
.form__status[data-state="sending"] { color: var(--soft); }
.form__noscript { margin: 12px 0 14px; padding: 14px; background: var(--rose); border-top: 1px solid var(--crimson); font-weight: 600; }
.btn--send { width: 100%; min-height: 60px; font-size: 1.3125rem; font-weight: 800; margin-top: 8px; }
.btn--send:disabled { opacity: .6; cursor: default; }
.form__again { display: none; width: 100%; margin-top: 8px; }
.form.is-done .form__fields, .form.is-done .btn--send { display: none; }
.form.is-done .form__done { display: flex; }
.form.is-done .form__again { display: inline-flex; }
.form.is-done .form__status { text-align: center; text-wrap: balance; font-family: var(--serif); font-weight: 700; font-size: 1.3125rem; line-height: 1.55; color: var(--text); margin: 10px 0 22px; }
html.js .form.is-done .form__done svg circle { animation: draw .8s var(--ease-io) both; }
html.js .form.is-done .form__done svg path { animation: draw .5s var(--ease-io) .55s both; }
.form__flash { position: absolute; top: -20%; bottom: -20%; left: -70%; width: 50%; pointer-events: none; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(230, 30, 43, .14), rgba(255, 255, 255, 0)); transform: skewX(-14deg); animation: sweep 1.2s var(--ease-io) both; }
.wall__title { font-family: var(--serif); font-weight: 700; font-size: 1.625rem; line-height: 1.35; padding: 0 8px 14px; border-bottom: 1px solid var(--text); }
.note { padding: 22px 8px; border-bottom: 1px solid var(--hair); }
.note__msg { font-size: 1.09375rem; line-height: 1.75; }
.note__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin-top: 10px; font-size: 1rem; line-height: 1.5; color: var(--soft); }
.note__meta strong { color: var(--text); font-weight: 700; }
html.js .note.is-new { animation: rise .6s var(--ease) both; animation-delay: calc(var(--n, 0) * 60ms); }
.wall__empty { padding: 26px 8px; color: var(--soft); border-bottom: 1px solid var(--hair); }
.wall__more { width: 100%; margin-top: 22px; }

/* ── 책과 채널 ── */
.more { padding: 20px 0 96px; }
.more__grid { display: grid; gap: 64px; }
.more .title { padding-bottom: 14px; margin-bottom: 0; border-bottom: 1px solid var(--text); }
.books li { display: grid; grid-template-columns: 4.2em 1fr; align-items: baseline; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.books__year { font-family: var(--serif); font-weight: 700; color: var(--crimson); font-variant-numeric: tabular-nums; }
.books strong { font-family: var(--serif); font-weight: 700; font-size: 1.3125rem; line-height: 1.45; margin-left: -.5em; }
.channels a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; border-bottom: 1px solid var(--hair); text-decoration: none; font-size: 1.1875rem; font-weight: 700; transition: color .25s, padding .35s var(--ease); -webkit-tap-highlight-color: transparent; }
.channels a i { flex: none; width: 22px; height: 1px; background: currentColor; transition: width .35s var(--ease); }
@media (hover: hover) { .channels a:hover { color: var(--crimson); padding-left: 6px; } .channels a:hover i { width: 44px; } }
.channels a:active { color: var(--crimson); }

/* ── 꼬리 ── */
.foot { padding: 60px 0 calc(116px + env(safe-area-inset-bottom)); background: #150608; font-size: 1rem; line-height: 1.75; color: rgba(255, 255, 255, .74); }
.foot__name { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; color: #fff; }
.foot__name b { font-family: var(--serif); font-weight: 700; font-size: 1.75rem; letter-spacing: .06em; line-height: 1.2; }
.foot__name span { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.foot__name span::before { content: ""; width: 8px; height: 8px; background: var(--red); }
.foot p + p { margin-top: 2px; }
.foot__meta { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); display: grid; gap: 2px; }
.foot__meta a { display: inline-flex; align-items: center; min-height: 48px; color: #fff; font-weight: 600; text-underline-offset: 4px; }

/* ── 화면 아래 응원 버튼(휴대폰) ── */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); pointer-events: none; transform: translateY(120%); transition: transform .5s var(--ease); }
.dock.is-on { transform: none; }
.dock__btn { position: relative; overflow: hidden; pointer-events: auto; display: flex; align-items: center; justify-content: center; height: 60px; border-radius: 4px; background: var(--red); color: #fff; font-size: 1.3125rem; font-weight: 800; letter-spacing: -.01em; text-decoration: none; box-shadow: 0 14px 34px -8px rgba(60, 6, 10, .7), 0 0 0 1px rgba(255, 255, 255, .16); -webkit-tap-highlight-color: transparent; --focus: #fff; }
.dock__btn { transition: background-color .35s var(--ease), color .35s var(--ease); }
/* 빨간 구간 위에서는 흰 바탕으로 바뀐다(빨강 위의 빨간 버튼은 안 보인다) */
.dock.is-inv .dock__btn { background: #fff; color: var(--crimson); box-shadow: 0 14px 34px -8px rgba(60, 6, 10, .7); --focus: var(--crimson); }
html:not(.js) .dock { display: none; }

/* ── 등장 효과(html.js 일 때만 숨긴다) ── */
html.js [data-rv] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease) calc(var(--d, 0) * 60ms), transform .6s var(--ease) calc(var(--d, 0) * 60ms); }
html.js [data-rv].is-in { opacity: 1; transform: none; }
html.js [data-rv="focus"] { transform: none; filter: blur(10px); transition: opacity .65s var(--ease), filter .65s var(--ease); }
html.js [data-rv="focus"].is-in { filter: blur(0); }
html.js [data-rv="line"] { transform: none; }
html.js [data-rv="line"]::after { transform: scaleX(0); transition: transform .9s var(--ease-io) .15s; }
html.js [data-rv="line"].is-in::after { transform: none; }
html.js [data-rv="glint"] { transform: none; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  html.js [data-rv="glint"] {
    background: linear-gradient(100deg, #fff 0%, #fff 38%, var(--blush) 50%, #fff 62%, #fff 100%) 100% 0 / 260% 100%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  }
  html.js [data-rv="glint"].is-in { animation: glint 2.4s var(--ease-io) .2s both; }
}

/* ── 넓은 화면 ── */
@media (min-width: 600px) {
  :root { --pad: 32px; }
  .ymap { --u: 1.7; }
  .ymap--inset { margin: 0; --u: .6; }
  .ymap--inset .ymap__view { border: 1px solid rgba(255, 255, 255, .5); }
  .ymap--inset figcaption { padding-left: 0; padding-right: 0; }
  .dongs { grid-template-columns: repeat(3, 1fr); }
  .glance__list { grid-template-columns: repeat(3, 1fr); }
  .glance__list li, .glance__list li:nth-child(odd), .glance__list li:nth-child(even) { padding: 16px 16px; border-left: 1px solid rgba(255, 255, 255, .24); border-bottom: 0; }
  .glance__list li:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .glance__list li:nth-child(-n+3) { border-bottom: 1px solid rgba(255, 255, 255, .24); }
  .cheer__grid { padding: 0 var(--pad); }
  .form { padding: 40px 36px 32px; }
  .pledge { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
  .pledge li { border-top: 1px solid rgba(255, 255, 255, .7); border-bottom: 0; }
  .creed { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 0; }
  .creed li { border-top: 1px solid var(--text); border-bottom: 0; }
}
@media (min-width: 900px) {
  :root { --bar: 68px; --pad: 44px; }
  body { font-size: 1.125rem; }
  .prose { font-size: 1.1875rem; }
  .prose--lead { font-size: 1.3125rem; }
  .bar { padding: 0 var(--pad); gap: 28px; }
  .bar__menu { display: none; }
  .bar__cta { display: inline-flex; }
  html.js .bar__nav, html:not(.js) .bar__nav {
    position: static; flex: 1 1 auto; margin: 0; padding: 0; display: block; background: none; opacity: 1; visibility: visible; overflow: visible; transition: none;
  }
  html.js .bar__nav ul, html:not(.js) .bar__nav ul { display: flex; justify-content: flex-end; gap: 6px; padding: 0; width: auto; }
  html.js .bar__nav li { border: 0; opacity: 1; transform: none; transition: none; }
  html.js .bar__nav a, html:not(.js) .bar__nav a { min-height: 48px; padding: 0 12px; margin: 0; font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; color: rgba(255, 255, 255, .9); }
  html.js .bar__nav .bar__nav-cheer { display: none; }
  html.js .bar__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
  html:not(.js) .bar { flex-wrap: nowrap; }

  .hero { --pw: min(56vw, 96vh); --pw: min(56vw, 96svh); --f0: 70%; --f1: 99%; flex-direction: row; align-items: center; }
  .hero__glow { left: auto; right: calc(var(--pw) * -.2); top: calc(50% - var(--pw) * .82); margin: 0; }
  .hero__map { left: auto; right: calc(2vw - var(--pw) * .09); top: calc(50% - var(--pw) * .5); width: calc(var(--pw) * 1.18); margin: 0; }
  .hero__figure { left: auto; right: 2vw; top: auto; bottom: 0; margin: 0; height: min(100%, var(--pw) * 1.0063); display: flex; align-items: flex-end; }
  .hero__fade { height: 26%; }
  .hero__copy { margin: 0; width: min(50%, 640px); margin-left: max(var(--pad), calc((100vw - 1120px) / 2)); padding: calc(var(--bar) + 40px) 0 56px; align-items: flex-start; text-align: left; }
  html:not(.js) .hero__figure { top: auto; }
  html:not(.js) .hero__copy { padding-top: calc(var(--bar) + 40px); }
  .hero__role { font-size: 1.1875rem; margin-bottom: 10px; }
  .hero__name { font-size: calc(clamp(5rem, 9vw, 8rem) * var(--tz)); margin: 0 0 18px; }
  .hero__slogan { font-size: calc(clamp(1.75rem, 3vw, 2.5rem) * var(--tz)); margin-bottom: 18px; }
  .hero__lead { font-size: 1.25rem; margin-bottom: 30px; }
  .hero__cta .btn { min-height: 60px; }

  .said { padding: 160px 0 170px; }
  .home { padding: 120px 0 128px; }
  .home__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .home__years { margin: 0; }
  .scene--map .scene__pin { padding: 96px 0 40px; }
  .scene--map .scene__body { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 0 var(--pad); }
  .scene--map.is-live .scene__body { flex-direction: row; display: grid; padding: calc(var(--bar) + 16px) var(--pad) 24px; }
  .scene--map.is-live .ymap--main { width: min(100%, calc((100vh - var(--bar) - 56px) * 1.1223)); width: min(100%, calc((100svh - var(--bar) - 56px) * 1.1223)); justify-self: end; }
  .ymap { --u: 1.35; }
  .lb { font-size: 13.5px; }
  .lb--nb { font-size: 13px; }
  .lb--gu { font-size: 16px; }
  .lb--cheoin { font-size: 18px; }
  .pin b { font-size: 13.5px; }
  .caps-box { padding: 0; }
  .scene--map.is-live .caps-box { padding: 0; justify-content: center; }
  .scene--map.is-live .share { margin: 40px 0 26px; }
  .scene--map.is-live .caps { flex: none; min-height: 300px; }
  .cap__txt { font-size: 1.25rem; }
  .explore { padding: 110px 0 130px; }
  .explore__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px 64px; }
  .explore__map { grid-row: span 2; position: sticky; top: calc(var(--bar) + 24px); align-self: start; }
  .ymap--inset { --u: .5; }
  .ymap--inset .lb--dong { font-size: 15px; }
  .plan { padding: 130px 0 140px; }
  .plan .wrap { max-width: 900px; }
  .plan__list { grid-template-columns: repeat(3, 1fr); display: grid; column-gap: 40px; border-top: 0; }
  .plan__list li { border-top: 1px solid var(--text); border-bottom: 0; }
  .glance { padding: 48px 0; }
  .glance__list { grid-template-columns: repeat(6, 1fr); }
  .glance__list li, .glance__list li:nth-child(odd), .glance__list li:nth-child(even), .glance__list li:nth-child(-n+3) { padding: 6px 18px; border-bottom: 0; border-left: 1px solid rgba(255, 255, 255, .24); }
  .glance__list li:first-child { padding-left: 0; border-left: 0; }
  .path__open { padding: 130px 0 100px; }
  .path__rest { padding: 40px 0 140px; }
  .chap { margin-top: 84px; }
  .ladder { padding: 110px var(--pad); }
  .scene--ladder.is-live .ladder { grid-template-columns: minmax(0, 1fr) 140px; padding: calc(var(--bar) + 48px) var(--pad) 56px; }
  .scene--ladder.is-live .ladder__y { font-size: 1.125rem; }
  .ladder__first { font-size: 1.625rem; }
  .why { padding: 150px 0 160px; }
  .ceil__stage { height: 340px; }
  .belief { padding: 140px 0 150px; }
  .wafer { right: -120px; top: -90px; width: 720px; height: 720px; }
  .camp__top { padding: 140px 0 120px; }
  .reel li { font-size: calc(2rem * var(--tz)); }
  .pledge { grid-template-columns: repeat(3, 1fr); }
  .camp__log { padding: 120px 0 140px; }
  .cheer__head { padding: 150px 0 190px; }
  .cheer__grid { top: -110px; margin-bottom: -110px; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: start; }
  .wall { padding-top: 150px; }
  .more { padding: 40px 0 140px; }
  .more__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .foot { padding: 80px 0 72px; }
  .dock { display: none; }
}

/* ── 움직임 줄이기: 움직임은 끄고 내용은 그대로 ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  html.js [data-rv], html.js [data-rv="focus"] { opacity: 1; transform: none; filter: none; }
  .hero__beam, .btn--sheen::after, .ymap__sweep, .pin i::after, .ymap__spark { display: none; }
  .reel__track { animation: none; }
  .hero__slogan span, .glint { animation: none; background-position: 0 0; }
}
