/* ============================================================
   힐링마사지 — Celestial · Cosmic Sanctuary
   "별 아래에서, 가장 고요한 회복"
   ============================================================ */

:root {
  /* palette — cosmic night */
  --void:    #07091c;
  --night:   #0d1230;
  --night-2: #161c40;
  --night-3: #20275a;

  --pearl:   #f0ebe0;
  --silver:  #c8d4e8;
  --silver-2:#9da9c2;
  --gold:    #e8c87a;
  --gold-2:  #d4ae5a;
  --nebula:  #d4a4e0;
  --aurora:  #88d4c8;
  --rose:    #e89db0;
  --muted:   #6b7290;

  --line:    rgba(232, 200, 122, 0.14);

  /* type */
  --display: "Italiana", "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:  4px;
  --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(--night);
  color: var(--pearl);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(212, 164, 224, 0.12), transparent 50%),
    radial-gradient(ellipse at 0% 60%, rgba(136, 212, 200, 0.08), transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(232, 200, 122, 0.07), transparent 60%),
    var(--night);
  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: 400; line-height: 1.0; 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); }

/* ============================================================
   COMET CURSOR — 마우스 따라가는 작은 별 + 트레일
   ============================================================ */
.comet {
  position: fixed;
  top: 0; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  pointer-events: none;
  z-index: 95;
  transform: translate3d(-100px, -100px, 0);
  filter: blur(2px);
  box-shadow: 0 0 16px var(--gold), 0 0 32px rgba(232, 200, 122, 0.4);
  mix-blend-mode: screen;
  will-change: transform;
}
.comet-trail {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 94;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 6px var(--gold);
  opacity: 0;
  mix-blend-mode: screen;
}
@media (hover: none) { .comet, .comet-trail { display: none; } }

/* ============================================================
   PROGRESS — 상단 별빛 라인
   ============================================================ */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(232, 200, 122, 0.1);
  z-index: 100;
}
.progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--nebula), var(--aurora), var(--gold));
  box-shadow: 0 0 8px rgba(232, 200, 122, 0.5);
}

/* ============================================================
   STARFIELD — 페이지 전체 반짝이는 별들
   ============================================================ */
.starfield {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: var(--pearl);
  will-change: transform, opacity;
}
.star--lg {
  width: 3px; height: 3px;
  box-shadow: 0 0 6px var(--pearl), 0 0 12px rgba(240, 235, 224, 0.4);
  animation: twinkleA 3s ease-in-out infinite;
}
.star--md {
  width: 2px; height: 2px;
  box-shadow: 0 0 4px var(--pearl);
  opacity: 0.7;
  animation: twinkleB 4s ease-in-out infinite;
}
.star--sm {
  width: 1.5px; height: 1.5px;
  opacity: 0.55;
  animation: twinkleA 5s ease-in-out infinite;
}
.star--gold {
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold), 0 0 12px rgba(232, 200, 122, 0.5);
}
.star--nebula {
  background: var(--nebula);
  box-shadow: 0 0 6px var(--nebula), 0 0 12px rgba(212, 164, 224, 0.5);
}
.star--aurora {
  background: var(--aurora);
  box-shadow: 0 0 6px var(--aurora), 0 0 12px rgba(136, 212, 200, 0.5);
}
@keyframes twinkleA {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50%      { opacity: 1; transform: scale(1.15); }
}
@keyframes twinkleB {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 0.25; transform: scale(0.7); }
}

