/* ==========================================================================
   Claude Opus 5.5 — 자기소개 랜딩페이지
   ========================================================================== */

:root {
  --bg: #0a0908;
  --bg-2: #110f0d;
  --bg-3: #18150f;
  --surface: rgba(255, 244, 230, 0.035);
  --surface-2: rgba(255, 244, 230, 0.065);
  --line: rgba(255, 240, 225, 0.1);
  --line-2: rgba(255, 240, 225, 0.2);
  --text: #f5efe7;
  --muted: #a8a097;
  --dim: #6f6861;

  --coral: #ff4a1a;
  --peach: #ff7a4d;
  --lav: #b59cff;
  --mint: #5ee0c0;
  --sun: #ffd166;
  --sky: #7cc4ff;
  --grad: linear-gradient(120deg, var(--coral), var(--lav) 55%, var(--mint));

  --radius: 24px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 68px;
  --gutter: clamp(16px, 4vw, 48px);

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* 필름 그레인 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: 0.86em; padding: 0.12em 0.42em; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }
strong { font-weight: 700; color: var(--text); }
::selection { background: rgba(255, 74, 26, 0.35); color: #fff; }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 16px; border-radius: 10px; background: var(--coral); color: #1b0e07; font-weight: 700;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

.container { width: min(1200px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.muted { color: var(--dim); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- 커스텀 커서 ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor body, .has-cursor a, .has-cursor button, .has-cursor .lab-node, .has-cursor label { cursor: none; }
.has-cursor input[type="range"] { cursor: none; }

.cursor__dot, .cursor__ring {
  position: fixed; left: 0; top: 0; z-index: 9999;
  pointer-events: none;
  will-change: transform;
}
.cursor__dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--text);
  mix-blend-mode: difference;
  transition: opacity 0.3s, width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease);
}
.cursor__ring-inner {
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 240, 225, 0.45);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: width 0.45s var(--ease), height 0.45s var(--ease), background-color 0.35s, border-color 0.35s, transform 0.25s var(--ease), opacity 0.3s;
}
.cursor__label {
  font-size: 12px; font-weight: 800; letter-spacing: 0.02em;
  color: #1b0e07; opacity: 0; transform: scale(0.6);
  transition: opacity 0.25s, transform 0.35s var(--ease);
  white-space: nowrap;
}
.cursor.is-hover .cursor__ring-inner { width: 62px; height: 62px; background: rgba(255, 74, 26, 0.12); border-color: var(--coral); }
.cursor.is-hover .cursor__dot { width: 4px; height: 4px; margin: -2px 0 0 -2px; }
.cursor.is-field .cursor__ring-inner { width: 140px; height: 140px; border-color: rgba(255, 74, 26, 0.28); border-style: dashed; }
.cursor.has-label .cursor__ring-inner { width: 74px; height: 74px; background: var(--coral); border-color: transparent; }
.cursor.has-label .cursor__label { opacity: 1; transform: none; }
.cursor.has-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring-inner { transform: translate(-50%, -50%) scale(0.82); }
.cursor.is-hidden .cursor__ring-inner, .cursor.is-hidden .cursor__dot { opacity: 0; }

