/* 강남 도깨비 — 옛이야기 콘셉트 스타일시트
   남색 어둠 위에 도깨비불(청록)과 촛불(금)만 빛난다. 영상은 황동 모서리의 '문' 프레임(portal)에 건다. */

:root {
  --ink: #070A12;
  --ink-2: #0C1120;
  --ink-3: #121829;
  --ink-4: #1A2135;
  --line: rgba(201, 211, 227, 0.14);
  --line-2: rgba(201, 211, 227, 0.28);
  --text: #EEF2F8;
  --text-2: #C3CCDB;
  --mute: #96A3B8;
  --flame: #6FE3D6;
  --flame-2: #58B8FF;
  --gold: #E6B75C;
  --gold-2: #C8952E;
  --gold-line: rgba(230, 183, 92, 0.42);
  --vermilion: #C8381F;
  --paper: #F1EADB;
  --paper-2: #E7DDC8;
  --paper-line: #D6C9AE;
  --paper-ink: #1E1B16;
  --paper-ink-2: #4A4336;
  --paper-mute: #6F6552;

  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-serif: "Hahmlet", "Noto Serif KR", "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  --font-latin: "Cormorant Garamond", "Times New Roman", serif;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1280px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
}
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
video { display: block; }
img, svg { display: block; max-width: 100%; }
::selection { background: rgba(111, 227, 214, 0.35); color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--gold); color: var(--ink); border-radius: 6px; font-weight: 600; }
.skip:focus { top: 12px; }

/* 도깨비불 커서 캔버스 */
.wisps { position: fixed; inset: 0; z-index: 70; pointer-events: none; }

/* ---------- 등장 ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none; letter-spacing: -0.01em;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:active { transform: none; }
a[aria-disabled="true"] { text-decoration: none; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #F0C977; box-shadow: 0 10px 30px -12px rgba(230, 183, 92, 0.7); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(238, 242, 248, 0.06); }
.btn--outline { border-color: currentColor; color: inherit; background: transparent; }
.btn--outline:hover { background: rgba(238, 242, 248, 0.06); }
.btn--seal { background: var(--vermilion); color: #fff; }
.btn--seal:hover { background: #A62C16; }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 14px; }

.link-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 0;
  background: none; border: 0; border-bottom: 1px solid var(--flame);
  color: var(--flame); font-size: 15px; font-weight: 600; line-height: 1.6;
}
.link-btn.is-done { color: var(--mute); border-color: var(--mute); }

/* ---------- 헤더 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h); padding: 12px var(--gutter);
  color: var(--text);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-solid {
  background: rgba(7, 10, 18, 0.88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-menu { background: var(--ink-2); box-shadow: none; }
.brand { display: inline-flex; align-items: baseline; gap: 12px; text-decoration: none; }
.brand__mark { font-family: var(--font-latin); font-size: 22px; letter-spacing: 0.3em; font-weight: 600; color: var(--gold); }
.brand__ko { font-size: 14px; font-weight: 500; opacity: 0.85; }
.nav { display: none; gap: 28px; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; opacity: 0.9; }
.nav a:hover { opacity: 1; color: var(--flame); }
.site-header__right { display: flex; align-items: center; gap: 10px; }
.nav-cta { display: none; }
.menu-btn {
  width: 46px; height: 46px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 0;
}
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .25s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (min-width: 960px) {
  .nav { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-btn { display: none; }
}

/* ---------- 전체 메뉴 (모바일) ---------- */
.menu { position: fixed; inset: 0; z-index: 45; background: var(--ink-2); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: calc(var(--header-h) + 24px) var(--gutter) 40px; }
.menu__list li { border-top: 1px solid var(--line); }
.menu__list li:last-child { border-bottom: 1px solid var(--line); }
.menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; font-family: var(--font-serif); font-size: 26px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.menu__num { font-family: var(--font-latin); font-size: 17px; font-weight: 600; color: var(--gold); letter-spacing: 0.06em; }
.menu__foot { color: var(--text-2); font-size: 15px; display: grid; gap: 4px; }
.menu__phone { font-family: var(--font-latin); font-weight: 600; font-size: 32px; color: var(--text); text-decoration: none; letter-spacing: 0.02em; margin-top: 8px; }
@media (max-height: 700px) { .menu__list a { font-size: 22px; padding: 13px 0; } }
body.menu-open { overflow: hidden; }

