/* ============================================================
   BTY-HIRE-058 · 코발트 잉크 · NEO 다크·네온테크
   타투 스튜디오의 아티스트 채용 사이트. 딥네이비 지면 + 코발트 네온.
   장치: 풀블리드 히어로 위 글래스 패널 / 가로 티커 / 큰 숫자 지표 /
        sticky 섹션 제목 / 비대칭 2단 / 음수 마진 겹침 카드
   ============================================================ */

:root {
  --brand:       #3595f5;
  --brand-ink:   #03101f;
  --accent:      #6fe0ff;
  --accent-ink:  #041019;
  --surface:     #070c15;
  --surface-alt: #0d1421;
  --font-display: var(--font-sans);
  --r: var(--r-md);

  /* 다크 지면 — SPEC 4절 v1.2 에서 허용한 중립색 5개 */
  --ink:         #e6ecf5;
  --ink-2:       #a4b0c4;
  --ink-3:       #78859a;
  --line:        #1b2536;
  --line-strong: #33415a;
}

body { background: var(--surface); color: var(--ink); }

/* ★SPEC 7절 v1.4 — 그리드 트랙 기본 min-width 가 auto 라
   가로 스크롤 컨테이너를 그리드 아이템으로 두면 overflow-x 가 무력화된다.
   모든 그리드 트랙을 minmax(0,1fr) 로 못박고 자식에 min-width:0 을 준다. */
.split, .grid, .form, .stack, .roles { grid-template-columns: minmax(0, 1fr); }
.split > *, .grid > *, .form > *, .stack > *, .roles > * { min-width: 0; }
.tbl-wrap { min-width: 0; }

.stack { display: grid; gap: var(--sp-4); align-content: center; }

/* 네온 글로우 — 다크 지면에서 브랜드 컬러를 빛으로 쓰는 장치.
   ::before 가 좌우로 10% 삐져나오므로 반드시 overflow:hidden 으로 가둔다.
   가두지 않으면 documentElement.scrollWidth 가 뷰포트의 110% 로 잡혀
   네 폭 전부에서 가로 오버플로로 계산된다 (실측으로 확인). */
.glow { position: relative; isolation: isolate; overflow: hidden; }
.glow::before {
  content: ""; position: absolute; z-index: -1;
  inset: -30% -10% auto -10%; height: 70%;
  background: radial-gradient(60% 100% at 50% 0%,
    color-mix(in oklab, var(--brand) 30%, transparent), transparent 70%);
  pointer-events: none;
}

/* ── 공통 타입 ─────────────────────────────────────────────── */

.kicker, .label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--accent);
}
.label { color: var(--ink-3); }

.h2 { font-size: var(--fs-3xl); line-height: 1.04; letter-spacing: var(--ls-tighter); }
.body-lg { font-size: var(--fs-md); color: var(--ink-2); max-width: 46ch; }
.body-sm { font-size: var(--fs-sm); color: var(--ink-2); }
.mono { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); color: var(--ink-3); }

.grad {
  background: linear-gradient(96deg, var(--ink) 18%, var(--brand) 62%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ── 버튼 ──────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-6);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold);
  border: 1px solid transparent;
  border-radius: var(--r);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: var(--sp-3) var(--sp-5); font-size: var(--fs-xs); }
.btn--full { width: 100%; }

.btn--solid {
  /* 흰 글자를 코발트 위에 올리면 3.10:1 이라 14px 라벨에 미달한다.
     딥네이비 잉크를 쓰면 6.2:1 이 나온다 (실측). */
  background: var(--brand); color: var(--brand-ink); border-color: var(--brand);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--brand) 60%, transparent);
}
.btn--solid:hover {
  background: var(--accent); color: var(--accent-ink); border-color: var(--accent);
  box-shadow: 0 0 26px color-mix(in oklab, var(--accent) 46%, transparent);
}
.btn--line { border-color: var(--line-strong); color: var(--ink); }
.btn--line:hover { border-color: var(--brand); color: var(--accent); box-shadow: 0 0 22px color-mix(in oklab, var(--brand) 30%, transparent); }