/* ---------- 스크롤 진행바 ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress__bar { height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- 버튼 ---------- */
.btn {
  --mx: 0px; --my: 0px; --s: 1;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  font-weight: 650; font-size: 16px; letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transform: translate3d(var(--mx), var(--my), 0) scale(var(--s));
  transition: transform 0.45s var(--ease), background-color 0.3s, border-color 0.3s, box-shadow 0.4s var(--ease), color 0.3s, opacity 0.3s;
}
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.btn:hover { border-color: rgba(255, 240, 225, 0.35); }
.btn:hover::before { opacity: 0.16; }
.btn:active { --s: 0.96; }
.btn > span:not(.ripple), .btn > svg { position: relative; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn__arrow { transition: transform 0.45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn[href^="http"]:hover .btn__arrow { transform: translate(3px, -3px); }

.btn--accent {
  background: var(--coral);
  color: #1b0e07;
  border-color: transparent;
  box-shadow: 0 10px 40px -12px rgba(255, 74, 26, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--accent::before { background: linear-gradient(120deg, var(--peach), var(--coral) 45%, #ff7a8a 75%, var(--lav)); }
.btn--accent:hover { border-color: transparent; box-shadow: 0 16px 50px -10px rgba(255, 74, 26, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn--accent:hover::before { opacity: 1; }
.btn--ghost { background: rgba(255, 244, 230, 0.03); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--danger { color: #ffb0a0; border-color: rgba(255, 120, 100, 0.3); }
.btn--danger::before { background: linear-gradient(120deg, #ff6b5c, #ff4a1a); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 17px; }
.btn:disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

.btn .ripple, .chip .ripple, .ripple {
  position: absolute; z-index: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  animation: ripple 0.75s var(--ease) forwards;
}
@keyframes ripple { to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }

/* ---------- 내비게이션 ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 110;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 9, 8, 0.66);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav__logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; margin-right: auto; }
.nav__name em { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.15em; color: var(--coral); }
.logo-mark { width: 30px; height: 30px; display: grid; place-items: center; color: var(--coral); }
.logo-mark svg { width: 100%; height: 100%; overflow: visible; }
.logo-mark__orbit { transform-origin: 16px 16px; transition: transform 0.9s var(--ease); }
.nav__logo:hover .logo-mark__orbit { transform: rotate(200deg); }

.nav__links { display: flex; gap: 6px; }
.nav__links a {
  position: relative;
  padding: 8px 12px;
  font-size: 15px; font-weight: 550;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1.5px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}
.nav__toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text);
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.menu-open .nav__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 105;
  background: rgba(10, 9, 8, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 20px) var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 40px) 34px);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-io), visibility 0s 0.7s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 34px); visibility: visible; transition: clip-path 0.8s var(--ease-io), visibility 0s; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.mobile-menu a {
  display: flex; align-items: baseline; gap: 14px;
  font-size: clamp(30px, 9vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.3;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), color 0.3s;
}
.mobile-menu a small { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--coral); }
.mobile-menu a:active { color: var(--coral); }
.menu-open .mobile-menu a { opacity: 1; transform: none; transition-delay: calc(0.15s + var(--i) * 0.05s); }
.menu-open { overflow: hidden; }

/* ---------- 공통 섹션 ---------- */
.section-head { max-width: 820px; }
.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em;
  color: var(--coral);
}
.section-label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-title {
  margin: 16px 0 0;
  font-size: clamp(36px, 5.6vw, 78px);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.04em;
}
.section-lead { margin: 22px 0 0; max-width: 640px; color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0; padding: 7px 16px 7px 12px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255, 244, 230, 0.04);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 550; color: var(--muted);
}
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--mint); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3.2); opacity: 0; } }

/* ---------- 등장 애니메이션 ---------- */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 44px, 0);
  filter: blur(8px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
.js .reveal.is-done { transition-delay: 0s; }
/* 등장 후에도 카드 호버/틸트가 살아 있도록 */
.js .p-card.reveal.is-in { transform: none; }
.js .p-card.reveal.is-in.is-tilting { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }
.js .p-card.reveal.is-done { transition: transform 0.6s var(--ease), border-color 0.4s; }
.js .p-card.reveal.is-done.is-tilting { transition: transform 0.12s linear, border-color 0.4s; }
.js .cap-card.reveal.is-in:hover { transform: translateY(-6px); }
.js .cap-card.reveal.is-done { transition: transform 0.6s var(--ease), border-color 0.4s, background-color 0.4s; }

[data-split] .word { display: inline-block; white-space: nowrap; }
.js [data-split] .char {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.7em, 0) rotate(8deg);
  filter: blur(6px);
  transition: opacity 0.8s var(--ease), transform 1s var(--ease), filter 0.8s var(--ease);
  transition-delay: calc(200ms + var(--i) * 34ms);
}
.js [data-split].is-in .char { opacity: 1; transform: none; filter: none; }
.grad-text .char { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* ==========================================================================
   ① 히어로
   ========================================================================== */
.hero {
  --p: 0;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + 8px) var(--gutter) 96px;
  overflow: hidden;
  isolation: isolate;
}
#hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  transform: translate3d(0, calc(var(--p) * 18vh), 0);
  opacity: calc(1 - var(--p) * 0.9);
  touch-action: pan-y;
}
.hero__glow {
  position: absolute; inset: -20%; z-index: -1;
  background:
    radial-gradient(40% 35% at 30% 35%, rgba(255, 74, 26, 0.16), transparent 70%),
    radial-gradient(35% 30% at 72% 42%, rgba(181, 156, 255, 0.14), transparent 70%),
    radial-gradient(30% 25% at 50% 80%, rgba(94, 224, 192, 0.08), transparent 70%);
  animation: glowDrift 18s var(--ease-io) infinite alternate;
  pointer-events: none;
}
@keyframes glowDrift { to { transform: translate3d(4%, -3%, 0) rotate(6deg) scale(1.08); } }

.hero__content {
  position: relative; z-index: 2;
  width: 100%; max-width: 980px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  transform: translate3d(0, calc(var(--p) * -90px), 0) scale(calc(1 - var(--p) * 0.06));
  opacity: calc(1 - var(--p) * 1.5);
}
.hero__mark {
  width: min(92%, 880px);
  height: clamp(100px, 25vh, 270px);
  margin: 18px 0 6px;
}
.hero__title {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 50px);
  font-weight: 750; line-height: 1.25; letter-spacing: -0.035em;
}
.hero__title em { font-style: normal; }
.hero__sub {
  margin: 20px 0 0;
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.7;
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

.hero__hint {
  position: absolute; left: 50%; bottom: 30px; z-index: 2;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0;
  font-family: var(--mono); font-size: 12.5px; color: var(--dim);
  white-space: nowrap;
  opacity: calc(1 - var(--p) * 3);
  animation: hintIn 1s 2.2s var(--ease) both;
}
@keyframes hintIn { from { opacity: 0; transform: translate(-50%, 10px); } }
.hint-icon {
  position: relative; width: 16px; height: 24px;
  border: 1.5px solid currentColor; border-radius: 10px;
}
.hint-icon::after {
  content: ""; position: absolute; left: 50%; top: 5px;
  width: 3px; height: 5px; margin-left: -1.5px; border-radius: 2px; background: var(--coral);
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(7px); } }
.is-touch .hint-icon { width: 20px; height: 20px; border-radius: 50%; }
.is-touch .hint-icon::after { top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; animation: tap 1.8s var(--ease) infinite; }
@keyframes tap { 0%, 100% { transform: scale(0.6); opacity: 0.5; } 50% { transform: scale(1.3); opacity: 1; } }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 30px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--dim);
  writing-mode: vertical-rl;
  transition: color 0.3s;
}
.scroll-cue:hover { color: var(--text); }
.scroll-cue i { position: relative; width: 1px; height: 54px; background: var(--line-2); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--coral); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ==========================================================================
   ② 소개 (매니페스토)
   ========================================================================== */
.manifesto { --p: 0; position: relative; height: 280vh; }
.manifesto__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.manifesto__inner { width: min(1200px, calc(100% - var(--gutter) * 2)); margin-inline: auto; padding-top: var(--nav-h); position: relative; z-index: 1; }
.manifesto__text {
  margin: 26px 0 0;
  font-size: clamp(25px, 4vw, 58px);
  font-weight: 750; line-height: 1.38; letter-spacing: -0.035em;
}
.manifesto__text mark { background: none; color: inherit; }
.w { color: rgba(245, 239, 231, 0.13); transition: color 0.6s var(--ease), text-shadow 0.6s; }
.w.is-lit { color: var(--text); }
.w--accent.is-lit { color: var(--coral); text-shadow: 0 0 40px rgba(255, 74, 26, 0.35); }
.manifesto__meter {
  margin: 34px 0 0;
  font-family: var(--mono); font-size: 13px; color: var(--dim);
}
.manifesto__meter-num { display: inline-block; min-width: 3ch; text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }

.fshape { position: absolute; pointer-events: none; z-index: 0; }
.fshape--ring {
  right: 6%; top: 14%;
  width: clamp(120px, 22vw, 320px); aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 74, 26, 0.35);
  box-shadow: inset 0 0 60px rgba(255, 74, 26, 0.08);
  transform: translate3d(0, calc((var(--p) - 0.5) * -260px), 0) scale(calc(0.8 + var(--p) * 0.5));
}
.fshape--ring::after {
  content: ""; position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: var(--coral); box-shadow: 0 0 20px var(--coral);
}
.fshape--ring { rotate: calc(var(--p) * 540deg); }
.fshape--plus {
  left: 5%; bottom: 12%;
  width: 60px; height: 60px;
  transform: translate3d(calc(var(--p) * 120px), calc((var(--p) - 0.5) * 200px), 0) rotate(calc(var(--p) * 360deg));
}
.fshape--plus::before, .fshape--plus::after { content: ""; position: absolute; background: var(--lav); border-radius: 2px; }
.fshape--plus::before { left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; }
.fshape--plus::after { top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; }
.fshape--dots {
  right: 18%; bottom: 8%;
  width: 140px; height: 90px;
  background-image: radial-gradient(rgba(94, 224, 192, 0.55) 1.5px, transparent 1.6px);
  background-size: 14px 14px;
  transform: translate3d(calc(var(--p) * -160px), 0, 0);
  opacity: 0.7;
}

