/* ============================================================
   카이로 경락 마사지 — Meridian Atlas
   "몸의 길을 따라, 정직하게 풀어내는 시간"
   ============================================================ */

:root {
  /* palette — clay & ink earth */
  --paper:    #efe7d2;
  --paper-2:  #e3d9bd;
  --paper-3:  #d8cda8;

  --ink:      #1a2540;
  --ink-2:    #2c3858;
  --ink-soft: #4a566f;

  --clay:     #b94e3a;
  --clay-2:   #d36a52;
  --clay-soft:#ecc4b9;

  --sage:     #6b7d52;
  --sage-2:   #8a9d6e;
  --sage-soft:#cdd5b9;

  --ochre:    #c89e4a;
  --ochre-soft:#ecdba9;

  --muted:    #7d7460;

  /* type */
  --display:  "Fraunces", "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:   8px;
  --ease:     cubic-bezier(.22, 1, .36, 1);
}

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 종이 격자 (작은) */
  background-image:
    linear-gradient(to right, rgba(26, 37, 64, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26, 37, 64, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
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.0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ============================================================
   TOPOGRAPHIC LINES — 페이지 전체 배경에 흐르는 등고선 SVG
   ============================================================ */
.topo {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.topo svg {
  width: 100%; height: 100%;
}
.topo path {
  fill: none;
  stroke: var(--clay);
  stroke-width: 0.7;
  opacity: 0.16;
  will-change: transform;
}

/* paper grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

/* ============================================================
   ACUPRESSURE DOTS — 페이지 전체에 떠다니는 지압점
   ============================================================ */
.points {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.point {
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--clay);
  border-radius: 50%;
  background: var(--paper);
  will-change: transform, opacity;
  transition: transform .4s var(--ease);
  opacity: 0;
}
.point::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed var(--clay);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.point.on {
  opacity: 1;
  animation: pointPulse 3s ease-in-out infinite;
}
.point.on::before {
  opacity: 0.5;
  transform: scale(1);
  animation: ringPulse 3s ease-in-out infinite;
}
.point--sage { border-color: var(--sage); }
.point--sage::before { border-color: var(--sage); }
.point--ochre { border-color: var(--ochre); }
.point--ochre::before { border-color: var(--ochre); }
.point--ink { border-color: var(--ink); }
.point--ink::before { border-color: var(--ink); }

@keyframes pointPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); }
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%      { transform: scale(1.5); opacity: 0; }
}

/* point 라벨 (옵션) */
.point__lbl {
  position: absolute;
  top: 50%; left: calc(100% + 8px);
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ============================================================
   PROGRESS — 좌측 세로 측정 자
   ============================================================ */
.ruler {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 28px;
  z-index: 60;
  background: var(--paper-2);
  border-right: 1px solid var(--ink);
  pointer-events: none;
}
.ruler__ticks {
  position: absolute;
  inset: 60px 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 19px,
    var(--ink) 19px,
    var(--ink) 20px
  );
  opacity: 0.25;
}
.ruler__needle {
  position: absolute;
  left: 0;
  width: 28px;
  height: 4px;
  background: var(--clay);
  top: var(--needle-y, 0%);
  transition: top .15s linear;
  box-shadow: 0 0 0 2px var(--paper);
}
.ruler__needle::after {
  content: "";
  position: absolute;
  right: -6px; top: -3px;
  width: 0; height: 0;
  border-left: 6px solid var(--clay);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.ruler__pct {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%) rotate(-90deg);
  transform-origin: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 700px) { .ruler { display: none; } }

/* ============================================================
   COMPASS — 우측 하단에 떠 있는 회전 컴퍼스
   ============================================================ */
