/* ============================================================================
   WANE LNC. — design system
   "존재하지 않았던 장면을, 존재했던 촬영보다 더 정확하게 연출한다."

   색은 90 / 8 / 2 로 쓴다. 검정과 미드나이트가 90, 아이보리·실버가 8,
   보라·시안은 2 — 빛과 선택 상태와 CTA 에만.

   01 tokens   02 reset/base   03 type      04 layout    05 atmosphere
   06 nav      07 buttons      08 surfaces  09 work      10 proof
   11 forms    12 footer       13 modal     14 motion    15 cursor
   16 utils    17 responsive   18 reduced-motion / no-js
   ========================================================================= */

/* ── 01 tokens ───────────────────────────────────────────────────────────── */
:root {
  /* 90% — 어둠 */
  --void:      #050509;
  --midnight:  #090b14;
  --charcoal:  #0f1220;
  --surface:   #141827;
  --surface-2: #1c2133;

  /* 8% — 빛나지 않는 밝기 */
  --ivory:     #edeae4;
  --silver:    #a6a9b6;
  --silver-dim:#767a8a;   /* 4.6:1 — 본문 하한 */

  /* 2% — 광원 */
  --violet:    #8c7cff;   /* 6.0:1 */
  --cyan:      #62e2d5;   /* 12.5:1 */
  --ice:       #aec4ff;

  --violet-wash: rgba(140, 124, 255, .12);
  --violet-line: rgba(140, 124, 255, .34);
  --cyan-wash:   rgba(98, 226, 213, .10);

  --line:        rgba(237, 234, 228, .10);
  --line-strong: rgba(237, 234, 228, .22);

  /* type */
  --kr:      "Pretendard", "Pretendard Fallback", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --display: "Fraunces", "Fraunces Fallback", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Consolas, "Courier New", monospace;

  /* 히어로는 화면 폭을 압도하되, 절대 화면 밖으로 나가지 않는다.
     세로가 짧은 노트북에서 CTA 가 잘리던 문제 때문에 vh 로도 함께 묶는다. */
  --t-hero:  clamp(46px, min(14.5vw, 18.5vh), 230px);
  --t-act:   clamp(30px, 5.4vw, 82px);
  --t-h2:    clamp(27px, 3.6vw, 52px);
  --t-h3:    clamp(19px, 1.8vw, 25px);
  --t-lead:  clamp(16px, 1.35vw, 19px);
  --t-body:  clamp(15.5px, 1.05vw, 17px);
  --t-sm:    14.5px;
  --t-mono:  11.5px;
  --t-mono-s: 10px;

  /* space */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;
  --act-y:  clamp(104px, 15vh, 220px);   /* 여백은 이 사이트의 재료다 */
  --gutter: clamp(20px, 5.2vw, 96px);
  --maxw: 1520px;
  --measure: 66ch;

  --r-sm: 6px; --r-md: 12px; --r-lg: 18px; --r-pill: 999px;

  /* motion */
  --ease:    cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --d-fast: 160ms; --d: 260ms; --d-slow: 480ms; --d-scene: 760ms;

  --z-atmos: 1; --z-content: 4; --z-nav: 60; --z-drawer: 70;
  --z-modal: 80; --z-cursor: 90; --z-skip: 100;

  --nav-h: 76px;
}

/* 웹폰트 도착 전후로 글자가 밀리지 않게 대체 글꼴 몸집을 맞춘다 */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia"), local("Times New Roman"), local("serif");
  size-adjust: 104%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%;
}
@font-face {
  font-family: "Pretendard Fallback";
  src: local("Malgun Gothic"), local("Apple SD Gothic Neo"), local("Arial");
  size-adjust: 99%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%;
}

/* ── 02 reset / base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  background: var(--void);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  font-family: var(--kr);
  font-size: var(--t-body);
  line-height: 1.78;
  color: var(--ivory);
  background: var(--midnight);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; background-color: var(--charcoal); }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }
::selection { background: rgba(140, 124, 255, .4); color: #fff; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: fixed; left: 16px; top: -90px; z-index: var(--z-skip);
  padding: 12px 20px; border-radius: var(--r-pill);
  background: var(--ivory); color: var(--void);
  font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .12em;
  transition: top var(--d) var(--ease);
}
.skip-link:focus { top: 16px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ── 03 type ─────────────────────────────────────────────────────────────── */
.display { font-family: var(--display); font-weight: 600; text-transform: uppercase; line-height: .96; letter-spacing: .004em; }
.mono {
  font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .22em;
  text-transform: uppercase; color: var(--silver-dim); font-variant-numeric: tabular-nums;
}
.eyebrow {
  font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .3em;
  text-transform: uppercase; color: var(--violet);
}
.eyebrow--cyan { color: var(--cyan); }

/* ACT 제목 — 인지부조화 2행. 1행은 부정, 2행은 결과 */
.act-title { font-family: var(--display); font-weight: 600; font-size: var(--t-act); line-height: 1.0; text-transform: uppercase; }
.paradox { font-size: var(--t-h2); font-weight: 800; line-height: 1.34; letter-spacing: -.015em; text-wrap: balance; }
.paradox .no  { display: block; color: var(--silver-dim); }
.paradox .yes { display: block; color: var(--ivory); }
.paradox .yes em { color: var(--violet); font-style: normal; }

.h2 { font-size: var(--t-h2); font-weight: 800; line-height: 1.32; letter-spacing: -.015em; }
.h3 { font-size: var(--t-h3); font-weight: 800; line-height: 1.45; }
.lead { font-size: var(--t-lead); line-height: 1.9; color: var(--silver); max-width: var(--measure); }
.muted { color: var(--silver-dim); }
p + p { margin-top: 1.1em; }
b, strong { font-weight: 800; color: var(--ivory); }
em { font-style: normal; color: var(--violet); }
.num-t { font-variant-numeric: tabular-nums; }

