/* ============================================================
   황실타이마사지 — Imperial Thai Throne
   "왕실의 손길로, 가장 정중한 회복"
   ============================================================ */

:root {
  /* palette — thai imperial */
  --ivory:    #f5ebd6;
  --ivory-2:  #ecdebd;
  --ivory-3:  #e0cf9f;
  --pearl:    #faf1e0;

  --ink:      #2a1810;
  --ink-2:    #3a241a;
  --ink-soft: #5a4030;
  --muted:    #786350;

  --gold:     #c9963d;
  --gold-2:   #e8c47a;
  --gold-deep:#8a6420;

  --saffron:  #d96c2a;
  --jade:     #2d6b5e;
  --ruby:     #9b1d2e;

  --line:     rgba(42, 24, 16, 0.18);
  --line-d:   rgba(232, 196, 122, 0.18);

  /* type */
  --display:  "Cormorant Garamond", "Noto Serif KR", serif;
  --body:     "Cormorant Garamond", "Noto Serif KR", serif;
  --serif-ko: "Noto Serif KR", "Nanum Myeongjo", serif;
  --sans:     "Inter", "Noto Sans KR", system-ui, sans-serif;
  --ko:       "Noto Sans KR", system-ui, sans-serif;
  --mono:     "JetBrains Mono", ui-monospace, monospace;

  --max:      1320px;
  --pad:      clamp(20px, 4vw, 56px);
  --r-card:   2px;
  --ease:     cubic-bezier(.22, 1, .36, 1);
}

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217, 108, 42, 0.08), transparent 60%),
    radial-gradient(ellipse at 0% 70%, rgba(45, 107, 94, 0.08), transparent 60%),
    radial-gradient(ellipse at 100% 50%, rgba(155, 29, 46, 0.06), transparent 60%),
    var(--ivory);
  background-attachment: fixed;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ============================================================
   GOLD LEAF — 떨어지는 금박 입자
   ============================================================ */
.leaves {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.leaf {
  position: absolute;
  will-change: transform, opacity;
}
.leaf--diamond {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 4px rgba(201, 150, 61, 0.5);
  opacity: 0.7;
}
.leaf--gold-flake {
  width: 6px; height: 10px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  border-radius: 50% 0 50% 0;
  opacity: 0.65;
}
.leaf--saffron {
  width: 5px; height: 5px;
  background: var(--saffron);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(217, 108, 42, 0.5);
  opacity: 0.6;
}
.leaf--ruby {
  width: 5px; height: 5px;
  background: var(--ruby);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(155, 29, 46, 0.4);
  opacity: 0.5;
}
.leaf--jade {
  width: 4px; height: 4px;
  background: var(--jade);
  border-radius: 50%;
  opacity: 0.6;
}

/* ============================================================
   PROGRESS — 황금 진행 라인
   ============================================================ */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ink);
  z-index: 100;
}
.progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--saffron), var(--ruby), var(--gold));
}

/* ============================================================
   AURA — 코너 광원
   ============================================================ */
.aura {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}
.aura--gold {
  width: 50vmax; height: 50vmax;
  top: -20vmax; right: -15vmax;
  background: radial-gradient(circle, rgba(201, 150, 61, 0.25), transparent 65%);
}
.aura--ruby {
  width: 40vmax; height: 40vmax;
  bottom: -20vmax; left: -10vmax;
  background: radial-gradient(circle, rgba(155, 29, 46, 0.16), transparent 65%);
}
.aura--jade {
  width: 35vmax; height: 35vmax;
  top: 60vh; right: 20vw;
  background: radial-gradient(circle, rgba(45, 107, 94, 0.15), transparent 65%);
}

/* ============================================================
   TASSELS — 양쪽에 매달린 술 장식, 스크롤로 흔들림
   ============================================================ */
