:root {
  --bg: #120e0a;
  --wall: #18130e;
  --panel: #1e1812;
  --fg: #f1e8d6;
  --muted: #b8aa90;
  --gold: #cfa95f;
  --gold-strong: #e8c886;
  --gold-ink: #1d150b;
  --line: #3d3224;
  --line-strong: #5a4932;
  --velvet: #7d2128;
  --velvet-bright: #b4323b;
  --serif: "Museum Serif", "Noto Serif KR", "AppleMyungjo", serif;
  --sans: "Museum Sans", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--gold-strong); }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold-strong); outline-offset: 3px; border-radius: 8px; }
.sprite { position: absolute; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico { width: 18px; height: 18px; flex: none; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 800px; }
.block { display: block; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--gold-ink); padding: 8px 14px; border-radius: 6px; z-index: 20; }
.skip:focus { left: 16px; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(18, 14, 10, 0.92); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 800; letter-spacing: 0.08em; color: var(--gold-strong); text-decoration: none; font-size: 1.125rem; }
.top-nav { display: none; gap: 4px; margin-left: auto; }
.top-nav a { color: var(--muted); text-decoration: none; font-size: 0.9375rem; padding: 8px 12px; border-radius: 6px; transition: color 0.2s; }
.top-nav a:hover { color: var(--fg); }
.top .btn-sm { margin-left: auto; }
@media (min-width: 880px) { .top-nav { display: flex; } .top .btn-sm { margin-left: 8px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 8px; background: var(--gold); color: var(--gold-ink); font-weight: 700; text-decoration: none; border: 1px solid var(--gold); transition: background 0.2s, transform 0.2s, border-color 0.2s; }
.btn:hover { background: var(--gold-strong); border-color: var(--gold-strong); }
.btn:active { transform: translateY(1px); }
.btn .ico { transition: transform 0.2s; }
.btn:hover .ico { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 0.9375rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(207, 169, 95, 0.1); border-color: var(--gold); }

.placard { display: inline-block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; color: var(--gold); border: 1px solid var(--line-strong); border-radius: 4px; padding: 3px 12px; margin-bottom: 16px; background: rgba(30, 24, 18, 0.6); }

.hero { position: relative; overflow: hidden; padding: 64px 0 40px; border-bottom: 1px solid var(--line); background: var(--wall); }
.spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 55% at 50% -10%, rgba(232, 200, 134, 0.16), transparent 70%), radial-gradient(45% 40% at 0% 100%, rgba(125, 33, 40, 0.22), transparent 70%), radial-gradient(45% 40% at 100% 100%, rgba(125, 33, 40, 0.22), transparent 70%); }
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } .hero { padding: 96px 0 48px; } }
.hero h1 { font-size: clamp(2.375rem, 6.4vw, 4rem); font-weight: 800; }
.gold { color: var(--gold-strong); }
.lead { margin-top: 22px; max-width: 560px; font-size: 1.0625rem; color: var(--muted); }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 0.9375rem; }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts .ico { color: var(--gold); width: 16px; height: 16px; stroke-width: 2.2; }
.age { position: relative; margin-top: 44px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.875rem; }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 26px; border-radius: 6px; background: var(--velvet); color: #fff; font-weight: 700; font-size: 0.8125rem; }