/* ── 04 layout ───────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.act { position: relative; padding-block: var(--act-y); }
.act + .act { border-top: 1px solid var(--line); }
.act--tight { padding-block: clamp(64px, 8vh, 112px); }

.act-head { display: grid; grid-template-columns: 210px 1fr; gap: var(--s-7); align-items: start; }
.act-head__mark { position: sticky; top: calc(var(--nav-h) + 28px); }
.act-head__n {
  font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .26em;
  color: var(--silver-dim); font-variant-numeric: tabular-nums;
}
.act-head__rule { margin-top: var(--s-3); width: 42px; height: 1px; background: var(--violet); }
.act-head__body > .lead { margin-top: var(--s-5); }
.act-note {
  margin-top: var(--s-7); font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .08em;
  color: var(--silver-dim); line-height: 1.95; text-transform: none;
}

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rule { height: 1px; background: var(--line); border: 0; }

/* ── 05 atmosphere ───────────────────────────────────────────────────────
   그레인 · 비네트 · 볼류메트릭. 셋 다 읽기를 방해하지 않는 세기로만. */
.atmos { position: fixed; inset: 0; z-index: var(--z-atmos); pointer-events: none; }
.atmos__grain {
  position: absolute; inset: -120px;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: no-preference) {
  .atmos__grain { animation: grain 900ms steps(4) infinite; }
  @keyframes grain {
    0%   { transform: translate3d(0, 0, 0); }
    25%  { transform: translate3d(-24px, 12px, 0); }
    50%  { transform: translate3d(16px, -20px, 0); }
    75%  { transform: translate3d(-14px, -10px, 0); }
    100% { transform: translate3d(0, 0, 0); }
  }
}
.atmos__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 132% 104% at 50% 46%, transparent 52%, rgba(5, 5, 9, .78) 100%);
}
/* 느리게 움직이는 볼류메트릭 광원 — 한 화면에 두 개까지 */
.atmos__light {
  position: absolute; width: 62vw; height: 62vw; border-radius: 50%;
  filter: blur(120px); opacity: .16;
}
.atmos__light--a { left: -16vw; top: -12vw; background: radial-gradient(circle, var(--violet), transparent 66%); }
.atmos__light--b { right: -18vw; bottom: -18vw; background: radial-gradient(circle, var(--cyan), transparent 66%); opacity: .09; }
@media (prefers-reduced-motion: no-preference) {
  .atmos__light--a { animation: drift-a 46s ease-in-out infinite alternate; }
  .atmos__light--b { animation: drift-b 58s ease-in-out infinite alternate; }
  @keyframes drift-a { to { transform: translate3d(10vw, 14vh, 0) scale(1.14); } }
  @keyframes drift-b { to { transform: translate3d(-12vw, -10vh, 0) scale(1.1); } }
}
main, footer, .nav, .drawer { position: relative; z-index: var(--z-content); }

/* ── 06 nav ──────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: var(--z-nav); height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background var(--d) var(--ease), border-color var(--d) var(--ease), backdrop-filter var(--d);
}
/* 영상 위에서는 투명, 스크롤하면 대비를 확보한다 */
.nav.is-stuck {
  background: rgba(5, 5, 9, .86);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom-color: var(--line);
}
.nav__brand { display: flex; flex-direction: column; gap: 2px; }
.nav__logo { font-family: var(--mono); font-weight: 500; font-size: 15px; letter-spacing: .06em; color: var(--ivory); }
.nav__coord { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; color: var(--silver-dim); font-variant-numeric: tabular-nums; }

.nav__menu { display: flex; align-items: center; gap: var(--s-1); }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 10px 16px; border-radius: var(--r-pill); cursor: pointer;
  font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .2em;
  color: var(--silver); transition: color var(--d-fast) var(--ease), background var(--d-fast) var(--ease);
}
.nav__link:hover { color: var(--ivory); background: rgba(237, 234, 228, .06); }
.nav__link[aria-current="page"] { color: var(--ivory); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1px; background: var(--violet);
}
/* 현재 스크롤 위치 표시 — 홈의 ACT 앵커용 */
.nav__link.is-near::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1px;
  background: var(--violet-line);
}
.nav__cta {
  margin-left: var(--s-3); min-height: 44px; padding: 12px 22px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center;
  background: var(--ivory); color: var(--void);
  font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .14em; font-weight: 500;
  transition: transform var(--d) var(--ease), box-shadow var(--d) var(--ease);
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(237, 234, 228, .2); }

.nav__group { position: relative; }
.nav__caret { transition: transform var(--d-fast) var(--ease); }
.nav__group[data-open="true"] .nav__caret { transform: rotate(180deg); }
.nav__panel {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, -8px);
  width: min(600px, 84vw); padding: var(--s-5);
  border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  background: rgba(9, 11, 20, .97);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--d) var(--ease), transform var(--d) var(--ease), visibility var(--d);
}
.nav__group[data-open="true"] .nav__panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.nav__col-title {
  font-family: var(--mono); font-size: var(--t-mono-s); letter-spacing: .26em; color: var(--violet);
  padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); margin-bottom: var(--s-3);
}
.nav__col--grow .nav__col-title { color: var(--cyan); }
.nav__item {
  display: block; padding: 10px; border-radius: var(--r-sm);
  font-size: var(--t-sm); color: var(--silver); line-height: 1.5;
  transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease);
}
.nav__item:hover { background: var(--violet-wash); color: var(--ivory); }
.nav__item span { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--silver-dim); margin-top: 4px; }