/* ---------- 타이포 밴드 ---------- */
.band { --p: 0; position: relative; padding: clamp(40px, 8vw, 110px) 0; overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(255, 74, 26, 0.03), transparent); }
.band__row { white-space: nowrap; line-height: 1.05; will-change: transform; }
.band__row span { display: inline-block; }
.band__row--a {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(56px, 11vw, 170px);
  transform: translate3d(calc(-8% - var(--p) * 38%), 0, 0);
}
.band__row--a i { font-style: normal; font-size: 0.5em; vertical-align: middle; color: var(--coral); margin: 0 0.25em; }
.band__row--b {
  font-size: clamp(44px, 8.5vw, 130px);
  font-weight: 850; letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 240, 225, 0.32);
  transform: translate3d(calc(-46% + var(--p) * 38%), 0, 0);
  margin-top: 0.1em;
}

/* ==========================================================================
   ③ 숫자
   ========================================================================== */
.numbers { --p: 0; position: relative; height: 440vh; }
.numbers__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
}
.numbers__bg { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.numbers__bg svg { grid-area: 1 / 1; width: min(108vh, 112vw); height: min(108vh, 112vw); }
.numbers__orbit { transform: rotate(calc(var(--p) * 300deg)); opacity: 0.9; }
.numbers__ring { transform: scale(calc(0.86 + var(--p) * 0.06)); filter: drop-shadow(0 0 18px rgba(255, 74, 26, 0.35)); }

.numbers__head {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 16px);
  display: flex; justify-content: space-between; align-items: center;
}
.numbers__count { margin: 0; font-family: var(--mono); font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.numbers__count span { color: var(--text); }

.numbers__stages { display: grid; width: min(1000px, calc(100% - var(--gutter) * 2)); position: relative; z-index: 1; }
.num-stage {
  grid-area: 1 / 1;
  text-align: center;
  opacity: 0;
  transform: translate3d(0, 50px, 0) scale(0.97);
  filter: blur(10px);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.7s var(--ease);
  pointer-events: none;
}
.num-stage.is-past { transform: translate3d(0, -50px, 0) scale(0.97); }
.num-stage.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.num-stage__title { margin: 0; font-size: clamp(16px, 1.6vw, 21px); font-weight: 650; color: var(--muted); }
.num-stage__value {
  margin: 8px 0 0;
  font-size: clamp(54px, 12vw, 190px);
  font-weight: 850; line-height: 1; letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.num-value {
  background: linear-gradient(180deg, #fffaf4 20%, #c8bdb1);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.num-unit { margin-left: 0.18em; font-size: 0.24em; font-weight: 700; letter-spacing: -0.02em; color: var(--coral); vertical-align: 0.15em; }
.num-stage__desc { margin: 22px auto 0; max-width: 560px; color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); }
.num-stage__desc code { font-size: 0.82em; }

.numbers__dots { position: absolute; bottom: 64px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.numbers__dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line-2); transition: width 0.5s var(--ease), background-color 0.4s; }
.numbers__dots i.is-active { width: 32px; background: var(--coral); }
.numbers__note { position: absolute; bottom: 24px; left: 0; right: 0; margin: 0; text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--dim); }

/* ==========================================================================
   ④ 강점
   ========================================================================== */
.strengths { --p: 0; position: relative; padding: clamp(100px, 14vw, 180px) 0 clamp(60px, 8vw, 120px); }
.strengths__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(30px, 5vw, 60px); align-items: start; }
.strengths__visual {
  position: sticky; top: calc(var(--nav-h) + 3vh);
  height: calc(100vh - var(--nav-h) - 6vh);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
}
.morph-wrap {
  position: relative;
  width: min(100%, 60vh, 520px);
  aspect-ratio: 1;
}
.morph-wrap::before {
  content: ""; position: absolute; inset: 6%;
  border-radius: 50%;
  border: 1px dashed var(--line-2);
  animation: spin 40s linear infinite;
}
.morph-wrap::after {
  content: ""; position: absolute; inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 74, 26, 0.18), transparent 65%);
  filter: blur(20px);
}
@keyframes spin { to { transform: rotate(360deg); } }
.morph { position: absolute; inset: 0; z-index: 1; transform: rotate(calc((var(--p) - 0.5) * 50deg)); }
.tile {
  position: absolute;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  transition:
    left 1s var(--ease), top 1s var(--ease), width 1s var(--ease), height 1s var(--ease),
    border-radius 1s var(--ease), background-color 0.8s, opacity 0.8s, transform 1s var(--ease), box-shadow 0.8s;
  transition-delay: calc(var(--i) * 24ms);
  box-shadow: 0 0 24px -6px var(--glow, transparent);
}
.morph__caption {
  margin: 0;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; font-weight: 600;
}
.morph__caption span:first-child { font-family: var(--mono); color: var(--coral); }

