@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css');

:root {
  /* Palette — 블루프린트 페이퍼 + 네이비 잉크 + 드래프팅 레드 */
  --bg: #f3ecd6;
  --bg-soft: #faf4e0;
  --bg-grid: #e9e0c4;
  --bg-card: #fbf6e6;
  --bg-dark: #0e1a2c;

  --ink: #142336;
  --ink-soft: #1f3450;
  --primary: #1e4a6b;
  --primary-deep: #0c2a44;

  --accent: #c8362d;
  --accent-deep: #962721;
  --yellow: #d4a92f;
  --green: #4a7855;

  --text: #2a3645;
  --muted: #7a8492;
  --line: rgba(20, 35, 54, 0.18);
  --line-soft: rgba(20, 35, 54, 0.08);

  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-sans: 'Inter', 'Pretendard Variable', system-ui, sans-serif;
  --font-ko: 'Pretendard Variable', 'Inter', 'Noto Sans KR', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ko);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container { width: min(1280px, 92%); margin: 0 auto; }
.mono { font-family: var(--font-mono); }

/* ════════════════════════════════════════════════
   GRID PAPER BACKGROUND — infinite slow upward drift
══════════════════════════════════════════════════ */
.paper {
  position: fixed;
  inset: -50px 0 0 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(30, 74, 107, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 74, 107, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: paperDrift 80s linear infinite;
}
.paper::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(30, 74, 107, 0.13) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 74, 107, 0.13) 1px, transparent 1px);
  background-size: 240px 240px;
  animation: paperDrift 200s linear infinite reverse;
}
@keyframes paperDrift {
  from { transform: translateY(0); }
  to { transform: translateY(-240px); }
}

/* corner markers (+) at intersections */
.crosshair {
  position: fixed;
  width: 18px; height: 18px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}
.crosshair::before, .crosshair::after {
  content: '';
  position: absolute;
  background: var(--ink);
}
.crosshair::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.crosshair::after { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.crosshair--tl { top: 84px; left: 24px; }
.crosshair--tr { top: 84px; right: 24px; }

main, .header, .topbar, .footer { position: relative; z-index: 1; }

/* ════════════════════════════════════════════════
   PROGRESS BAR
══════════════════════════════════════════════════ */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 200;
}

/* ════════════════════════════════════════════════
   TOP UTILITY BAR
══════════════════════════════════════════════════ */
.topbar {
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1px;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.topbar__group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.85;
}
.topbar__item .key {
  color: var(--yellow);
  text-transform: uppercase;
}
.topbar__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}
.topbar__dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--green);
  opacity: 0.6;
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(0.7); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(243, 236, 214, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  transition: padding 0.25s ease;
}
.header.scrolled { padding: 0.7rem 0; }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}
.brand__mark {
  width: 40px; height: 40px;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  background: var(--bg-card);
}
.brand__mark::before, .brand__mark::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border: 1px solid var(--ink);
}
.brand__mark::before { top: -3px; left: -3px; border-right: 0; border-bottom: 0; }
.brand__mark::after { bottom: -3px; right: -3px; border-left: 0; border-top: 0; }

.brand__name {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  letter-spacing: -0.3px;
  line-height: 1.1;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  margin-top: 2px;
}
.nav { display: flex; gap: 2rem; }
.nav a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.nav a::before {
  content: '[ ';
  opacity: 0;
  transition: opacity 0.2s;
  color: var(--accent);
}
.nav a::after {
  content: ' ]';
  opacity: 0;
  transition: opacity 0.2s;
  color: var(--accent);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::before, .nav a:hover::after { opacity: 1; }

.nav-cta {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 0.65rem 1.2rem;
  background: var(--ink);
  color: var(--bg);
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease);
  position: relative;
}
.nav-cta::before {
  content: '→';
  margin-right: 0.4rem;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* ════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 5rem 0 7rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero__filenum {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.hero__filenum::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--accent);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.5vw, 5.8rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -3px;
  margin-bottom: 2rem;
}
.hero__title .row { display: block; }
.hero__title .ko {
  font-family: var(--font-ko);
  font-weight: 800;
  letter-spacing: -2.5px;
}
.hero__title .accent {
  position: relative;
  color: var(--accent);
  font-style: italic;
  font-weight: 700;
}
.hero__title .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0.05em;
  height: 6px;
  background: var(--yellow);
  z-index: -1;
  opacity: 0.7;
}