.nav__burger {
  display: none; width: 46px; height: 46px; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  background: rgba(9, 11, 20, .72); align-items: center; justify-content: center;
}
.nav__burger span { display: block; width: 17px; height: 1.5px; background: var(--ivory); position: relative; transition: background var(--d-fast); }
.nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: var(--ivory);
  transition: transform var(--d) var(--ease);
}
.nav__burger span::before { top: -5.5px; }
.nav__burger span::after { top: 5.5px; }
body.drawer-open .nav__burger span { background: transparent; }
body.drawer-open .nav__burger span::before { transform: translateY(5.5px) rotate(45deg); }
body.drawer-open .nav__burger span::after { transform: translateY(-5.5px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: rgba(5, 5, 9, .98);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 130px;
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity var(--d) var(--ease), visibility var(--d);
}
body.drawer-open .drawer { opacity: 1; visibility: visible; }
body.drawer-open { overflow: hidden; }
.drawer__link {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4);
  padding: 22px 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: clamp(30px, 9vw, 44px); font-weight: 600;
  text-transform: uppercase; color: var(--ivory);
}
.drawer__link small { font-family: var(--kr); font-size: 13px; font-weight: 500; text-transform: none; color: var(--silver-dim); }
.drawer__sub { padding: 6px 0 18px; }
.drawer__sub a { display: block; padding: 13px 0 13px 16px; border-left: 1px solid var(--line); font-size: 15px; color: var(--silver); }
.drawer__sub a:hover { color: var(--violet); border-left-color: var(--violet); }

.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-nav); display: none; gap: var(--s-2);
  padding: 10px var(--s-4) calc(10px + env(safe-area-inset-bottom));
  background: rgba(5, 5, 9, .95); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
}
.mobile-cta a { flex: 1; min-height: 50px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 700; }
.mobile-cta .is-primary { background: var(--ivory); color: var(--void); }
.mobile-cta .is-ghost { border: 1px solid var(--line-strong); color: var(--silver); }

/* ── 07 buttons ──────────────────────────────────────────────────────────── */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 15px 32px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer; text-align: center;
  font-family: var(--kr); font-size: 14.5px; font-weight: 700; letter-spacing: .03em;
  transition: color var(--d) var(--ease), border-color var(--d) var(--ease),
              box-shadow var(--d) var(--ease), transform var(--d-fast) var(--ease);
}
.btn .arr { transition: transform var(--d) var(--ease); }
.btn:hover .arr { transform: translateX(6px); }
.btn:active { transform: scale(.98); }
.btn__t { display: inline-block; }
.btn--primary { background: var(--ivory); color: var(--void); border-color: var(--ivory); }
.btn--primary:hover { box-shadow: 0 12px 40px rgba(237, 234, 228, .28); }
.btn--outline { color: var(--ivory); border-color: var(--line-strong); }
.btn--outline::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ivory);
  transform: scaleX(0); transform-origin: left center; transition: transform var(--d-slow) var(--ease);
}
.btn--outline:hover { color: var(--void); border-color: var(--ivory); }
.btn--outline:hover::before { transform: scaleX(1); }
.btn--quiet { color: var(--silver); padding-inline: 14px; min-height: 44px; }
.btn--quiet:hover { color: var(--violet); }
.btn--lg { min-height: 60px; padding: 19px 40px; font-size: 15.5px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn__meta { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; opacity: .62; font-variant-numeric: tabular-nums; }

/* ── 08 surfaces ─────────────────────────────────────────────────────────── */
.panel {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--charcoal); padding: clamp(26px, 2.6vw, 42px);
  transition: border-color var(--d) var(--ease), background var(--d) var(--ease);
}

/* 공정 6단계 — 존재하지 않던 공간이 단계적으로 완성된다 */
.build { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; margin-top: var(--s-8); }
.build__cell {
  position: relative; padding: var(--s-6) var(--s-4) var(--s-7);
  background: var(--charcoal); border-top: 1px solid var(--line);
  transition: background var(--d) var(--ease), border-color var(--d) var(--ease);
}
.build__cell::after {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--violet);
  transition: width var(--d-scene) var(--ease);
}
.build__cell.is-in::after { width: 100%; }
.build__cell:nth-child(2).is-in::after { transition-delay: 90ms; }
.build__cell:nth-child(3).is-in::after { transition-delay: 180ms; }
.build__cell:nth-child(4).is-in::after { transition-delay: 270ms; }
.build__cell:nth-child(5).is-in::after { transition-delay: 360ms; }
.build__cell:nth-child(6).is-in::after { transition-delay: 450ms; }
.build__cell:hover { background: var(--surface); }
.build__n { font-family: var(--mono); font-size: var(--t-mono-s); letter-spacing: .22em; color: var(--violet); font-variant-numeric: tabular-nums; }
.build__t { margin-top: var(--s-4); font-size: 16px; font-weight: 800; line-height: 1.45; }
.build__d { margin-top: var(--s-3); font-size: 13px; color: var(--silver-dim); line-height: 1.8; }

/* 견적서 원장 — 지워지는 줄과 남는 줄 (ACT 05) */
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 56px); margin-top: var(--s-8); align-items: start; }
.ledger__col > h3 {
  font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .24em;
  color: var(--silver-dim); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line);
}
.ledger__col--wane > h3 { color: var(--violet); }
.ledger__line {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4);
  padding: 17px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm);
  color: var(--silver);
}
.ledger__line b { font-weight: 700; }
.ledger__line .tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--silver-dim); white-space: nowrap; }
/* 사라지는 줄 — 취소선이 왼쪽에서 오른쪽으로 그어진다 */
.ledger__col--old .ledger__line { position: relative; }
.ledger__col--old .ledger__line span:first-child { position: relative; display: inline-block; }
.ledger__col--old .ledger__line span:first-child::after {
  content: ""; position: absolute; left: 0; top: 52%; height: 1px; width: 0;
  background: var(--silver-dim); transition: width var(--d-scene) var(--ease);
}
.ledger__col--old.is-in .ledger__line span:first-child::after { width: 100%; }
.ledger__col--old.is-in .ledger__line:nth-child(3) span:first-child::after { transition-delay: 80ms; }
.ledger__col--old.is-in .ledger__line:nth-child(4) span:first-child::after { transition-delay: 160ms; }
.ledger__col--old.is-in .ledger__line:nth-child(5) span:first-child::after { transition-delay: 240ms; }
.ledger__col--old.is-in .ledger__line:nth-child(6) span:first-child::after { transition-delay: 320ms; }
.ledger__col--old.is-in .ledger__line:nth-child(7) span:first-child::after { transition-delay: 400ms; }
.ledger__col--old.is-in .ledger__line { color: var(--silver-dim); }
.ledger__col--wane .ledger__line { color: var(--ivory); }
.ledger__col--wane .ledger__line .tag { color: var(--violet); }
.ledger__moved {
  margin-top: var(--s-6); padding: var(--s-5); border: 1px solid var(--violet-line); border-radius: var(--r-md);
  background: var(--violet-wash); font-size: var(--t-sm); line-height: 1.85;
}