/* ── 헤더 ─ 2줄 접힘 + 메뉴 가로 스크롤 ────────────────────── */

.nav {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4);
  padding-block: var(--sp-3);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.nav__logo {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  margin-right: auto;
  font-size: var(--fs-sm); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
}
.nav__dot {
  width: 10px; height: 10px; border-radius: var(--r-full); flex: none;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.nav__menu {
  display: flex; order: 3; width: 100%; gap: var(--sp-5);
  padding-top: var(--sp-3); border-top: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.nav__menu::-webkit-scrollbar { display: none; }
.nav__menu a { white-space: nowrap; font-size: var(--fs-sm); color: var(--ink-2); transition: color var(--dur) var(--ease); }
.nav__menu a:hover { color: var(--accent); }
.nav__menu a[aria-current="page"] { color: var(--ink); font-weight: var(--fw-semibold); }

@media (min-width: 1024px) {
  .nav__inner { flex-wrap: nowrap; padding-block: var(--sp-4); }
  .nav__menu { order: 0; width: auto; padding-top: 0; border-top: 0; overflow: visible; margin-right: var(--sp-6); }
}

/* ── 히어로 ────────────────────────────────────────────────────
   사진을 전면에 깔고 그 위에 --surface 톤 글래스 패널을 얹는다 (SPEC 8절 해법 C).
   패널이 92% 불투명이라 원본 사진이 아무리 밝아도 합성 밝기가 0.09 아래로 고정되고,
   밝은 --ink(#e6ecf5)와의 대비가 6.6:1 밑으로 내려가지 않는다.                  */

.hero {
  --header-h: 74px;
  position: relative;
  display: grid; align-items: end;
  min-height: calc(100svh - var(--header-h));
  padding-block: var(--sp-7);
  padding-inline: var(--gutter);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media .img-slot { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background:
    radial-gradient(80% 60% at 12% 8%, color-mix(in oklab, var(--brand) 22%, transparent), transparent 62%),
    linear-gradient(180deg, color-mix(in oklab, var(--surface) 62%, transparent), color-mix(in oklab, var(--surface) 20%, transparent) 52%, color-mix(in oklab, var(--surface) 84%, transparent));
}

.hero__panel {
  position: relative; z-index: 1;
  display: grid; gap: var(--sp-4);
  padding: var(--sp-6);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  max-width: 720px;
}
.hero__title { font-size: var(--fs-4xl); line-height: 1.0; letter-spacing: var(--ls-tighter); }
.hero__lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
.hero__facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-3); padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
.hero__facts dt { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-3); text-transform: uppercase; letter-spacing: var(--ls-wide); }
.hero__facts dd { font-size: var(--fs-lg); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); margin-top: var(--sp-2); }

@media (min-width: 1024px) {
  .hero {
    align-items: center;
    padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  }
  .hero__panel { padding: var(--sp-8); max-width: 640px; }
  .hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── 티커 ──────────────────────────────────────────────────── */

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
  padding-block: var(--sp-4);
}
.ticker__track { display: flex; align-items: center; gap: var(--sp-6); width: max-content; animation: tick 36s linear infinite; }
.ticker__track span {
  font-family: var(--font-mono); font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--ink-2); white-space: nowrap;
}
.ticker__track i { width: 6px; height: 6px; border-radius: var(--r-full); background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ── 섹션 ──────────────────────────────────────────────────── */

.sec__head { display: grid; gap: var(--sp-4); align-content: start; margin-bottom: var(--sp-7); grid-template-columns: minmax(0, 1fr); }
.split { display: grid; gap: var(--sp-7); }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: var(--sp-9); }
  .split__head { position: sticky; top: calc(var(--sp-8) + var(--sp-4)); align-self: start; }
}