.compass {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 84px; height: 84px;
  z-index: 60;
  pointer-events: none;
}
.compass__face {
  position: absolute;
  inset: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 4px 14px rgba(26, 37, 64, 0.08);
}
.compass__face::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed var(--ink-soft);
  border-radius: 50%;
  opacity: 0.5;
}
.compass__needle {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  will-change: transform;
}
.compass__needle svg {
  width: 60%; height: 60%;
  color: var(--clay);
}
.compass__cap {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 700px) { .compass { width: 64px; height: 64px; right: 14px; bottom: 14px; } }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: relative;
  z-index: 6;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding-left: 28px;
}
.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(--ochre);
  box-shadow: 0 0 0 3px rgba(200, 158, 74, 0.25);
  animation: glow 2.4s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(200, 158, 74, 0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(200, 158, 74, 0); }
}
.k { color: var(--ochre); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 231, 210, 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);
  padding-left: 28px;
}
.header.scrolled {
  border-color: rgba(26, 37, 64, 0.15);
  background: rgba(239, 231, 210, 0.94);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand__mark {
  width: 48px; height: 48px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  border-radius: 50%;
  position: relative;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  opacity: 0.4;
}
.brand__mark::after {
  content: "";
  position: absolute;
  width: 4px; height: 4px;
  background: var(--clay);
  border-radius: 50%;
  bottom: -4px;
  right: 4px;
}
.brand__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--clay);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 5px;
}
.nav {
  display: flex;
  gap: 30px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink);
}
.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(--clay);
  transition: width .25s var(--ease);
}
.nav a:hover { color: var(--clay); }
.nav a:hover::after { width: 100%; }

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

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

main { position: relative; z-index: 3; padding-left: 28px; }

/* ============================================================
   HERO — 좌측 거대 타이포 + 우측 해부학 SVG
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(60px, 10vh, 110px) 0 clamp(60px, 12vh, 130px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__pretitle {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero__pretitle::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--clay);
}
.hero__title {
  font-size: clamp(50px, 8vw, 130px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 32px;
}
.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; color: var(--clay); font-weight: 400; }
.hero__title .underline {
  position: relative;
  display: inline-block;
}
.hero__title .underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.04em;
  height: 0.08em;
  background: var(--ochre);
  z-index: -1;
}
.hero__sub {
  font-family: var(--serif-ko);
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border: 1px solid var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
}
.btn--ink   { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--clay); border-color: var(--clay); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }

/* HERO 해부학 SVG (우측) */
.hero__figure {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  border-radius: var(--r-card);
  padding: 24px;
  overflow: hidden;
}
.hero__figure::before {
  content: "DIAGRAM · HUMAN · FIG. 01";
  position: absolute;
  top: 14px; left: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.hero__figure::after {
  content: "SCALE 1 : 1";
  position: absolute;
  bottom: 14px; right: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.hero__figure-svg {
  width: 100%; height: 100%;
}
.hero__figure-svg .body-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero__figure-svg .meridian {
  fill: none;
  stroke: var(--clay);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: var(--len, 600);
  stroke-dashoffset: var(--len, 600);
  transition: stroke-dashoffset 2.4s var(--ease);
  transition-delay: var(--delay, 0s);
}
.hero__figure-svg.in .meridian {
  stroke-dashoffset: 0;
}
.hero__figure-svg .acu {
  fill: var(--paper);
  stroke: var(--clay);
  stroke-width: 1.4;
  opacity: 0;
  transition: opacity .6s var(--ease);
  transition-delay: 1.2s;
}
.hero__figure-svg.in .acu { opacity: 1; }
.hero__figure-svg .label {
  font-family: var(--mono);
  font-size: 7px;
  fill: var(--ink-soft);
  letter-spacing: 0.15em;
  opacity: 0;
  transition: opacity .6s var(--ease);
  transition-delay: 1.6s;
}
.hero__figure-svg.in .label { opacity: 0.85; }

/* HERO STATS */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.stat {
  padding: 22px 26px;
  border-right: 1px solid var(--ink);
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.stat__num span.unit {
  font-size: 0.45em;
  margin-left: 4px;
  color: var(--clay);
  font-style: italic;
}
.stat__label {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  position: relative;
  z-index: 4;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: 22px 0;
  border-block: 1px solid var(--ink);
  margin-left: -28px;
  padding-left: 28px;
}
.marquee--clay { background: var(--clay); }
.marquee--paper { background: var(--paper-2); color: var(--ink); border-block-color: var(--ink); }
.marquee__track {
  display: flex;
  gap: 44px;
  white-space: nowrap;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(26px, 4.2vw, 52px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.01em;
  will-change: transform;
}
.marquee__track > span {
  display: inline-flex;
  align-items: center;
  gap: 44px;
}
.m-circle {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ochre);
  flex-shrink: 0;
  display: inline-block;
}
.marquee--clay .m-circle { background: var(--paper); }
.marquee--paper .m-circle { background: var(--clay); }
.m-mark {
  font-family: var(--mono);
  font-size: 0.4em;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ochre);
  font-style: normal;
}
.marquee--clay .m-mark { color: var(--paper); }
.marquee--paper .m-mark { color: var(--clay); }

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  padding: clamp(90px, 14vh, 160px) 0;
  position: relative;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--clay);
}
.section__title {
  font-family: var(--ko);
  font-size: clamp(40px, 6.4vw, 92px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.section__title .ital {
  font-family: var(--display);
  font-style: italic;
  color: var(--clay);
  font-weight: 500;
}
.section__title .underline {
  position: relative;
  display: inline-block;
}
.section__title .underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.04em;
  height: 0.1em;
  background: var(--ochre);
  z-index: -1;
}
.section__head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  margin-bottom: 70px;
  align-items: end;
}
.section__intro {
  font-family: var(--serif-ko);
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.85;
  max-width: 520px;
}