.step {
  min-height: 80vh;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0.25;
  transition: opacity 0.6s var(--ease);
}
.step:first-child { min-height: 70vh; }
.step.is-active { opacity: 1; }
.step__num { font-family: var(--mono); font-size: 14px; color: var(--coral); }
.step h3 { margin: 10px 0 0; font-size: clamp(26px, 3vw, 42px); font-weight: 800; line-height: 1.25; letter-spacing: -0.035em; }
.step p { margin: 18px 0 0; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.tags li {
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 13.5px; color: var(--text);
  transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.tags li:hover { background: rgba(255, 74, 26, 0.12); border-color: var(--coral); transform: translateY(-2px); }

/* ==========================================================================
   ⑤ 성격
   ========================================================================== */
.personality { --p: 0; position: relative; padding: clamp(100px, 12vw, 160px) 0; overflow: hidden; }
.fshape--tri {
  right: -40px; top: 120px;
  width: 0; height: 0;
  border-left: 90px solid transparent; border-right: 90px solid transparent;
  border-bottom: 156px solid rgba(181, 156, 255, 0.09);
  transform: translate3d(0, calc((var(--p) - 0.5) * -300px), 0) rotate(calc(var(--p) * 200deg));
}
.fshape--circle {
  left: -80px; bottom: 60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(94, 224, 192, 0.2), transparent 70%);
  transform: translate3d(calc(var(--p) * 140px), calc((var(--p) - 0.5) * 200px), 0);
}
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(40px, 5vw, 64px); }
.p-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative;
  padding: 34px 30px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 244, 230, 0.05), rgba(255, 244, 230, 0.015));
  overflow: hidden;
  transition: transform 0.6s var(--ease), border-color 0.4s, opacity 1s var(--ease), filter 1s var(--ease);
}
.p-card.is-tilting { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }
.js .p-card.reveal:not(.is-in) { transform: perspective(900px) translate3d(0, 44px, 0); }
.p-card.is-tilting { transition: transform 0.12s linear, border-color 0.4s; }
.p-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 74, 26, 0.16), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.p-card:hover { border-color: var(--line-2); }
.p-card:hover::before { opacity: 1; }
.p-card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 74, 26, 0.2), rgba(181, 156, 255, 0.14));
  border: 1px solid rgba(255, 74, 26, 0.25);
  transition: transform 0.6s var(--ease);
}
.p-card:hover .p-card__icon { transform: translateZ(30px) rotate(-8deg) scale(1.06); }
.p-card__icon svg, .cap-card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.p-card h3 { margin: 22px 0 0; font-size: 22px; font-weight: 750; letter-spacing: -0.03em; }
.p-card p { margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ==========================================================================
   ⑥ 할 수 있는 일
   ========================================================================== */
.capabilities { --p: 0; position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.ticker { margin: clamp(30px, 4vw, 50px) 0; overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; }
.ticker__track {
  white-space: nowrap;
  font-size: clamp(18px, 2vw, 26px); font-weight: 650; color: var(--muted);
  transform: translate3d(calc(-5% - var(--p) * 30%), 0, 0);
  will-change: transform;
}
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cap-card {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 250px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.6s var(--ease), border-color 0.4s, background-color 0.4s, opacity 1s var(--ease), filter 1s var(--ease);
}
.cap-card--wide { grid-column: span 2; }
.cap-card::after {
  /* 그라데이션 테두리 */
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity 0.4s;
}
.cap-card::before {
  content: ""; position: absolute; z-index: -1;
  width: 260px; height: 260px; right: -90px; top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--cc, #ff4a1a) 30%, transparent), transparent 70%);
  opacity: 0.4; transition: opacity 0.5s, transform 0.8s var(--ease);
}
.cap-card:hover { transform: translateY(-6px); background: var(--bg-3); }
.cap-card:hover::after { opacity: 1; }
.cap-card:hover::before { opacity: 1; transform: scale(1.25); }
.cap-card__icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  transition: transform 0.6s var(--ease);
}
.cap-card__icon svg { stroke: var(--c); }
.cap-card:hover .cap-card__icon { transform: rotate(-10deg) scale(1.08); }
.cap-card h3 { margin: 20px 0 0; font-size: 20px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.35; }
.cap-card p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.cap-card__ex {
  margin-top: auto !important; padding-top: 18px;
  font-family: var(--mono); font-size: 13px !important; color: var(--dim) !important;
  transition: color 0.4s, transform 0.5s var(--ease);
}
.cap-card:hover .cap-card__ex { color: var(--peach) !important; transform: translateX(4px); }
.cap-card--more { background: linear-gradient(140deg, rgba(255, 74, 26, 0.12), rgba(181, 156, 255, 0.08)); }
.cap-card__go { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--coral); }
.cap-card__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.45s var(--ease); }
.cap-card--more:hover .cap-card__go svg { transform: translateX(6px); }