.grid { display: grid; gap: var(--sp-5); }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── 지표 ──────────────────────────────────────────────────── */

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { background: var(--surface-alt); padding: var(--sp-5); }
.stat dt { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--sp-3); }
.stat dd { font-size: var(--fs-2xl); font-weight: var(--fw-bold); letter-spacing: var(--ls-tighter); line-height: 1; color: var(--accent); }
.stat dd span { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--ink-3); margin-left: 3px; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ── 카드 ──────────────────────────────────────────────────── */

.card {
  display: grid; align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-alt);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { border-color: color-mix(in oklab, var(--brand) 60%, var(--line)); box-shadow: 0 0 34px color-mix(in oklab, var(--brand) 18%, transparent); transform: translateY(-2px); }
.card__media { border-radius: 0; }
.card__body { padding: var(--sp-5); display: grid; gap: var(--sp-3); }
.card__body h3 { font-size: var(--fs-lg); letter-spacing: var(--ls-tight); }
.card__body p { font-size: var(--fs-sm); color: var(--ink-2); }
.tag {
  justify-self: start;
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 44%, transparent);
  border-radius: var(--r-full);
  padding: 3px 10px;
}

/* ── 스텝 (큰 숫자) ────────────────────────────────────────── */

.steps { display: grid; gap: var(--sp-6); grid-template-columns: minmax(0, 1fr); }
.step { display: grid; gap: var(--sp-3); padding-top: var(--sp-5); border-top: 1px solid var(--line-strong); }
.step__num {
  font-family: var(--font-mono);
  font-size: var(--fs-2xl); font-weight: var(--fw-bold); line-height: 1;
  letter-spacing: var(--ls-tighter);
  color: transparent;
  background: linear-gradient(180deg, var(--accent), var(--brand));
  -webkit-background-clip: text; background-clip: text;
}
.step h3 { font-size: var(--fs-lg); letter-spacing: var(--ls-tight); }
.step p { font-size: var(--fs-sm); color: var(--ink-2); }
@media (min-width: 768px) { .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ── 공고 목록 ─────────────────────────────────────────────── */

.roles { display: grid; gap: var(--sp-4); }
.role {
  display: grid; gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-alt);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.role:hover { border-color: color-mix(in oklab, var(--brand) 60%, var(--line)); box-shadow: 0 0 30px color-mix(in oklab, var(--brand) 16%, transparent); }
.role__top { display: grid; gap: var(--sp-3); }
.role__title { font-size: var(--fs-lg); letter-spacing: var(--ls-tight); }
.role__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-3); }
.role__desc { font-size: var(--fs-sm); color: var(--ink-2); max-width: 62ch; }
.role__side { display: grid; gap: var(--sp-3); align-content: start; }
@media (min-width: 768px) {
  .role { grid-template-columns: minmax(0, 1fr) minmax(0, 220px); align-items: center; gap: var(--sp-6); padding: var(--sp-6); }
  .role__side { justify-items: end; }
}

/* ── 표 ────────────────────────────────────────────────────── */

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.tbl { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--fs-sm); }
.tbl th, .tbl td { text-align: left; padding: var(--sp-4); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl thead th {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--ink-3); background: var(--surface-alt);
}
.tbl tbody th { font-weight: var(--fw-semibold); color: var(--ink); }
.tbl td { color: var(--ink-2); }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }

/* ── 풀블리드 + 겹침 카드 ──────────────────────────────────── */

.spread { position: relative; padding-bottom: var(--section-y); }
.spread__media { border-radius: 0; aspect-ratio: 4 / 5; }
.spread__card {
  position: relative;
  margin-top: calc(var(--sp-8) * -1);
  padding: var(--sp-6);
  background: color-mix(in oklab, var(--surface-alt) 92%, transparent);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  display: grid; gap: var(--sp-4);
}
@media (min-width: 768px) {
  .spread__media { aspect-ratio: 21 / 9; }
  .spread__card { margin-top: calc(var(--sp-10) * -1); margin-right: auto; max-width: 640px; padding: var(--sp-8); }
}

