/* ============================================================
   동호스포츠마사지 — Athletic Performance Lab
   "회복도 훈련처럼, 정확하게"
   ============================================================ */

:root {
  /* palette — sports lab */
  --concrete: #ebe9e1;
  --concrete-2: #ddd9cc;
  --concrete-3: #d0ccba;

  --ink:    #0a0a0d;
  --ink-2:  #16161e;
  --ink-3:  #232331;
  --ink-soft: #4a4a58;

  --electric: #2148f0;
  --electric-2: #4f72f5;
  --orange:   #ff5a1f;
  --orange-2: #ff7a47;
  --lime:     #d8ff3a;

  --line:   rgba(10, 10, 13, 0.14);
  --line-d: rgba(255, 255, 255, 0.12);

  /* type */
  --display: "Archivo Black", "Noto Sans KR", sans-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:  6px;
  --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(--concrete);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
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: 900; line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; font-style: italic; }
:lang(ko), .ko-h { font-family: var(--ko); font-weight: 900; letter-spacing: -0.04em; font-style: normal; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ============================================================
   CURSOR — 운동선수 크로스헤어
   ============================================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 30px; height: 30px;
  pointer-events: none;
  z-index: 95;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}
.cursor::before, .cursor::after {
  content: "";
  position: absolute;
  background: var(--orange);
}
.cursor::before {
  top: 50%; left: 0; right: 0;
  height: 1px;
  transform: translateY(-50%);
}
.cursor::after {
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  transform: translateX(-50%);
}
.cursor span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--orange);
  border-radius: 50%;
  transition: transform .25s var(--ease);
}
.cursor.hover span { transform: scale(1.5); border-width: 2px; }
@media (hover: none) { .cursor { display: none; } }

/* ============================================================
   PROGRESS — 상단 강한 가속 라인
   ============================================================ */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--ink);
  z-index: 100;
}
.progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--electric), var(--orange));
}

/* ============================================================
   SPEED LINES — 페이지 전체 사선 모션 스트라이프
   ============================================================ */
.speed {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.5;
}
.speed::before {
  content: "";
  position: absolute;
  inset: -50% -50%;
  background-image: repeating-linear-gradient(
    -25deg,
    transparent 0,
    transparent 80px,
    rgba(10, 10, 13, 0.025) 80px,
    rgba(10, 10, 13, 0.025) 81px,
    transparent 81px,
    transparent 160px
  );
  will-change: transform;
}

/* ============================================================
   EKG LINE — 페이지 곳곳에 떠 있는 심전도 라인
   ============================================================ */
.ekg-bar {
  position: relative;
  z-index: 5;
  overflow: hidden;
  background: var(--ink);
  padding: 16px 0;
  border-block: 1px solid var(--ink);
}
.ekg-bar svg {
  width: 100%;
  height: 50px;
  display: block;
}
.ekg-bar .ekg-line {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2;
  filter: drop-shadow(0 0 6px var(--lime));
}
.ekg-bar .ekg-line--orange { stroke: var(--orange); filter: drop-shadow(0 0 6px var(--orange)); }
.ekg-bar .ekg-grid {
  stroke: rgba(216, 255, 58, 0.1);
  stroke-width: 0.5;
}

/* ============================================================
   TIMER WIDGET — 우측 떠다니는 운동 타이머
   ============================================================ */