/* ==========================================================================
   ⑦ 직접 해보기 — 생각 별자리 실험실
   ========================================================================== */
.lab { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.lab__panel {
  margin-top: clamp(32px, 4vw, 52px);
  padding: clamp(12px, 1.6vw, 20px);
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 244, 230, 0.045), rgba(255, 244, 230, 0.015));
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.8);
}
.lab__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.lab__add { flex: 1 1 340px; display: flex; gap: 8px; min-width: 0; }
.lab__add input {
  flex: 1; min-width: 0;
  height: 52px; padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit; font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.lab__add input::placeholder { color: var(--dim); }
.lab__add input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255, 74, 26, 0.15); background: rgba(0, 0, 0, 0.5); }
.btn--add { padding: 0 22px; }
.btn--add svg { transition: transform 0.5s var(--ease); }
.btn--add:hover svg { transform: rotate(90deg); }
.lab__cats { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s, transform 0.4s var(--ease);
}
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); transition: transform 0.4s var(--ease); }
.chip:hover { color: var(--text); border-color: var(--line-2); transform: translateY(-2px); }
.chip:hover i { transform: scale(1.3); }
.chip[aria-checked="true"] { color: var(--text); border-color: rgba(255, 240, 225, 0.45); background: rgba(255, 244, 230, 0.08); }
.chip[aria-checked="true"] i { transform: scale(1.3); box-shadow: 0 0 12px 1px rgba(255, 255, 255, 0.25); }