/* Before / After 드래그 비교 */
.ba {
  position: relative; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line);
  aspect-ratio: 96 / 50; background: var(--charcoal); touch-action: pan-y;
  --p: 50%;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--p)); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px;
  background: var(--ivory); box-shadow: 0 0 18px rgba(5, 5, 9, .8);
}
.ba__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ivory); color: var(--void);
  display: grid; place-items: center; font-family: var(--mono); font-size: 12px; cursor: ew-resize;
}
.ba__tag {
  position: absolute; bottom: 12px; z-index: 2;
  font-family: var(--mono); font-size: var(--t-mono-s); letter-spacing: .18em;
  padding: 6px 11px; border-radius: var(--r-pill);
  background: rgba(5, 5, 9, .7); border: 1px solid var(--line-strong); color: var(--ivory);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ba__tag--l { left: 12px; }
.ba__tag--r { right: 12px; color: var(--cyan); border-color: rgba(98, 226, 213, .4); }
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
}
.ba__range:focus-visible ~ .ba__handle { box-shadow: 0 0 0 3px var(--cyan); }

/* FAQ */
.faq { margin-top: var(--s-7); max-width: 1000px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 52px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  padding: 24px 4px; font-size: clamp(15.5px, 1.35vw, 17.5px); font-weight: 800; line-height: 1.5;
  transition: color var(--d-fast) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--mono); font-size: 20px; color: var(--violet); transition: transform var(--d) var(--ease); }
.faq summary:hover { color: var(--violet); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 4px 28px; color: var(--silver); max-width: var(--measure); }
.faq a { color: var(--violet); border-bottom: 1px solid currentColor; }

/* ── 09 work ─────────────────────────────────────────────────────────────── */
/* 한 작업이 한 장면씩. 작게 나열하지 않는다. */
.reel { display: grid; gap: clamp(56px, 8vh, 128px); margin-top: var(--s-9); }
.reel__item { display: grid; grid-template-columns: 1fr; gap: var(--s-6); }
.reel__frame {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--charcoal);
  transition: border-color var(--d) var(--ease), box-shadow var(--d-slow) var(--ease);
}
.reel__frame img, .reel__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__frame video { opacity: 0; transition: opacity var(--d-slow) var(--ease); }
.reel__frame video.is-playing { opacity: 1; }
.reel__item a:hover .reel__frame, .reel__item a:focus-visible .reel__frame {
  border-color: var(--violet-line); box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
}
/* 세로 소재는 잘라내지 않고 담는다 */
.reel__frame.is-portrait img, .reel__frame.is-portrait video { object-fit: contain; }
.reel__frame.is-portrait::before {
  content: ""; position: absolute; inset: 0;
  background: var(--surface); z-index: -1;
}
.reel__edge {
  position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 90px 20px rgba(5, 5, 9, .55);
}
.reel__no {
  position: absolute; left: 16px; top: 14px; z-index: 2;
  font-family: var(--mono); font-size: var(--t-mono-s); letter-spacing: .22em; color: var(--ivory);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .95); font-variant-numeric: tabular-nums;
}
.reel__state {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: rgba(5, 5, 9, .66);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--ivory);
}
.reel__state::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--silver-dim); }
.reel__frame video.is-playing ~ .reel__state::before { background: var(--cyan); }

.reel__meta { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s-6) var(--s-7); align-items: start; }
.reel__cat { font-family: var(--mono); font-size: var(--t-mono-s); letter-spacing: .22em; color: var(--violet); }
.reel__title {
  margin-top: var(--s-3); font-family: var(--display); font-weight: 600;
  font-size: clamp(30px, 4.2vw, 62px); line-height: 1; text-transform: uppercase;
}
.reel__line { margin-top: var(--s-4); color: var(--silver); max-width: 46ch; }
.reel__specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px 0; align-self: end; }
.reel__spec { display: flex; flex-direction: column; gap: 5px; padding: 13px 0; border-top: 1px solid var(--line); }
.reel__spec dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; color: var(--silver-dim); }
.reel__spec dd { font-size: 13.5px; color: var(--ivory); font-weight: 700; }
.reel__more {
  margin-top: var(--s-5); display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .18em; color: var(--ivory);
}
.reel__more::after { content: ""; width: 26px; height: 1px; background: currentColor; transition: width var(--d) var(--ease); }
.reel__item a:hover .reel__more { color: var(--violet); }
.reel__item a:hover .reel__more::after { width: 44px; }

/* INDEX 모드 그리드 */
.index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 30px); }
.idx { display: block; }
.idx__frame {
  position: relative; overflow: hidden; border-radius: var(--r-sm); border: 1px solid var(--line);
  aspect-ratio: 16 / 9; background: var(--charcoal);
  transition: border-color var(--d) var(--ease), transform var(--d-slow) var(--ease);
}
.idx__frame img, .idx__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.idx__frame video { opacity: 0; transition: opacity var(--d-slow) var(--ease); }
.idx__frame video.is-playing { opacity: 1; }
.idx:hover .idx__frame, .idx:focus-visible .idx__frame { border-color: var(--violet-line); transform: translateY(-3px); }
.idx__no { position: absolute; left: 10px; top: 8px; z-index: 2; font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; color: var(--ivory); text-shadow: 0 1px 8px #000; }
.idx__meta { padding-top: var(--s-4); display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); }
.idx__title { font-family: var(--display); font-weight: 600; font-size: 20px; text-transform: uppercase; line-height: 1.1; }
.idx__year { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--silver-dim); }
.idx__cat { margin-top: 6px; font-size: 13px; color: var(--silver-dim); }