.hero__sub {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero__sub strong { color: var(--ink); font-weight: 700; }

.hero__cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.7rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-3px); }
.btn__arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.hero__keychips {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--line);
  flex-wrap: wrap;
}
.hero__keychip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero__keychip strong {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.5px;
  text-transform: none;
  margin-top: 0.2rem;
}

/* Hero figure — 인체 도식 SVG with measurement labels */
.hero__figure {
  position: relative;
  aspect-ratio: 4/5;
  border: 1.5px solid var(--ink);
  background: var(--bg-card);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero__figure::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(30, 74, 107, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 74, 107, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero__figure-corners {
  position: absolute;
  inset: 12px;
  pointer-events: none;
}
.hero__figure-corners span {
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--accent);
}
.hero__figure-corners span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hero__figure-corners span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hero__figure-corners span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hero__figure-corners span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.hero__figure svg {
  width: 65%;
  height: 80%;
  position: relative;
  z-index: 1;
}
.body-svg path,
.body-svg circle,
.body-svg line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--len, 800);
  stroke-dashoffset: var(--len, 800);
  transition: stroke-dashoffset 1.6s var(--ease);
  transition-delay: var(--delay, 0s);
}
.body-svg.in path,
.body-svg.in circle,
.body-svg.in line { stroke-dashoffset: 0; }
.body-svg .accent-pt {
  fill: var(--accent);
  stroke: var(--bg-card);
  stroke-width: 1.5;
  stroke-dasharray: 0;
  stroke-dashoffset: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  transition-delay: 1.4s;
}
.body-svg.in .accent-pt { opacity: 1; }

.measure-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.body-svg.in ~ .measure-label,
.hero__figure.in .measure-label { opacity: 1; transform: translateX(0); }
.measure-label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 0.5rem;
}
.ml-1 { top: 12%; right: 8%; transition-delay: 1.2s; }
.ml-2 { top: 32%; left: 8%; transition-delay: 1.4s; }
.ml-3 { top: 55%; right: 8%; transition-delay: 1.6s; }
.ml-4 { bottom: 22%; left: 8%; transition-delay: 1.8s; }

.hero__figure-caption {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  z-index: 2;
}

/* ════════════════════════════════════════════════
   COMMON SECTION
══════════════════════════════════════════════════ */
.section { padding: 6rem 0; position: relative; border-bottom: 1px solid var(--line); }
.section__head { max-width: 760px; margin-bottom: 4rem; }
.section__head--center { margin: 0 auto 4rem; text-align: center; }

.section__file {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.section__file::before {
  content: '/';
  color: var(--accent);
  font-weight: 700;
}

.section__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -1.8px;
  margin-bottom: 1.5rem;
}
.section__title .ko {
  font-family: var(--font-ko);
  letter-spacing: -1.5px;
}
.section__title .accent { color: var(--accent); font-style: italic; }
.section__desc {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.85;
  max-width: 620px;
}
.section__head--center .section__desc { margin-left: auto; margin-right: auto; }

/* ════════════════════════════════════════════════
   SPEC ABOUT — with dimension lines
══════════════════════════════════════════════════ */
.spec {
  background: var(--bg-soft);
  position: relative;
}
.spec__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: center;
}

.spec__panel {
  position: relative;
  aspect-ratio: 4/5;
  border: 1.5px solid var(--ink);
  background: var(--bg-card);
  padding: 2.5rem;
  overflow: hidden;
}
.spec__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(30, 74, 107, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 74, 107, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.spec__panel-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}
.spec__panel-num {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.85;
  color: var(--ink);
  letter-spacing: -3px;
}
.spec__panel-num em {
  font-style: italic;
  color: var(--accent);
}
.spec__panel-num small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 2px;
  margin-top: 1rem;
  text-transform: uppercase;
}