/* ============================================================
   PHILOSOPHY — sticky 큰 한자/숫자 + 4가지 원칙
   ============================================================ */
.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__circle {
  position: relative;
  display: inline-block;
  padding: 50px;
}
.about__circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.about__circle::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed var(--clay);
  border-radius: 50%;
  opacity: 0.6;
  animation: spin 60s linear infinite;
  will-change: transform;
}
@keyframes spin { to { transform: rotate(360deg); } }
.about__big {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(120px, 20vw, 240px);
  line-height: 0.85;
  color: var(--ink);
  letter-spacing: -0.05em;
  font-weight: 500;
  display: inline-block;
  will-change: transform;
}
.about__big .clay { color: var(--clay); }
.about__cap {
  margin-top: 30px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.about__list { display: grid; gap: 0; }
.principle {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px dashed var(--ink-soft);
  align-items: start;
}
.principle:first-child { border-top: 1px dashed var(--ink-soft); }
.principle__num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--clay);
  padding-top: 6px;
}
.principle h3 {
  font-family: var(--ko);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}
.principle h3 .ital {
  font-family: var(--display);
  font-style: italic;
  color: var(--clay);
  font-weight: 500;
}
.principle p {
  font-family: var(--serif-ko);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.85;
}

/* ============================================================
   PROGRAMS — 클리닉 차트 스타일 카드
   ============================================================ */
.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.chart-card {
  background: var(--paper-2);
  border: 1px solid var(--ink);
  border-radius: var(--r-card);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.chart-card:hover {
  transform: translateY(-4px);
  background: var(--paper);
}
.chart-card__head {
  padding: 18px 24px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.chart-card__head .num { color: var(--ochre); }
.chart-card__head .time { color: var(--paper); opacity: 0.7; }

.chart-card__body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.chart-card__visual {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  border: 1px dashed var(--ink-soft);
  border-radius: 4px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  position: relative;
  background:
    linear-gradient(to right, rgba(26, 37, 64, 0.04) 1px, transparent 1px) 0 0 / 12px 12px,
    linear-gradient(to bottom, rgba(26, 37, 64, 0.04) 1px, transparent 1px) 0 0 / 12px 12px;
}
.chart-card__visual svg {
  width: 50%;
  color: var(--clay);
}
.chart-card__name {
  font-family: var(--ko);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.04em;
}
.chart-card__name-en {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--clay);
  margin-bottom: 14px;
}
.chart-card__desc {
  font-family: var(--serif-ko);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.85;
  flex: 1;
  margin-bottom: 22px;
}
.chart-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}
.chart-card__price {
  font-family: var(--display);
  font-style: italic;
  font-size: 26px;
  color: var(--ink);
  font-weight: 500;
}
.chart-card__price small {
  font-size: 0.5em;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  margin-left: 3px;
  font-style: normal;
}
.chart-card__book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--clay);
  color: var(--paper);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: background .2s var(--ease);
}
.chart-card__book:hover { background: var(--ink); }
.chart-card__book svg { width: 12px; height: 12px; }