.timer {
  position: fixed;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  z-index: 60;
  background: var(--ink);
  color: var(--lime);
  padding: 18px 18px;
  border-radius: 12px;
  box-shadow: 0 16px 40px -12px rgba(10, 10, 13, 0.4);
  pointer-events: none;
  border: 1px solid var(--ink-3);
  min-width: 130px;
}
.timer__label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--electric-2);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timer__digits {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 500;
  color: var(--lime);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  text-shadow: 0 0 12px rgba(216, 255, 58, 0.4);
}
.timer__bar {
  height: 4px;
  background: var(--ink-3);
  border-radius: 2px;
  overflow: hidden;
}
.timer__bar-fill {
  height: 100%;
  width: var(--tm-w, 0%);
  background: linear-gradient(90deg, var(--electric), var(--lime));
  transition: width .15s linear;
}
.timer__hr {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(216, 255, 58, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}
.timer__hr-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: hrPulse 0.85s ease-in-out infinite;
  box-shadow: 0 0 6px var(--orange);
}
@keyframes hrPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.6); opacity: 0.5; }
}
@media (max-width: 900px) {
  .timer { display: none; }
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: relative;
  z-index: 6;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
}
.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: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(216, 255, 58, 0.2);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(216, 255, 58, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(216, 255, 58, 0); }
}
.k { color: var(--lime); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(235, 233, 225, 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(--line);
  background: rgba(235, 233, 225, 0.95);
}
.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: 50px; height: 50px;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  border-radius: 12px;
  position: relative;
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  opacity: 0.4;
}
.brand__name {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  font-weight: 900;
}
.brand__sub {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--electric);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 5px;
  font-weight: 500;
}
.nav {
  display: flex;
  gap: 32px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  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: 2px;
  background: var(--orange);
  transition: width .25s var(--ease);
}
.nav a:hover { color: var(--orange); }
.nav a:hover::after { width: 100%; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  background: var(--electric);
  color: #fff;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.cta:hover { background: var(--orange); transform: translateY(-2px); }
.cta svg { width: 12px; height: 12px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: var(--ink);
  color: #fff;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(50px, 8vh, 90px) 0 clamp(70px, 12vh, 120px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: end;
}
.hero__pretitle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: var(--lime);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 32px;
  font-weight: 500;
}
.hero__pretitle .badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.hero__title {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(64px, 13vw, 220px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 0.85;
  margin-bottom: 32px;
  text-transform: uppercase;
}
.hero__title .row { display: block; }
.hero__title .ko-row {
  font-family: var(--ko);
  font-weight: 900;
  letter-spacing: -0.05em;
  font-style: normal;
}
.hero__title .blue { color: var(--electric); }
.hero__title .orange { color: var(--orange); }
.hero__title .outline {
  -webkit-text-stroke: 2px var(--ink);
  color: transparent;
}
.hero__title .underline {
  position: relative;
  display: inline-block;
}
.hero__title .underline::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  bottom: 0.05em;
  height: 0.2em;
  background: var(--lime);
  z-index: -1;
}

.hero__sub {
  font-family: var(--ko);
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 36px;
  font-weight: 500;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 30px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn--ink   { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--electric); transform: translateY(-2px); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--ink); transform: translateY(-2px); }
.btn--ghost  {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn svg { width: 14px; height: 14px; }

/* HERO 우측 데이터 위젯 */
.hero__panel {
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.hero__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.hero__panel-head .label { color: var(--lime); }
.hero__panel-head .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
}
.hero__panel-head .live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: hrPulse 0.85s ease-in-out infinite;
}
.hero__panel-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-3);
}
.hero__panel-row:last-of-type { border-bottom: 0; }
.hero__panel-cell .v {
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__panel-cell .v .u {
  font-family: var(--mono);
  font-size: 0.4em;
  color: var(--lime);
  margin-left: 4px;
  font-style: normal;
}
.hero__panel-cell .l {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-top: 6px;
}
.hero__panel-meter {
  height: 6px;
  background: var(--ink-3);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 16px;
}
.hero__panel-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--electric), var(--lime), var(--orange));
  width: 0%;
  transition: width 1.6s var(--ease);
}
.hero__panel-meter-fill.in { width: 86%; }