/* 모드 전환 + 필터 */
.mode-switch { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: rgba(9, 11, 20, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mode-switch button {
  min-height: 42px; padding: 9px 22px; border-radius: var(--r-pill); cursor: pointer;
  color: var(--silver-dim); font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .18em;
  transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease);
}
.mode-switch button[aria-pressed="true"] { background: var(--ivory); color: var(--void); }
.mode-switch button:not([aria-pressed="true"]):hover { color: var(--ivory); background: rgba(237, 234, 228, .08); }

.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.filters button {
  min-height: 40px; padding: 9px 17px; border-radius: var(--r-pill); cursor: pointer;
  border: 1px solid var(--line); color: var(--silver-dim);
  font-family: var(--mono); font-size: var(--t-mono-s); letter-spacing: .14em;
  transition: all var(--d-fast) var(--ease);
}
.filters button:hover { color: var(--ivory); border-color: var(--line-strong); }
.filters button[aria-pressed="true"] { border-color: var(--violet); color: var(--violet); background: var(--violet-wash); }

/* 사운드 토글 */
.sound {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); cursor: pointer;
  background: rgba(5, 5, 9, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: var(--t-mono-s); letter-spacing: .18em; color: var(--silver);
  transition: color var(--d-fast), border-color var(--d-fast);
}
.sound:hover { color: var(--ivory); border-color: var(--ivory); }
.sound__bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound__bars i { display: block; width: 2px; height: 4px; background: currentColor; }
.sound[aria-pressed="true"] { color: var(--cyan); border-color: rgba(98, 226, 213, .45); }
@media (prefers-reduced-motion: no-preference) {
  .sound[aria-pressed="true"] .sound__bars i { animation: eq 900ms ease-in-out infinite alternate; }
  .sound[aria-pressed="true"] .sound__bars i:nth-child(2) { animation-delay: 140ms; }
  .sound[aria-pressed="true"] .sound__bars i:nth-child(3) { animation-delay: 280ms; }
  @keyframes eq { from { height: 3px; } to { height: 12px; } }
}

/* ── 10 proof ────────────────────────────────────────────────────────────── */
.proofs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 44px); margin-top: var(--s-8); }
.proof { border-top: 1px solid var(--line-strong); padding-top: var(--s-5); }
.proof__n { font-family: var(--display); font-weight: 600; font-size: clamp(46px, 5.4vw, 84px); line-height: .95; color: var(--ivory); font-variant-numeric: tabular-nums; }
.proof__label { margin-top: var(--s-3); font-size: 15.5px; font-weight: 800; color: var(--violet); }
.proof__body { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--silver); }
.proof__facts { margin-top: var(--s-5); border-top: 1px solid var(--line); }
.proof__facts div { display: grid; grid-template-columns: 62px 1fr; gap: var(--s-3); padding: 9px 0; border-bottom: 1px solid var(--line); }
.proof__facts dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--silver-dim); padding-top: 3px; }
.proof__facts dd { font-size: 13px; color: var(--silver); line-height: 1.7; }