/* ── 인용 ──────────────────────────────────────────────────── */

.pull { background: var(--surface-alt); border-block: 1px solid var(--line); }
.pull p { font-size: var(--fs-xl); font-weight: var(--fw-medium); line-height: 1.4; letter-spacing: var(--ls-tight); }
.pull footer { margin-top: var(--sp-5); font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--ink-3); }
.pull footer b { color: var(--accent); }

/* ── FAQ ───────────────────────────────────────────────────── */

.qa { border-top: 1px solid var(--line); }
.qa:last-of-type { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  padding-block: var(--sp-5);
  font-size: var(--fs-md); font-weight: var(--fw-semibold);
  cursor: pointer; list-style: none;
  transition: color var(--dur) var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent); }
.qa summary::after {
  content: ""; width: 13px; height: 13px; flex: none;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 100% 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1px 100% no-repeat;
  transition: transform var(--dur) var(--ease);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding-bottom: var(--sp-5); font-size: var(--fs-sm); color: var(--ink-2); max-width: 66ch; }

/* ── 폼 ────────────────────────────────────────────────────── */

.form { display: grid; gap: var(--sp-5); }
.field { display: grid; gap: var(--sp-2); }
.field label { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  padding: var(--sp-4);
  background: var(--surface-alt);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--ink); font-size: var(--fs-sm);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--accent); }
.field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: var(--sp-3); }
.field--check input { width: 20px; height: 20px; padding: 0; accent-color: var(--brand); }
.field--check label { text-transform: none; letter-spacing: var(--ls-snug); font-family: var(--font-sans); font-size: var(--fs-sm); color: var(--ink-2); }
@media (min-width: 768px) { .form--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form--2 .field--wide { grid-column: 1 / -1; } }

/* ── CTA ───────────────────────────────────────────────────── */

.cta {
  position: relative;
  padding-block: var(--section-y);
  background:
    radial-gradient(70% 120% at 20% 0%, color-mix(in oklab, var(--brand) 26%, transparent), transparent 66%),
    var(--surface-alt);
  border-top: 1px solid var(--line);
}
.cta__title { font-size: var(--fs-3xl); line-height: 1.02; letter-spacing: var(--ls-tighter); margin-block: var(--sp-4); }
.cta__lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 46ch; }
@media (min-width: 768px) { .cta__title { font-size: var(--fs-4xl); } }

/* ── 푸터 ──────────────────────────────────────────────────── */

.foot { padding-block: var(--sp-8) var(--sp-6); border-top: 1px solid var(--line); }
.foot__inner { display: grid; gap: var(--sp-5); }
.foot__brand { display: inline-flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-sm); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide); text-transform: uppercase; }
.foot__addr { font-style: normal; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.9; }
.foot__nav { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.foot__nav a { font-size: var(--fs-sm); color: var(--ink-2); }
.foot__nav a:hover { color: var(--accent); }
.foot__copy { grid-column: 1 / -1; padding-top: var(--sp-5); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--ink-3); }
@media (min-width: 768px) { .foot__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-7); } }

/* ============================================================
   인터랙션 보강 — 브랜드 마크 · 아이콘 · 반응 (SPEC 4-C)
   ============================================================ */

/* ── 아이콘 ─────────────────────────────────────────────────── */
.ico { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }
.btn__arrow { font-size: 1.25em; transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ── 브랜드 마크 — 잉크팟에 비스듬히 꽂힌 타투 니들.
      딥네이비 지면이라 시안 --accent 로 그린다(대비 11:1 이상). */
.nav__mark { flex: none; color: var(--accent); transition: color var(--dur) var(--ease), filter var(--dur) var(--ease); }
.nav__mark .mark__needle {
  transform-box: view-box; transform-origin: 17.4px 15.4px;
  transition: transform var(--dur-slow) var(--ease-out);
}
/* 로고에 올리면 니들이 잉크에서 들려 나온다 */
.nav__logo:hover .mark__needle, .foot__brand:hover .mark__needle { transform: translate(2px, -2.6px); }
.nav__logo:hover .nav__mark { filter: drop-shadow(0 0 6px color-mix(in oklab, var(--accent) 60%, transparent)); }
.nav__logo:active .nav__mark { animation: inkDip 520ms var(--ease); }
@keyframes inkDip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(2px); } }
.foot__brand .nav__mark { color: var(--accent); }