/* HERO STATS */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.stat {
  padding: 22px 26px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
  font-weight: 900;
}
.stat__num span.unit {
  font-size: 0.4em;
  margin-left: 4px;
  color: var(--orange);
  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(--lime);
  padding: 22px 0;
  border-block: 1px solid var(--ink);
}
.marquee--blue { background: var(--electric); color: #fff; }
.marquee--orange { background: var(--orange); color: var(--ink); }
.marquee__track {
  display: flex;
  gap: 50px;
  white-space: nowrap;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(28px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 900;
  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(80px, 12vh, 140px) 0; position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-weight: 500;
}
.eyebrow.eyebrow--blue { background: var(--electric); color: #fff; }
.eyebrow.eyebrow--orange { background: var(--orange); color: var(--ink); }
.section__title {
  font-family: var(--ko);
  font-weight: 900;
  font-size: clamp(40px, 6.4vw, 96px);
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.section__title .ital {
  font-family: var(--display);
  font-style: italic;
  color: var(--electric);
  font-weight: 900;
  text-transform: uppercase;
}
.section__title .orange { color: var(--orange); }
.section__head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  margin-bottom: 70px;
  align-items: end;
}
.section__intro {
  font-family: var(--ko);
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.85;
  max-width: 520px;
  font-weight: 500;
}

/* ============================================================
   ABOUT — sticky 큰 "01" + 4가지 원칙
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.about__sticky {
  position: sticky;
  top: 120px;
}
.about__big {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(140px, 24vw, 320px);
  line-height: 0.85;
  color: var(--ink);
  letter-spacing: -0.05em;
  font-weight: 900;
  display: block;
  will-change: transform;
}
.about__big .red {
  color: var(--orange);
}
.about__cap {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}
.about__cap::before {
  content: "";
  width: 40px; height: 2px;
  background: var(--orange);
}

.principle-list { display: grid; gap: 0; }
.principle {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.principle:first-child { border-top: 1px solid var(--line); }
.principle__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--orange);
  padding-top: 8px;
  font-weight: 500;
}
.principle h3 {
  font-family: var(--ko);
  font-weight: 900;
  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(--electric);
  font-weight: 900;
  text-transform: uppercase;
}
.principle p {
  font-family: var(--ko);
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.85;
  font-weight: 500;
  margin-bottom: 18px;
}
.principle__bar {
  height: 4px;
  background: var(--concrete-2);
  border-radius: 2px;
  overflow: hidden;
}
.principle__bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--electric), var(--orange));
  transition: width 1.4s var(--ease);
}
.principle.in .principle__bar-fill { width: var(--w, 60%); }
.principle__bar-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* ============================================================
   PROGRAMS — 카드 + 인텐시티 바
   ============================================================ */
.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.perf-card {
  background: var(--concrete-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);
}
.perf-card:hover {
  transform: translateY(-4px);
  background: var(--concrete);
}
.perf-card__head {
  padding: 16px 22px;
  background: var(--ink);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
}
.perf-card__head .num { color: var(--lime); }
.perf-card__head .time { color: #fff; opacity: 0.7; }

.perf-card__body {
  padding: 26px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.perf-card__icon {
  width: 56px; height: 56px;
  margin-bottom: 18px;
  color: var(--electric);
  background: rgba(33, 72, 240, 0.1);
  border: 1px solid var(--electric);
  border-radius: 12px;
  padding: 10px;
}
.perf-card:nth-child(2) .perf-card__icon { color: var(--orange); background: rgba(255, 90, 31, 0.1); border-color: var(--orange); }
.perf-card:nth-child(3) .perf-card__icon { color: var(--ink); background: var(--lime); border-color: var(--ink); }
.perf-card:nth-child(4) .perf-card__icon { color: var(--electric); background: rgba(33, 72, 240, 0.1); border-color: var(--electric); }
.perf-card:nth-child(5) .perf-card__icon { color: var(--orange); background: rgba(255, 90, 31, 0.1); border-color: var(--orange); }
.perf-card:nth-child(6) .perf-card__icon { color: var(--ink); background: var(--lime); border-color: var(--ink); }

.perf-card__name {
  font-family: var(--ko);
  font-weight: 900;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.04em;
}
.perf-card__name-en {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--electric);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.perf-card__desc {
  font-family: var(--ko);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 22px;
  flex: 1;
  font-weight: 500;
}

/* 인텐시티 바 */
.perf-card__intensity {
  margin-bottom: 22px;
}
.perf-card__intensity-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.perf-card__intensity-bar {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
  height: 8px;
}
.perf-card__intensity-bar span {
  background: var(--concrete-3);
  border-radius: 1px;
  transition: background .4s var(--ease);
  transition-delay: calc(var(--i, 0) * .04s);
}
.perf-card.in .perf-card__intensity-bar span:nth-child(-n + var(--lvl, 5)) {
  background: var(--electric);
}
/* 직접 클래스로 색칠 */
.perf-card__intensity-bar span.fill { background: var(--electric); }
.perf-card__intensity-bar span.fill--orange { background: var(--orange); }
.perf-card__intensity-bar span.fill--lime { background: var(--lime); }

.perf-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.perf-card__price {
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
  font-weight: 900;
}
.perf-card__price small {
  font-size: 0.5em;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  margin-left: 3px;
  font-style: normal;
  font-weight: 500;
}
.perf-card__book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: background .2s var(--ease);
  font-weight: 500;
}
.perf-card__book:hover { background: var(--orange); }
.perf-card__book svg { width: 12px; height: 12px; }

/* ============================================================
   DASHBOARD — 큰 퍼포먼스 데이터 보드
   ============================================================ */
.dashboard {
  background: var(--ink);
  color: #fff;
  padding: clamp(100px, 14vh, 160px) 0;
  position: relative;
  border-block: 2px solid var(--ink);
}
.dashboard .section__title { color: #fff; }
.dashboard .section__intro { color: rgba(255, 255, 255, 0.75); }
.dashboard .eyebrow { background: var(--lime); color: var(--ink); }
.dashboard .section__title .ital { color: var(--lime); }

.dashboard__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
}
.dash-card {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--r-card);
  padding: 28px;
  position: relative;
}
.dash-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 500;
}
.dash-card__head .delta {
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dash-card__big {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(56px, 6vw, 88px);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin-bottom: 8px;
}
.dash-card__big .u {
  font-family: var(--mono);
  font-size: 0.32em;
  color: var(--lime);
  margin-left: 6px;
  font-style: normal;
}
.dash-card__sub {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* 가우지 바 */
.dash-card__gauge {
  height: 8px;
  background: var(--ink-3);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}
.dash-card__gauge-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--electric), var(--lime));
  transition: width 1.6s var(--ease);
}
.dash-card.in .dash-card__gauge-fill { width: var(--w, 75%); }

/* 미니 차트 */
.dash-card__chart {
  height: 80px;
  width: 100%;
  margin-bottom: 14px;
}
.dash-card__chart .chart-line {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2;
  filter: drop-shadow(0 0 6px var(--lime));
  stroke-dasharray: var(--len, 600);
  stroke-dashoffset: var(--len, 600);
  transition: stroke-dashoffset 2s var(--ease);
}
.dash-card.in .dash-card__chart .chart-line { stroke-dashoffset: 0; }
.dash-card__chart .chart-area {
  fill: rgba(216, 255, 58, 0.12);
  opacity: 0;
  transition: opacity 1.5s var(--ease);
  transition-delay: 1s;
}
.dash-card.in .dash-card__chart .chart-area { opacity: 1; }
.dash-card__chart .chart-pts {
  fill: var(--lime);
  opacity: 0;
  transition: opacity .6s var(--ease);
  transition-delay: 1.5s;
}
.dash-card.in .dash-card__chart .chart-pts { opacity: 1; }

.dash-card__legend {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ============================================================
   QUOTE
   ============================================================ */
.quote {
  background: var(--lime);
  color: var(--ink);
  padding: clamp(100px, 14vh, 160px) 0;
  position: relative;
  border-block: 2px solid var(--ink);
}
.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(--ink);
  margin-bottom: 40px;
  -webkit-text-stroke: 4px var(--ink);
  color: transparent;
}
.quote__text {
  font-family: var(--ko);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 36px;
  letter-spacing: -0.04em;
}
.quote__text .ital {
  font-family: var(--display);
  font-style: italic;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
}
.quote__attr {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: clamp(80px, 12vh, 140px) 0; }
.contact__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
}
.contact__copy h2 {
  font-family: var(--ko);
  font-weight: 900;
  font-size: clamp(40px, 6.4vw, 92px);
  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(--orange);
  font-weight: 900;
  text-transform: uppercase;
}
.contact__copy p {
  font-family: var(--ko);
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 460px;
  font-weight: 500;
}
.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.25em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
}
.contact__value {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}
.contact__value a:hover { color: var(--orange); }