/* ── 11 forms ────────────────────────────────────────────────────────────── */
.form { margin-top: var(--s-8); max-width: 880px; }
.field { margin-bottom: var(--s-6); }
.field > label, fieldset > legend {
  display: block; margin-bottom: var(--s-3);
  font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .18em; color: var(--silver);
  text-transform: uppercase;
}
.req { color: var(--violet); }
.opt { font-family: var(--kr); letter-spacing: 0; text-transform: none; font-size: 12px; color: var(--silver-dim); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 54px; padding: 16px 18px;
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: rgba(237, 234, 228, .03); color: var(--ivory); font-size: 16px;
  transition: border-color var(--d-fast) var(--ease), background var(--d-fast) var(--ease), box-shadow var(--d-fast);
}
.field textarea { min-height: 176px; resize: vertical; line-height: 1.8; }
.field input::placeholder, .field textarea::placeholder { color: rgba(118, 122, 138, .9); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(237, 234, 228, .34); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--violet); background: var(--violet-wash);
  box-shadow: 0 0 0 3px rgba(140, 124, 255, .2);
}
.field .help { margin-top: 9px; font-size: 13px; color: var(--silver-dim); line-height: 1.65; }
.field .err { margin-top: 9px; font-size: 13px; color: #ff9d9d; display: none; }
.field.is-invalid .err { display: block; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff8f8f; background: rgba(255, 120, 120, .07); }
fieldset { border: 0; margin-bottom: var(--s-6); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  min-height: 46px; padding: 12px 19px; border-radius: var(--r-pill); cursor: pointer;
  border: 1px solid var(--line-strong); background: rgba(237, 234, 228, .03);
  color: var(--silver); font-size: 13.5px; transition: all var(--d-fast) var(--ease);
}
.chip:hover { border-color: rgba(237, 234, 228, .4); color: var(--ivory); }
.chip[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: #0a0714; font-weight: 700; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.form__status { margin-top: var(--s-5); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-md); font-size: var(--t-sm); line-height: 1.85; display: none; }
.form__status.is-on { display: block; }
.form__status.is-ok { border-color: rgba(98, 226, 213, .45); background: var(--cyan-wash); }
.form__status.is-err { border-color: rgba(255, 143, 143, .5); background: rgba(255, 120, 120, .08); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.file-drop {
  border: 1px dashed var(--line-strong); border-radius: var(--r-md); padding: var(--s-5);
  text-align: center; color: var(--silver-dim); font-size: 13.5px; cursor: pointer;
  transition: border-color var(--d-fast), color var(--d-fast), background var(--d-fast);
}
.file-drop:hover, .file-drop.is-over { border-color: var(--violet); color: var(--ivory); background: var(--violet-wash); }

/* ── 12 footer ───────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: var(--s-9) 0 var(--s-7); background: var(--void); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s-6); }
.footer__mark { font-family: var(--display); font-weight: 600; font-size: 28px; text-transform: uppercase; }
.footer__tag { margin-top: var(--s-4); font-size: 13.5px; color: var(--silver-dim); line-height: 1.9; max-width: 36ch; }
.footer__ct { font-family: var(--mono); font-size: var(--t-mono-s); letter-spacing: .26em; color: var(--violet); margin-bottom: var(--s-4); }
.footer__list a { display: block; padding: 8px 0; font-size: 13.5px; color: var(--silver); }
.footer__list a:hover { color: var(--ivory); }
.footer__base {
  margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between;
  font-family: var(--mono); font-size: var(--t-mono-s); letter-spacing: .16em; color: var(--silver-dim);
}

/* ── 13 modal ────────────────────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: var(--s-5); }
.modal[hidden] { display: none; }
.modal__scrim { position: absolute; inset: 0; background: rgba(5, 5, 9, .93); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal__box {
  position: relative; width: min(1180px, 100%); max-height: 92vh; overflow: auto;
  border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  background: var(--midnight); padding: clamp(16px, 2vw, 26px);
  animation: modal-in var(--d-slow) var(--ease) both;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-4); }
.modal__title { font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .2em; color: var(--silver); text-transform: uppercase; }
.modal__close {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong);
  color: var(--ivory); cursor: pointer; display: grid; place-items: center; font-size: 15px;
  transition: background var(--d-fast), color var(--d-fast);
}
.modal__close:hover { background: var(--ivory); color: var(--void); }
.modal__video { width: 100%; border-radius: var(--r-md); background: #000; aspect-ratio: 16 / 9; }
.modal__note { margin-top: var(--s-4); font-size: 13px; color: var(--silver-dim); line-height: 1.85; }
.modal__note a { color: var(--violet); }

/* ── 14 motion ───────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translate3d(0, 26px, 0); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity var(--d-scene) var(--ease), transform var(--d-scene) var(--ease); }
.reveal.d1 { transition-delay: 90ms; } .reveal.d2 { transition-delay: 180ms; }
.reveal.d3 { transition-delay: 270ms; } .reveal.d4 { transition-delay: 360ms; }

/* 글자가 마스크에서 올라온다 — 한 번만, 짧게.
   등장 애니메이션은 반드시 html.js 아래에서만 건다. 스크립트가 죽으면
   애니메이션이 사라질 뿐, 글자가 숨겨진 채로 남지 않는다. */
.mask-line { display: block; overflow: hidden; }
.mask-line > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  html.js .mask-line > span { animation: mask-up 1000ms var(--ease) both; }
  @keyframes mask-up { from { transform: translate3d(0, 108%, 0); } to { transform: none; } }
}

.marquee { overflow: hidden; white-space: nowrap; padding: 26px 0; border-block: 1px solid var(--line); }
.marquee__track { display: inline-block; animation: mq 40s linear infinite; will-change: transform; }
.marquee span {
  font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2.1vw, 30px);
  letter-spacing: .05em; margin-right: 60px; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(140, 124, 255, .42);
}
.marquee span.is-fill { color: var(--ivory); -webkit-text-stroke: 0; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.orbit-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: calc(var(--z-nav) + 1);
  background: linear-gradient(90deg, var(--violet), var(--ice), var(--cyan));
  transform: scaleX(0); transform-origin: left center; will-change: transform;
}

/* ── 15 cursor ───────────────────────────────────────────────────────────── */
body.cursor-on { cursor: none; }
body.cursor-on a, body.cursor-on button, body.cursor-on summary, body.cursor-on label,
body.cursor-on input, body.cursor-on textarea, body.cursor-on select { cursor: none; }
.cur-dot, .cur-ring { position: fixed; left: 0; top: 0; z-index: var(--z-cursor); pointer-events: none; border-radius: 50%; display: none; will-change: transform; }
body.cursor-on .cur-dot, body.cursor-on .cur-ring { display: block; }
.cur-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: var(--ivory); }
.cur-ring {
  width: 32px; height: 32px; margin: -16px 0 0 -16px; border: 1px solid rgba(237, 234, 228, .65);
  transition: width var(--d-fast) var(--ease), height var(--d-fast) var(--ease),
              margin var(--d-fast) var(--ease), border-color var(--d-fast), background var(--d-fast);
}
body.cur-hot .cur-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--violet); background: rgba(140, 124, 255, .16); }
.cur-label {
  position: fixed; left: 0; top: 0; z-index: var(--z-cursor); pointer-events: none; display: none;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; color: var(--void);
  background: var(--ivory); padding: 5px 10px; border-radius: var(--r-pill); white-space: nowrap;
}
body.cursor-on .cur-label.is-on { display: block; }

/* ── 16 utils ────────────────────────────────────────────────────────────── */
.mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); } .mt-8 { margin-top: var(--s-8); }
.row { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.between { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; }
.center { text-align: center; }
.measure { max-width: var(--measure); }

/* ── 17 responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .act-head { grid-template-columns: 1fr; gap: var(--s-5); }
  .act-head__mark { position: static; }
  .build { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__menu { display: none; }
  .nav__burger { display: flex; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
  .grid-2, .grid-3, .proofs, .ledger, .form__row { grid-template-columns: 1fr; }
  .reel__meta { grid-template-columns: 1fr; }
  .reel__specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .build { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .ledger__col + .ledger__col { margin-top: var(--s-7); }
}
@media (max-width: 430px) {
  :root { --gutter: 18px; }
  .build { grid-template-columns: 1fr; }
}

@media (hover: none) {
  body.cursor-on, body.cursor-on * { cursor: auto !important; }
  .cur-dot, .cur-ring, .cur-label { display: none !important; }
  .idx:hover .idx__frame { transform: none; }
  .atmos__grain { display: none; }   /* 모바일에서는 무거운 효과를 줄인다 */
}