.spec__panel-meta {
  display: grid;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.spec__panel-meta div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  border-bottom: 1px dashed var(--line-soft);
  padding-bottom: 0.6rem;
}
.spec__panel-meta div:last-child { border-bottom: 0; }
.spec__panel-meta .k { color: var(--muted); }
.spec__panel-meta .v { color: var(--ink); font-weight: 500; }

/* dimension lines around panel */
.dim {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.dim--top {
  top: -28px; left: 0; right: 0;
  justify-content: center;
  transform: translateY(8px);
}
.dim--top::before, .dim--top::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--accent);
  position: relative;
}
.dim--top::before {
  margin-right: 0.7rem;
  background-image: linear-gradient(to right, var(--accent) 50%, transparent 50%);
  background-size: 6px 1px;
  background-repeat: repeat-x;
}
.dim--top::after {
  margin-left: 0.7rem;
  background-image: linear-gradient(to right, var(--accent) 50%, transparent 50%);
  background-size: 6px 1px;
  background-repeat: repeat-x;
}
.dim--right {
  top: 0; bottom: 0; right: -32px;
  flex-direction: column;
  width: 12px;
  transform: translateX(-8px);
}
.dim--right span {
  writing-mode: vertical-rl;
  white-space: nowrap;
}
.dim--right::before, .dim--right::after {
  content: '';
  flex: 1;
  width: 1px;
  background-image: linear-gradient(to bottom, var(--accent) 50%, transparent 50%);
  background-size: 1px 6px;
  background-repeat: repeat-y;
}
.dim--right::before { margin-bottom: 0.7rem; }
.dim--right::after { margin-top: 0.7rem; }

.spec__panel.in .dim,
.spec__panel.in ~ .dim,
.spec__wrap.in .dim {
  opacity: 1;
  transform: translate(0, 0);
}
.spec__wrap { position: relative; }

.spec__content h2 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}
.spec__content h2 .ko { font-family: var(--font-ko); letter-spacing: -1.3px; }
.spec__content h2 .accent { color: var(--accent); font-style: italic; }
.spec__content p {
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.spec__list {
  margin-top: 2.5rem;
  display: grid;
  border-top: 1px solid var(--ink);
}
.spec__list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0.4rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.spec__list li .num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 1px;
  font-weight: 700;
}
.spec__list li strong {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
  letter-spacing: -0.3px;
}
.spec__list li span { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* ════════════════════════════════════════════════
   PROGRAMS — module checklist style
══════════════════════════════════════════════════ */
.programs { background: var(--bg); }
.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1.5px solid var(--ink);
  background: var(--ink);
}
.module {
  background: var(--bg-card);
  padding: 2.4rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  transition: background 0.3s ease;
}
.module:hover { background: var(--bg-soft); }
.module__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--line);
}
.module__id {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}
.module__id strong { display: block; color: var(--ink); font-size: 0.88rem; margin-top: 0.15rem; }
.module__check {
  width: 24px; height: 24px;
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}
.module__icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.module__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}
.module__sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.module__desc {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: auto;
}

/* ════════════════════════════════════════════════
   PERFORMANCE CHART — 회복 곡선
══════════════════════════════════════════════════ */
.chart { background: var(--bg-soft); }
.chart__layout {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 4rem;
  align-items: center;
}
.chart__legend {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.chart__legend-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.chart__swatch {
  width: 30px; height: 4px;
  border-radius: 2px;
  flex: none;
}
.chart__legend-row strong {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}
.chart__legend-row span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 0.15rem;
  text-transform: uppercase;
}