/* nebula clouds */
.nebula {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform, border-radius;
  mix-blend-mode: screen;
}
.nebula--purple {
  width: 60vmax; height: 60vmax;
  top: -20vmax; right: -20vmax;
  background: radial-gradient(circle, rgba(212, 164, 224, 0.25), transparent 65%);
}
.nebula--teal {
  width: 50vmax; height: 50vmax;
  bottom: -25vmax; left: -15vmax;
  background: radial-gradient(circle, rgba(136, 212, 200, 0.22), transparent 65%);
}
.nebula--gold {
  width: 30vmax; height: 30vmax;
  top: 50vh; left: 30vw;
  background: radial-gradient(circle, rgba(232, 200, 122, 0.18), transparent 65%);
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: relative;
  z-index: 6;
  background: var(--void);
  color: var(--silver);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  border-bottom: 1px solid var(--line);
}
.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(232, 200, 122, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; box-shadow: 0 0 8px rgba(232, 200, 122, 0.4); }
  50%      { opacity: 1; box-shadow: 0 0 16px rgba(232, 200, 122, 0.9); }
}
.k { color: var(--gold); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 18, 48, 0.65);
  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(--line);
  background: rgba(7, 9, 28, 0.92);
}
.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(--night-3);
  color: var(--gold);
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: relative;
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
  font-weight: 500;
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.4;
}
.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: 500;
  font-size: 22px;
  color: var(--pearl);
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 5px;
}
.nav {
  display: flex;
  gap: 36px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--silver);
}
.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(--gold);
  transition: width .3s var(--ease);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { width: 100%; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  background: transparent;
  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;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.cta:hover { background: var(--gold); color: var(--void); }
.cta svg { width: 12px; height: 12px; }

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

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

/* ============================================================
   HERO — 가운데 정렬 + 큰 황도 12궁 휠
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(60px, 10vh, 110px) 0 clamp(80px, 14vh, 160px);
  text-align: center;
}
.hero__sym {
  margin: 0 auto 30px;
  width: 64px;
  height: 64px;
  color: var(--gold);
  position: relative;
}
.hero__pretitle {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.hero__pretitle::before, .hero__pretitle::after {
  content: "";
  width: 36px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(60px, 11vw, 180px);
  font-weight: 400;
  color: var(--pearl);
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 36px;
  position: relative;
}
.hero__title .row { display: block; }
.hero__title .ko-row {
  font-family: var(--serif-ko);
  font-weight: 500;
  letter-spacing: -0.04em;
}
.hero__title .ital {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--nebula), var(--aurora));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 400;
}
.hero__sub {
  font-family: var(--body);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 23px);
  color: var(--silver);
  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;
  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(--void); }
.btn--gold:hover { background: var(--pearl); border-color: var(--pearl); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: var(--gold); color: var(--void); 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(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 22px 26px;
  border-right: 1px solid var(--line);
  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(--gold);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.stat__num span.unit {
  font-size: 0.5em;
  margin-left: 4px;
  color: var(--pearl);
  font-style: normal;
  font-weight: 400;
}
.stat__label {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--silver-2);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  position: relative;
  z-index: 4;
  overflow: hidden;
  background: var(--void);
  color: var(--gold);
  padding: 24px 0;
  border-block: 1px solid var(--line);
}
.marquee--gold { background: var(--gold); color: var(--void); }
.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: 400;
  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(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
}
.section__title {
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 100px);
  font-weight: 400;
  color: var(--pearl);
  letter-spacing: -0.02em;
  line-height: 1.0;
}
.section__title .ital {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--nebula));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__title .ko-row {
  font-family: var(--serif-ko);
  font-weight: 500;
}
.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(--silver);
  line-height: 1.7;
  max-width: 520px;
  font-weight: 400;
}

/* ============================================================
   ABOUT — sticky 회전 황도 12궁 휠
   ============================================================ */
.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__wheel {
  position: relative;
  display: inline-block;
  width: clamp(260px, 30vw, 420px);
  aspect-ratio: 1;
  margin-bottom: 30px;
  will-change: transform;
}
.about__wheel-svg {
  width: 100%; height: 100%;
}
.about__wheel-svg .ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  opacity: 0.5;
}
.about__wheel-svg .ring--dash {
  stroke-dasharray: 4 3;
  opacity: 0.4;
}
.about__wheel-svg .glyph {
  fill: var(--gold);
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  text-anchor: middle;
}
.about__wheel-svg .star-pt {
  fill: var(--pearl);
  filter: drop-shadow(0 0 4px var(--pearl));
}
.about__wheel-svg .crosshair {
  stroke: var(--gold);
  stroke-width: 0.5;
  opacity: 0.5;
}
.about__wheel-svg .center {
  fill: var(--gold);
}
.about__wheel-cap {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver-2);
}

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

/* ============================================================
   PROGRAMS — 별자리 카드 그리드
   ============================================================ */
.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.constel-card {
  background: var(--night-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 36px 30px 30px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.constel-card:hover {
  transform: translateY(-6px);
  background: var(--night-3);
  border-color: var(--gold);
}
.constel-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}
.constel-card__num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.constel-card__num::before {
  content: "";
  width: 14px; height: 1px;
  background: var(--gold);
}
.constel-card__visual {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}
.constel-card__visual svg {
  width: 100%; height: 100%;
}
.constel-card__visual .c-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.6;
  opacity: 0.6;
  stroke-dasharray: var(--len, 200);
  stroke-dashoffset: var(--len, 200);
  transition: stroke-dashoffset 1.6s var(--ease);
  transition-delay: var(--delay, 0s);
}
.constel-card__visual.in .c-line { stroke-dashoffset: 0; }
.constel-card__visual .c-star {
  fill: var(--pearl);
  filter: drop-shadow(0 0 4px var(--pearl));
}
.constel-card__visual .c-star--gold {
  fill: var(--gold);
  filter: drop-shadow(0 0 4px var(--gold));
}
.constel-card__visual .c-star--nebula {
  fill: var(--nebula);
  filter: drop-shadow(0 0 4px var(--nebula));
}