.lab__stage {
  --size: 86px;
  --flow: 2.4s;
  position: relative;
  height: clamp(400px, 60vh, 620px);
  margin: 14px 0;
  border-radius: 22px;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(181, 156, 255, 0.07), transparent 70%),
    radial-gradient(rgba(255, 240, 225, 0.09) 1px, transparent 1.2px) 0 0 / 22px 22px,
    #0c0b0a;
  user-select: none;
  -webkit-user-select: none;
}
.lab__links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.lab__links line {
  stroke-width: 1.4;
  stroke-dasharray: 3 7;
  stroke-linecap: round;
  opacity: 0.55;
  animation: flow var(--flow) linear infinite, lineIn 0.6s var(--ease);
}
@keyframes flow { to { stroke-dashoffset: -20; } }
@keyframes lineIn { from { opacity: 0; } }
.lab__nodes { position: absolute; inset: 0; }

.lab-node {
  position: absolute; left: 0; top: 0;
  width: var(--size); height: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  touch-action: none;
  will-change: transform;
  z-index: 1;
  outline: none;
}
.lab-node__body {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
  transition: transform 0.45s var(--ease);
}
.lab-node__shape {
  position: absolute; inset: 0;
  background: var(--c);
  background: radial-gradient(circle at 32% 26%, color-mix(in srgb, var(--c) 45%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 70%, #000));
  border-radius: 50%;
  transition: border-radius 0.5s var(--ease), clip-path 0.5s var(--ease), transform 0.5s var(--ease);
}
.lab__stage[data-shape="square"] .lab-node__shape { border-radius: 24%; }
.lab__stage[data-shape="hex"] .lab-node__shape { border-radius: 0; clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0% 50%); }
.lab__stage[data-shape="diamond"] .lab-node__shape { border-radius: 16%; transform: rotate(45deg) scale(0.78); }
.lab-node__label {
  position: relative; z-index: 1;
  max-width: 100%;
  padding: 0 9px;
  font-size: 12.5px; font-weight: 750; line-height: 1.2; letter-spacing: -0.02em;
  text-align: center;
  color: #170d07;
  pointer-events: none;
}
.lab-node__del {
  position: absolute; top: -2px; right: -2px; z-index: 2;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: #1d1a17;
  color: var(--text);
  font-size: 15px; line-height: 1;
  opacity: 0; transform: scale(0.5);
  transition: opacity 0.25s, transform 0.35s var(--ease), background-color 0.25s;
  cursor: pointer;
}
.lab-node__del:hover { background: #ff6b5c; color: #1b0e07; }
.lab-node:hover .lab-node__del, .lab-node.is-selected .lab-node__del, .lab-node:focus-visible .lab-node__del { opacity: 1; transform: none; }
@media (hover: none) { .lab-node__del { opacity: 0.9; transform: scale(0.85); } }
.lab-node:hover .lab-node__body { transform: scale(1.06); }
.lab-node.is-dragging { z-index: 5; }
.lab-node.is-dragging .lab-node__body { transform: scale(1.12); filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55)); }
.lab-node.is-selected { z-index: 4; }
.lab-node.is-selected .lab-node__body::after {
  content: ""; position: absolute; inset: -9px;
  border-radius: 50%;
  border: 2px dashed var(--c);
  animation: spin 8s linear infinite;
}
.lab-node:focus-visible .lab-node__body::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--text);
}
.lab-node.is-new .lab-node__body { animation: nodeIn 0.7s var(--ease) both; }
.lab-node.is-leaving { pointer-events: none; }
.lab-node.is-leaving .lab-node__body { animation: nodeOut 0.38s var(--ease-io) forwards; }
@keyframes nodeIn { from { transform: scale(0) rotate(-40deg); opacity: 0; } 60% { opacity: 1; } }
@keyframes nodeOut { to { transform: scale(0) rotate(30deg); opacity: 0; } }
.lab__stage.is-morphing .lab-node__body { animation: squash 0.6s var(--ease); }
@keyframes squash { 0% { transform: scale(1); } 30% { transform: scale(0.7, 1.2); } 60% { transform: scale(1.12, 0.9); } 100% { transform: scale(1); } }
.lab-node.is-shake .lab-node__body { animation: shake 0.45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.lab__clusters { position: absolute; inset: 0; pointer-events: none; }
.lab-cluster {
  position: absolute; left: 0; top: 0;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  background: rgba(10, 9, 8, 0.7);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s, left 0.8s var(--ease), top 0.8s var(--ease);
  white-space: nowrap;
}
.lab-cluster.is-on { opacity: 1; }

.lab__empty {
  position: absolute; inset: 0; margin: 0;
  display: grid; place-items: center;
  color: var(--dim); font-size: 16px;
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.lab__stage.is-empty .lab__empty { opacity: 1; }
.lab__hint, .lab__stats {
  position: absolute; margin: 0;
  font-family: var(--mono); font-size: 11.5px; color: var(--dim);
  pointer-events: none;
}
.lab__hint { top: 12px; right: 14px; left: 14px; text-align: right; }
.lab__stats { bottom: 12px; left: 14px; }
.lab__stats b { color: var(--text); font-weight: 600; display: inline-block; min-width: 1.4ch; transition: transform 0.3s var(--ease); }
.lab__stats b.bump { animation: bump 0.4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.5); color: var(--coral); } }
.is-touch .only-fine { display: none; }