.chart__viz {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--bg-card);
  border: 1.5px solid var(--ink);
  padding: 2rem;
  overflow: hidden;
}
.chart__viz::before {
  content: '';
  position: absolute;
  inset: 32px;
  background-image:
    linear-gradient(to right, rgba(30, 74, 107, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 74, 107, 0.06) 1px, transparent 1px);
  background-size: 12.5% 20%;
}
.chart__viz svg { width: 100%; height: 100%; position: relative; z-index: 1; }
.chart__axis-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.chart__axis-y { top: 12px; left: 12px; }
.chart__axis-x { bottom: 12px; right: 12px; }

.chart__line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  transition: stroke-dashoffset 2.4s var(--ease);
}
.chart.in .chart__line { stroke-dashoffset: 0; }
.chart__line--with { stroke: var(--accent); transition-delay: 0.2s; }
.chart__line--without { stroke: var(--muted); stroke-dasharray: 6 6; }

.chart__area {
  fill: var(--accent);
  opacity: 0;
  transition: opacity 0.8s ease 1.6s;
}
.chart.in .chart__area { opacity: 0.12; }

.chart__dot {
  fill: var(--accent);
  stroke: var(--bg-card);
  stroke-width: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.chart.in .chart__dot { opacity: 1; transition-delay: 2.2s; }

.chart__marker {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 1px;
  background: var(--bg-card);
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.chart.in .chart__marker { opacity: 1; transform: translateY(0); transition-delay: 2.4s; }

/* ════════════════════════════════════════════════
   PROCESS — horizontal sequence
══════════════════════════════════════════════════ */
.process { background: var(--bg); }
.process__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2.5rem;
}
.process__rail::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 8%;
  right: 8%;
  height: 1.5px;
  background: var(--line);
}
.process__rail-fill {
  position: absolute;
  top: 16px;
  left: 8%;
  height: 1.5px;
  width: 0%;
  max-width: 84%;
  background: var(--accent);
  transition: width 0.4s var(--ease);
  z-index: 1;
}

.pstep {
  position: relative;
  padding-top: 2rem;
}
.pstep__node {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 24px;
  background: var(--bg);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.pstep__node::after {
  content: '';
  width: 8px; height: 8px;
  background: var(--ink);
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.3s ease;
}
.pstep.active .pstep__node { border-color: var(--accent); }
.pstep.active .pstep__node::after { background: var(--accent); transform: scale(1.3); }
.pstep__id {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin-bottom: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
}
.pstep h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}
.pstep p {
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.75;
}
.pstep__meta {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════
   STATS — slot counters
══════════════════════════════════════════════════ */
.stats {
  background: var(--ink);
  color: var(--bg);
  border-bottom: 0;
  padding: 5rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(243, 236, 214, 0.15);
}
.stats__item {
  padding: 2.5rem 1.8rem;
  border-right: 1px solid rgba(243, 236, 214, 0.15);
  display: flex;
  flex-direction: column;
  position: relative;
}
.stats__item:last-child { border-right: 0; }
.stats__item::before {
  content: '+';
  position: absolute;
  top: 12px; left: 12px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
}
.stats__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.stats__num {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  color: var(--bg);
  letter-spacing: -2px;
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}
.stats__num em {
  font-style: italic;
  font-size: 0.4em;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0;
}
.stats__sub {
  font-size: 0.85rem;
  color: rgba(243, 236, 214, 0.6);
  margin-top: 1rem;
  line-height: 1.6;
}

/* slot digit container */
.slot {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
  height: 1em;
}
.slot__inner {
  display: flex;
  flex-direction: column;
  transition: transform 1.6s var(--ease);
}
.slot__inner span {
  height: 1em;
  line-height: 1;
}

/* ════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════ */
.contact { background: var(--bg-soft); }
.contact__layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}
.contact__head h2 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}
.contact__head h2 .ko { font-family: var(--font-ko); letter-spacing: -1.3px; }
.contact__head h2 .accent { color: var(--accent); font-style: italic; }
.contact__head p { color: var(--text); line-height: 1.85; margin-bottom: 2rem; }