.tassel {
  position: fixed;
  top: -10px;
  width: 36px;
  height: 220px;
  z-index: 5;
  pointer-events: none;
  transform-origin: top center;
  will-change: transform;
}
.tassel--left { left: 14px; }
.tassel--right { right: 14px; }
.tassel__cord {
  position: absolute;
  top: 0; left: 50%;
  width: 2px;
  height: 80px;
  background: var(--gold-deep);
  transform: translateX(-50%);
}
.tassel__bead {
  position: absolute;
  top: 80px;
  left: 50%;
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 30% 30%, var(--gold-2), var(--gold-deep));
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(201, 150, 61, 0.5);
  border: 1px solid var(--gold-deep);
}
.tassel__strands {
  position: absolute;
  top: 96px;
  left: 50%;
  width: 26px;
  height: 110px;
  transform: translateX(-50%);
  background:
    linear-gradient(to right,
      var(--gold-deep) 1px, transparent 1px,
      var(--gold) 3px, transparent 3px,
      var(--gold-deep) 5px, transparent 5px,
      var(--gold) 7px, transparent 7px,
      var(--gold-deep) 9px, transparent 9px,
      var(--gold) 11px, transparent 11px,
      var(--gold-deep) 13px, transparent 13px,
      var(--gold) 15px, transparent 15px,
      var(--gold-deep) 17px, transparent 17px,
      var(--gold) 19px, transparent 19px,
      var(--gold-deep) 21px, transparent 21px,
      var(--gold) 23px, transparent 23px,
      var(--gold-deep) 25px, transparent 25px
    );
  border-radius: 0 0 12px 12px;
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}
@media (max-width: 900px) { .tassel { display: none; } }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: relative;
  z-index: 6;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  border-bottom: 2px solid var(--gold);
  text-transform: uppercase;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  flex-wrap: wrap;
  gap: 14px;
}
.topbar__group { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201, 150, 61, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; box-shadow: 0 0 8px rgba(201, 150, 61, 0.4); }
  50%      { opacity: 1; box-shadow: 0 0 16px rgba(201, 150, 61, 0.9); }
}
.k { color: var(--gold); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 235, 214, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.header.scrolled {
  border-color: var(--gold);
  background: rgba(245, 235, 214, 0.95);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand__mark {
  width: 50px; height: 50px;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  position: relative;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  font-weight: 600;
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.5;
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed var(--gold);
  border-radius: 50%;
  opacity: 0.5;
}
.brand__name {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--saffron);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 5px;
  font-weight: 500;
}
.nav {
  display: flex;
  gap: 36px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--ink);
  font-weight: 500;
}
.nav a {
  position: relative;
  padding: 4px 0;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--saffron);
  transition: width .3s var(--ease);
}
.nav a:hover { color: var(--saffron); }
.nav a:hover::after { width: 100%; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  background: var(--ink);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 500;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.cta:hover { background: var(--gold); color: var(--ink); }
.cta svg { width: 12px; height: 12px; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  background: var(--ink);
  color: var(--gold);
  border: 1px solid var(--gold);
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

main { position: relative; z-index: 3; }

/* ============================================================
   ORNAMENT DIVIDER — 황금 태국 패턴
   ============================================================ */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 30px 0;
  color: var(--gold);
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  max-width: 280px;
}
.divider svg {
  width: 36px; height: 36px;
}

/* ============================================================
   HERO — 가운데 정렬 + 큰 만다라
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(60px, 10vh, 110px) 0 clamp(70px, 12vh, 120px);
  text-align: center;
}
.hero__inner { width: 100%; position: relative; }
.hero__mandala {
  margin: 0 auto 40px;
  width: clamp(160px, 22vw, 240px);
  height: clamp(160px, 22vw, 240px);
  color: var(--gold);
  position: relative;
  will-change: transform;
}
.hero__mandala-inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.hero__mandala-inner svg { width: 100%; height: 100%; }
.hero__pretitle {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 36px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-weight: 500;
}
.hero__pretitle::before, .hero__pretitle::after {
  content: "";
  width: 36px; height: 1px;
  background: var(--gold-deep);
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(56px, 11vw, 180px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 36px;
}
.hero__title .row { display: block; }
.hero__title .ko-row {
  font-family: var(--serif-ko);
  font-weight: 600;
  letter-spacing: -0.04em;
}
.hero__title .ital {
  font-style: italic;
  background: linear-gradient(135deg, var(--saffron), var(--gold), var(--ruby));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
.hero__sub {
  font-family: var(--body);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 23px);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 44px;
  font-weight: 400;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 500;
  border: 1px solid var(--gold);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--saffron); border-color: var(--saffron); color: var(--ivory); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--gold); transform: translateY(-2px); }
.btn svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }

/* HERO STATS */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.stat {
  padding: 22px 26px;
  border-right: 1px solid var(--gold);
  text-align: center;
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.stat__num span.unit {
  font-size: 0.5em;
  margin-left: 4px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}
.stat__label {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  position: relative;
  z-index: 4;
  overflow: hidden;
  background: var(--ink);
  color: var(--gold);
  padding: 26px 0;
  border-block: 1px solid var(--gold);
}
.marquee--gold { background: var(--gold); color: var(--ink); }
.marquee--ruby { background: var(--ruby); color: var(--gold-2); }
.marquee__track {
  display: flex;
  gap: 50px;
  white-space: nowrap;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(28px, 4.5vw, 56px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.01em;
  will-change: transform;
}
.marquee__track > span {
  display: inline-flex;
  align-items: center;
  gap: 50px;
}
.m-orn {
  display: inline-block;
  width: 0.7em; height: 0.7em;
  flex-shrink: 0;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  padding: clamp(100px, 15vh, 180px) 0;
  position: relative;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--saffron);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--saffron);
}
.section__title {
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 100px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.0;
}
.section__title .ital {
  font-style: italic;
  background: linear-gradient(135deg, var(--saffron), var(--ruby));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__title .ko-row {
  font-family: var(--serif-ko);
  font-weight: 600;
}
.section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: end;
}
.section__intro {
  font-family: var(--body);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 520px;
  font-weight: 400;
}

/* ============================================================
   ABOUT — sticky 거대 만다라 + 챕터
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.about__sticky {
  position: sticky;
  top: 120px;
  text-align: center;
}
.about__big-mandala {
  position: relative;
  display: inline-block;
  width: clamp(280px, 32vw, 440px);
  aspect-ratio: 1;
  margin-bottom: 30px;
  will-change: transform;
}
.about__big-mandala svg {
  width: 100%; height: 100%;
}
.about__cap {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  font-weight: 500;
}
.about__cap::before, .about__cap::after {
  content: "";
  width: 30px; height: 1px;
  background: var(--gold);
}

.chapter-list { display: grid; gap: 0; }
.chapter {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.chapter:first-child { border-top: 1px solid var(--line); }
.chapter__num {
  font-family: var(--display);
  font-style: italic;
  font-size: 38px;
  font-weight: 500;
  color: var(--saffron);
  line-height: 1;
  letter-spacing: -0.02em;
}
.chapter__cap {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
  display: block;
  font-weight: 500;
}
.chapter h3 {
  font-family: var(--ko);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}
.chapter h3 .ital {
  font-family: var(--display);
  font-style: italic;
  background: linear-gradient(135deg, var(--saffron), var(--ruby));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
.chapter p {
  font-family: var(--body);
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.85;
  font-weight: 400;
}

/* ============================================================
   PROGRAMS — 황금 코너 카드
   ============================================================ */
.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.royal-card {
  background: var(--ivory-2);
  border: 1px solid var(--gold);
  border-radius: var(--r-card);
  padding: 40px 32px 32px;
  position: relative;
  text-align: center;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.royal-card:hover {
  transform: translateY(-6px);
  background: var(--pearl);
}
/* 4 모서리 황금 장식 */
.royal-card::before,
.royal-card::after,
.royal-card .corner-bl,
.royal-card .corner-br {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.royal-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.royal-card::after  { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.royal-card .corner-bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.royal-card .corner-br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.royal-card__num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--saffron);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.royal-card__icon {
  width: 70px; height: 70px;
  margin: 0 auto 22px;
  color: var(--gold);
}
.royal-card__name {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.royal-card__name-ko {
  font-family: var(--serif-ko);
  font-weight: 600;
  font-size: 16px;
  color: var(--saffron);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.royal-card__desc {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 28px;
  font-weight: 400;
}
.royal-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-top: 22px;
  border-top: 1px solid var(--gold);
}
.royal-card__time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
.royal-card__price {
  font-family: var(--display);
  font-style: italic;
  font-size: 30px;
  color: var(--saffron);
  font-weight: 600;
}
.royal-card__price small {
  font-size: 0.5em;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  margin-left: 3px;
  font-style: normal;
}

/* ============================================================
   THRONE — 큰 왕좌 SVG 섹션
   ============================================================ */
.throne {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(120px, 18vh, 200px) 0;
  position: relative;
  border-block: 2px solid var(--gold);
  overflow: hidden;
}
.throne::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 150, 61, 0.18), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(155, 29, 46, 0.15), transparent 60%);
  pointer-events: none;
}
.throne .section__title { color: var(--ivory); }
.throne .section__intro { color: rgba(245, 235, 214, 0.78); }
.throne .eyebrow { color: var(--gold); }
.throne .eyebrow::before { background: var(--gold); }
.throne .section__title .ital {
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  -webkit-background-clip: text;
  background-clip: text;
}

.throne__inner {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 70px;
}
.throne__chart {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 600px;
  aspect-ratio: 1;
}
.throne__chart-svg { width: 100%; height: 100%; }
.throne__chart-svg .frame {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.8;
  opacity: 0.5;
}
.throne__chart-svg .frame--dash {
  stroke-dasharray: 4 3;
  opacity: 0.4;
}
.throne__chart-svg .ray {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.6;
  opacity: 0.4;
  stroke-dasharray: var(--len, 300);
  stroke-dashoffset: var(--len, 300);
  transition: stroke-dashoffset 1.6s var(--ease);
}
.throne__chart-svg .petal {
  fill: var(--gold-deep);
  stroke: var(--gold);
  stroke-width: 0.8;
  opacity: 0.85;
  transform-origin: 300px 300px;
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.throne__chart-svg .petal--ruby { fill: var(--ruby); }
.throne__chart-svg .petal--saffron { fill: var(--saffron); }
.throne__chart-svg .petal--jade { fill: var(--jade); }
.throne__chart-svg.in .petal { opacity: 0.85; }
.throne__chart-svg.in .ray { stroke-dashoffset: 0; }
.throne__chart-svg .center-dot {
  fill: var(--gold-2);
  filter: drop-shadow(0 0 12px var(--gold));
  opacity: 0;
  transition: opacity .6s var(--ease);
  transition-delay: 1.4s;
}
.throne__chart-svg.in .center-dot { opacity: 1; }
.throne__chart-svg .label {
  fill: var(--gold);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-anchor: middle;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .6s var(--ease);
  transition-delay: 1.8s;
}
.throne__chart-svg.in .label { opacity: 0.8; }

/* ============================================================
   QUOTE
   ============================================================ */
.quote {
  padding: clamp(100px, 16vh, 180px) 0;
}
.quote__inner {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}
.quote__mark {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 130px;
  line-height: 0.4;
  color: var(--saffron);
  margin-bottom: 40px;
  opacity: 0.7;
}
.quote__text {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(30px, 4.8vw, 60px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}
.quote__text .ruby { color: var(--ruby); }
.quote__attr {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--saffron);
  font-weight: 500;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: clamp(100px, 14vh, 160px) 0; }
.contact__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
}
.contact__copy h2 {
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 100px);
  color: var(--ink);
  margin-bottom: 36px;
  letter-spacing: -0.02em;
  line-height: 1;
  font-weight: 500;
}
.contact__copy h2 .ital {
  font-style: italic;
  background: linear-gradient(135deg, var(--saffron), var(--ruby));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact__copy h2 .ko-row {
  font-family: var(--serif-ko);
  font-weight: 600;
}
.contact__copy p {
  font-family: var(--body);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 460px;
  font-weight: 400;
}
.contact__list { display: grid; gap: 0; }
.contact__item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.contact__item:first-child { border-top: 1px solid var(--line); }
.contact__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--saffron);
  font-weight: 500;
}
.contact__value {
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
}
.contact__value .ital { font-style: italic; color: var(--saffron); }
.contact__value a:hover { color: var(--saffron); }