/* ============================================================
   MERIDIAN — 큰 신체 차트 + 사이드 라벨
   ============================================================ */
.meridian {
  position: relative;
  background: var(--paper-2);
  border-block: 1px solid var(--ink);
  padding: clamp(100px, 14vh, 160px) 0;
  margin-left: -28px;
  padding-left: 28px;
}
.meridian__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.meridian__col h3 {
  font-family: var(--ko);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 24px);
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}
.meridian__col p {
  font-family: var(--serif-ko);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.85;
}
.meridian__col .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.meridian__item { margin-bottom: 36px; }
.meridian__item:last-child { margin-bottom: 0; }

.meridian__col--right .label::before {
  content: "";
  width: 60px; height: 1px;
  background: var(--clay);
}
.meridian__col--left { text-align: right; }
.meridian__col--left .label {
  flex-direction: row-reverse;
}
.meridian__col--left .label::after {
  content: "";
  width: 60px; height: 1px;
  background: var(--clay);
}

.meridian__chart {
  position: relative;
  aspect-ratio: 3 / 4.2;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--r-card);
  padding: 30px;
}
.meridian__chart::before {
  content: "MERIDIAN ATLAS · BODY";
  position: absolute;
  top: 14px; left: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.meridian__chart::after {
  content: "FIG. 02";
  position: absolute;
  bottom: 14px; right: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.meridian__chart-svg {
  width: 100%; height: 100%;
}
.meridian__chart-svg .body-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linecap: round;
}
.meridian__chart-svg .m-line {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: var(--len, 800);
  stroke-dashoffset: var(--len, 800);
  transition: stroke-dashoffset 2s var(--ease);
}
.meridian__chart-svg.in .m-line { stroke-dashoffset: 0; }
.meridian__chart-svg .m-line--clay  { stroke: var(--clay); }
.meridian__chart-svg .m-line--sage  { stroke: var(--sage); }
.meridian__chart-svg .m-line--ochre { stroke: var(--ochre); transition-delay: .3s; }
.meridian__chart-svg .m-line--ink   { stroke: var(--ink); transition-delay: .6s; }
.meridian__chart-svg .acu {
  fill: var(--paper);
  stroke-width: 1.5;
  opacity: 0;
  transition: opacity .6s var(--ease);
  transition-delay: 1.4s;
}
.meridian__chart-svg.in .acu { opacity: 1; }
.meridian__chart-svg .acu--clay { stroke: var(--clay); }
.meridian__chart-svg .acu--sage { stroke: var(--sage); }
.meridian__chart-svg .acu--ochre { stroke: var(--ochre); }

/* ============================================================
   QUOTE
   ============================================================ */
.quote {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(100px, 16vh, 180px) 0;
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--ink);
  margin-left: -28px;
  padding-left: 28px;
}
.quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(200, 158, 74, 0.15), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(185, 78, 58, 0.12), transparent 60%);
  pointer-events: none;
}
.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(--clay);
  margin-bottom: 40px;
  opacity: 0.7;
}
.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(--paper);
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}
.quote__text .ochre { color: var(--ochre); }
.quote__attr {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ochre);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: clamp(100px, 14vh, 160px) 0; }
.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
}
.contact__copy h2 {
  font-family: var(--ko);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 88px);
  color: var(--ink);
  margin-bottom: 30px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.contact__copy h2 .ital {
  font-family: var(--display);
  font-style: italic;
  color: var(--clay);
  font-weight: 500;
}
.contact__copy p {
  font-family: var(--serif-ko);
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 460px;
}
.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(--ink);
  align-items: baseline;
}
.contact__item:first-child { border-top: 1px solid var(--ink); }
.contact__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clay);
}
.contact__value {
  font-family: var(--display);
  font-size: 20px;
  color: var(--ink);
  font-weight: 500;
}
.contact__value .ital { font-style: italic; color: var(--clay); }
.contact__value a:hover { color: var(--clay); }