/* ── 내비: 밑줄이 한쪽에서 그어진다 ─────────────────────────── */
.nav__menu a { position: relative; padding-block: 3px; }
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  border-radius: var(--r-full); background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav__menu a:hover::after,
.nav__menu a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* ── 티커: 올리면 멈춘다 ────────────────────────────────────── */
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { transition: color var(--dur) var(--ease); }
.ticker:hover .ticker__track span { color: var(--accent); }

/* ── 히어로 지표 ────────────────────────────────────────────── */
.hero__facts dt { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero__facts dt .ico { color: var(--accent); }
.hero__facts dd { transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.hero__facts div { transition: opacity var(--dur) var(--ease); }
.hero__facts div:hover dd { color: var(--accent); transform: translateY(-2px); }

/* ── 지표 셀: 네온이 번진다 ─────────────────────────────────── */
.stat { transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.stat:hover { background: color-mix(in oklab, var(--brand) 12%, var(--surface-alt));
              box-shadow: inset 0 0 24px color-mix(in oklab, var(--brand) 18%, transparent); }
.stat dd { transition: transform var(--dur) var(--ease-out); }
.stat:hover dd { transform: translateY(-2px); }

/* ── 태그 칩 ────────────────────────────────────────────────── */
.tag { display: inline-flex; align-items: center; gap: var(--sp-2);
       transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
                   border-color var(--dur) var(--ease); }
.card:hover .tag, .role:hover .tag { color: var(--accent); border-color: var(--accent); }

/* ── 작업 카드: 사진이 당겨진다 ─────────────────────────────── */
.card__media img { transition: transform var(--dur-slow) var(--ease-out); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body h3 { transition: color var(--dur) var(--ease); }
.card:hover .card__body h3 { color: var(--accent); }

/* ── 공고: 왼쪽 선이 차오른다 ───────────────────────────────── */
.role { position: relative; overflow: hidden; }
.role::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent); transform: scaleY(0); transform-origin: bottom;
  transition: transform var(--dur-slow) var(--ease-out);
}
.role:hover::before { transform: scaleY(1); transform-origin: top; }
.role__title { transition: color var(--dur) var(--ease); }
.role:hover .role__title { color: var(--accent); }
.role__meta span { transition: color var(--dur) var(--ease); }
.role:hover .role__meta span { color: var(--ink-2); }

/* ── 절차 스텝: 상단 선이 차오르고 번호가 밀린다 ───────────── */
.step { position: relative; transition: transform var(--dur) var(--ease-out); }
.step::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0;
  background: var(--accent); transition: width var(--dur-slow) var(--ease-out);
}
.step:hover { transform: translateY(-4px); }
.step:hover::before { width: 100%; }
.step__num { display: block; transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.step:hover .step__num { color: var(--accent); transform: translateX(3px); }
.step h3 { display: flex; align-items: center; gap: var(--sp-3); }
.step h3 .ico { color: var(--accent); font-size: var(--fs-lg); transition: transform var(--dur) var(--ease-out); }
.step:hover h3 .ico { transform: rotate(-12deg); }

/* ── FAQ: 열릴 때 답이 흘러나온다 ───────────────────────────── */
@keyframes qaOpen { from { transform: translateY(-7px); } to { transform: none; } }
.qa[open] p { animation: qaOpen var(--dur-slow) var(--ease-out) both; }
.qa summary { transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.qa:hover summary { transform: translateX(5px); }

/* ── 폼 ─────────────────────────────────────────────────────── */
.field input, .field select, .field textarea { transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--brand); }

/* ── 푸터 ───────────────────────────────────────────────────── */
.foot__addr { display: grid; gap: var(--sp-3); line-height: 1.5; }
.foot__addr span { display: flex; align-items: center; gap: var(--sp-3); transition: color var(--dur) var(--ease); }
.foot__addr .ico { color: var(--accent); font-size: var(--fs-md); }
.foot__addr span:hover { color: var(--ink); }
.foot__nav a { position: relative; transition: color var(--dur) var(--ease); }
.foot__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.foot__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── 형제 요소 계단식 지연 ──────────────────────────────────── */
html.js .steps .reveal:nth-child(2)  { transition-delay: 80ms; }
html.js .steps .reveal:nth-child(3)  { transition-delay: 160ms; }
html.js .steps .reveal:nth-child(4)  { transition-delay: 240ms; }
html.js .grid .reveal:nth-child(2)   { transition-delay: 90ms; }
html.js .grid .reveal:nth-child(3)   { transition-delay: 180ms; }
html.js .roles .reveal:nth-child(2)  { transition-delay: 80ms; }
html.js .roles .reveal:nth-child(3)  { transition-delay: 160ms; }
html.js .roles .reveal:nth-child(4)  { transition-delay: 240ms; }
html.js .qa.reveal:nth-child(2)      { transition-delay: 70ms; }
html.js .qa.reveal:nth-child(3)      { transition-delay: 140ms; }
html.js .qa.reveal:nth-child(4)      { transition-delay: 210ms; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { transition-delay: 0s !important; }
  .nav__logo:hover .mark__needle, .foot__brand:hover .mark__needle,
  .hero__facts div:hover dd, .stat:hover dd, .card:hover .card__media img,
  .step:hover, .step:hover .step__num, .step:hover h3 .ico,
  .btn:hover .btn__arrow { transform: none; }
  .qa:hover summary { transform: none; }
}

/* 지표 라벨에 붙는 아이콘 */
.stat dt { display: inline-flex; align-items: center; gap: var(--sp-2); }
.stat dt .ico { color: var(--accent); font-size: var(--fs-sm); }


/* ===== 획일성 제거 — NEO 무드 어휘 =====================================
   160작품이 레퍼런스의 밑줄 draw·카드 리프트·대문자 킥커를 그대로 복사해
   같은 사이트 리스킨으로 보였다. 반응 방식을 무드에 맞게 갈아끼운다.
   ==================================================================== */
/* 세로 카덴스를 작품마다 다르게 — 전부 같은 --section-y 를 쓰는 게 구조적 tell 이었다 */
:root { --section-y: clamp(4.11rem, 2.5551rem + 6.6655vw, 8.22rem); }

/* 다크네온 — 글자 자체가 발광한다. */
.nav__menu a::after, .foot__nav a::after { display: none !important; }
.foot__nav a, .nav__menu a:hover { text-shadow: 0 0 14px currentColor, 0 0 4px currentColor; }
.card:hover, .hero__facts div:hover dd, .stat:hover dd, .step:hover { transform: none; }
.card:hover, .hero__facts div:hover dd, .stat:hover dd, .step:hover { box-shadow: 0 0 0 1px color-mix(in oklab, var(--brand) 55%, transparent),
                      0 0 26px color-mix(in oklab, var(--brand) 22%, transparent); }

/* webit-touch */
@media (max-width: 767px) {
  .nav__inner { flex-wrap: wrap; overflow: visible; }
  .hero__actions, .hero__acts { flex-wrap: wrap; }
}
html.tier-premium .pm-progress { box-shadow: 0 0 18px var(--brand); }
html.tier-premium .btn--solid { text-shadow: 0 0 18px color-mix(in oklab, var(--brand) 45%, transparent); }