/* ── 18 reduced-motion / no-js ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .mask-line > span { transform: none !important; }
  .marquee__track { animation: none; }
  .orbit-progress, .atmos__grain { display: none; }
  .build__cell::after { width: 100% !important; }
  .ledger__col--old .ledger__line span:first-child::after { width: 100% !important; }
  .cur-dot, .cur-ring, .cur-label { display: none !important; }
  body.cursor-on, body.cursor-on * { cursor: auto !important; }
}

html.no-js .reveal { opacity: 1; transform: none; }
html.no-js .mask-line > span { transform: none; }
html.no-js .nav__panel { position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
html.no-js .build__cell::after { width: 100%; }

/* ════════════════════════════════════════════════════════════════════════════
   ORBIT — 작업 여덟 편을 달의 위상으로 지나간다.
   WANE 은 '이지러지다'라는 뜻이다. 스크롤이 진행될수록 달이 실제로 이지러진다.
   WebGL 을 쓰지 않는다. transform 과 clip-path 만으로 60fps 를 노린다.
   ═══════════════════════════════════════════════════════════════════════════ */
.orbit-track { position: relative; }
.orbit-stage {
  position: sticky; top: 0; height: 100svh; min-height: 560px;
  display: grid; place-items: center; overflow: hidden;
}

/* ── 달 : 위상이 진행도(--phase 0→1)를 따라 이지러진다 ── */
/* 달은 프레임 뒤에 숨지 않는다. 오른쪽 위에 실제 천체처럼 떠 있고,
   진행할수록 눈에 보이게 이지러진다 — 회사 이름이 뜻하는 그대로. */
.orbit-moon {
  position: absolute; z-index: 0; pointer-events: none;
  right: max(2vw, calc(var(--gutter) - 4vw)); top: 23vh;
  width: clamp(180px, 27vh, 330px); aspect-ratio: 1;
  border-radius: 50%; overflow: hidden;
  opacity: .92;
}
.orbit-moon img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.55) contrast(1.14) brightness(.94);
}
/* 그림자 원이 달 위를 건너가며 위상을 만든다.
   phase 0 = 보름(그림자가 완전히 비켜나 있음) → phase 1 = 그믐(그림자가 덮음).
   진행할수록 달이 이지러진다. */
.orbit-moon__shadow {
  position: absolute; inset: -1px; border-radius: 50%;
  background: var(--void);
  transform: translateX(calc(-102% + var(--phase, 0) * 102%));
  will-change: transform;
}
.orbit-moon__rim {
  position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 40px 6px rgba(5,5,9,.72), 0 0 110px rgba(174,196,255,.20);
}

/* ── 궤도 선 + 여덟 개의 표식 ── */
.orbit-path { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orbit-path svg { width: 100%; height: 100%; }
.orbit-path .ring { fill: none; stroke: rgba(237,234,228,.10); stroke-width: 1; }
.orbit-path .arc  { fill: none; stroke: var(--violet); stroke-width: 1.4; opacity: .85;
                    stroke-dasharray: var(--arc-len, 1000); stroke-dashoffset: var(--arc-off, 1000); }
.orbit-node { fill: rgba(237,234,228,.34); transition: fill var(--d) var(--ease), r var(--d) var(--ease); }
.orbit-node.is-on { fill: var(--cyan); }

/* ── 중앙 프레임 : 작업 한 편이 한 화면을 차지한다 ── */
.orbit-frame {
  position: relative; z-index: 2;
  width: min(1000px, 74vw); aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow: hidden;
  background: var(--void);
  box-shadow: 0 50px 140px rgba(0,0,0,.72);
}
.orbit-frame__shot { position: absolute; inset: 0; opacity: 0; transition: opacity 520ms var(--ease); }
.orbit-frame__shot.is-on { opacity: 1; }
.orbit-frame__shot img, .orbit-frame__shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.orbit-frame__shot video { opacity: 0; transition: opacity 620ms var(--ease); }
.orbit-frame__shot video.is-playing { opacity: 1; }
.orbit-frame__shot.is-portrait img, .orbit-frame__shot.is-portrait video { object-fit: contain; }
.orbit-frame__edge { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 100px 26px rgba(5,5,9,.6); }

/* ── HUD ── */
.orbit-hud {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; top: 0;
  pointer-events: none; padding: calc(var(--nav-h) + 22px) var(--gutter) 34px;
  display: grid; grid-template-rows: auto 1fr auto; gap: var(--s-4);
}
.orbit-hud::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  background: linear-gradient(to top, rgba(5,5,9,.94) 0%, rgba(5,5,9,.62) 44%, transparent 100%);
  pointer-events: none; z-index: -1;
}
.orbit-hud > * { position: relative; z-index: 1; }
.orbit-hud a, .orbit-hud button { pointer-events: auto; }
.orbit-hud__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.orbit-count {
  font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .24em;
  color: var(--silver-dim); font-variant-numeric: tabular-nums;
}
.orbit-count b { color: var(--ivory); font-weight: 500; }
.orbit-phase { font-family: var(--mono); font-size: var(--t-mono-s); letter-spacing: .2em; color: var(--silver-dim); }

.orbit-hud__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5); }
.orbit-now { max-width: 46ch; }
.orbit-now__cat { font-family: var(--mono); font-size: var(--t-mono-s); letter-spacing: .24em; color: var(--violet); }
.orbit-now__name {
  margin-top: 8px; font-family: var(--display); font-weight: 600;
  font-size: clamp(30px, 5vw, 74px); line-height: .96; text-transform: uppercase;
  text-shadow: 0 4px 44px rgba(5,5,9,.9);
}
.orbit-now__line { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--silver); }
.orbit-now__go {
  margin-top: var(--s-4); display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 12px 22px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: rgba(5,5,9,.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .16em; color: var(--ivory);
  transition: background var(--d) var(--ease), color var(--d) var(--ease), border-color var(--d) var(--ease);
}
.orbit-now__go:hover { background: var(--ivory); color: var(--void); border-color: var(--ivory); }
.orbit-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-6); min-width: 300px; }
.orbit-specs div { padding: 11px 0; border-top: 1px solid var(--line); }
.orbit-specs dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; color: var(--silver-dim); }
.orbit-specs dd { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--ivory); }