.contact__card {
  background: var(--bg-card);
  border: 1.5px solid var(--ink);
  padding: 2.8rem;
  position: relative;
}
.contact__card::before, .contact__card::after,
.contact__card-corners span {
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--accent);
}
.contact__card-corners span:nth-child(1) { top: -3px; left: -3px; border-right: 0; border-bottom: 0; }
.contact__card-corners span:nth-child(2) { top: -3px; right: -3px; border-left: 0; border-bottom: 0; }
.contact__card-corners span:nth-child(3) { bottom: -3px; left: -3px; border-right: 0; border-top: 0; }
.contact__card-corners span:nth-child(4) { bottom: -3px; right: -3px; border-left: 0; border-top: 0; }
.contact__card::before, .contact__card::after { display: none; }
.contact__card-corners span { content: ''; }

.contact__rows { display: grid; }
.contact__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px dashed var(--line);
  align-items: start;
}
.contact__row:last-child { border-bottom: 0; }
.contact__row .k {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
}
.contact__row .v {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.7;
}
.contact__row .v small {
  display: block;
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 1px;
  margin-top: 0.3rem;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.footer {
  background: var(--bg-dark);
  color: rgba(243, 236, 214, 0.7);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.footer__massive {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2.5rem, 9vw, 8rem);
  line-height: 0.9;
  color: var(--bg);
  letter-spacing: -3px;
  margin-bottom: 3rem;
  white-space: nowrap;
  overflow: hidden;
}
.footer__massive-track {
  display: inline-flex;
  gap: 3rem;
  animation: massiveSlide 32s linear infinite;
}
.footer__massive-track > span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.footer__massive-track > span::after {
  content: '✕';
  color: var(--accent);
  font-weight: 400;
  font-size: 0.7em;
}
.footer__massive .ko { font-family: var(--font-ko); }
.footer__massive em { font-style: italic; color: var(--accent); }
@keyframes massiveSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(243, 236, 214, 0.12);
}
.footer__brand h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--bg);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.5px;
}
.footer__brand p { font-size: 0.92rem; line-height: 1.85; }
.footer__col h4 {
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin-bottom: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.footer__col ul { display: grid; gap: 0.6rem; }
.footer__col a, .footer__col li {
  font-size: 0.9rem;
  color: rgba(243, 236, 214, 0.65);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--yellow); }
.footer__bottom {
  border-top: 1px solid rgba(243, 236, 214, 0.12);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(243, 236, 214, 0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer__biz {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
}
.footer__biz strong { color: var(--bg); margin-right: 0.5rem; font-weight: 500; }

/* ════════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: 0.12s; }
.reveal--d2 { transition-delay: 0.24s; }
.reveal--d3 { transition-delay: 0.36s; }

/* ════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .programs__grid { grid-template-columns: repeat(2, 1fr); }
  .crosshair { display: none; }
}
@media (max-width: 960px) {
  .hero__grid,
  .spec__grid,
  .chart__layout,
  .contact__layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(1), .stats__item:nth-child(2) { border-bottom: 1px solid rgba(243, 236, 214, 0.15); }
  .stats__item:nth-child(2) { border-right: 0; }
  .process__rail { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .process__rail::before, .process__rail-fill { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .dim--right { display: none; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .nav-cta { padding: 0.55rem 0.9rem; font-size: 0.72rem; }
  .topbar__group:nth-child(2) { display: none; }
  .programs__grid { grid-template-columns: 1fr; }
  .process__rail { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .stats__item { border-right: 0; border-bottom: 1px solid rgba(243, 236, 214, 0.15); }
  .stats__item:last-child { border-bottom: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 4rem 0; }
  .hero { padding: 3rem 0 4rem; }
  .contact__card { padding: 2rem 1.6rem; }
  .contact__row { grid-template-columns: 1fr; gap: 0.4rem; padding: 1rem 0; }
  .footer__massive { font-size: 2.5rem; letter-spacing: -1px; }
  .dim--top { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .body-svg path, .body-svg circle, .body-svg line { stroke-dashoffset: 0; }
  .chart__line { stroke-dashoffset: 0; }
  .chart__area { opacity: 0.12; }
  .chart__dot, .chart__marker, .measure-label, .dim { opacity: 1; transform: none; }
}