/* ---------- 작품 꼬리표(tag) ---------- */
.tag {
  display: flex; flex-direction: column; gap: 3px;
  padding: 10px 14px; border-left: 2px solid var(--gold); background: rgba(12, 17, 32, 0.92);
  color: var(--text); max-width: 360px;
}
.tag__title { font-family: var(--font-serif); font-size: 15px; font-weight: 600; }
.tag__meta { font-size: 13px; font-weight: 500; color: var(--mute); }

/* ---------- 문 프레임(portal) ---------- */
.portal { display: grid; gap: 14px; justify-items: start; }
.portal__frame {
  position: relative; width: 100%; padding: 10px;
  border: 1px solid var(--gold-line);
  background:
    linear-gradient(var(--gold), var(--gold)) left top / 18px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left top / 1px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top / 18px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top / 1px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left bottom / 18px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left bottom / 1px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 18px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 1px 18px no-repeat,
    linear-gradient(160deg, rgba(230, 183, 92, 0.1), rgba(7, 10, 18, 0) 45%);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9);
}
.portal__frame::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(230, 183, 92, 0.16); pointer-events: none; }
.portal video, .portal img { width: 100%; aspect-ratio: var(--ar, 4 / 3); object-fit: cover; background: #05070D; }

/* ---------- 히어로 ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  background: #05070D; color: var(--text); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.45) 0%, rgba(7, 10, 18, 0) 30%, rgba(7, 10, 18, 0.12) 55%, rgba(7, 10, 18, 0.86) 100%);
}
.hero__wisps { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.wisp {
  position: absolute; width: 86px; height: 86px; border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 227, 214, 0.95) 0%, rgba(111, 227, 214, 0.4) 28%, rgba(88, 184, 255, 0) 68%);
  filter: blur(5px); mix-blend-mode: screen; opacity: 0.7;
  animation: wisp-drift var(--d, 15s) ease-in-out infinite alternate;
}
.wisp--sm { width: 46px; height: 46px; filter: blur(3px); }
@keyframes wisp-drift {
  0% { transform: translate(0, 0) scale(1); opacity: 0.45; }
  50% { transform: translate(var(--x1, 40px), var(--y1, -60px)) scale(1.18); opacity: 0.95; }
  100% { transform: translate(var(--x2, -30px), var(--y2, -120px)) scale(0.88); opacity: 0.55; }
}
.hero__inner { position: relative; padding-top: 150px; padding-bottom: clamp(96px, 14vh, 160px); animation: hero-in 1.4s ease-out both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__eyebrow { font-size: 13px; letter-spacing: 0.22em; font-weight: 600; color: var(--flame); }
.hero__title {
  font-family: var(--font-serif); font-size: clamp(54px, 10vw, 136px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02;
  margin: 14px 0 22px; color: #fff;
  text-shadow: 0 0 24px rgba(111, 227, 214, 0.28), 0 2px 30px rgba(0, 0, 0, 0.6);
  animation: title-glow 5s ease-in-out infinite;
}
@keyframes title-glow {
  0%, 100% { text-shadow: 0 0 22px rgba(111, 227, 214, 0.22), 0 2px 30px rgba(0, 0, 0, 0.6); }
  50% { text-shadow: 0 0 46px rgba(111, 227, 214, 0.55), 0 0 90px rgba(88, 184, 255, 0.22), 0 2px 30px rgba(0, 0, 0, 0.6); }
}
.hero__lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; max-width: 36ch; color: rgba(238, 242, 248, 0.94); }
.hero__cta { display: none; flex-wrap: wrap; gap: 12px; margin-top: 32px; } /* 모바일은 하단 고정 바가 같은 역할 */
.hero__eyebrow-more { display: none; }
@media (min-width: 560px) { .hero__eyebrow-more { display: inline; } }
@media (min-width: 960px) { .hero__cta { display: flex; } }
.hero__tag { display: none; position: absolute; right: var(--gutter); bottom: 40px; }
.hero__scroll { display: none; position: absolute; left: var(--gutter); bottom: 44px; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: 0.14em; color: var(--text-2); }
.hero__scroll i { display: block; width: 48px; height: 1px; background: var(--gold); opacity: 0.8; }
@media (min-width: 960px) {
  .hero__tag { display: flex; }
  .hero__scroll { display: flex; }
  .hero__inner { padding-bottom: clamp(120px, 16vh, 180px); }
}

/* ---------- 섹션 공통 ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--deep { background: var(--ink-2); }
.sec-head { border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-num { display: flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: 0.14em; font-weight: 600; color: var(--mute); }
.sec-num__icon { width: 16px; height: 16px; fill: var(--flame); filter: drop-shadow(0 0 6px rgba(111, 227, 214, 0.7)); }
.sec-num span { font-family: var(--font-latin); font-style: italic; font-weight: 600; font-size: 28px; letter-spacing: 0.02em; color: var(--gold); line-height: 1; }
.sec-title { font-family: var(--font-serif); font-size: clamp(32px, 4.8vw, 60px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin-top: 12px; max-width: 20ch; }
.sec-lead { margin-top: 20px; max-width: 62ch; font-size: 17px; color: var(--text-2); }
.sub-title { font-family: var(--font-serif); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin: 44px 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.sub-title small { font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--mute); }

/* ---------- 01 전설 ---------- */
.legend { display: grid; gap: 44px; }
.legend__text p { font-size: 17px; line-height: 1.85; color: var(--text-2); max-width: 60ch; }
.legend__text p + p { margin-top: 18px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 44px; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.fact { padding: 18px 16px 20px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.fact__k { font-size: 14px; font-weight: 500; color: var(--mute); }
.fact__v { font-family: var(--font-serif); font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -0.01em; margin-top: 4px; line-height: 1.25; color: var(--text); }
.legend__art { max-width: 440px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) {
  .legend { grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; }
  .legend__art { justify-self: end; width: 100%; }
}

/* ---------- 02 네 개의 문 ---------- */
.doors { display: grid; gap: 40px; }
.door-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.door {
  position: relative; display: grid; gap: 4px; padding: 30px 8px 16px; text-align: center;
  background: linear-gradient(180deg, #131A2C, #0A0E1B); border: 1px solid var(--line);
  border-top: 2px solid rgba(230, 183, 92, 0.35); color: var(--text);
  transition: border-color .25s, transform .25s, box-shadow .25s, background .25s;
}
.door::before {
  content: ""; position: absolute; left: 50%; top: 10px; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; border: 1.5px solid var(--gold-2); opacity: 0.75; transition: background .25s, box-shadow .25s, border-color .25s;
}
.door:hover { transform: translateY(-2px); border-color: var(--line-2); }
.door.is-active { border-color: var(--gold); background: linear-gradient(180deg, #1A2238, #0C111F); box-shadow: 0 0 0 1px rgba(230, 183, 92, 0.3), 0 22px 44px -26px rgba(230, 183, 92, 0.55); }
.door.is-active::before { background: var(--flame); border-color: var(--flame); box-shadow: 0 0 16px var(--flame); opacity: 1; }
.door__num { font-family: var(--font-latin); font-size: 30px; font-weight: 600; line-height: 1; color: var(--gold); }
.door__name { font-family: var(--font-serif); font-size: 16px; font-weight: 600; }
.door__rooms { font-size: 13px; font-weight: 500; color: var(--mute); letter-spacing: 0.02em; white-space: nowrap; }
@media (max-width: 420px) { .door { padding-left: 4px; padding-right: 4px; } }
.door-desc { margin-top: 20px; font-size: 17px; line-height: 1.8; color: var(--text-2); max-width: 44ch; }
.door-note { margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--mute); }
@media (min-width: 960px) {
  .doors { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .door-list { grid-template-columns: 1fr 1fr; gap: 12px; }
  .door { padding: 34px 12px 20px; }
  .door__num { font-size: 36px; }
  .door__name { font-size: 18px; }
}

.gate { display: grid; gap: 14px; justify-items: start; }
.gate__stage {
  position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
  perspective: 1600px; border: 1px solid var(--gold-line); background: #05070D;
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9);
}
.gate__media { position: absolute; inset: 0; }
.gate__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.gate__media video.is-active { display: block; }
.gate__leaf {
  position: absolute; top: 0; bottom: 0; width: 50.4%; z-index: 2;
  background: linear-gradient(90deg, #0A0D16 0%, #181C2C 50%, #0B0E18 100%);
  transition: transform .6s cubic-bezier(.6, 0, .4, 1);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.gate__leaf::before { content: ""; position: absolute; inset: 6% 9%; border: 1px solid rgba(230, 183, 92, 0.22); box-shadow: inset 0 0 0 6px rgba(0, 0, 0, 0.25); }
.gate__leaf::after {
  content: ""; position: absolute; top: 50%; width: 9%; aspect-ratio: 1; margin-top: -4.5%; border-radius: 50%;
  border: 2px solid var(--gold-2); box-shadow: 0 0 18px rgba(230, 183, 92, 0.35), inset 0 0 8px rgba(230, 183, 92, 0.3);
}
.gate__leaf--l { left: 0; transform-origin: left center; }
.gate__leaf--l::after { right: 10%; }
.gate__leaf--r { right: 0; transform-origin: right center; }
.gate__leaf--r::after { left: 10%; }
.gate__glow {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 8px; margin-left: -4px; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(230, 183, 92, 0), var(--gold) 20%, #FFF3D1 50%, var(--gold) 80%, rgba(230, 183, 92, 0));
  filter: blur(7px); opacity: 0; transition: opacity .5s;
}
.gate.is-open .gate__leaf { transition-duration: 1.4s; transition-timing-function: cubic-bezier(.7, 0, .2, 1); }
.gate.is-open .gate__leaf--l { transform: rotateY(-112deg); }
.gate.is-open .gate__leaf--r { transform: rotateY(112deg); }
.gate.is-opening .gate__glow { opacity: 1; }

/* ---------- 03 감투 ---------- */
.cloak { position: relative; display: flex; align-items: center; min-height: 72vh; overflow: hidden; background: #05070D; color: var(--text); }
.cloak__media { position: absolute; inset: 0; }
.cloak__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cloak__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 10, 18, 0.88) 0%, rgba(7, 10, 18, 0.55) 48%, rgba(7, 10, 18, 0.08) 100%); }
.cloak__inner { position: relative; padding: clamp(80px, 11vw, 150px) var(--gutter); }
.sec-head--on-dark { border-top-color: var(--line-2); }
.cloak__points { display: grid; gap: 18px; max-width: 900px; }
.cloak__point { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding-top: 16px; border-top: 1px solid var(--line-2); }
.cloak__point i { font-family: var(--font-latin); font-style: italic; font-weight: 600; font-size: 24px; color: var(--gold); line-height: 1.1; }
.cloak__point strong { display: block; font-family: var(--font-serif); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.cloak__point p { color: var(--text-2); font-size: 16px; }
@media (min-width: 760px) { .cloak__points { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* ---------- 04 방망이 (한지) ---------- */
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper .sec-head { border-top-color: var(--paper-line); }
.section--paper .sec-num { color: var(--paper-mute); }
.section--paper .sec-num span { color: var(--vermilion); }
.section--paper .sec-num__icon { fill: var(--vermilion); filter: none; }
.section--paper .sec-lead { color: var(--paper-ink-2); }
.section--paper .sub-title small { color: var(--paper-mute); }
.section--paper .tag { background: #FBF7EE; border-left-color: var(--vermilion); color: var(--paper-ink); }
.section--paper .tag__meta { color: var(--paper-mute); }
.portal--paper .portal__frame { border-color: #CBB98F; box-shadow: 0 30px 50px -40px rgba(30, 27, 22, 0.5); }
.guide { display: grid; gap: 44px; }
.guide__art { max-width: 420px; margin-bottom: 8px; }
.compose { display: grid; border-top: 1px solid var(--paper-line); }
.compose__row {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--paper-line);
}
.compose__num { font-family: var(--font-latin); font-style: italic; font-weight: 600; font-size: 28px; line-height: 1; color: var(--vermilion); }
.compose__row div { display: grid; gap: 2px; }
.compose__row strong { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.compose__row strong em { font-style: normal; font-size: 13px; font-weight: 500; color: var(--paper-mute); margin-left: 6px; letter-spacing: 0.04em; }
.compose__row span:not(.compose__num):not(.compose__val) { font-size: 14px; color: var(--paper-mute); }
.compose__val { font-size: 16px; font-weight: 600; white-space: nowrap; text-align: right; }
.compose__row--opt .compose__num { color: var(--paper-mute); }
.rates { width: 100%; border-collapse: collapse; font-size: 16px; }
.rates th, .rates td { padding: 12px 8px; border-bottom: 1px solid var(--paper-line); text-align: left; }
.rates th { font-weight: 500; color: var(--paper-ink-2); width: 22%; }
.rates td { font-family: var(--font-serif); font-weight: 600; width: 28%; }
.rates__note { margin-top: 12px; font-size: 14px; color: var(--paper-mute); }

.calc {
  position: relative; display: grid; gap: 14px; padding: 26px 22px 26px;
  background: #FBF7EE; border: 1px solid var(--paper-line); border-top: 4px solid var(--vermilion);
  box-shadow: 0 30px 50px -40px rgba(30, 27, 22, 0.45);
}
.calc__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--paper-line); }
.calc__eyebrow { font-family: var(--font-latin); font-weight: 600; font-size: 14px; letter-spacing: 0.24em; color: var(--vermilion); }
.calc__title { font-family: var(--font-serif); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin-top: 2px; }
.seal {
  display: inline-grid; place-items: center; width: 54px; height: 54px; flex: none;
  border: 2px solid var(--vermilion); border-radius: 4px; color: var(--vermilion);
  font-family: var(--font-serif); font-weight: 700; font-size: 19px; letter-spacing: 0.04em;
  transform: rotate(-7deg); box-shadow: inset 0 0 0 2px #FBF7EE, inset 0 0 0 3px var(--vermilion); opacity: 0.9;
}
.calc__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.calc__row label { font-size: 15px; font-weight: 500; color: var(--paper-ink-2); }
.stepper { display: inline-grid; grid-template-columns: 44px 56px 44px; align-items: center; border: 1px solid var(--paper-line); border-radius: 999px; background: #fff; }
.stepper button { height: 44px; background: transparent; border: 0; font-size: 20px; line-height: 1; color: var(--paper-ink); border-radius: 999px; }
.stepper button:hover { background: rgba(30, 27, 22, 0.05); }
.stepper output { text-align: center; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc select {
  height: 44px; min-width: 144px; padding: 0 40px 0 16px; border: 1px solid var(--paper-line); border-radius: 999px; background: #fff;
  font: inherit; font-size: 16px; font-weight: 600; color: var(--paper-ink); appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%231E1B16' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center;
}
.ttukttak {
  position: relative; width: 100%; min-height: 56px; margin-top: 6px; border: 0; border-radius: 999px; overflow: hidden;
  background: var(--paper-ink); color: var(--paper);
  font-family: var(--font-serif); font-size: 18px; font-weight: 700; letter-spacing: 0.04em;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.ttukttak:hover { background: #000; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.6); }
.ttukttak.is-hit { animation: hit .5s ease-out; }
@keyframes hit { 0% { transform: scale(1); } 30% { transform: scale(0.96) rotate(-1deg); } 60% { transform: scale(1.03); } 100% { transform: none; } }
.calc__out { display: grid; gap: 8px; margin-top: 6px; padding-top: 14px; border-top: 1px dashed var(--paper-line); }
.calc__out > div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.calc__out dt { color: var(--paper-ink-2); }
.calc__out dd { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__out > div[hidden] { display: none; }
.calc__total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--paper-ink); align-items: baseline; }
.calc__total dt { font-weight: 600; color: var(--paper-ink); font-size: 16px; }
.calc__total dd { font-family: var(--font-serif); font-size: 34px; font-weight: 700; letter-spacing: -0.01em; line-height: 1; transition: color .3s; }
.calc__total dd.is-veiled { color: var(--paper-mute); }
.calc__note { font-size: 13px; font-weight: 500; color: var(--paper-mute); }
.calc__cta { width: 100%; }

.faq { margin-top: 56px; max-width: 820px; }
.faq__item { border-top: 1px solid var(--paper-line); }
.faq__item:last-child { border-bottom: 1px solid var(--paper-line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--font-latin); font-size: 26px; line-height: 1; color: var(--vermilion); flex: none; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 20px; color: var(--paper-ink-2); max-width: 64ch; }

@media (min-width: 960px) {
  .guide { grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; }
  .calc { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- 05 오시는 길 ---------- */
.visit { display: grid; gap: 44px; }
.info { display: grid; border-top: 1px solid var(--line-2); }
.info__row { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info__row dt { font-size: 14px; font-weight: 600; color: var(--mute); letter-spacing: 0.02em; }
.info__row dd p { color: var(--text-2); max-width: 54ch; }
.info__addr { font-family: var(--font-serif); font-size: 19px; font-weight: 600; color: var(--text) !important; letter-spacing: -0.01em; }
.info__addr span { display: inline-block; margin-top: 2px; font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--mute); }
.hours { display: grid; gap: 6px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; max-width: 360px; font-size: 16px; }
.hours li span { color: var(--text-2); }
.hours li strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.visit__media { display: grid; gap: 28px; }
.map { display: grid; gap: 12px; }
.map__frame { width: 100%; aspect-ratio: 16 / 10; border: 1px solid var(--line-2); background: var(--ink-3); filter: invert(0.92) hue-rotate(185deg) saturate(0.5) contrast(0.95); }
.map__links { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 760px) { .info__row { grid-template-columns: 140px 1fr; gap: 20px; } }
@media (min-width: 960px) { .visit { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } }

/* ---------- 06 우체통 ---------- */
.contact-sec { position: relative; overflow: hidden; background: #05070D; color: var(--text); }
.contact-sec__bg { position: absolute; inset: 0; }
.contact-sec__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.contact-sec__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 10, 18, 0.7), rgba(7, 10, 18, 0.5) 40%, rgba(7, 10, 18, 0.9)); }
.contact-sec__inner { position: relative; padding-top: clamp(80px, 11vw, 150px); padding-bottom: clamp(80px, 11vw, 150px); }
.contact { display: grid; gap: 36px; }
.contact__body { display: grid; gap: 22px; justify-items: start; }
.contact__lead { max-width: 52ch; color: var(--text-2); font-size: 17px; }
.contact__phone {
  font-family: var(--font-latin); font-weight: 600; font-size: clamp(40px, 7vw, 100px); line-height: 1; letter-spacing: 0.02em;
  color: var(--text); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap;
  text-shadow: 0 0 30px rgba(111, 227, 214, 0.25);
}
.contact__phone:hover { color: #fff; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.contact__art { max-width: 380px; }
@media (min-width: 960px) {
  .contact { grid-template-columns: 7fr 5fr; gap: 72px; align-items: center; }
  .contact__art { justify-self: end; width: 100%; }
}

/* ---------- 푸터 ---------- */
.footer { background: #04060B; color: var(--text-2); padding: 24px 0 128px; border-top: 1px solid var(--line); font-size: 15px; }
.footer__mark { font-family: var(--font-latin); font-weight: 600; font-size: clamp(56px, 15vw, 220px); letter-spacing: 0.14em; line-height: 0.95; color: var(--gold); opacity: 0.92; margin: 20px 0 36px -0.02em; }
.footer__grid { display: grid; gap: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer__name { font-family: var(--font-serif); font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; color: var(--flame); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.footer__note { margin-top: 36px; font-size: 14px; color: var(--mute); }
.footer__copy { margin-top: 10px; font-size: 14px; color: var(--mute); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1fr auto; align-items: start; } .footer { padding-bottom: 72px; } }

/* ---------- 모바일 하단 바 ---------- */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
  background: rgba(12, 17, 32, 0.95); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7);
  transition: transform .3s, opacity .3s;
}
.mobile-bar.is-hidden { transform: translateY(130%); opacity: 0; pointer-events: none; }
.mobile-bar__btn { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--text); border: 1px solid var(--line-2); }
.mobile-bar__btn--phone { background: var(--gold); color: var(--ink); border-color: transparent; }
@media (min-width: 960px) { .mobile-bar { display: none; } }

/* ---------- 모션 축소 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .wisp { display: none; }
}