.orbit-scroll {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 22px; z-index: 3;
  font-family: var(--mono); font-size: var(--t-mono-s); letter-spacing: .22em; color: var(--silver-dim);
  display: inline-flex; align-items: center; gap: 9px;
}
.orbit-scroll i { display: block; width: 1px; height: 22px; background: linear-gradient(var(--violet), transparent); }

/* 궤도 위 작업 사이 이동 (키보드/버튼 공용) */
.orbit-jump { display: flex; gap: 6px; }
.orbit-jump button {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-strong); color: var(--ivory);
  background: rgba(5,5,9,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center; font-size: 13px;
  transition: background var(--d-fast), color var(--d-fast);
}
.orbit-jump button:hover { background: var(--ivory); color: var(--void); }
.orbit-jump button[disabled] { opacity: .3; pointer-events: none; }

@media (max-width: 900px) {
  .orbit-frame { width: 92vw; }
  .orbit-moon { width: clamp(110px, 17vh, 180px); top: calc(var(--nav-h) + 10px); right: 4vw; }
  .orbit-hud { padding: calc(var(--nav-h) + 14px) var(--gutter) 92px; }
  .orbit-hud__bottom { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .orbit-specs { grid-template-columns: 1fr 1fr; min-width: 0; width: 100%; }
  .orbit-scroll { display: none; }
  
}

/* 모션을 끄면 궤도는 정지하고, 여덟 편은 INDEX 로 전부 보인다 */
@media (prefers-reduced-motion: reduce) {
  .orbit-moon__shadow { transition: none; }
  .orbit-frame__shot { transition: none; }
}

/* 모드에 따라 궤도/인덱스를 서로 접는다 (wane.js 가 body[data-work-mode] 를 세운다) */
body[data-work-mode="index"] .orbit-track { display: none; }
body[data-work-mode="index"] .work-open__note { opacity: .55; }

/* ════════════════════════════════════════════════════════════════════════════
   STILLS — 메인 페이지는 영상을 쓰지 않는다.
   정지 프레임과 타이포와 여백만으로 세운다. 움직이는 것이 없다는 사실 자체가
   "촬영하지 않았다"의 첫 번째 증거다.
   ═══════════════════════════════════════════════════════════════════════════ */

/* 플레이트 — 액자에 걸린 한 장 */
.plate { position: relative; }
.plate__frame {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 2px;
  background: var(--void);
  box-shadow: 0 40px 120px rgba(0,0,0,.66);
}
.plate__frame img { width: 100%; display: block; }
.plate__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 80px 18px rgba(5,5,9,.5);
}
.plate__cap {
  margin-top: var(--s-4); display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s-4); flex-wrap: wrap;
  font-family: var(--mono); font-size: var(--t-mono-s); letter-spacing: .18em; color: var(--silver-dim);
}
.plate__cap b { color: var(--silver); font-weight: 400; }

/* 작업 한 편 = 한 장면. 영상 없이 정지 프레임 한 장으로 */
.still { display: grid; gap: clamp(56px, 8vh, 132px); margin-top: var(--s-9); }
.still__item a { display: block; }
.still__shot {
  position: relative; overflow: hidden; border-radius: 2px;
  border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--charcoal);
  transition: border-color var(--d) var(--ease), box-shadow var(--d-slow) var(--ease);
}
.still__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.still__shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 110px 26px rgba(5,5,9,.52);
}
.still__item a:hover .still__shot, .still__item a:focus-visible .still__shot {
  border-color: var(--violet-line); box-shadow: 0 34px 100px rgba(0,0,0,.62);
}
.still__no {
  position: absolute; left: 16px; top: 14px; z-index: 2;
  font-family: var(--mono); font-size: var(--t-mono-s); letter-spacing: .22em; color: var(--ivory);
  text-shadow: 0 1px 10px rgba(0,0,0,.95); font-variant-numeric: tabular-nums;
}
.still__mark {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  font-family: var(--mono); font-size: 9px; letter-spacing: .18em; color: rgba(237,234,228,.72);
  text-shadow: 0 1px 10px rgba(0,0,0,.95);
}
.still__meta { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s-6) var(--s-7); align-items: start; margin-top: var(--s-6); }
.still__cat { font-family: var(--mono); font-size: var(--t-mono-s); letter-spacing: .22em; color: var(--violet); }
.still__name {
  margin-top: var(--s-3); font-family: var(--display); font-weight: 600;
  font-size: clamp(30px, 4.2vw, 62px); line-height: .96; text-transform: uppercase;
}
.still__line { margin-top: var(--s-4); color: var(--silver); max-width: 46ch; }
.still__go {
  margin-top: var(--s-5); display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .18em; color: var(--ivory);
}
.still__go::after { content: ""; width: 26px; height: 1px; background: currentColor; transition: width var(--d) var(--ease); }
.still__item a:hover .still__go { color: var(--violet); }
.still__item a:hover .still__go::after { width: 46px; }

/* 컨택트 시트 — VFX 브레이크다운처럼 실제 프레임을 늘어놓는다 */
.sheet { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 2px; margin-top: var(--s-7); }
.sheet figure { position: relative; overflow: hidden; background: var(--charcoal); aspect-ratio: 16/9; }
.sheet img { width: 100%; height: 100%; object-fit: cover; display: block;
             filter: grayscale(.28) contrast(1.04); transition: filter var(--d) var(--ease), transform var(--d-slow) var(--ease); }
.sheet figure:hover img { filter: none; transform: scale(1.04); }
.sheet figcaption {
  position: absolute; left: 4px; bottom: 3px; z-index: 2;
  font-family: var(--mono); font-size: 7.5px; letter-spacing: .12em; color: rgba(237,234,228,.7);
  text-shadow: 0 1px 6px #000;
}
@media (max-width: 1100px) { .sheet { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 560px)  { .sheet { grid-template-columns: repeat(2, minmax(0,1fr)); } }

@media (max-width: 900px) {
  .still__meta { grid-template-columns: 1fr; }
}