.contact__card {
  background: var(--ink);
  color: var(--ivory);
  padding: 56px 48px;
  border-radius: var(--r-card);
  border: 1px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.contact__card::before,
.contact__card::after,
.contact__card .corner-bl,
.contact__card .corner-br {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.contact__card::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.contact__card::after  { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.contact__card .corner-bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.contact__card .corner-br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.contact__card-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.contact__card-eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--gold);
}
.contact__card h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 42px);
  color: var(--ivory);
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.contact__card h3 .ital {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact__card p {
  font-family: var(--body);
  font-style: italic;
  color: rgba(245, 235, 214, 0.85);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 400;
}
.contact__card .btn--gold:hover {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--ink);
}

/* ============================================================
   FOOTER — 큰 왕실 인장
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(245, 235, 214, 0.7);
  padding: 80px 0 32px;
  border-top: 2px solid var(--gold);
  position: relative;
  z-index: 4;
  overflow: hidden;
}
.footer__crest {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.footer__seal {
  width: 140px;
  height: 140px;
  position: relative;
  flex-shrink: 0;
  will-change: transform;
}
.footer__seal svg {
  width: 100%; height: 100%;
  color: var(--gold);
}
.footer__giant {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(60px, 12vw, 180px);
  font-weight: 500;
  background: linear-gradient(135deg, var(--gold), var(--saffron), var(--ruby));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 0.85;
  letter-spacing: -0.04em;
  flex: 1;
  min-width: 0;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--gold);
}
.footer__brand .brand__name { color: var(--ivory); }
.footer__brand .brand__sub { color: var(--gold); }
.footer__brand p {
  font-family: var(--body);
  font-style: italic;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.7;
  max-width: 360px;
  color: var(--ivory);
  opacity: 0.85;
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer__col ul { display: grid; gap: 10px; font-size: 13px; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-family: var(--mono);
  letter-spacing: 0.25em;
  flex-wrap: wrap;
  gap: 12px;
  text-transform: uppercase;
  color: rgba(245, 235, 214, 0.7);
}
.footer__biz { color: rgba(245, 235, 214, 0.45); }

/* ============================================================
   reveal — 가운데에서 양쪽으로 펼쳐지는 애니메이션
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .1s; }
.reveal--d2 { transition-delay: .2s; }
.reveal--d3 { transition-delay: .3s; }
.reveal--d4 { transition-delay: .4s; }

/* center-out reveal (대칭 펼치기) */
.unfold {
  opacity: 0;
  transform: scaleX(0.7);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.unfold.in { opacity: 1; transform: scaleX(1); }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: var(--pad);
    background: var(--ink);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 22px 26px;
    border-radius: 4px;
    gap: 18px;
  }
  .nav.open a { color: var(--gold); }
  .header__inner > .cta { display: none; }
  .programs__grid { grid-template-columns: 1fr 1fr; }
  .section__head { grid-template-columns: 1fr; gap: 24px; }
  .about__grid { grid-template-columns: 1fr; gap: 60px; }
  .about__sticky { position: relative; top: auto; }
  .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--gold); }
}
@media (max-width: 600px) {
  .programs__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .topbar__group { gap: 14px; }
  .topbar__inner { font-size: 9px; }
  .contact__card { padding: 40px 32px; }
  .footer__crest { gap: 24px; }
  .footer__seal { width: 100px; height: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  .leaf, .marquee__track, .about__big-mandala, .hero__mandala, .footer__seal,
  .aura, .tassel { transition: none !important; transform: none !important; animation: none !important; }
  .throne__chart-svg .ray { stroke-dashoffset: 0 !important; }
  .throne__chart-svg .petal, .throne__chart-svg .center-dot, .throne__chart-svg .label { opacity: 1 !important; }
  html { scroll-behavior: auto; }
  .dot { animation: none; }
}