.lab__controls { display: grid; grid-template-columns: auto auto 1fr auto; gap: 18px 26px; align-items: start; padding: 6px 4px 4px; }
.ctrl__label { margin: 0 0 9px; font-family: var(--mono); font-size: 12px; color: var(--dim); display: flex; gap: 10px; align-items: baseline; }
.ctrl__label output { color: var(--muted); }
.ctrl__label output b { color: var(--coral); font-weight: 600; }
.ctrl__btns { display: flex; flex-wrap: wrap; gap: 8px; }

.seg {
  position: relative;
  display: inline-flex; flex-wrap: nowrap;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  max-width: 100%;
}
.seg button {
  position: relative; z-index: 1;
  min-height: 36px; padding: 0 14px;
  border: 0; border-radius: 999px; background: transparent;
  font-size: 14px; font-weight: 600; color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.35s;
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { color: #170d07; }
.seg__pill {
  position: absolute; top: 4px; bottom: 4px; left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--text);
  box-shadow: 0 4px 18px -4px rgba(255, 240, 225, 0.5);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease);
}

.ctrl--effort { min-width: 220px; }
.range {
  --val: 25%;
  width: 100%; height: 26px;
  margin: 0;
  appearance: none; -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--coral), var(--lav) var(--val), rgba(255, 240, 225, 0.12) var(--val)); }
.range::-moz-range-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--coral), var(--lav) var(--val), rgba(255, 240, 225, 0.12) var(--val)); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; margin-top: -8px;
  border-radius: 50%;
  background: var(--text);
  border: 4px solid var(--coral);
  box-shadow: 0 0 0 0 rgba(255, 74, 26, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--text); border: 4px solid var(--coral); }
.range:hover::-webkit-slider-thumb { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(255, 74, 26, 0.15); }
.range:active::-webkit-slider-thumb { transform: scale(0.95); box-shadow: 0 0 0 12px rgba(255, 74, 26, 0.2); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--coral); }
.range__ticks { display: flex; justify-content: space-between; margin-top: 4px; font-family: var(--mono); font-size: 10.5px; color: var(--dim); }

/* ==========================================================================
   ⑧ 제작 과정
   ========================================================================== */