.constel-card__name {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(26px, 2.8vw, 34px);
  color: var(--pearl);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.constel-card__name-ko {
  font-family: var(--serif-ko);
  font-weight: 500;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.constel-card__desc {
  font-family: var(--body);
  font-size: 16px;
  color: var(--silver);
  line-height: 1.85;
  margin-bottom: 24px;
  font-weight: 400;
}
.constel-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.constel-card__time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--silver-2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.constel-card__price {
  font-family: var(--display);
  font-style: italic;
  font-size: 30px;
  color: var(--gold);
  font-weight: 500;
}
.constel-card__price small {
  font-size: 0.5em;
  color: var(--silver-2);
  letter-spacing: 0.1em;
  margin-left: 3px;
  font-style: normal;
}

/* ============================================================
   STAR MAP — 큰 별자리 차트
   ============================================================ */
.starmap {
  background: var(--void);
  border-block: 1px solid var(--line);
  padding: clamp(120px, 18vh, 200px) 0;
  position: relative;
}
.starmap__inner {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 60px;
}
.starmap__chart {
  margin: 0 auto;
  max-width: 720px;
  aspect-ratio: 1;
  position: relative;
}
.starmap__chart-svg { width: 100%; height: 100%; }
.starmap__chart-svg .frame {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.6;
  opacity: 0.5;
}
.starmap__chart-svg .frame--dash {
  stroke-dasharray: 3 3;
  opacity: 0.3;
}
.starmap__chart-svg .m-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.8;
  stroke-dasharray: var(--len, 600);
  stroke-dashoffset: var(--len, 600);
  transition: stroke-dashoffset 2.4s var(--ease);
  opacity: 0.7;
}
.starmap__chart-svg .m-line--nebula { stroke: var(--nebula); transition-delay: .3s; }
.starmap__chart-svg .m-line--aurora { stroke: var(--aurora); transition-delay: .6s; }
.starmap__chart-svg.in .m-line { stroke-dashoffset: 0; }
.starmap__chart-svg .b-star {
  fill: var(--pearl);
  filter: drop-shadow(0 0 6px var(--pearl)) drop-shadow(0 0 12px rgba(240, 235, 224, 0.4));
  opacity: 0;
  transition: opacity .8s var(--ease);
  transition-delay: 1.4s;
}
.starmap__chart-svg.in .b-star { opacity: 1; }
.starmap__chart-svg .b-label {
  fill: var(--silver-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-anchor: middle;
  opacity: 0;
  transition: opacity .8s var(--ease);
  transition-delay: 1.8s;
}
.starmap__chart-svg.in .b-label { opacity: 0.85; }

/* ============================================================
   QUOTE
   ============================================================ */
.quote {
  padding: clamp(100px, 16vh, 180px) 0;
  position: relative;
}
.quote__inner {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.quote__mark {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 130px;
  line-height: 0.4;
  color: var(--gold);
  margin-bottom: 40px;
  opacity: 0.6;
}
.quote__text {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(30px, 4.8vw, 60px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--pearl);
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}
.quote__text .gold {
  background: linear-gradient(135deg, var(--gold), var(--nebula));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quote__attr {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   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(--pearl);
  margin-bottom: 36px;
  letter-spacing: -0.02em;
  line-height: 1;
  font-weight: 400;
}
.contact__copy h2 .ital {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--nebula));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact__copy h2 .ko-row {
  font-family: var(--serif-ko);
  font-weight: 500;
}
.contact__copy p {
  font-family: var(--body);
  font-style: italic;
  font-size: 19px;
  color: var(--silver);
  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(--gold);
}
.contact__value {
  font-family: var(--display);
  font-size: 22px;
  color: var(--pearl);
  font-weight: 400;
}
.contact__value .ital { font-style: italic; color: var(--gold); }
.contact__value a:hover { color: var(--gold); }

.contact__card {
  background: var(--night-2);
  border: 1px solid var(--line);
  padding: 56px 48px;
  border-radius: var(--r-card);
  position: relative;
  overflow: hidden;
}
.contact__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.contact__card::after {
  content: "";
  position: absolute;
  bottom: -100px; right: -100px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(212, 164, 224, 0.25), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.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;
}
.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(--pearl);
  margin-bottom: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}
.contact__card h3 .ital {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--nebula));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact__card p {
  font-family: var(--body);
  font-style: italic;
  color: var(--silver);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 400;
  position: relative;
  z-index: 2;
}
.contact__card .btn { position: relative; z-index: 2; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--void);
  color: var(--silver-2);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 4;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 200px;
  background: radial-gradient(ellipse, rgba(232, 200, 122, 0.15), transparent 70%);
  filter: blur(40px);
}
.footer__giant {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(70px, 14vw, 200px);
  font-weight: 400;
  background: linear-gradient(135deg, var(--gold), var(--nebula), var(--aurora));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin-bottom: 50px;
  position: relative;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.footer__brand .brand__name { color: var(--pearl); }
.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(--silver);
}
.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: 400;
}
.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;
  position: relative;
}
.footer__biz { color: var(--muted); }

/* ============================================================
   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; }

/* ============================================================
   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(--night-2);
    border: 1px solid var(--line);
    padding: 22px 26px;
    border-radius: 4px;
    gap: 18px;
  }
  .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(--line); }
  .comet, .comet-trail { display: none; }
}
@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; }
}

@media (prefers-reduced-motion: reduce) {
  .star, .nebula, .marquee__track, .about__wheel { animation: none !important; transition: none !important; transform: none !important; }
  .starmap__chart-svg .m-line { stroke-dashoffset: 0 !important; }
  .starmap__chart-svg .b-star, .starmap__chart-svg .b-label,
  .constel-card__visual .c-line { opacity: 1 !important; stroke-dashoffset: 0 !important; }
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  .comet, .comet-trail { display: none; }
}