.wall { position: relative; height: 330px; max-width: 520px; width: 100%; margin: 0 auto; }
.lamp { position: absolute; top: 0; width: 46px; height: 8px; border-radius: 0 0 6px 6px; background: #8a6d3b; }
.lamp::after { content: ""; position: absolute; top: 8px; left: 50%; width: 170px; height: 220px; transform: translateX(-50%); background: linear-gradient(180deg, rgba(240, 210, 150, 0.22), rgba(240, 210, 150, 0)); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); }
.l1 { left: 13%; } .l2 { left: 45%; } .l3 { left: 77%; }
.art { position: absolute; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; transform-origin: 50% -30px; }
.art .mat { padding: 12px; background: #2a2119; border: 6px solid #b08a4a; box-shadow: inset 0 0 0 2px #6e5530, 0 18px 40px rgba(0, 0, 0, 0.55); }
.art figcaption { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.04em; padding: 2px 10px; border: 1px solid var(--line-strong); background: rgba(18, 14, 10, 0.8); }
.canvas { width: 100%; height: 100%; }
.a1 { left: 2%; top: 46px; } .a1 .mat { width: 140px; height: 180px; }
.a2 { left: 34%; top: 30px; } .a2 .mat { width: 168px; height: 216px; }
.a3 { left: 70%; top: 58px; } .a3 .mat { width: 128px; height: 164px; }
.c1 { background: radial-gradient(circle at 35% 30%, #d9a58a 0, rgba(217, 165, 138, 0) 32%), radial-gradient(circle at 65% 70%, #7d2128 0, rgba(125, 33, 40, 0) 55%), #3a1f1c; }
.c2 { background: radial-gradient(ellipse at 50% 110%, #e8c886 0, rgba(232, 200, 134, 0) 45%), radial-gradient(circle at 30% 25%, #6b4b2a 0, rgba(107, 75, 42, 0) 40%), #1f1812; }
.c3 { background: linear-gradient(115deg, rgba(0, 0, 0, 0) 40%, rgba(232, 200, 134, 0.35) 50%, rgba(0, 0, 0, 0) 60%), radial-gradient(circle at 50% 40%, #5e2c2f 0, rgba(94, 44, 47, 0) 60%), #241a14; }
.rope { position: absolute; left: 4%; right: 4%; bottom: 8px; height: 26px; border-bottom: 3px solid var(--velvet-bright); border-radius: 0 0 50% 50%; opacity: 0.8; }
.rope::before, .rope::after { content: ""; position: absolute; bottom: -16px; width: 10px; height: 40px; border-radius: 4px; background: #b08a4a; }
.rope::before { left: -4px; } .rope::after { right: -4px; }
@media (max-width: 520px) { .wall { height: 280px; } .art .mat { padding: 8px; border-width: 5px; } .a1 { left: 0; } .a1 .mat { width: 96px; height: 128px; } .a2 .mat { width: 118px; height: 156px; } .a3 .mat { width: 88px; height: 116px; } .a2 { left: 32%; } .a3 { left: 71%; } .lamp::after { width: 120px; } }

.band { padding: 88px 0; }
.band.alt { background: var(--wall); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h2, .final h2 { font-size: clamp(1.625rem, 4vw, 2.375rem); font-weight: 700; }

.grid { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line-strong); border-radius: 12px; padding: 26px 24px 22px; background: var(--panel); transition: border-color 0.25s, transform 0.25s; }
.card::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(207, 169, 95, 0.16); border-radius: 8px; pointer-events: none; }
.card:hover { border-color: var(--gold); transform: translateY(-3px); }
.card .icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px; border: 1px solid rgba(207, 169, 95, 0.4); color: var(--gold-strong); background: rgba(207, 169, 95, 0.08); }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-top: 16px; font-size: 1.1875rem; }
.card p { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; flex: 1; }
.card strong { color: var(--fg); }
.tag { align-self: flex-start; margin-top: 18px; font-size: 0.75rem; font-weight: 600; color: var(--gold); border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 10px; }

.timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; position: relative; }
.timeline li { position: relative; padding-left: 60px; }
.timeline h3 { font-size: 1.125rem; padding-top: 8px; }
.timeline p { margin-top: 4px; color: var(--muted); font-size: 0.9375rem; }
.num { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); background: var(--bg); color: var(--gold-strong); font-family: var(--serif); font-weight: 700; font-size: 1.125rem; z-index: 1; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--line-strong); }
.timeline::after { content: ""; position: absolute; left: 21px; top: 22px; width: 2px; height: calc(100% - 44px); background: var(--gold); transform-origin: top; transform: scaleY(1); }
@media (min-width: 880px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .timeline li { padding-left: 0; padding-top: 64px; }
  .num { left: 0; }
  .timeline::before { left: 22px; right: 22px; top: 21px; bottom: auto; width: auto; height: 2px; }
  .timeline::after { left: 22px; top: 21px; width: calc(100% - 44px); height: 2px; transform-origin: left; transform: scaleX(1); }
}

.flow { margin-top: 36px; display: grid; gap: 14px; align-items: stretch; }
.flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--gold); transform: rotate(90deg); }
.flow-arrow svg { width: 28px; height: 28px; }
@media (min-width: 880px) { .flow { grid-template-columns: 1fr 40px 1fr 40px 1fr; } .flow-arrow { transform: none; } }
.note { margin-top: 22px; color: var(--muted); font-size: 0.9375rem; padding: 14px 18px; border: 1px dashed var(--line-strong); border-radius: 10px; }

.checks { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
@media (min-width: 760px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-left: 3px solid var(--gold); background: var(--panel); border-radius: 0 10px 10px 0; }
.checks strong { font-family: var(--serif); font-size: 1.0625rem; color: var(--gold-strong); }
.checks span { color: var(--muted); font-size: 0.9375rem; }

.faq { margin-top: 28px; display: grid; gap: 10px; }
details { border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel); transition: border-color 0.2s; }
details[open] { border-color: var(--gold); }
summary { cursor: pointer; padding: 16px 48px 16px 18px; min-height: 52px; font-weight: 600; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details p { padding: 0 18px 18px; color: var(--muted); }

.final { position: relative; overflow: hidden; padding: 104px 0; text-align: center; border-top: 1px solid var(--line); background: var(--wall); }
.final .wrap { position: relative; }
.final p { margin: 14px auto 30px; color: var(--muted); max-width: 520px; }

.foot { border-top: 1px solid var(--line); padding: 36px 0 112px; color: var(--muted); font-size: 0.875rem; }
.foot-row { display: grid; gap: 10px; }
.small { font-size: 0.75rem; }
@media (min-width: 880px) { .foot { padding-bottom: 40px; } }

.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(18, 14, 10, 0.95); border-top: 1px solid var(--line); }
.dock .btn { width: 100%; }
@media (min-width: 880px) { .dock { display: none; } }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.rise { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.d1 { animation-delay: 0.08s; } .d2 { animation-delay: 0.16s; } .d3 { animation-delay: 0.24s; } .d4 { animation-delay: 0.32s; }
@keyframes sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(0.8deg); } }
.a1 { animation: sway 7s ease-in-out infinite; } .a2 { animation: sway 8s ease-in-out -2s infinite; } .a3 { animation: sway 6.5s ease-in-out -4s infinite; }
@keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.82; } }
.lamp::after { animation: glow 6s ease-in-out infinite; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .timeline::after { transform: scaleY(0); transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s; }
.js .timeline.in::after { transform: scaleY(1); }
@media (min-width: 880px) { .js .timeline::after { transform: scaleX(0); } .js .timeline.in::after { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .a1, .a2, .a3, .lamp::after { animation: none; }
  .btn, .card, .btn .ico, details, summary::after { transition: none; }
  .card:hover { transform: none; }
}