.contact__card {
  background: var(--orange);
  color: #fff;
  padding: 50px 44px;
  border-radius: var(--r-card);
  position: relative;
  overflow: hidden;
}
.contact__card::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 240px; height: 240px;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 12px,
    rgba(255, 255, 255, 0.18) 12px,
    rgba(255, 255, 255, 0.18) 13px
  );
  pointer-events: none;
}
.contact__card-eyebrow {
  display: inline-flex;
  padding: 6px 14px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 26px;
  font-weight: 500;
}
.contact__card h3 {
  font-family: var(--ko);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 42px);
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 2;
}
.contact__card h3 .ital {
  font-family: var(--display);
  font-style: italic;
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}
.contact__card p {
  font-family: var(--ko);
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
  font-weight: 500;
}
.contact__card .btn { background: var(--ink); color: #fff; position: relative; z-index: 2; }
.contact__card .btn:hover { background: #fff; color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 70px 0 30px;
  position: relative;
  z-index: 4;
  overflow: hidden;
}
.footer__giant {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(70px, 14vw, 200px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px var(--lime);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin-bottom: 50px;
  text-transform: uppercase;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-d);
}
.footer__brand .brand__mark { background: var(--lime); color: var(--ink); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: var(--lime); }
.footer__brand p {
  font-family: var(--ko);
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.85;
  max-width: 360px;
  font-weight: 500;
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer__col ul { display: grid; gap: 10px; font-size: 13px; }
.footer__col a:hover { color: var(--lime); }
.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;
}
.footer__biz { color: rgba(255, 255, 255, 0.4); }

/* ============================================================
   reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s 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(--ink);
    color: var(--lime);
    padding: 22px 26px;
    border-radius: 6px;
    gap: 18px;
    box-shadow: 0 12px 30px rgba(10, 10, 13, 0.3);
  }
  .nav.open a { color: var(--lime); }
  .header__inner > .cta { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .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); }
  .dashboard__grid { grid-template-columns: 1fr; }
  .cursor { display: none; }
  .timer { display: none; }
}
@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; }
  .contact__card { padding: 36px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track, .speed::before, .about__big { transition: none !important; transform: none !important; animation: none !important; }
  .perf-card.in .perf-card__intensity-bar span,
  .principle.in .principle__bar-fill,
  .dash-card.in .dash-card__gauge-fill,
  .dash-card.in .dash-card__chart .chart-line {
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  .dot, .timer__hr-dot, .hero__panel-head .live::before { animation: none; }
  .cursor { display: none; }
}
