/* 👑 크라우니 마을 소개 (/intro) — 밝은 하늘 · 둥근 카드 · 주황 단추 · 움직이는 장면 (2026-11-11 CEO) */
:root {
  --ink: #1f2430; --ink2: #4a5163; --muted: #6b7385;
  --sky1: #8fd3ff; --sky2: #c8ecff; --sky3: #fff6e8;
  --card: #ffffff; --line: #e7ecf5; --bg: #f6f9ff;
  --orange: #ff7a1a; --orange2: #ff9d3d; --gold: #ffc83d; --pink: #ff8fb8; --mint: #39c8a6; --violet: #7b6cff;
  --r: 22px; --shadow: 0 10px 30px rgba(40, 70, 120, .12); --shadow2: 0 18px 40px rgba(40, 70, 120, .2);
  --pad: clamp(16px, 4vw, 48px);
  --disp: 'Jua', 'Noto Sans KR', system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Noto Sans KR', system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; overflow-x: hidden; word-break: keep-all; overflow-wrap: anywhere; -webkit-tap-highlight-color: transparent; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
em { font-style: normal; color: var(--orange); }
h1, h2, h3 { font-family: var(--disp); font-weight: 400; letter-spacing: -.01em; margin: 0; line-height: 1.2; }
h2 { font-size: clamp(26px, 3.4vw, 40px); }

/* 🔝 위 메뉴 */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 10px var(--pad); background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid rgba(255, 255, 255, .6); transition: box-shadow .3s, background .3s; }
.top.scrolled { background: rgba(255, 255, 255, .94); box-shadow: 0 4px 20px rgba(30, 60, 110, .1); }
.logo { display: flex; align-items: center; gap: 8px; flex: none; }
.crown { width: 44px; height: 34px; animation: crownTilt 4s ease-in-out infinite; transform-origin: 50% 90%; }
.crown.sm { width: 34px; height: 26px; }
@keyframes crownTilt { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) translateY(-2px); } }
.logo-t { display: flex; flex-direction: column; line-height: 1; }
.logo-t b { font-family: var(--disp); font-weight: 400; font-size: 24px; color: #2a1d10; }
.logo-t small { font-size: 11px; font-weight: 900; letter-spacing: .08em; color: #5a4630; margin-top: 3px; }
.menu { display: flex; gap: clamp(14px, 2.4vw, 36px); margin: 0 auto; }
.menu a { font-weight: 700; font-size: 15px; padding: 8px 2px; position: relative; color: var(--ink); }
.menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 3px; background: var(--orange); transform: scaleX(0); transition: transform .25s; }
.menu a:hover::after, .menu a.on::after { transform: scaleX(1); }
.menu a.on { color: var(--orange); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin-left: auto; }
.menu-btn span { width: 22px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* 단추 (누르면 쏙 · 놓으면 통) */
.btn { display: inline-flex; align-items: center; gap: 12px; border-radius: 999px; font-weight: 700; transition: transform .12s, box-shadow .2s, filter .2s; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.btn:active { transform: scale(.94); }
.btn.pop { animation: pop .38s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { 0% { transform: scale(.94); } 60% { transform: scale(1.05); } 100% { transform: scale(1); } }
.btn .ic { font-size: 26px; line-height: 1; }
.btn b { display: block; font-size: 22px; font-family: var(--disp); font-weight: 400; line-height: 1.1; }
.btn small { display: block; font-size: 12.5px; font-weight: 700; opacity: .92; }
.btn-main { color: #fff; padding: 14px 34px 14px 26px; background: linear-gradient(180deg, var(--orange2), var(--orange)); box-shadow: 0 8px 0 #d55a00, 0 14px 30px rgba(255, 122, 26, .45); text-shadow: 0 1px 2px rgba(150, 60, 0, .35); }
.btn-main:hover { filter: brightness(1.06); transform: translateY(-2px); }
.btn-main:active { box-shadow: 0 3px 0 #d55a00, 0 6px 14px rgba(255, 122, 26, .4); transform: translateY(4px) scale(.98); }
.btn-main.sm { padding: 12px 26px; font-size: 18px; }
.btn-sub { color: var(--ink); padding: 14px 30px 14px 24px; background: #fff; box-shadow: 0 8px 0 #cfd8e8, 0 14px 30px rgba(40, 70, 120, .18); }
.btn-sub:hover { transform: translateY(-2px); }
.btn-sub:active { box-shadow: 0 3px 0 #cfd8e8; transform: translateY(4px) scale(.98); }
.btn-ghost { padding: 10px 18px; border: 2px solid var(--ink); font-size: 14.5px; background: #fff; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* 🌤 첫 화면 */
.hero { position: relative; min-height: min(100vh, 980px); min-height: min(100svh, 980px); padding: 120px var(--pad) 80px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--sky1) 0%, var(--sky2) 55%, var(--sky3) 100%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); filter: saturate(1.15) brightness(1.04); }
.hero-tint { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(240, 249, 255, .92) 0%, rgba(240, 249, 255, .7) 38%, rgba(240, 249, 255, .05) 70%), linear-gradient(180deg, rgba(143, 211, 255, .25), transparent 30%, transparent 75%, rgba(246, 249, 255, 1) 100%); }
.cloud { position: absolute; background: #fff; border-radius: 999px; filter: blur(1px); opacity: .92; box-shadow: 0 10px 30px rgba(120, 170, 220, .25); animation: drift linear infinite; }
.cloud::before, .cloud::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 55%; height: 160%; left: 14%; top: -70%; }
.cloud::after { width: 38%; height: 120%; left: 50%; top: -45%; }
.c1 { width: 220px; height: 56px; top: 16%; left: -260px; animation-duration: 70s; }
.c2 { width: 160px; height: 42px; top: 34%; left: -200px; animation-duration: 55s; animation-delay: -30s; opacity: .8; }
.c3 { width: 300px; height: 70px; top: 72%; left: -340px; animation-duration: 90s; animation-delay: -60s; }
.c4 { width: 130px; height: 34px; top: 8%; left: -160px; animation-duration: 48s; animation-delay: -12s; opacity: .7; }
@keyframes drift { to { transform: translateX(calc(100vw + 420px)); } }
.sparkle { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-in { position: relative; width: 100%; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hand { font-family: var(--disp); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.35; margin: 0 0 6px; transform: rotate(-3deg); transform-origin: left; color: #2b2f3a; }
.hand mark { background: linear-gradient(transparent 62%, rgba(255, 200, 61, .85) 62%); color: inherit; padding: 0 4px; }
.title { font-size: clamp(54px, 8.6vw, 112px); color: #2a1d10; position: relative; display: inline-block; text-shadow: 0 4px 0 #fff, 0 8px 0 rgba(255, 200, 61, .9), 0 16px 30px rgba(120, 80, 20, .25); white-space: nowrap; }
.crown-sm { position: absolute; top: -.42em; left: 50%; font-size: .5em; animation: crownBob 2.6s ease-in-out infinite; }
@keyframes crownBob { 0%, 100% { transform: translate(-50%, 0) rotate(-8deg); } 50% { transform: translate(-50%, -10px) rotate(8deg); } }
.bounce span { display: inline-block; opacity: 0; transform: translateY(40px) scale(.6); animation: letterIn .7s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.bounce span.sp { width: .3em; }
.bounce.done span { animation: letterIn .7s cubic-bezier(.3, 1.6, .5, 1) forwards, wave 3.2s ease-in-out infinite; }
@keyframes letterIn { to { opacity: 1; transform: none; } }
@keyframes wave { 0%, 80%, 100% { transform: none; } 88% { transform: translateY(-10px); } }
.sub-en { font-weight: 900; letter-spacing: .14em; font-size: clamp(15px, 1.6vw, 20px); margin: 4px 0 18px; color: #3a2c1c; padding-left: .3em; }
.lead { font-size: clamp(15px, 1.35vw, 18px); font-weight: 500; color: #283041; margin: 0 0 28px; }
.lead b { font-weight: 900; color: var(--ink); background: linear-gradient(transparent 60%, rgba(57, 200, 166, .35) 60%); }
.cta { display: flex; flex-wrap: wrap; gap: 18px 16px; }
.cta.center { justify-content: center; }
.free { margin: 22px 0 0; font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; background: #fff; padding: 8px 18px; border-radius: 999px; box-shadow: var(--shadow); }
.free span { color: var(--orange); font-weight: 900; }
.hero-art { position: relative; height: clamp(320px, 42vw, 560px); }
.island { position: absolute; inset: 4% 0 10% 4%; animation: float 6s ease-in-out infinite; }
.island-img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; box-shadow: 0 30px 60px rgba(40, 90, 150, .35), 0 0 0 8px rgba(255, 255, 255, .85); animation: blob 14s ease-in-out infinite; }
.island-rock { position: absolute; z-index: 1; left: 18%; right: 18%; bottom: -12%; height: 30%; background: radial-gradient(ellipse at 50% 0%, #a98e72 0%, #8a6f55 45%, transparent 72%); filter: blur(2px); clip-path: polygon(0 0, 100% 0, 70% 70%, 52% 100%, 36% 62%); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-18px) rotate(1deg); } }
@keyframes blob { 0%, 100% { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; } 50% { border-radius: 56% 44% 52% 48% / 44% 56% 46% 54%; } }
.flyer { position: absolute; font-size: 34px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .15)); }
.f1 { top: 2%; left: -6%; animation: flyA 9s ease-in-out infinite; }
.f2 { bottom: 6%; right: -2%; font-size: 40px; animation: flyB 7s ease-in-out infinite; }
@keyframes flyA { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 50% { transform: translate(60px, -30px) rotate(8deg); } }
@keyframes flyB { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-20px, -40px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--ink2); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.scroll-cue i { width: 22px; height: 34px; border: 2px solid var(--ink2); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ''; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; border-radius: 2px; background: var(--ink2); transform: translateX(-50%); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* 다섯 가지 */
.pillars { position: relative; z-index: 2; max-width: 1280px; margin: -40px auto 0; padding: 16px; background: #fff; border-radius: 28px; box-shadow: var(--shadow2); display: grid; grid-template-columns: repeat(5, 1fr); width: calc(100% - 2 * var(--pad)); }
.pill { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 18px; border-radius: 18px; transition: background .2s, transform .2s; }
.pill + .pill { border-left: 1px solid var(--line); }
.pill:hover { background: #f3f8ff; transform: translateY(-3px); }
.pill:hover .pi { animation: jelly .6s; }
.pi { grid-row: span 2; font-size: 40px; font-style: normal; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .12)); }
.pill b { font-size: 17px; font-weight: 900; }
.pill small { font-size: 13.5px; color: var(--ink2); font-weight: 500; }
@keyframes jelly { 0% { transform: scale(1); } 30% { transform: scale(1.25, .8); } 50% { transform: scale(.85, 1.15); } 70% { transform: scale(1.08, .95); } 100% { transform: scale(1); } }

/* 🎬 HTML 영상 */
.trailer-wrap { max-width: 1280px; margin: 0 auto; padding: 90px var(--pad) 30px; }
.sec-head { text-align: center; margin-bottom: 26px; }
.kicker { display: inline-block; font-weight: 900; font-size: 14px; color: var(--violet); background: #efedff; padding: 6px 14px; border-radius: 999px; margin: 0 0 10px; }
.trailer { position: relative; max-width: 1100px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #0d1422; box-shadow: var(--shadow2), 0 0 0 6px #fff; outline: none; }
.trailer:focus-visible { box-shadow: var(--shadow2), 0 0 0 6px var(--orange); }
.tr-stage { position: absolute; inset: 0; }
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.scene.on { opacity: 1; }
.scene img, .scene video { width: 100%; height: 100%; object-fit: cover; }
.scene.on img { animation: kb var(--dur, 6s) ease-out forwards; }
.scene.kb2.on img { animation-name: kb2; }
.scene.kb3.on img { animation-name: kb3; }
@keyframes kb { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.16) translate(-2%, -1.5%); } }
@keyframes kb2 { from { transform: scale(1.18) translate(2%, 1%); } to { transform: scale(1.04) translate(0, 0); } }
@keyframes kb3 { from { transform: scale(1.06) translate(-2%, 0); } to { transform: scale(1.14) translate(2%, -1%); } }
.scene .flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.scene.on .flash { animation: flash .6s ease-out; }
@keyframes flash { 0% { opacity: .7; } 100% { opacity: 0; } }
.tr-letter { position: absolute; left: 0; right: 0; height: 7%; background: #000; z-index: 2; transition: height .6s; }
.tr-letter.top { top: 0; } .tr-letter.bot { bottom: 0; }
.trailer:hover .tr-letter { height: 0; }
.tr-cap { position: absolute; left: 5%; bottom: 17%; z-index: 3; color: #fff; text-shadow: 0 3px 14px rgba(0, 0, 0, .55); max-width: 80%; }
.tr-place { display: inline-block; font-weight: 900; font-size: clamp(11px, 1.2vw, 14px); letter-spacing: .06em; background: var(--orange); padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; text-shadow: none; transform: translateY(10px); opacity: 0; transition: transform .5s, opacity .5s; }
.tr-cap.in .tr-place { transform: none; opacity: 1; }
.tr-line { display: block; font-family: var(--disp); font-size: clamp(22px, 3.6vw, 48px); line-height: 1.2; min-height: 1.2em; }
.tr-line .ch { display: inline-block; opacity: 0; transform: translateY(14px); animation: chIn .45s forwards; }
@keyframes chIn { to { opacity: 1; transform: none; } }
.tr-bar { position: absolute; left: 5%; right: 5%; bottom: 9%; z-index: 3; display: flex; gap: 6px; }
.tr-seg { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; cursor: pointer; padding: 0; position: relative; }
.tr-seg::before { content: ''; position: absolute; inset: -10px 0; }
.tr-seg i { display: block; height: 100%; width: 0; background: #fff; border-radius: 3px; }
.tr-seg.done i { width: 100%; }
.tr-seg:hover { background: rgba(255, 255, 255, .6); }
.tr-ctrl { position: absolute; right: 4%; top: 10%; z-index: 3; display: flex; align-items: center; gap: 10px; }
.tr-btn { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 14px; font-weight: 900; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); transition: transform .15s; }
.tr-btn:active { transform: scale(.88); }
.tr-time { color: #fff; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; text-shadow: 0 2px 6px rgba(0, 0, 0, .6); }

/* 카드 */
.grid3 { max-width: 1280px; margin: 0 auto; padding: 60px var(--pad) 20px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 20px; }
.card { position: relative; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; transform-style: preserve-3d; will-change: transform; }
.card:hover { box-shadow: var(--shadow2); }
.card .media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #dfeefc; }
.card .media img, .card .media video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.card:hover .media img, .card:hover .media video { transform: scale(1.07); }
.card.big { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; }
.card.big .media { aspect-ratio: auto; height: 100%; min-height: 260px; border-radius: 0 40% 40% 0 / 0 50% 50% 0; }
.card.big .txt { padding: 26px 30px 76px; position: relative; }
.card.big h3 { font-size: 32px; margin-bottom: 10px; }
.card.big p { margin: 0; color: var(--ink2); font-weight: 500; }
.arrow { position: absolute; right: 22px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); font-weight: 900; font-size: 20px; transition: transform .2s, background .2s; }
.arrow:hover { transform: translateX(4px); background: var(--gold); }
.cap { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .95); border-radius: 14px; padding: 10px 14px; font-weight: 900; font-size: 16px; display: flex; gap: 8px; align-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }

/* 줄 (놀이 · 실제 도시) */
.row-sec { max-width: 1280px; margin: 30px auto 0; padding: 24px; background: linear-gradient(135deg, #fff 0%, #fff8ef 100%); border-radius: 28px; box-shadow: var(--shadow); display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: center; width: calc(100% - 2 * var(--pad)); }
.row-sec.city { background: linear-gradient(135deg, #fff 0%, #eef8ff 100%); }
.row-head { padding: 6px 6px 6px 10px; }
.row-head h2 { font-size: clamp(24px, 2.4vw, 32px); }
.row-head p { color: var(--ink2); font-weight: 500; font-size: 14.5px; margin: 10px 0 0; }
.big-ic { font-size: 44px; font-style: normal; display: inline-block; margin-bottom: 6px; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-8px) rotate(6deg); } }
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px 6px 18px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { height: 8px; } .strip::-webkit-scrollbar-thumb { background: #d6deea; border-radius: 4px; }
.tile { flex: 0 0 clamp(150px, 15vw, 190px); scroll-snap-align: start; position: relative; border-radius: 18px; overflow: hidden; background: #dfeefc; aspect-ratio: 3 / 3.6; box-shadow: 0 8px 18px rgba(40, 70, 120, .16); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.tile:hover { transform: translateY(-8px) rotate(-1.5deg); box-shadow: 0 18px 30px rgba(40, 70, 120, .25); }
.tile:hover img, .tile:hover video { transform: scale(1.1); }
.tile .nm { position: absolute; left: 8px; right: 8px; bottom: 8px; background: rgba(255, 255, 255, .96); border-radius: 12px; padding: 7px 8px; text-align: center; font-weight: 900; font-size: 15px; }
.tile .badge { position: absolute; top: 8px; left: 8px; font-size: 11.5px; font-weight: 900; color: #fff; background: rgba(20, 28, 45, .7); padding: 3px 9px; border-radius: 999px; }
.tile .play { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; font-size: 11px; }
.tilted .tile { transform: skewX(-6deg); border-radius: 16px; }
.tilted .tile img, .tilted .tile video { transform: skewX(6deg) scale(1.12); }
.tilted .tile .nm { transform: skewX(6deg); }
.tilted .tile:hover { transform: skewX(-6deg) translateY(-8px); }
.tilted .tile:hover img, .tilted .tile:hover video { transform: skewX(6deg) scale(1.2); }

/* 🧭 지도 선 */
.mapline { max-width: 1280px; margin: 30px auto 0; padding: 40px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: center; width: calc(100% - 2 * var(--pad)); background: #fff; border-radius: 28px; box-shadow: var(--shadow); }
.ml-txt p { color: var(--ink2); font-weight: 500; }
.ml-legend { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-weight: 700; font-size: 14px; }
.ml-legend .d { display: inline-block; width: 22px; height: 5px; border-radius: 3px; vertical-align: middle; margin-right: 6px; }
.d1 { background: var(--mint); } .d2 { background: var(--violet); } .d3 { background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 10px); }
.ml-svg { width: 100%; height: auto; }
.ml-svg .land { fill: #bfe6b4; stroke: #fff; stroke-width: 6; }
.ml-svg .rt { fill: none; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.ml-svg .r1 { stroke: var(--mint); } .ml-svg .r2 { stroke: var(--violet); } .ml-svg .r3 { stroke: var(--orange); stroke-dasharray: 8 9; stroke-dashoffset: 0; opacity: 0; }
.mapline.in .rt.r1, .mapline.in .rt.r2 { animation: draw 1.8s ease forwards; }
.mapline.in .rt.r2 { animation-delay: .5s; }
.mapline.in .rt.r3 { animation: dashIn .8s ease forwards 1.4s, march 1.2s linear infinite 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dashIn { to { opacity: 1; } }
@keyframes march { to { stroke-dashoffset: -34; } }
.ml-svg .pin circle { fill: #fff; stroke: var(--orange); stroke-width: 4; }
.ml-svg .p0 circle { fill: var(--orange); stroke: #fff; }
.ml-svg .pin text { font-family: 'Noto Sans KR', sans-serif; font-weight: 900; font-size: 15px; text-anchor: middle; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.ml-svg .pin text.l { text-anchor: end; } .ml-svg .pin text.r { text-anchor: start; }
.ml-svg .pin { opacity: 0; }
.mapline.in .pin { animation: pinIn .5s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.mapline.in .p1 { animation-delay: 1.1s; } .mapline.in .p2 { animation-delay: 1.2s; } .mapline.in .p3 { animation-delay: 1.6s; } .mapline.in .p4 { animation-delay: 1.9s; } .mapline.in .p5 { animation-delay: 2.1s; }
@keyframes pinIn { from { opacity: 0; } to { opacity: 1; } }
.ml-svg .p0 circle { animation: pulse 2s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0% { stroke-width: 0; } 50% { stroke-width: 10; stroke-opacity: .5; } 100% { stroke-width: 16; stroke-opacity: 0; } }

/* 🧑‍🎨 크리에이터 */
.creator { max-width: 1280px; margin: 30px auto 0; padding: 24px 32px; width: calc(100% - 2 * var(--pad)); background: linear-gradient(135deg, #fffbe6, #fff); border-radius: 28px; box-shadow: var(--shadow); display: grid; grid-template-columns: 180px 1.2fr 1fr auto; gap: 24px; align-items: center; }
.cr-art { position: relative; }
.cr-art img { width: 170px; height: 170px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 6px #fff, var(--shadow); animation: float 5s ease-in-out infinite; }
.cr-bubble { position: absolute; top: -4px; right: -24px; background: var(--ink); color: #fff; font-weight: 900; font-size: 12.5px; padding: 6px 10px; border-radius: 12px; white-space: nowrap; animation: bob 3s ease-in-out infinite; }
.cr-txt h2 { font-size: clamp(22px, 2.3vw, 30px); color: #2e7d3a; }
.cr-txt h2 em { color: #2e7d3a; }
.cr-txt p { margin: 8px 0 0; color: var(--ink2); font-weight: 500; }
.steps { list-style: none; margin: 0; padding: 14px 18px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 20px; box-shadow: 0 6px 16px rgba(0, 0, 0, .06); counter-reset: s; }
.steps li { flex: 1; text-align: center; position: relative; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; top: -6px; left: 50%; transform: translateX(-120%); width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.steps li + li::after { content: '›'; position: absolute; left: -10px; top: 14px; color: #9aa3b5; font-size: 24px; font-weight: 900; }
.steps i { font-size: 34px; font-style: normal; display: block; animation: jelly 2.4s ease-in-out infinite; }
.steps li:nth-child(2) i { animation-delay: .4s; } .steps li:nth-child(3) i { animation-delay: .8s; }
.steps b { font-size: 14.5px; }

/* 🌙 마지막 */
.finale { position: relative; margin-top: 60px; min-height: 460px; display: grid; place-items: center; overflow: hidden; isolation: isolate; color: #fff; text-align: center; padding: 60px var(--pad); }
.fin-bg { position: absolute; inset: 0; z-index: -1; background: #1b2347; }
.fin-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.2); }
.fin-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 35, 71, .65), rgba(60, 40, 110, .45) 50%, rgba(27, 35, 71, .75)); }
.fin-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.fin-in { position: relative; z-index: 2; }
.hand.light { color: #fff; transform: rotate(-2deg); transform-origin: center; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.fin-title { font-size: clamp(44px, 7vw, 86px); margin: 6px 0 26px; text-shadow: 0 4px 0 rgba(123, 108, 255, .8), 0 10px 30px rgba(0, 0, 0, .4); }
.fin-title span { display: inline-block; animation: crownBob2 2.6s ease-in-out infinite; }
@keyframes crownBob2 { 0%, 100% { transform: rotate(-10deg); } 50% { transform: translateY(-10px) rotate(10deg); } }

/* 아래 */
.foot { max-width: 1280px; margin: 0 auto; padding: 26px var(--pad) 40px; display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; font-weight: 700; color: var(--ink2); }
.foot-links a:hover, .osm a:hover { color: var(--orange); }
.osm { margin: 0 0 0 auto; font-size: 13px; color: var(--ink2); font-weight: 500; }
.osm a { text-decoration: underline; }

/* 알림 */
.toast { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 80; max-width: min(92vw, 460px); background: var(--ink); color: #fff; font-weight: 700; font-size: 14.5px; padding: 12px 18px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); animation: toastIn .3s ease-out; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -10px); } }

/* 나타나기 (스크롤) */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.hand.reveal.in { transform: rotate(-3deg); }
.hand.light.reveal.in { transform: rotate(-2deg); }

/* 📱 폰 · 좁은 화면 */
@media (max-width: 1080px) {
  .grid3 { grid-template-columns: 1fr 1fr; }
  .card.big { grid-column: 1 / -1; }
  .creator { grid-template-columns: 140px 1fr; }
  .cr-art img { width: 130px; height: 130px; }
  .steps, .creator .btn { grid-column: 1 / -1; }
  .creator .btn { justify-self: center; }
}
@media (max-width: 860px) {
  .top { gap: 10px; }
  .menu { position: fixed; top: 64px; left: 12px; right: 12px; flex-direction: column; gap: 0; background: #fff; border-radius: 18px; box-shadow: var(--shadow2); padding: 8px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s; }
  .menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .menu a { padding: 14px 16px; font-size: 16px; border-radius: 12px; }
  .menu a::after { display: none; }
  .menu a.on { background: #fff3e8; }
  .menu-btn { display: flex; }
  .top-go { display: none; }
  .hero { padding-top: 96px; min-height: auto; }
  .hero-in { grid-template-columns: 1fr; gap: 10px; }
  .hero-art { order: -1; height: 230px; max-width: 360px; width: 80%; margin: 0 auto; }
  .hero-tint { background: linear-gradient(180deg, rgba(240, 249, 255, .55), rgba(240, 249, 255, .9) 40%, rgba(246, 249, 255, 1) 100%); }
  .hero-copy { text-align: center; }
  .hand { transform: none; transform-origin: center; }
  .hand.reveal.in { transform: rotate(-2deg); }
  .lead br { display: none; }
  .cta { justify-content: center; }
  .btn-main, .btn-sub { width: 100%; max-width: 340px; justify-content: center; }
  .scroll-cue { display: none; }
  .pillars { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; margin-top: 10px; padding: 10px; scroll-snap-type: x mandatory; }
  .pill { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 10px 6px; scroll-snap-align: start; }
  .pi { grid-row: auto; font-size: 34px; }
  .pill b { font-size: 15px; } .pill small { font-size: 12px; }
  .trailer-wrap { padding-top: 56px; }
  .trailer { border-radius: 18px; aspect-ratio: 4 / 3.4; }
  .tr-cap { bottom: 19%; }
  .grid3 { grid-template-columns: 1fr; padding-top: 36px; }
  .card.big { grid-template-columns: 1fr; }
  .card.big .media { border-radius: 0; min-height: 0; aspect-ratio: 16 / 10; }
  .card.big .txt { padding: 18px 20px 22px; }
  .card.big h3 { font-size: 26px; }
  .row-sec { grid-template-columns: 1fr; padding: 18px 14px; gap: 4px; }
  .row-head { text-align: center; padding: 4px; }
  .row-head p br, .row-head h2 br { display: none; }
  .tile { flex-basis: 42vw; }
  .mapline { grid-template-columns: 1fr; padding: 22px 18px; text-align: center; }
  .ml-svg .pin text { font-size: 22px; stroke-width: 5px; }
  .ml-legend { justify-content: center; }
  .creator { grid-template-columns: 1fr; text-align: center; padding: 22px 18px; justify-items: center; }
  .cr-bubble { right: -30px; }
  .steps { width: 100%; }
  .foot { flex-direction: column; text-align: center; }
  .osm { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