.contact__card {
  background: var(--paper-2);
  border: 1px solid var(--ink);
  padding: 50px 44px;
  border-radius: var(--r-card);
  position: relative;
  overflow: hidden;
}
.contact__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--clay);
}
.contact__card-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.contact__card-eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--clay);
}
.contact__card h3 {
  font-family: var(--ko);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--ink);
  margin-bottom: 22px;
  letter-spacing: -0.04em;
}
.contact__card h3 .ital {
  font-family: var(--display);
  font-style: italic;
  color: var(--clay);
  font-weight: 500;
}
.contact__card p {
  font-family: var(--serif-ko);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 32px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(239, 231, 210, 0.6);
  padding: 70px 0 30px;
  border-top: 1px solid var(--ink);
  position: relative;
  z-index: 4;
  margin-left: -28px;
  padding-left: 28px;
}
.footer__giant {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(70px, 14vw, 200px);
  font-weight: 500;
  color: transparent;
  -webkit-text-stroke: 1px var(--ochre);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin-bottom: 50px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(239, 231, 210, 0.15);
}
.footer__brand .brand__mark { background: var(--ochre); color: var(--ink); }
.footer__brand .brand__name { color: var(--paper); }
.footer__brand .brand__sub { color: var(--ochre); }
.footer__brand p {
  font-family: var(--serif-ko);
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.85;
  max-width: 360px;
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 18px;
  font-weight: 400;
}
.footer__col ul { display: grid; gap: 10px; font-size: 13px; }
.footer__col a:hover { color: var(--ochre); }
.footer__bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-family: var(--mono);
  letter-spacing: 0.2em;
  flex-wrap: wrap;
  gap: 12px;
  text-transform: uppercase;
}
.footer__biz { color: rgba(239, 231, 210, 0.4); }

/* ============================================================
   reveal animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
.reveal--d3 { transition-delay: .24s; }
.reveal--d4 { transition-delay: .32s; }

/* ============================================================
   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(--paper);
    border: 1px solid var(--ink);
    padding: 22px 26px;
    border-radius: 8px;
    gap: 18px;
  }
  .header__inner > .cta { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__figure { max-width: 480px; aspect-ratio: 4 / 5; }
  .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(--ink); }
  .section__head { grid-template-columns: 1fr; gap: 24px; }
  .about__grid { grid-template-columns: 1fr; gap: 60px; }
  .about__sticky { position: relative; top: auto; }
  .programs__grid { grid-template-columns: 1fr 1fr; }
  .meridian__grid { grid-template-columns: 1fr; gap: 40px; }
  .meridian__col--left { text-align: left; }
  .meridian__col--left .label { flex-direction: row; }
  .meridian__col--left .label::after { display: none; }
  .meridian__col--left .label::before {
    content: "";
    width: 60px; height: 1px;
    background: var(--clay);
  }
  .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  .programs__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }
  .topbar__group { gap: 14px; }
  .topbar__inner { font-size: 9px; }
  .ruler { width: 18px; }
  .topbar, .header, main, .marquee, .meridian, .quote, .footer { padding-left: 18px; }
  .marquee, .meridian, .quote, .footer { margin-left: -18px; }
}

@media (prefers-reduced-motion: reduce) {
  .point, .topo path, .marquee__track, .about__big, .about__circle::after,
  .compass__needle { transition: none !important; transform: none !important; animation: none !important; }
  .hero__figure-svg .meridian, .meridian__chart-svg .m-line {
    stroke-dashoffset: 0 !important;
  }
  .hero__figure-svg .acu, .meridian__chart-svg .acu, .hero__figure-svg .label { opacity: 1 !important; }
  html { scroll-behavior: auto; }
}
