/* 틴하모니 인터내셔날 v2 시안 — 글꼴: 제목 Noto Serif KR · 본문 Noto Sans KR (둘 다 OFL) */
:root {
  --paper: #f3f1e8; --paper2: #ebe8db; --white: #fffefa;
  --ink: #1d2414; --ink2: #4a5240; --line: #d6d1bf;
  --green: #84ad33;      /* CI 그린: 면·장식에만 */
  --green-d: #4f6f17;    /* 글자·버튼 (흰 글자 5.8:1) */
  --green-dd: #2f4410;
  --night: #141c0c; --lime: #b5d46c; --amber: #ffcf73;
  /* v3: 글꼴·글자 크기 = 호산나전원교회 새 홈페이지(3sites hosanna/orig oh.css 실측) — Noto Sans KR 하나 + 영문 꼬리표 Archivo */
  --serif: "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  --sans: "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  --lat: Archivo, "Noto Sans KR", sans-serif;
  --t1: 13px; --t2: 15px; --t3: 16.5px; --t4: 18px;
  --t5: clamp(22px, 1.2rem + 0.6vw, 26px);
  --t6: clamp(24px, 1rem + 1.7vw, 38px);
  --t7: clamp(34px, 1rem + 3.4vw, 60px);
  --gut: clamp(16px, 4vw, 72px);
  --wrap: min(1440px, calc(100vw - var(--gut) * 2));
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t3)/1.85 var(--sans); word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--sans); font-weight: 900; line-height: 1.28; letter-spacing: -0.03em; margin: 0; }
h3 { font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: var(--wrap); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* 목업 띠 */
.mockbar { background: var(--ink); color: #e9ecd9; font-size: var(--t1); text-align: center; padding: 6px var(--gut); }

/* 머리 */
.hd { position: sticky; top: 0; z-index: 40; background: rgba(243, 241, 232, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hd .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: var(--t3); white-space: nowrap; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand small { display: block; font-weight: 400; font-size: 0.72rem; color: var(--ink2); letter-spacing: 0.02em; }
.nav { display: flex; gap: clamp(14px, 1.6vw, 30px); margin-left: auto; }
.nav a { text-decoration: none; font-size: var(--t2); font-weight: 500; color: var(--ink2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-color: var(--green); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--green-d); color: #fff; font: 700 var(--t2) var(--sans); text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: var(--green-dd); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--green-dd); }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 0 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; left: 0; right: 0; top: 72px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 20px; display: grid; }
.menu nav a { padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: var(--t3); font-weight: 500; }
@media (max-width: 1080px) { .nav, .hd .btn { display: none; } .menu { display: block; } }

/* 확인 필요 표시 */
.chk { display: inline-block; font: 700 0.7rem/1 var(--sans); color: #8a4b00; background: #fff1d6; border: 1px solid #f0cf93; border-radius: 4px; padding: 3px 6px; vertical-align: 0.2em; margin-left: 6px; white-space: nowrap; }
.ex { display: inline-block; font: 700 0.7rem/1 var(--sans); color: var(--ink2); border: 1px solid var(--line); border-radius: 4px; padding: 3px 6px; vertical-align: 0.2em; margin-left: 6px; background: var(--white); }

/* 공통 블록 */
.sec { padding: clamp(72px, 9vw, 168px) 0; }
.eyebrow { font: 800 12px/1.4 var(--lat); letter-spacing: 0.32em; color: var(--green-d); text-transform: uppercase; margin-bottom: 18px; display: block; }
.lead { font-size: 17px; line-height: 1.85; color: var(--ink2); max-width: 40em; }
.h2 { font-size: var(--t6); margin-bottom: 0.5em; }
.h3 { font-size: var(--t5); margin-bottom: 0.5em; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
figure { margin: 0; }
figcaption { font-size: var(--t1); color: var(--ink2); margin-top: 10px; }
.dark { background: var(--night); color: #eef1e2; }
.dark .lead, .dark figcaption { color: #c4cbb2; }
.dark .eyebrow { color: #b5d46c; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* 페이지 머리 (홈 외) */
.phead { padding: clamp(56px, 7vw, 128px) 0 clamp(40px, 5vw, 80px); border-bottom: 1px solid var(--line); }
.phead h1 { font-size: var(--t7); max-width: 14em; }
.phead .lead { margin-top: 24px; }

/* 홈: 3D 투어 */
.tour { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage canvas { width: 100%; height: 100%; display: block; }
.stage .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.no3d .stage .poster { display: block; }
.stage .tag { position: absolute; transform: translate(-50%, -100%); font: 700 var(--t1)/1 var(--sans); color: var(--ink); background: var(--white); border: 1px solid var(--line); padding: 7px 10px; border-radius: 999px; white-space: nowrap; pointer-events: none; transition: opacity .3s; }
.stage .tag b { color: var(--green-d); margin-right: 6px; }
.steps { position: relative; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
.step { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.step .wrap { pointer-events: none; }
.panel { pointer-events: auto; width: min(clamp(420px, 30vw, 700px), 100%); background: rgba(255, 254, 250, 0.94); backdrop-filter: blur(6px); border: 1px solid var(--line); padding: clamp(24px, 2.6vw, 44px); border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(40, 50, 20, 0.35); }
.panel .no { font: 700 var(--t1)/1 var(--sans); color: var(--green-d); letter-spacing: .12em; }
.panel h2 { font-size: var(--t5); margin: 10px 0 14px; }
.panel p { color: var(--ink2); }
.panel figure img { aspect-ratio: 16/10; object-fit: cover; width: 100%; border-radius: 2px; }
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.hero .wrap { pointer-events: none; }
.hero-copy { pointer-events: auto; max-width: min(1240px, 56vw); }
@media (max-width: 900px) { .hero-copy { max-width: none; } }
.hero h1 { font-size: var(--t7); line-height: 1.12; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--green-d); }
.hero .lead { margin: 28px 0 36px; color: var(--ink); max-width: 30em; }
.hero .acts { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .meta { margin-top: 40px; font-size: var(--t1); color: var(--ink2); display: flex; gap: 18px; flex-wrap: wrap; }
.hero .meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: 2px; }
.progress { position: fixed; right: clamp(12px, 2vw, 32px); top: 50%; transform: translateY(-50%); z-index: 20; display: grid; gap: 10px; opacity: 0; transition: opacity .4s; }
.progress.on { opacity: 1; }
.progress a { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.progress a.on { background: var(--green-d); transform: scale(1.3); }
@media (max-width: 767px) {
  .step { align-items: flex-end; padding-bottom: 6vh; }
  .hero { align-items: flex-start; padding-top: 12vh; }
  .hero .lead { margin: 18px 0 24px; }
  .panel { padding: 20px; }
  .panel figure { display: none; }
  .progress { display: none; }
}

/* 쓰임(벽돌) */
.use { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 100px); align-items: center; }
.bricks { position: relative; aspect-ratio: 1 / 0.9; background: var(--paper2); border-radius: 4px; overflow: hidden; }
.bricks canvas { width: 100%; height: 100%; display: block; }
.bricks .cap { position: absolute; left: 16px; bottom: 14px; font-size: var(--t1); color: var(--ink2); background: rgba(255,254,250,.85); padding: 4px 8px; border-radius: 3px; }
.bars { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; font-size: var(--t2); }
.bars .bar { grid-column: 1 / -1; height: 10px; background: var(--paper2); border-radius: 5px; overflow: hidden; }
.bars .bar i { display: block; height: 100%; width: var(--w); border-radius: 5px; background: var(--c); transform-origin: left; }
.bars b { font-variant-numeric: tabular-nums; }
.sum { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(16px, 2.4vw, 48px); margin-top: 8px; }
@media (max-width: 560px) { .sum { grid-template-columns: 1fr 1fr; } }
.sum div { font-size: var(--t1); color: var(--ink2); }
.sum strong { display: block; font: 700 clamp(1.3rem, 0.9rem + 1vw, 2rem)/1.2 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.src { font-size: var(--t1); color: var(--ink2); margin-top: 20px; }
@media (max-width: 900px) { .use { grid-template-columns: 1fr; } }

/* 세 가지 사업 — 사진 중심 큰 장면 (사진 원본 해상도를 넘지 않게 7/12 폭) */
.biz { background: var(--night); color: #eef1e2; padding: clamp(72px, 9vw, 160px) 0; }
.biz .intro { margin-bottom: clamp(48px, 6vw, 110px); }
.biz .intro .lead { color: #c4cbb2; }
.scene { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 110px); align-items: center; }
.scene + .scene { margin-top: clamp(64px, 8vw, 150px); }
.scene:nth-of-type(even) { grid-template-columns: 5fr 7fr; }
.scene:nth-of-type(even) figure { order: 2; }
.scene figure { position: relative; }
.scene figure img { width: 100%; max-width: var(--mw, 1368px); aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.scene figcaption { color: #aab296; }
.scene .num { font: 900 clamp(3.4rem, 7vw, 7.5rem)/0.9 var(--serif); color: var(--green-d); display: block; margin-bottom: 18px; }
.scene h3 { font-size: var(--t6); margin-bottom: 18px; }
.scene p { color: #d5dbc4; max-width: 34em; }
.scene .sub { border-top: 1px solid #34402a; margin-top: 22px; padding-top: 18px; font-size: var(--t2); color: #b9c2a2; }
.scene .sub b { color: #eef1e2; display: block; font-size: var(--t3); }
@media (max-width: 900px) { .scene, .scene:nth-of-type(even) { grid-template-columns: 1fr; } .scene:nth-of-type(even) figure { order: 0; } }

/* 마무리 후원 */
.give { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 100px); align-items: end; }
.acct { font: 700 clamp(1.5rem, 1rem + 2vw, 3rem)/1.2 var(--serif); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; margin: 14px 0 6px; }
.copy { font: 700 var(--t1) var(--sans); background: transparent; color: inherit; border: 1px solid currentColor; border-radius: 999px; padding: 8px 14px; cursor: pointer; min-height: 40px; }
.contact dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 0; font-size: var(--t3); }
.contact dt { color: var(--ink2); }
.contact dd { margin: 0; }
.dark .contact dt { color: #b9c2a2; }
@media (max-width: 900px) { .give { grid-template-columns: 1fr; } }

/* 바닥 */
.ft { background: #0f1509; color: #c9cfb8; padding: 64px 0 40px; font-size: var(--t2); }
.ft .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; }
.ft img { width: 64px; height: 64px; border-radius: 50%; }
.ft p { margin: 0 0 6px; }
.ft a { color: #e7ecd6; }
.ft .small { font-size: var(--t1); color: #9da58a; margin-top: 18px; }
@media (max-width: 900px) { .ft .wrap { grid-template-columns: 1fr; } }

/* AI 상담 */
.ai-btn { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 64px; height: 64px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #fff; box-shadow: 0 10px 30px -8px rgba(30, 40, 10, .45), 0 0 0 3px #fff; }
.ai-btn img { width: 100%; height: 100%; border-radius: 50%; }
.ai-btn span { position: absolute; right: 70px; top: 50%; transform: translateY(-50%); background: var(--ink); color: #fff; font: 700 var(--t1)/1 var(--sans); padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.ai { position: fixed; right: 20px; bottom: 96px; z-index: 61; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 130px)); display: none; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(30, 40, 10, .45); overflow: hidden; }
.ai.open { display: flex; }
.ai header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.ai header img { width: 32px; height: 32px; border-radius: 50%; }
.ai header b { font-size: var(--t2); }
.ai header small { display: block; font-size: 0.72rem; color: #8a4b00; }
.ai header button { margin-left: auto; background: none; border: 0; font-size: 22px; cursor: pointer; width: 40px; height: 40px; }
.ai .log { padding: 14px 16px; overflow-y: auto; flex: 1; display: grid; gap: 10px; align-content: start; font-size: var(--t2); }
.ai .me, .ai .bot { padding: 10px 12px; border-radius: 12px; max-width: 88%; line-height: 1.6; }
.ai .bot { background: var(--paper); justify-self: start; }
.ai .me { background: var(--green-d); color: #fff; justify-self: end; }
.ai .bot a { color: var(--green-d); font-weight: 700; }
.ai .sug { display: flex; flex-direction: column; gap: 4px; padding: 0 16px 8px; }
.ai .sug button { text-align: left; background: none; border: 0; color: var(--green-d); font: 500 var(--t1) var(--sans); padding: 6px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ai form { display: flex; border-top: 1px solid var(--line); }
.ai input { flex: 1; border: 0; padding: 14px 16px; font: 400 16px var(--sans); background: transparent; min-width: 0; }
.ai form button { border: 0; background: var(--green-d); color: #fff; font: 700 var(--t2) var(--sans); padding: 0 18px; cursor: pointer; }
.ai .note { font-size: 0.72rem; color: var(--ink2); padding: 6px 16px 10px; }
@media (max-width: 767px) { .ai-btn span { display: none; } .ai-btn { width: 56px; height: 56px; right: 16px; bottom: 16px; } .ai { right: 16px; bottom: 82px; } }

/* 표·목록 */
.tbl { width: 100%; border-collapse: collapse; font-size: var(--t2); }
.tbl th, .tbl td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-weight: 500; color: var(--ink2); width: 34%; }
.tbl td.n { text-align: right; font-variant-numeric: tabular-nums; }
.olist { list-style: none; padding: 0; margin: 0; counter-reset: o; }
.olist > li { counter-increment: o; display: grid; grid-template-columns: 4.2rem 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.olist > li::before { content: counter(o, decimal-leading-zero); font: 700 var(--t5)/1 var(--serif); color: var(--green-d); }
.olist h3 { font-size: var(--t4); margin-bottom: 6px; }
.olist p { margin: 0; color: var(--ink2); }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 96px); }
@media (max-width: 900px) { .cols2 { grid-template-columns: 1fr; } }

/* 편지 (잡지) */
.letter { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 110px); padding: clamp(56px, 7vw, 120px) 0; border-top: 1px solid var(--line); }
.letter .who { position: sticky; top: 110px; align-self: start; }
.letter .who b { display: block; font: 700 var(--t5)/1.3 var(--serif); margin-top: 10px; }
.letter .who span { color: var(--ink2); font-size: var(--t2); }
.letter .pull { font: 700 var(--t5)/1.5 var(--serif); color: var(--green-dd); margin: 0 0 32px; padding-left: 24px; border-left: 3px solid var(--green); }
.letter .body { columns: 2 22em; column-gap: clamp(28px, 3.4vw, 64px); font-size: var(--t3); color: #2f3527; }
.letter .body p:first-child::first-letter { font: 900 3.4em/0.9 var(--serif); float: left; margin: 0.08em 0.12em 0 0; color: var(--green-d); }
@media (max-width: 900px) { .letter { grid-template-columns: 1fr; } .letter .who { position: static; } }

/* 캠퍼스 */
.viewer { position: relative; height: min(82vh, 980px); min-height: 460px; background: var(--paper2); }
.viewer canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.viewer .hint { position: absolute; left: var(--gut); bottom: 18px; font-size: var(--t1); color: var(--ink2); background: rgba(255,254,250,.9); padding: 6px 10px; border-radius: 3px; }
.viewer .picker { position: absolute; left: var(--gut); top: 20px; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 2 * var(--gut)); }
.viewer .picker { gap: 0; background: rgba(11,18,7,.82); border: 1px solid #34402a; border-radius: 4px; padding: 0 6px; }
.viewer .picker button { font: 500 var(--t2) var(--sans); background: none; color: #cfd6bd; border: 0; border-bottom: 2px solid transparent; padding: 10px 12px; cursor: pointer; min-height: 44px; }
.viewer .picker button[aria-pressed="true"] { color: #fff; border-bottom-color: var(--green); }
.viewer .info { position: absolute; right: var(--gut); bottom: 18px; width: min(380px, calc(100% - 2 * var(--gut))); background: rgba(255,254,250,.96); border: 1px solid var(--line); padding: 20px 22px; border-radius: 4px; }
.viewer .info h2 { font-size: var(--t4); margin-bottom: 6px; }
.viewer .info p { margin: 0; font-size: var(--t2); color: var(--ink2); }
@media (max-width: 767px) { .viewer .info { position: static; width: auto; margin: 0; border-radius: 0; border-left: 0; border-right: 0; } .viewer { height: auto; } .viewer canvas { height: 62vh; } .viewer .hint { position: static; display: block; margin: 0; border-radius: 0; } }
.pano { position: relative; height: min(62vh, 640px); min-height: 380px; background: #222; overflow: hidden; }
.pano canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.pano .badge { position: absolute; left: 16px; top: 16px; background: rgba(255,254,250,.94); color: var(--ink); font-size: var(--t1); padding: 8px 12px; border-radius: 4px; max-width: calc(100% - 32px); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 32px); }
.timeline figure img { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: 2px; }
.timeline b { display: block; font: 700 var(--t4) var(--serif); margin-top: 14px; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .timeline { grid-template-columns: 1fr; } }

/* 단계 */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.flow li { padding: 24px 22px 24px 0; position: relative; }
.flow li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.flow b { display: block; font: 700 var(--t1) var(--sans); color: var(--green-d); letter-spacing: .1em; }
.flow h3 { font-size: var(--t4); margin: 8px 0; }
.flow p { margin: 0; font-size: var(--t2); color: var(--ink2); }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } .flow li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 480px) { .flow { grid-template-columns: 1fr; } .flow li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font: 700 var(--t4)/1.45 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 28px var(--sans); color: var(--green-d); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 26px; color: var(--ink2); max-width: 52em; }
.faq .a ul { padding-left: 1.2em; margin: 0 0 1em; }

/* 밤 캠퍼스 투어 (3안 중 1등 A안) */
.btn.lime { background: var(--green); color: #13200a; }
.btn.lime:hover { background: #9cc645; }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.85); }
.btn.ghost:hover { background: #fff; color: var(--ink); }
.tour.night { background: #0b1207; color: #eef1e2; }
.tour.night .stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,18,7,.94) 0, rgba(11,18,7,.66) 34%, rgba(11,18,7,0) 60%), radial-gradient(ellipse at 60% 50%, rgba(11,18,7,0) 55%, rgba(11,18,7,.55) 100%); }
.tour.night .hero h1 { color: #f3f6e8; }
.tour.night .hero h1 em { color: var(--green); }
.tour.night .hero .lead { color: #dfe5cf; }
.tour.night .hero .meta { color: #cfd6bd; font-size: var(--t2); }
.tour.night .panel { background: rgba(14, 21, 9, .86); border-color: #34402a; color: #eef1e2; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.tour.night .panel p { color: #d5dbc4; }
.tour.night .panel .no { color: var(--green); }
.tour.night .panel figcaption { color: #aab296; }
.tour.night .tag { background: rgba(14,21,9,.88); color: #eef1e2; border-color: #46553a; }
.tour.night .tag b { color: var(--green); }
.hd.on-dark { background: rgba(11,18,7,.82); border-color: #26321b; }
.hd.on-dark .brand, .hd.on-dark .nav a, .hd.on-dark .menu summary { color: #eef1e2; }
.hd.on-dark .brand small { color: #b9c2a2; }
.hd.on-dark .btn { background: var(--green); color: #13200a; }
.progress a { background: rgba(255,255,255,.3); }
.progress a.on { background: var(--green); }
.step.end .panel { width: min(640px, 100%); }
.step.end h2 { font-size: var(--t6); }
@media (max-width: 767px) {
  .tour.night .stage::after { background: linear-gradient(180deg, rgba(11,18,7,.92) 0, rgba(11,18,7,.45) 45%, rgba(11,18,7,.1) 70%, rgba(11,18,7,.75) 100%); }
}
.timeline figcaption { margin-top: 6px; }
.plan { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 100px); align-items: start; }
.plan img { border: 1px solid var(--line); background: #fff; }
.plan > * { min-width: 0; }
@media (max-width: 900px) { .plan { grid-template-columns: 1fr; } }
.photo-band { position: relative; }
.photo-band img { width: 100%; height: min(72vh, 900px); object-fit: cover; }
.photo-band figcaption { position: absolute; right: var(--gut); bottom: 14px; color: #fff; background: rgba(0,0,0,.45); padding: 4px 8px; border-radius: 3px; }
.statement { font: 700 var(--t6)/1.35 var(--serif); letter-spacing: -0.02em; max-width: 22em; }
.statement small { display: block; font: 700 var(--t1)/1 var(--sans); color: var(--green-d); letter-spacing: .14em; margin-bottom: 18px; }
.org { font-size: var(--t2); color: var(--ink2); }
.org dt { font-weight: 700; color: var(--ink); margin-top: 14px; }
.org dd { margin: 4px 0 0; }
.notice { list-style: none; padding: 0; margin: 0; }
.notice li { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); font-size: var(--t3); }
.notice li:last-child { border-bottom: 1px solid var(--line); }
.notice time { color: var(--ink2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.addr { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.addr h3 { font-size: var(--t4); margin-bottom: 8px; }
@media (max-width: 900px) { .addr { grid-template-columns: 1fr; } }

/* ───────── v3 (W52) 추가 ───────── */
.nav { gap: clamp(12px, 1.3vw, 26px); }
.nav a { font-size: 15px; white-space: nowrap; }
@media (max-width: 1240px) { .nav, .hd .btn { display: none; } .menu { display: block; } }
.btn.lime { background: var(--green); color: #12190a; }
.btn.lime:hover { background: #9cc443; }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.acts-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 0; }
.dark .btn.line { color: #eef1e2; box-shadow: inset 0 0 0 1.5px #eef1e2; }
.chk-s { display: inline-block; font: 700 11px/1 var(--sans); color: #7a5a1a; background: #fff1d6; border-radius: 3px; padding: 3px 5px; vertical-align: 0.15em; }
.chk-s.err { color: #fff; background: #a5482c; }
.on-dark, .on-dark th, .on-dark p { color: #dfe5cf; }
.olist.on-dark > li { border-color: #34402a; }
.tbl caption { text-align: left; font: 800 12px/1 var(--lat); letter-spacing: .2em; color: var(--green-d); padding-bottom: 10px; }
.tbl.on-dark th, .tbl.on-dark td { border-color: #34402a; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 56px); margin-top: 48px; }
@media (max-width: 1000px) { .cols3 { grid-template-columns: 1fr; } }
.viewer .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.no3d .viewer .poster { display: block; }

/* 핵심 문구 */
.pledge-lines { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.pledge-lines li { font-size: 17px; line-height: 1.5; padding-left: 26px; position: relative; }
.pledge-lines li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--green); }
.pledge-lines b { font-weight: 900; }
.dark .pledge-lines b { color: var(--lime); }
.phead .pledge-lines li { font-size: 19px; }

/* 1년 벽돌 */
.year-top { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
@media (max-width: 900px) { .year-top { grid-template-columns: 1fr; } }
.flow3 { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.flow3 li { position: relative; padding: 16px 18px 16px 0; border-top: 3px solid var(--green); }
.flow3 li + li { padding-left: 18px; }
.flow3 li:not(:last-child)::after { content: "→"; position: absolute; right: -8px; top: 14px; color: var(--green-d); font-weight: 900; }
.flow3 b { display: block; font-weight: 900; font-size: 17px; }
.flow3 span { font-size: 13.5px; color: var(--ink2); line-height: 1.55; display: block; margin-top: 4px; }
@media (max-width: 560px) { .flow3 { grid-template-columns: 1fr; } .flow3 li + li { padding-left: 0; } .flow3 li::after { display: none; } }
.wall { position: relative; aspect-ratio: 1 / 1; background: radial-gradient(120% 90% at 30% 20%, #23331a, #0b1207 70%); border-radius: 4px; overflow: hidden; }
.wall canvas { width: 100%; height: 100%; display: block; }
.wall .cap { position: absolute; left: 14px; right: 14px; bottom: 12px; font-size: 12px; color: #c4cbb2; }
.wall-count { position: absolute; right: 18px; top: 18px; text-align: right; color: #eef1e2; font-variant-numeric: tabular-nums; }
.wall-count b { display: block; font: 900 15px/1.2 var(--sans); color: var(--amber); }
.wall-count span { display: block; font: 900 clamp(26px, 3vw, 40px)/1.1 var(--sans); letter-spacing: -0.02em; }
.wall-count small { font-size: 12px; color: #c4cbb2; }
.wall-rows span, .wall-base span { position: absolute; transform: translate(-100%, -50%); font: 500 11px/1 var(--sans); color: #c4cbb2; white-space: nowrap; padding-right: 6px; }
.wall-base span { transform: translate(-50%, 0); text-align: center; color: #eef1e2; font-size: 12px; line-height: 1.4; padding: 0; }
.wall-base b { display: block; font: 900 16px/1.2 var(--sans); color: var(--amber); }
@media (max-width: 560px) { .wall-rows span { font-size: 10px; } }
.wall.no3d { display: none; }
.meals { display: grid; grid-template-columns: 2fr 1.4fr 1fr 1fr; gap: 12px; margin-top: clamp(40px, 5vw, 72px); }
.meals img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
@media (max-width: 900px) { .meals { grid-template-columns: 1fr 1fr; } }
.y3h { margin-top: clamp(48px, 6vw, 96px); }
.years { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
@media (max-width: 900px) { .years { grid-template-columns: 1fr; } }
.yr { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 22px 22px 18px; }
.yr header { display: flex; align-items: baseline; gap: 10px; }
.yr header b { font: 900 34px/1 var(--sans); letter-spacing: -0.03em; }
.tagm { font: 700 12px/1 var(--sans); background: var(--green-d); color: #fff; border-radius: 3px; padding: 4px 6px; }
.ysrc { font-size: 13px; color: var(--ink2); margin: 8px 0 12px; }
.yr dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.yr dd { margin: 0; font-weight: 700; text-align: right; }
.yr dd.or { color: var(--green-d); }
.ynote { font-size: 12.5px; color: var(--ink2); margin: 12px 0 0; border-top: 1px dashed var(--line); padding-top: 10px; line-height: 1.6; }

/* 매트릭스 맛보기 */
.mx-stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #34402a; border: 1px solid #34402a; }
.mx-stats li { background: #0f1709; padding: 22px; font-size: 14px; color: #c4cbb2; }
.mx-stats b { display: block; font: 900 clamp(26px, 2.6vw, 38px)/1.1 var(--sans); color: #eef1e2; letter-spacing: -0.02em; }
.mx-stats span { display: block; font-size: 12.5px; color: var(--amber); margin-top: 4px; }

/* 팔찌 */
.pledge { background: var(--white); }
.pledge-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.pledge-in img { width: 100%; max-width: 640px; }
.pledge-pic { display: grid; gap: 14px; }
.b3d { position: relative; max-width: 640px; aspect-ratio: 4 / 3; border-radius: 16px; background: #f4f4f1; overflow: hidden; }
.b3d .b3d-poster { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: opacity .4s; }
.b3d .b3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.b3d.on .b3d-poster { opacity: 0; pointer-events: none; }
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-grid .b3d { max-width: none; }
.lp-grid figure { margin: 0; }
.lp-grid figcaption { font-size: 14px; color: #55604a; margin-top: 10px; line-height: 1.5; }
.lp-grid figcaption b { color: var(--green-d); }
.lp-cap { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(255,255,255,.92); color: #20301a; font: 700 13px/1 var(--sans); padding: 8px 12px; border-radius: 999px; pointer-events: none; }
.lp-tag { position: absolute; z-index: 2; transform: translate(-50%, -100%); background: rgba(32,48,26,.88); color: #fff; font: 700 12px/1 var(--sans); padding: 5px 9px; border-radius: 6px; white-space: nowrap; pointer-events: none; }
@media (max-width: 900px) { .lp-grid { grid-template-columns: 1fr; } }
.big2 { font: 900 clamp(20px, 2vw, 28px)/1.3 var(--sans); color: var(--green-d); border-left: 4px solid var(--green); padding-left: 14px; margin: 24px 0 0; }
@media (max-width: 900px) { .pledge-in { grid-template-columns: 1fr; } }

/* 매트릭스 */
.mx-sec { background: #070d05; color: #dfe5cf; }
.mx-sec .lead, .mx-sec .src { color: #b9c2a2; }
.mx-sec .eyebrow { color: var(--lime); }
.mx { border: 1px solid #2a3a1c; background: linear-gradient(#0b1307, #070d05); padding: clamp(12px, 2vw, 24px); margin-top: 28px; position: relative; }
.mx::before, .mx::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--lime); }
.mx::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.mx::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.mx-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mx-months { display: flex; flex-wrap: wrap; gap: 4px; }
.mx-months button, .mx-play, .mx-reset { font: 500 13px/1 var(--sans); color: #dfe5cf; background: #111b0b; border: 1px solid #2f4019; padding: 8px 9px; min-height: 34px; cursor: pointer; border-radius: 2px; }
.mx-months button[aria-pressed="true"] { background: var(--lime); color: #0b1207; border-color: var(--lime); font-weight: 700; }
.mx-play { margin-left: auto; color: var(--amber); border-color: #5a4a1e; }
.mx-sum { font: 500 13.5px/1.5 var(--sans); color: var(--amber); margin: 12px 0 0; font-variant-numeric: tabular-nums; }
.mx-svg { width: 100%; margin-top: 8px; }
.mx-svg svg { display: block; width: 100%; height: auto; }
.mx-grid line { stroke: #16220e; stroke-width: 1; }
.mx-h { fill: #8f9a78; font: 800 10.5px var(--lat); letter-spacing: .12em; }
.mx-l { fill: none; stroke-width: 0.8; opacity: .55; transition: opacity .4s, stroke-width .3s; }
.mx-l.in { stroke: #7fa33a; }
.mx-l.or { stroke: var(--amber); opacity: .8; }
.mx-l.run { stroke: #8fa0b8; }
.mx-l.chk { stroke: #7d8277; stroke-dasharray: 3 3; opacity: .45; }
.mx-l.err { stroke: #d9775a; stroke-dasharray: 6 4; }
.mx-l.agg { opacity: .35; }
.mx-l.agg.or { opacity: .55; }
.mx-l.dim { opacity: .05; }
.mx-l.hl { opacity: 1; stroke-width: 2; }
.mx-l.agg.hl { opacity: .9; }
.mx-l.off, .mx-t.off { opacity: .04; }
.drawn .mx-l { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: mxdraw 2.6s cubic-bezier(.2,.7,.2,1) forwards; }
.drawn .mx-l.chk { stroke-dasharray: 3 3; animation: none; stroke-dashoffset: 0; }
.drawn .mx-l.err { stroke-dasharray: 6 4; animation: none; stroke-dashoffset: 0; }
@keyframes mxdraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .drawn .mx-l { animation: none; stroke-dashoffset: 0; stroke-dasharray: none; } }
.mx-t { cursor: pointer; }
.mx-t.in { fill: #7fa33a; } .mx-t.or { fill: var(--amber); } .mx-t.run { fill: #8fa0b8; } .mx-t.chk { fill: #6d7266; } .mx-t.err { fill: #d9775a; }
.mx-n { cursor: pointer; }
.mx-n rect { fill: #7fa33a; }
.mx-n.or rect { fill: var(--amber); } .mx-n.run rect { fill: #8fa0b8; } .mx-n.chk rect { fill: #6d7266; } .mx-n.err rect { fill: #d9775a; }
.mx-n:focus { outline: none; } .mx-n:focus rect { stroke: #fff; stroke-width: 2; }
.mx-lab { fill: #eef1e2; font: 700 12px var(--sans); }
.mx-n.chk .mx-lab { fill: #a6ab9c; font-size: 11px; }
.mx-num { fill: #b9c2a2; font: 500 11px var(--sans); font-variant-numeric: tabular-nums; }
.mx-bank circle { fill: #10180a; stroke: var(--lime); stroke-width: 2; }
.mx-arrive circle { fill: var(--amber); }
.mx-arrive circle.ring { fill: none; stroke: var(--amber); stroke-width: 1.5; opacity: .6; transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.6); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mx-arrive circle.ring { animation: none; } }
.mx-info { min-height: 3.2em; font-size: 14px; color: #dfe5cf; margin: 10px 0 0; border-top: 1px solid #2a3a1c; padding-top: 10px; line-height: 1.6; }
.mx-info strong { color: var(--amber); }
.mx-key { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: #c4cbb2; }
.mx-key li::before { content: ""; display: inline-block; width: 18px; height: 3px; margin-right: 6px; vertical-align: middle; }
.mx-key li.k-in::before { background: #7fa33a; } .mx-key li.k-or::before { background: var(--amber); } .mx-key li.k-run::before { background: #8fa0b8; }
.mx-key li.k-chk::before { background: repeating-linear-gradient(90deg, #8b9083 0 3px, transparent 3px 6px); }
.mx-key li.k-err::before { background: repeating-linear-gradient(90deg, #d9775a 0 6px, transparent 6px 10px); }

/* 후원 현황 */
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 1000px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tiles li { background: var(--white); padding: clamp(18px, 2vw, 30px); min-width: 0; }
.tiles b { display: block; font: 900 clamp(22px, 2.4vw, 38px)/1.15 var(--sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tiles span { display: block; font-weight: 700; margin-top: 6px; }
.tiles small { display: block; color: var(--ink2); font-size: 13px; line-height: 1.5; margin-top: 2px; }
.mchart { position: relative; height: 360px; margin-top: 20px; }
.mchart svg { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 100%; }
.mchart .gl { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mchart ol { list-style: none; padding: 0 0 40px; margin: 0; position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; }
.mchart li { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; }
.mchart i { display: block; width: 72%; height: 0; background: var(--green-d); border-radius: 2px 2px 0 0; transition: height 1.2s cubic-bezier(.2,.7,.2,1); }
.mchart.on i { height: calc(var(--h) * .85); }
.mchart .v { font-size: 12px; font-weight: 700; margin-bottom: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mchart b { position: absolute; bottom: -28px; font-size: 13px; font-weight: 500; color: var(--ink2); }
@media (max-width: 560px) { .mchart .v { font-size: 9px; } .mchart b { font-size: 11px; } .mchart ol { gap: 2px; } }

/* 캠페인 */
.camps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .camps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .camps { grid-template-columns: 1fr; } }
.camp { background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.camp figure { position: relative; }
.camp img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.camp .st { position: absolute; left: 12px; top: 12px; font: 700 12px/1 var(--sans); padding: 6px 9px; border-radius: 3px; background: var(--green); color: #12190a; }
.camp.ready .st { background: #fff1d6; color: #7a5a1a; }
.camp.done .st { background: var(--ink); color: #fff; }
.camp.ready img { filter: saturate(.55); }
.camp > div { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.camp h2 { font-size: 20px; font-weight: 900; letter-spacing: -0.02em; }
.camp p { color: var(--ink2); font-size: 15px; margin: 8px 0 14px; }
.camp dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 18px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.camp dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.camp .btn { margin-top: auto; align-self: flex-start; }
.flow { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flow li b { font: 800 12px/1 var(--lat); letter-spacing: .3em; color: var(--lime); }
.flow h3 { font-size: 19px; margin: 10px 0 6px; }
.flow p { color: #c4cbb2; font-size: 14.5px; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }

/* 함께하기 */
.ways { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 1000px) { .ways { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ways { grid-template-columns: 1fr; } }
.ways li { background: var(--white); padding: 22px; display: flex; flex-direction: column; }
.ways h3 { font-size: 20px; font-weight: 900; }
.ways p { color: var(--ink2); font-size: 14.5px; margin: 8px 0 12px; flex: 1; }
.ways small { font: 700 12px/1 var(--sans); color: var(--green-d); }
.ways li:first-child { background: var(--green-d); color: #fff; }
.ways li:first-child p, .ways li:first-child small { color: #e9f1d6; }
.howto { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 28px; }
@media (max-width: 900px) { .howto { grid-template-columns: 1fr; } }
.howto a { color: var(--green-d); font-weight: 700; }
.acct.sm { font-size: clamp(20px, 2vw, 28px); }
.route-sec { background: #070d05; color: #eef1e2; }
.route-sec .lead { color: #c4cbb2; } .route-sec .eyebrow { color: var(--lime); }
.route { position: relative; margin-top: 40px; }
.route-line { position: absolute; left: 0; right: 0; top: 4px; width: 100%; height: 120px; }
.route-line path { fill: none; stroke: var(--lime); stroke-width: 2; stroke-dasharray: 1200; stroke-dashoffset: 1200; vector-effect: non-scaling-stroke; opacity: .6; }
.route.on .route-line path { transition: stroke-dashoffset 2.4s cubic-bezier(.2,.7,.2,1); stroke-dashoffset: 0; }
.route ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.route li { position: relative; padding-top: 130px; transform: translateY(10px); transition: transform .6s; }
.route.on li { transform: none; }
.route.on li:nth-child(2) { transition-delay: .45s; } .route.on li:nth-child(3) { transition-delay: .9s; } .route.on li:nth-child(4) { transition-delay: 1.35s; } .route.on li:nth-child(5) { transition-delay: 1.8s; }
.route .rn { position: absolute; left: 0; top: 44px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--lime); background: #0b1307; display: grid; place-items: center; font: 800 12px var(--lat); color: var(--lime); }
.route li:nth-child(4) .rn, .route li:nth-child(5) .rn { border-color: var(--amber); color: var(--amber); }
.route h3 { font-size: 20px; font-weight: 900; }
.route p { color: #c4cbb2; font-size: 14.5px; margin: 6px 0 10px; }
.route a { color: var(--amber); font-size: 14px; font-weight: 700; }
@media (max-width: 900px) {
  .route-line { display: none; }
  .route ol { grid-template-columns: 1fr; gap: 0; border-left: 2px solid #34402a; margin-left: 16px; }
  .route li { padding: 0 0 26px 34px; }
  .route .rn { left: -18px; top: 0; }
}
@media (prefers-reduced-motion: reduce) { .route li { opacity: 1; transform: none; transition: none; } .route-line path { stroke-dashoffset: 0; } }
.spons { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #34402a; border: 1px solid #34402a; }
.spons li { background: #141c0c; padding: 26px 16px; text-align: center; font: 900 clamp(16px, 1.4vw, 21px)/1.3 var(--sans); letter-spacing: -0.02em; color: #eef1e2; }
@media (max-width: 520px) { .spons { grid-template-columns: 1fr 1fr; } }

/* 소식 */
.ncards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
@media (max-width: 1000px) { .ncards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ncards { grid-template-columns: 1fr; } }
.ncard { background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.ncard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ncard > div { padding: 18px 20px 22px; }
.ncard time { font: 800 12px/1 var(--lat); letter-spacing: .14em; color: var(--green-d); }
.ncard h3 { font-size: 19px; font-weight: 900; margin: 8px 0 6px; }
.ncard p { color: var(--ink2); font-size: 14.5px; margin: 0; }
.media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .media { grid-template-columns: 1fr; } }
.vcard { position: relative; display: block; text-decoration: none; border: 1px solid #34402a; border-radius: 4px; overflow: hidden; }
.vcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .75; transition: opacity .3s; }
.vcard:hover img { opacity: 1; }
.vcard .play { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(11,18,7,.75); border: 2px solid var(--lime); color: var(--lime); font: 800 15px var(--lat); }
.vcard b { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(transparent, rgba(7,13,5,.9)); color: #fff; }
.askb { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.askb button { font: 500 15px/1.4 var(--sans); background: var(--white); border: 1.5px solid var(--green-d); color: var(--green-dd); border-radius: 999px; padding: 12px 18px; cursor: pointer; text-align: left; }
.askb button:hover { background: var(--green-d); color: #fff; }
.faq .law { font-size: 13px; color: var(--ink2); border-left: 3px solid var(--green); padding-left: 10px; }
.faq .law a { color: var(--green-d); font-weight: 700; }

/* 책 넘기기 */
.bk-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.hymn { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--sans); color: var(--green-dd); background: var(--white); border: 1.5px solid var(--green-d); border-radius: 999px; padding: 12px 18px; min-height: 46px; cursor: pointer; }
.hymn i { display: inline-block; width: 16px; height: 14px; background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 6px, currentColor 6px 9px, transparent 9px 12px, currentColor 12px 15px); clip-path: polygon(0 45%, 20% 45%, 20% 100%, 0 100%, 0 45%, 37% 10%, 57% 10%, 57% 100%, 37% 100%, 37% 10%, 75% 60%, 95% 60%, 95% 100%, 75% 100%); }
.hymn[aria-pressed="true"] { background: var(--green-d); color: #fff; }
.hymn[aria-pressed="true"] i { animation: eq .5s steps(2) infinite alternate; transform-origin: bottom; }
@keyframes eq { to { transform: scaleY(.5); } }
@media (prefers-reduced-motion: reduce) { .hymn[aria-pressed="true"] i { animation: none; } }
.book-sec { background: linear-gradient(#f3f1e8, #e6e2d2); }
.book { position: relative; outline: none; }
.bk-stage { position: relative; width: min(100%, 1100px); aspect-ratio: 1280 / 871; margin: 0 auto; perspective: 2200px; cursor: pointer; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.book.closed .bk-stage { transform: translateX(-25%); }
.book.end .bk-stage { transform: translateX(25%); }
.bk-leaf { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.3,.6,.2,1); }
.bk-leaf.flipped { transform: rotateY(-180deg); }
.bk-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fff; box-shadow: 0 18px 40px -18px rgba(20,28,12,.45); overflow: hidden; }
.bk-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-face.f::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.14), transparent 8%); pointer-events: none; }
.bk-face.b { transform: rotateY(180deg); }
.bk-face.b::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(0,0,0,.14), transparent 8%); pointer-events: none; }
.bk-face p { display: grid; place-items: center; height: 100%; margin: 0; font-weight: 900; color: var(--green-d); }
.bk-ctl { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.bk-ctl button { font: 700 14px var(--sans); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer; }
.bk-ctl button:disabled { opacity: .4; cursor: default; }
.bk-count { font-size: 14px; color: var(--ink2); min-width: 10em; text-align: center; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .bk-leaf, .bk-stage { transition: none; } }
@media (max-width: 640px) { .book.closed .bk-stage, .book.end .bk-stage { transform: none; } }

/* 캠퍼스 */
.plan figure img.old { margin-top: 28px; max-width: min(360px, 100%); opacity: .85; filter: grayscale(.4); }
.early { color: #8a4b00; }
.wall-rows span { opacity: 0; transition: opacity .4s; } .wall-rows span.on { opacity: 1; }

/* 후원 기업·단체 FUI (W53-추가1) */
.pt-sec { background: #070d05; color: #eef1e2; }
.pt-sec .lead { color: #c4cbb2; } .pt-sec .eyebrow { color: var(--lime); }
.pt { position: relative; margin-top: 36px; padding-bottom: 8px; }
.pt-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; position: relative; z-index: 1; }
@media (max-width: 1100px) { .pt-grid { grid-template-columns: repeat(3, 1fr); } }
.pt-grid li { position: relative; }
.pt-card { position: relative; width: 100%; min-height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #0d1609; border: 1px solid #22301a; color: #eef1e2; cursor: pointer; overflow: hidden; padding: 12px 6px; font: inherit; }
.pt-card::before, .pt-card::after { content: ""; position: absolute; width: 10px; height: 10px; border: 2px solid #3d5422; transition: border-color .4s; }
.pt-card::before { left: 3px; top: 3px; border-right: 0; border-bottom: 0; }
.pt-card::after { right: 3px; bottom: 3px; border-left: 0; border-top: 0; }
.pt-name { font: 900 clamp(14px, 1.1vw, 17px)/1.25 var(--sans); letter-spacing: -0.02em; text-align: center; word-break: keep-all; opacity: .72; transition: opacity .5s; }
.pt-st { font: 800 10px/1 var(--lat); letter-spacing: .18em; color: #a3b088; transition: color .5s; }
.pt-st::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #3a4730; margin-right: 6px; vertical-align: 1px; transition: background .5s, box-shadow .5s; }
.pt-card .scan { display: none; }
.pt.on .pt-card { animation: none; }
.pt.on .pt-card .pt-name { opacity: 1; }
.pt.on .pt-card::before, .pt.on .pt-card::after { border-color: var(--lime); }
.pt.on .pt-st { color: var(--lime); }
.pt.on .pt-st::before { background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.pt-grid li .pt-card { background-image: linear-gradient(180deg, transparent 0, rgba(181,212,108,.22) 50%, transparent 100%); background-size: 100% 40%; background-repeat: no-repeat; background-position: 0 -60%; }
.pt.on .pt-grid li .pt-card { animation: ptscan 1s ease-out both; }
.pt.on .pt-grid li:nth-child(1) .pt-card, .pt.on .pt-grid li:nth-child(1) .pt-name, .pt.on .pt-grid li:nth-child(1) .pt-st, .pt.on .pt-grid li:nth-child(1) .pt-st::before { animation-delay: 0s; transition-delay: .3s; }
.pt.on .pt-grid li:nth-child(2) .pt-card, .pt.on .pt-grid li:nth-child(2) .pt-name, .pt.on .pt-grid li:nth-child(2) .pt-st { animation-delay: .18s; transition-delay: .48s; }
.pt.on .pt-grid li:nth-child(3) .pt-card, .pt.on .pt-grid li:nth-child(3) .pt-name, .pt.on .pt-grid li:nth-child(3) .pt-st { animation-delay: .36s; transition-delay: .66s; }
.pt.on .pt-grid li:nth-child(4) .pt-card, .pt.on .pt-grid li:nth-child(4) .pt-name, .pt.on .pt-grid li:nth-child(4) .pt-st { animation-delay: .54s; transition-delay: .84s; }
.pt.on .pt-grid li:nth-child(5) .pt-card, .pt.on .pt-grid li:nth-child(5) .pt-name, .pt.on .pt-grid li:nth-child(5) .pt-st { animation-delay: .72s; transition-delay: 1.02s; }
.pt.on .pt-grid li:nth-child(6) .pt-card, .pt.on .pt-grid li:nth-child(6) .pt-name, .pt.on .pt-grid li:nth-child(6) .pt-st { animation-delay: .9s; transition-delay: 1.2s; }
.pt.on .pt-grid li:nth-child(7) .pt-card, .pt.on .pt-grid li:nth-child(7) .pt-name, .pt.on .pt-grid li:nth-child(7) .pt-st { animation-delay: 1.08s; transition-delay: 1.38s; }
.pt.on .pt-grid li:nth-child(8) .pt-card, .pt.on .pt-grid li:nth-child(8) .pt-name, .pt.on .pt-grid li:nth-child(8) .pt-st { animation-delay: 1.26s; transition-delay: 1.56s; }
.pt.on .pt-grid li:nth-child(9) .pt-card, .pt.on .pt-grid li:nth-child(9) .pt-name, .pt.on .pt-grid li:nth-child(9) .pt-st { animation-delay: 1.44s; transition-delay: 1.74s; }
@keyframes ptscan { from { background-position: 0 -60%; } to { background-position: 0 160%; } }
.pt-tip { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); z-index: 5; width: max-content; max-width: 220px; margin: 0; background: #eef1e2; color: #141c0c; font-size: 13px; line-height: 1.5; padding: 8px 10px; border-radius: 3px; box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .2s; }
.pt-grid li:hover .pt-tip, .pt-card:focus + .pt-tip, .pt-card:focus-visible + .pt-tip { opacity: 1; }
.pt-grid li:nth-child(3n) .pt-tip { left: auto; right: 0; transform: none; }
@media (min-width: 1101px) { .pt-grid li:nth-child(3n) .pt-tip { left: 50%; right: auto; transform: translateX(-50%); } .pt-grid li:first-child .pt-tip { left: 0; transform: none; } .pt-grid li:last-child .pt-tip { left: auto; right: 0; transform: none; } }
@media (max-width: 1100px) { .pt-grid li:nth-child(3n+1) .pt-tip { left: 0; transform: none; } }
.pt-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.pt-lines path { fill: none; stroke: var(--lime); stroke-width: 1.2; opacity: 0; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.pt.on .pt-lines path { opacity: .5; stroke-dashoffset: 0; }
.pt-hub { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 90px; }
.pt-hub img { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(181,212,108,0); transition: box-shadow 1s 2.2s; }
.pt.on .pt-hub img { box-shadow: 0 0 0 6px rgba(181,212,108,.18), 0 0 30px rgba(181,212,108,.45); }
.pt-hub b { font-weight: 900; }
.pt.still .pt-lines path, .pt.still .pt-card, .pt.still .pt-name, .pt.still .pt-st, .pt.still .pt-hub img { transition: none !important; animation: none !important; }
.pt-band { margin-top: 40px; border-top: 1px solid #22301a; border-bottom: 1px solid #22301a; overflow: hidden; padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pt-track { display: flex; width: max-content; animation: ptflow 36s linear infinite; }
.pt-track span { font: 900 18px/1 var(--sans); color: #c4cbb2; padding: 0 28px; white-space: nowrap; }
.pt-track span::after { content: "◆"; color: var(--lime); font-size: 9px; margin-left: 28px; vertical-align: 3px; }
.pt-band:hover .pt-track, .pt-band:focus-within .pt-track { animation-play-state: paused; }
@keyframes ptflow { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pt-track { animation: none; flex-wrap: wrap; width: auto; } .pt-track span[aria-hidden] { display: none; } .pt-grid li .pt-card, .pt-lines path { animation: none; transition: none; } }
@media (max-width: 1100px) { .pt-hub { margin-top: 70px; } }
.wall-count { top: auto; bottom: 40px; right: auto; left: 18px; text-align: left; }
@media (max-width: 560px) { .wall-count { top: 14px; bottom: auto; left: 14px; } }
.wall-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; font-size: 13px; font-variant-numeric: tabular-nums; }
.wall-list li { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--green-d); padding: 7px 9px; color: var(--ink2); }
.wall-list b { color: var(--ink); font-weight: 900; margin-right: 4px; }
@media (max-width: 900px) { .wall-list { grid-template-columns: repeat(3, 1fr); font-size: 12px; } .wall-rows { display: none; } }
@media (max-width: 400px) { .wall-list { grid-template-columns: repeat(2, 1fr); } }
.mx-list { display: grid; gap: 12px; margin-top: 8px; font-size: 13px; }
.mx-list:empty { display: none; }
.mx-list b { display: block; color: var(--lime); font-size: 12px; margin-bottom: 4px; }
.mx-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.mx-list li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0 5px 12px; border-left: 3px solid; border-bottom: 1px solid #1c2814; color: #dfe5cf; }
.mx-list li.k-in { border-left-color: #7fa33a; } .mx-list li.k-or { border-left-color: var(--amber); } .mx-list li.k-run { border-left-color: #8fa0b8; } .mx-list li.k-chk { border-left-color: #6d7266; color: #a6ab9c; } .mx-list li.k-err { border-left-color: #d9775a; }
.mx-list em { font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-face { box-shadow: 0 1px 3px rgba(20,28,12,.18); } .bk-stage { filter: drop-shadow(0 18px 24px rgba(20,28,12,.28)); }
.bk-stage { width: min(100%, 1060px, calc((100vh - 220px) * 1.47)); }
.biz .eyebrow { color: var(--lime); }
.tbl { table-layout: fixed; } .tbl td, .tbl th { overflow-wrap: anywhere; }
.pt.still ~ .pt-band .pt-track { animation: none; }

/* H-1019-04 FUI·모션 (fui.js 와 짝). 움직임 줄이기·저사양은 .still 로 완성 상태 */
.js .seqwrap:not(.on) > * { opacity: 0; transform: translateY(14px); }
.seqwrap > * { transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--i, 0) * 110ms); }
.seqwrap.on > * { opacity: 1; transform: none; }
.fui-box { position: relative; }
.fui-box::before, .fui-box::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2px solid var(--lime); pointer-events: none; z-index: 2; opacity: .85; }
.fui-box::before { left: 8px; top: 8px; border-right: 0; border-bottom: 0; }
.fui-box::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }
.fui-box .scan { position: absolute; left: 0; right: 0; top: -40%; height: 40%; pointer-events: none; z-index: 1; background: linear-gradient(180deg, transparent, rgba(181,212,108,.30), transparent); opacity: 0; }
.fui-box.on .scan { animation: fscan 1.8s ease-out .2s 1 both; }
@keyframes fscan { 0% { top: -40%; opacity: 1; } 100% { top: 100%; opacity: 0; } }
.still .fui-box .scan, .still .seqwrap > *, .still .fb i, .still .seg, .still .tbar i { transition: none !important; animation: none !important; }
.still .fui-box .scan { display: none; }

/* 달마다 막대 (index · 2025 입금, 매달 고아원 송금 기준선) */
.fbars { position: relative; height: 300px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; padding-bottom: 30px; margin-top: 24px; border-bottom: 1px solid var(--line); }
.fb { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; }
.fb i { display: block; width: 70%; height: 0; background: var(--green-d); border-radius: 2px 2px 0 0; transition: height 1.1s cubic-bezier(.2,.7,.2,1) var(--d); }
[data-monthly].on .fb i { height: calc(var(--h) * .82); }
.fb .fv { font-size: 11px; font-weight: 700; margin-bottom: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); }
.fb small { position: absolute; bottom: -26px; font-size: 12px; color: var(--ink2); }
.fline { position: absolute; left: 0; right: 0; bottom: calc(30px + (100% - 30px) * var(--y) * .82); border-top: 2px dashed var(--amber); opacity: 0; transition: opacity .8s .9s; }
[data-monthly].on .fline { opacity: 1; }
.fline b { position: absolute; right: 0; bottom: 4px; font-size: 12px; background: var(--white); padding: 2px 8px; color: var(--ink); border: 1px solid var(--line); }
@media (max-width: 560px) { .fb .fv { font-size: 8px; } .fb small { font-size: 10px; } .fbars { gap: 2px; } }

/* 도넛 (report · 2025 쓴 돈 묶음별) */
.donut-wrap { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; margin-top: 28px; }
.donut-wrap svg { width: 100%; max-width: 300px; height: auto; display: block; }
.seg { stroke-dasharray: 0 999; transition: stroke-dasharray 1.2s cubic-bezier(.2,.7,.2,1) var(--d); }
[data-donut].on .seg { stroke-dasharray: var(--dash); }
.dn-t { fill: #b5d46c; font: 700 13px var(--lat); }
.dn-n { fill: #eef1e2; font: 900 17px var(--sans); }
.dn-leg { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dn-leg li { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; font-size: var(--t2); }
.dn-leg i { width: 14px; height: 14px; border-radius: 2px; }
.dn-leg b { font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .donut-wrap { grid-template-columns: 1fr; } }

/* 숫자 비 배경 (어두운 구역 뒤) */
.rain-host { position: relative; overflow: hidden; }
.rain-host > *:not(.rain) { position: relative; z-index: 1; }
.dark-box { background: var(--night); color: #eef1e2; padding: clamp(18px, 3vw, 34px); border-radius: 4px; position: relative; overflow: hidden; }
.dark-box .yr { background: #0f1709; border-color: #34402a; color: #eef1e2; }
.dark-box .yr dt, .dark-box .yr .ysrc, .dark-box .yr .ynote { color: #c4cbb2; }
.dark-box .yr dd.or { color: #ffcf73; }
.rain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .22; pointer-events: none; z-index: 0; }

/* 지도 코인 (status · 2025 실제 입금 기반 연출, 실시간 송금 아님) */
.coinmap { margin-top: 28px; }
.coinmap svg { width: 100%; height: auto; display: block; background: #0a1106; border: 1px solid #34402a; border-radius: 4px; }
.gd { fill: #34402a; }
.route path { fill: none; stroke: #b5d46c; stroke-width: 1.2; stroke-dasharray: 4 6; opacity: .55; }
.pin { fill: #b5d46c; }
.pin.pulse { fill: none; stroke: #b5d46c; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: fpulse 2.2s ease-out infinite; }
@keyframes fpulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4.5); opacity: 0; } }
.lb { fill: #eef1e2; font: 700 14px var(--sans); }
.coin { fill: #ffcf73; stroke: #7d5a00; stroke-width: 1; }
.coin-now { font: 700 15px/1.5 var(--sans); color: #eef1e2; margin: 14px 0 6px; min-height: 1.5em; }
.coin-note { font-size: 13px; color: #c4cbb2; line-height: 1.7; }
.still .pin.pulse { animation: none; }

/* 기업·단체 표 금액 막대 (status) */
.tbar { display: block; height: 6px; margin-top: 8px; background: #34402a; border-radius: 3px; overflow: hidden; }
.tbar i { display: block; height: 100%; width: 0; background: #b5d46c; transition: width 1.2s cubic-bezier(.2,.7,.2,1) var(--d); }
.tbl.on .tbar i { width: var(--w); }

/* 틴이 지도·움직임: 위치 점이 호를 따라 이동(index 후원 구역) */
.myan-map { margin-top: 36px; }
.myan-map svg { width: 100%; height: auto; display: block; background: #0a1106; border: 1px solid #34402a; border-radius: 4px; }
.myan-map .mv { fill: #ffcf73; }
@media (prefers-reduced-motion: reduce) { .myan-map .mv { display: none; } }
.myan-map .map-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #34402a; border: 1px solid #34402a; margin-top: 16px; }
.myan-map .map-stats div { background: #0f1709; padding: 16px 18px; color: #c4cbb2; font-size: 13px; }
.myan-map .map-stats b { display: block; font: 900 clamp(22px, 2.4vw, 30px)/1.1 var(--sans); color: #eef1e2; }
.still .myan-map .mv { display: none; }
.fx-wrap { margin-top: 28px; }

/* 책 넘기기 안내 (story) */
.bk-note { font-size: 15px; color: var(--ink2); margin: 8px 0 22px; }
.book .bk-stage { touch-action: pan-y; cursor: grab; }
.book .bk-stage.dragging { cursor: grabbing; }

/* H-1019-04-2: 3년 숫자 격자(7) · 통장 줄 표 점등(8) · 벽돌 옆 막대(18) */
.mxg { display: grid; gap: 6px; margin: 0 0 14px; }
.mxg-row { display: grid; grid-template-columns: 44px repeat(12, 1fr); gap: 4px; align-items: center; }
.mxg-row b { font: 700 12px/1 var(--lat, sans-serif); color: #c4cbb2; }
.mxg-row i { display: block; aspect-ratio: 1 / 1; border: 1px solid #34402a; background: rgba(190, 230, 120, var(--a, 0)); border-radius: 2px; }
.mxg-row i.na { background: repeating-linear-gradient(45deg, transparent 0 4px, #34402a 4px 5px); }
.js .mxg-row i { opacity: 0; transform: scale(.4); }
.js .mxg.on .mxg-row i { opacity: 1; transform: none; transition: opacity .3s ease calc(var(--i, 0) * 30ms), transform .3s ease calc(var(--i, 0) * 30ms); }
.ledger-wrap { margin-top: 18px; overflow-x: auto; }
.js .ledger-lite tbody tr { opacity: 0; transform: translateX(-6px); }
.ledger-wrap.on .ledger-lite tbody tr { opacity: 1; transform: none; transition: opacity .4s ease calc(var(--i, 0) * 140ms), transform .4s ease calc(var(--i, 0) * 140ms); }
.ledger-lite td, .ledger-lite th { padding: 10px 8px; font-size: 14px; }
@keyframes rowlit { 0% { background: rgba(190, 230, 120, .45); box-shadow: inset 3px 0 0 #b5d46c; } 100% { background: transparent; box-shadow: inset 3px 0 0 transparent; } }
.ledger-wrap.on .ledger-lite tbody tr { animation: rowlit 1.1s ease calc(var(--i, 0) * 140ms) both; }
.still .ledger-lite tbody tr { animation: none !important; }
.bars3 { margin-top: 16px; font-size: 14px; }
.bars3-t { font-weight: 700; margin: 0 0 8px; }
.b3 { display: grid; grid-template-columns: 56px 1fr auto; gap: 8px; align-items: center; margin: 6px 0; }
.b3 span { color: var(--ink2, #555); }
.b3 i { display: block; height: 14px; width: var(--w); background: var(--green-d, #4f6f17); transform-origin: left center; }
.b3.ref i { background: none; border-top: 2px dashed var(--green-d, #4f6f17); height: 0; margin-top: 7px; }
.b3 em { font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; }
.js .bars3 .b3 i { transform: scaleX(0); }
.js .bars3.on .b3 i { transform: scaleX(1); transition: transform .9s ease calc(var(--k, 0) * .15s); }
.still .mxg-row i, .still .ledger-lite tbody tr, .still .b3 i { opacity: 1 !important; transform: none !important; transition: none !important; }
.mxg-cap { font-size: 12px; color: #c4cbb2; margin: 4px 0 0; }

/* H-1019-04-2 ⑥(22): 소식·FAQ 세액공제 구조 모션 — 화면에 보이면 막대가 차례로 펼쳐짐. 움직임 줄이기·정지 시 완성 상태 */
.tax-fig { margin: 28px 0 0; }
.tax-bar { display: flex; height: 72px; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.tax-bar .seg { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 0 16px; color: #fff; transform-origin: left center; transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.tax-bar .s1 { flex: 1; background: var(--green-d); }
.tax-bar .s2 { flex: 2; background: #2f3f14; transition-delay: .35s; }
.tax-bar .seg b { font: 700 14px/1.2 var(--sans); }
.tax-bar .seg em { font: 900 24px/1.1 var(--lat, var(--sans)); font-style: normal; }
.tax-fig.on .seg { transform: scaleX(1); }
.tax-fig figcaption { margin-top: 10px; font-size: 12.5px; color: var(--ink2); }
@media (prefers-reduced-motion: reduce) { .tax-bar .seg { transform: none; transition: none; } }

/* 첫 쪽 단추(비활성)도 글자 대비 4.5:1 이상 */
.bk-prev:disabled { opacity: 1; color: #5a5a4e; }

/* H-1020-02 ⑱ 쓴 돈 막대·선(벽돌 옆) · ㉒ 소식·FAQ 모션 보강 */
.sp { position: relative; font-size: 14px; padding-top: 22px; }
.sp-t { font-weight: 700; margin: 0 0 8px; }
.sp-r { display: grid; grid-template-columns: 210px 1fr 230px; gap: 10px; align-items: center; margin: 7px 0; }
.sp-r span { color: var(--ink2, #555); }
.sp-r i { display: block; height: 16px; width: var(--w); background: var(--c, var(--green-d, #4f6f17)); transform-origin: left center; }
.sp-sum { border-top: 1px solid var(--line, #ddd); padding-top: 8px; font-weight: 900; }
.sp-sum i { background: #2f3f14; }
.sp-r em { text-align: right; font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sp-line { position: absolute; top: 44px; bottom: 0; left: calc(210px + 10px + (100% - 460px) * var(--x) / 100); border-left: 2px dashed var(--amber, #c98a00); pointer-events: none; }
.sp-line b { position: absolute; top: -22px; left: 6px; font-size: 12px; white-space: nowrap; background: var(--white, #fff); padding: 1px 6px; border: 1px solid var(--line, #ddd); }
@media (max-width: 700px) { .sp-r { grid-template-columns: 1fr; gap: 3px; } .sp-line { display: none; } }
.js .sp .sp-r i { transform: scaleX(0); }
.js [data-spend].on .sp-r i { transform: scaleX(1); transition: transform .9s ease calc(var(--k, 0) * .12s); }
.still .sp-r i { transform: none !important; transition: none !important; }
.askb button { position: relative; overflow: hidden; }
.askb button::after { content: ""; position: absolute; left: -60%; top: 0; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(181,212,108,.45), transparent); transition: left .6s ease; }
.askb button:hover::after, .askb button:focus-visible::after { left: 120%; }
@keyframes faqopen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq details[open] > .a { animation: faqopen .35s ease both; }
.still .faq details[open] > .a, .still .askb button::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .faq details[open] > .a { animation: none; } .askb button::after { display: none; } }

/* H-1021-04: two-tone focus stays visible on paper, green buttons and night panels. */
:focus-visible { outline: 3px solid var(--green-dd); outline-offset: 3px; box-shadow: 0 0 0 6px var(--white); }
main:focus { outline: none; }
[id] { scroll-margin-top: 88px; }
.dark :focus-visible, .tour :focus-visible, .pt-sec :focus-visible, .ft :focus-visible { outline-color: var(--lime); box-shadow: 0 0 0 6px var(--night); }

/* H1022-03: dropdown keeps its own readable palette over every section. */
.hd .menu nav {background:#fffdf5;color:#172719;box-shadow:0 16px 30px #0002;max-height:calc(100dvh - 72px);overflow-y:auto}
.hd .menu nav a,.hd.on-dark .menu nav a,.hd .menu nav a b {color:#172719}
.hd .menu nav a:hover,.hd .menu nav a:focus-visible {background:#e5edd8;color:#172719;outline:2px solid #486238;outline-offset:-2px}
[hidden] {display:none!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(min-width:1100px){.pt-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