.making { padding: clamp(80px, 10vw, 140px) 0; }
.making__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.terminal {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #0e0d0c;
  overflow: hidden;
  box-shadow: 0 30px 100px -30px rgba(255, 74, 26, 0.25), 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.terminal__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 244, 230, 0.03);
}
.terminal__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a342f; }
.terminal__bar i:nth-child(1) { background: #ff6b5c; }
.terminal__bar i:nth-child(2) { background: #ffd166; }
.terminal__bar i:nth-child(3) { background: #5ee0c0; }
.terminal__bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.terminal__body { padding: 20px 22px 24px; min-height: 340px; font-family: var(--mono); font-size: 13.5px; line-height: 1.9; }
.term-line { position: relative; padding-left: 24px; color: var(--muted); word-break: break-all; }
.term-line::before { position: absolute; left: 0; top: 0; }
.term-line[data-type="cmd"] { color: var(--text); }
.term-line[data-type="cmd"]::before { content: "›"; color: var(--coral); font-weight: 700; }
.term-line[data-type="info"]::before { content: "◆"; color: var(--lav); font-size: 0.8em; }
.term-line[data-type="ok"]::before { content: "✓"; color: var(--mint); }
.term-line[data-type="done"] { color: var(--peach); margin-top: 6px; }
.term-line[data-type="done"]::before { content: "→"; color: var(--coral); }
.js .terminal.is-typing .term-line { display: none; }
.js .terminal.is-typing .term-line.is-shown { display: block; animation: lineUp 0.35s var(--ease); }
@keyframes lineUp { from { opacity: 0; transform: translateY(6px); } }
.term-caret { display: inline-block; width: 8px; height: 1.1em; margin-left: 3px; vertical-align: -0.2em; background: var(--coral); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ==========================================================================
   ⑨ 시작하기
   ========================================================================== */
.cta { position: relative; padding: clamp(120px, 16vw, 220px) 0; overflow: hidden; text-align: center; isolation: isolate; }
.cta__orb {
  position: absolute; left: 50%; top: 50%; z-index: -1;
  width: min(900px, 130vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 74, 26, 0.35), rgba(181, 156, 255, 0.3), rgba(94, 224, 192, 0.22), rgba(255, 209, 102, 0.2), rgba(255, 74, 26, 0.35));
  filter: blur(100px);
  opacity: 0.55;
  animation: orb 22s linear infinite;
}
@keyframes orb { to { transform: translate(-50%, -50%) rotate(360deg); } }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__inner .section-lead { margin-inline: auto; }
.cta__title {
  margin: 20px 0 0;
  font-size: clamp(40px, 7.4vw, 110px);
  font-weight: 850; line-height: 1.08; letter-spacing: -0.05em;
}
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.model-chip {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 40px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(10, 9, 8, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.model-chip__label { font-size: 13px; color: var(--dim); }
.model-chip code { border: 0; background: none; padding: 0; font-size: 15px; color: var(--text); }
.copy-btn {
  position: relative;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  cursor: pointer;
  transition: background-color 0.3s, transform 0.4s var(--ease), border-color 0.3s;
}
.copy-btn:hover { background: rgba(255, 74, 26, 0.18); border-color: var(--coral); transform: rotate(-8deg) scale(1.06); }
.copy-btn:active { transform: scale(0.9); }
.copy-btn svg { grid-area: 1 / 1; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.3s, transform 0.45s var(--ease); }
.copy-btn .i-check { opacity: 0; transform: scale(0.3) rotate(-30deg); stroke: var(--mint); }
.copy-btn.is-copied { border-color: var(--mint); background: rgba(94, 224, 192, 0.15); }
.copy-btn.is-copied .i-copy { opacity: 0; transform: scale(0.3); }
.copy-btn.is-copied .i-check { opacity: 1; transform: none; }
.cta__price { margin: 18px 0 0; font-family: var(--mono); font-size: 12.5px; color: var(--dim); }

/* ---------- 푸터 ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer__brand { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-weight: 750; }
.footer__brand .logo-mark { width: 24px; height: 24px; }
.footer__note { margin: 0; flex: 1 1 360px; color: var(--dim); font-size: 14px; }
.footer__top { font-size: 14px; color: var(--muted); transition: color 0.3s, transform 0.4s var(--ease); }
.footer__top:hover { color: var(--coral); transform: translateY(-3px); }

/* ---------- 토스트 ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 200;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--text); color: #170d07;
  font-size: 14.5px; font-weight: 650;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.55s var(--ease), opacity 0.35s;
  pointer-events: none;
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }

/* ==========================================================================
   반응형
   ========================================================================== */
@media (max-width: 1100px) {
  .lab__controls { grid-template-columns: auto 1fr; }
}

@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .p-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .making__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .strengths__grid { grid-template-columns: 1fr; gap: 0; }
  .strengths__visual {
    top: var(--nav-h);
    z-index: 2;
    height: auto;
    padding: 12px 0 18px;
    gap: 12px;
    background: linear-gradient(180deg, var(--bg) 82%, rgba(10, 9, 8, 0));
  }
  .morph-wrap { width: min(62vw, 30vh, 300px); }
  .step, .step:first-child { min-height: 62vh; }
  .step h3 { font-size: clamp(24px, 6.4vw, 32px); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --nav-h: 60px; }
  .br-pc { display: none; }
  .hero { padding-bottom: 110px; }
  .hero__mark { height: clamp(80px, 15vh, 130px); width: 96%; margin: 12px 0 2px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 200px; }
  .hero__hint { bottom: 64px; }
  .scroll-cue { display: none; }
  .p-grid, .cap-grid { grid-template-columns: 1fr; }
  .cap-card--wide { grid-column: auto; }
  .cap-card { min-height: 0; }
  .p-card { padding: 28px 24px; }
  .numbers__head { top: calc(var(--nav-h) + 12px); }
  .numbers__dots { bottom: 58px; }
  .num-stage__desc { padding: 0 6px; }
  .num-unit { font-size: 0.34em; }
  .manifesto { height: 240vh; }
  .numbers { height: 400vh; }
  .lab__controls { grid-template-columns: 1fr; gap: 16px; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 0 8px; font-size: 13.5px; }
  .lab__stage { --size: 70px; height: clamp(380px, 58vh, 520px); }
  .lab-node__label { font-size: 11px; padding: 0 6px; }
  .lab__hint { text-align: left; }
  .lab__add { flex-basis: 100%; }
  .lab__cats { width: 100%; }
  .btn--lg { width: 100%; }
  .cta__actions { width: 100%; }
  .model-chip { padding-left: 16px; gap: 8px; }
  .model-chip code { font-size: 14px; }
  .terminal__body { font-size: 12.5px; padding: 16px; min-height: 300px; }
}

@media (max-width: 380px) {
  .chip { padding: 0 10px; font-size: 12.5px; }
  .model-chip__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js [data-split] .char { opacity: 1; transform: none; filter: none; }
}

/* ---------- 작업(Work) 카드 ---------- */
.cap-card__icon--mono { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1; color: var(--c); }
.cap-card__meta { margin: 18px 0 0 !important; font-family: var(--mono); font-size: 12px !important; color: var(--dim) !important; letter-spacing: 0.02em; }
.cap-card__meta + h3 { margin-top: 6px; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.02em; }
.nowrap { white-space: nowrap; }

/* ---------- 메인 사이트로 돌아가기 (LAB) ---------- */
.nav__back { gap: 12px; }
.nav__back .nav__name { letter-spacing: 0.01em; }
.nav__back .nav__name sup { font-size: 0.5em; margin-left: 1px; color: var(--coral); }
.nav__sub {
  padding-left: 12px; border-left: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.08em; color: var(--muted);
}
.mobile-menu__back small { color: var(--muted) !important; }
.footer__inner .footer__top + .footer__top { margin-left: -8px; }
@media (max-width: 380px) { .nav__sub { display: none; } }
