/* ============================================================
   PET-HIRE-146 · 밥심 · 3DM 3D·인터랙티브 (다크)
   반려동물 사료 제조사 채용 사이트 4페이지.
   거의 검정 지면(L 6.3%) + 라임(#5CC133) + 앰버 악센트.
   ★perspective / rotate3d 로 깊이를 만들되, 회전 요소는 전부
     overflow:hidden 부모 안에 가둬 뷰포트를 넘지 않게 한다.
   ============================================================ */

/* ★SPEC v1.7 그리드 안전장치 */
* { grid-auto-columns: minmax(0, 1fr); }
:where([style*="grid"], .grid, [class*="__grid"], [class*="__inner"], [class*="__list"],
       .hero, .sect, .deck, .kv, .cols, .steps, .jobs, .stack) > * { min-width: 0; }

:root {
  --brand:       #5cc133;   /* H 102.7° */
  --brand-ink:   #08190a;   /* 브랜드 면 위 글자 7.93:1 */
  --accent:      #ffb020;
  --accent-ink:  #1a1000;   /* 10.27:1 */
  --surface:     #0e140c;   /* HSL L 6.3% */
  --surface-alt: #161d14;
  --ink:         #e9f0e6;   /* 16.08:1 */
  --ink-2:       #adbaa9;   /*  9.23:1 */
  --ink-3:       #8b978a;   /*  6.13:1 on --surface */
  --line:        #222b20;
  --line-strong: #37432f;
  --font-display: var(--font-sans);
  --r: var(--r-lg);
}

body { background: var(--surface); color: var(--ink); }
h1, h2, h3 { letter-spacing: var(--ls-tighter); }

/* ── 타입 ──────────────────────────────────────────────────── */

.mono { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; }
.label { color: var(--ink-3); }
.section--alt .label, .section--alt .cap, .section--alt figcaption, .section--alt .tiny { color: var(--ink-2); }
.lime { color: var(--brand); }

.h2 { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); font-weight: var(--fw-bold); line-height: 1.0; }
.h3 { font-size: var(--fs-lg); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); }
.lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 46ch; }
.cap { font-size: var(--fs-sm); color: var(--ink-2); }
.tiny { font-size: var(--fs-xs); color: var(--ink-2); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-6); border-radius: var(--r-full);
  font-size: var(--fs-sm); font-weight: var(--fw-bold);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn--solid { background: var(--brand); color: var(--brand-ink); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 10px 30px color-mix(in oklab, var(--brand) 34%, transparent); }
.btn--amber { background: var(--accent); color: var(--accent-ink); }
.btn--amber:hover { transform: translateY(-2px); box-shadow: 0 10px 30px color-mix(in oklab, var(--accent) 32%, transparent); }
.btn--line { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--line:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: var(--sp-3) var(--sp-4); font-size: var(--fs-xs); }

/* ── 헤더 ──────────────────────────────────────────────────── */

.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(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3);
  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; }
.nav__logo i {
  width: 22px; height: 22px; border-radius: 7px; flex: none;
  background: linear-gradient(140deg, var(--brand), color-mix(in oklab, var(--brand) 40%, var(--accent)));
  transform: rotate(-12deg);
}
.nav__logo b { font-size: var(--fs-md); font-weight: var(--fw-black); letter-spacing: var(--ls-tight); }
.nav__logo span { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-3); }
.nav__menu {
  display: flex; order: 3; width: 100%; gap: var(--sp-5);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: var(--sp-1);
}
.nav__menu::-webkit-scrollbar { display: none; }
.nav__menu a { font-size: var(--fs-sm); color: var(--ink-2); white-space: nowrap; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.nav__menu a:hover { color: var(--ink); }
.nav__menu a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }

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

/* ── 히어로 ────────────────────────────────────────────────── */

.hero {
  --header-h: 104px;
  position: relative; overflow: hidden;         /* ★3D·글로우 가두기 */
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 27svh auto; grid-template-areas: "media" "text";
  min-height: calc(100svh - var(--header-h));
  border-bottom: 1px solid var(--line);
  perspective: 1200px;
}
.hero::before {
  content: ""; position: absolute; inset: -30% -20% auto -20%; height: 90%;
  background: radial-gradient(ellipse 44% 52% at 32% 44%, color-mix(in oklab, var(--brand) 26%, transparent), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero__media { grid-area: media; position: relative; z-index: 1; transform-style: preserve-3d; }
.hero__media .img-slot {
  position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0;
}
.hero__text {
  grid-area: text; position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; gap: var(--sp-4);
  padding-inline: var(--gutter); padding-block: var(--sp-6) var(--sp-7);
}
.hero__badge {
  display: inline-flex; align-self: start; align-items: center; gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-4); border-radius: var(--r-full);
  border: 1px solid color-mix(in oklab, var(--brand) 46%, transparent);
  background: color-mix(in oklab, var(--brand) 12%, transparent);
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--brand);
}
.hero__title { font-size: var(--fs-4xl); letter-spacing: var(--ls-tighter); line-height: 0.96; font-weight: var(--fw-semibold); }
.hero__lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 33ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
.hero__strip {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-3);
}

@media (min-width: 1024px) {
  /* ★2단 히어로 — grid-area 로 행까지 못박는다 */
  .hero {
    --header-h: 74px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 47%);
    grid-template-rows: minmax(0, 1fr);
    grid-template-areas: "text media";
    min-height: calc(100svh - var(--header-h));
  }
  .hero__media { min-height: 100%; }
  .hero__text {
    padding-block: var(--sp-9);
    padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
    padding-right: var(--sp-8);
  }
}

/* ── 서브페이지 헤드 ───────────────────────────────────────── */

.phead {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 26svh; grid-template-areas: "text" "media";
  border-bottom: 1px solid var(--line);
}
.phead::before {
  content: ""; position: absolute; inset: -40% auto auto -25%; width: 75%; height: 110%;
  background: radial-gradient(ellipse 48% 48% at 40% 42%, color-mix(in oklab, var(--brand) 22%, transparent), transparent 70%);
  pointer-events: none; z-index: 0;
}
.phead__text { grid-area: text; position: relative; z-index: 2; display: grid; gap: var(--sp-4); align-content: center; padding-inline: var(--gutter); padding-block: var(--sp-7); }
.phead__text h1 { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); font-weight: var(--fw-bold); line-height: 1.0; }
.phead__media { grid-area: media; position: relative; z-index: 1; }
.phead__media .img-slot { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }

@media (min-width: 1024px) {
  .phead { grid-template-columns: minmax(0, 1fr) minmax(0, 44%); grid-template-rows: minmax(340px, auto); grid-template-areas: "text media"; }
  .phead__text { padding-block: var(--sp-9); padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-right: var(--sp-8); }
}

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

.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.kv > div {
  padding: var(--sp-5); border-radius: var(--r);
  border: 1px solid var(--line); background: var(--surface-alt);
}
.kv 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-2); }
.kv dd { font-size: var(--fs-2xl); font-weight: var(--fw-bold); line-height: 1; letter-spacing: var(--ls-tighter); color: var(--brand); }
.kv dd span { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--ink-3); margin-left: 3px; }
@media (min-width: 768px) { .kv { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

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

.sect { display: grid; gap: var(--sp-7); }
.sect__head { display: grid; gap: var(--sp-4); align-content: start; }
@media (min-width: 1024px) {
  .sect { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: var(--sp-8); }
  .sect__head { position: sticky; top: calc(var(--sp-8) + var(--sp-3)); }
}

/* ── 3D 카드 덱 ────────────────────────────────────────────── */
/* 마우스를 올리면 카드가 기운다. JS 가 없으면 hover 만으로도 동작한다. */

.deck { display: grid; gap: var(--sp-5); perspective: 1000px; }
.tcard {
  position: relative; overflow: hidden;
  display: grid; gap: var(--sp-4);
  padding: var(--sp-6); border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-alt), var(--surface));
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.tcard::before {
  content: ""; position: absolute; inset: -40% auto auto -30%; width: 90%; height: 130%;
  background: radial-gradient(ellipse 42% 40% at 50% 50%, color-mix(in oklab, var(--brand) 20%, transparent), transparent 70%);
  opacity: 0; transition: opacity var(--dur) var(--ease); pointer-events: none;
}
.tcard:hover, .tcard:focus-within {
  border-color: color-mix(in oklab, var(--brand) 46%, transparent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.tcard:hover::before, .tcard:focus-within::before { opacity: 1; }
.tcard > * { position: relative; transform: translateZ(28px); }
.tcard__no {
  font-family: var(--font-mono); font-size: var(--fs-2xl);
  letter-spacing: var(--ls-tight); font-weight: var(--fw-bold);
  line-height: 1; color: color-mix(in oklab, var(--brand) 70%, var(--surface));
}
.tcard h3 { font-size: var(--fs-lg); font-weight: var(--fw-bold); }
.tcard p { font-size: var(--fs-sm); color: var(--ink-2); }

@media (min-width: 768px) { .deck { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .tcard { transform: none !important; } }

/* ── 이미지 타일 (3D 레이어) ───────────────────────────────── */

.tile {
  position: relative; overflow: hidden; border-radius: var(--r);
  border: 1px solid var(--line);
}
.tile .img-slot { border-radius: 0; }
.tile figcaption.on {
  position: absolute; inset: auto 0 0 0; z-index: 4;
  padding: var(--sp-6) var(--sp-5) var(--sp-4);
  background: linear-gradient(to top,
    color-mix(in oklab, var(--surface) 94%, transparent) 0%,
    color-mix(in oklab, var(--surface) 74%, transparent) 56%,
    transparent 100%);
  font-size: var(--fs-sm); color: var(--ink);
}
.tile figcaption.on b { display: block; font-size: var(--fs-md); margin-bottom: 2px; }
.tile figcaption.on span { color: var(--ink-2); font-size: var(--fs-xs); }

/* ── 2단 ───────────────────────────────────────────────────── */

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

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

.jobs { display: grid; gap: var(--sp-4); }
.job {
  display: grid; gap: var(--sp-3);
  padding: var(--sp-5); border-radius: var(--r);
  border: 1px solid var(--line); background: var(--surface-alt);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.job:hover { border-color: color-mix(in oklab, var(--brand) 44%, transparent); transform: translateY(-2px); }
.job__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); }
.job__team {
  padding: 2px 10px; border-radius: var(--r-full);
  background: color-mix(in oklab, var(--brand) 18%, transparent);
  border: 1px solid color-mix(in oklab, var(--brand) 36%, transparent);
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--brand);
}
.job__team--amber { background: color-mix(in oklab, var(--accent) 16%, transparent); border-color: color-mix(in oklab, var(--accent) 36%, transparent); color: var(--accent); }
.job h3 { font-size: var(--fs-lg); font-weight: var(--fw-bold); }
.job p { font-size: var(--fs-sm); color: var(--ink-2); }
.job__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); }

/* ── 스텝 ──────────────────────────────────────────────────── */

.steps { display: grid; gap: var(--sp-5); counter-reset: s; }
.stepi { display: grid; grid-template-columns: minmax(0, 52px) minmax(0, 1fr); gap: var(--sp-4); align-items: start; }
.stepi b {
  width: 44px; height: 44px; border-radius: var(--r-full);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: var(--brand-ink);
  font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: var(--fw-bold);
}
.stepi__body { display: grid; gap: var(--sp-2); }
.stepi h3 { font-size: var(--fs-md); font-weight: var(--fw-bold); }
.stepi p { font-size: var(--fs-sm); color: var(--ink-2); }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6); } }

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

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

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

.ticker { overflow: hidden; border-block: 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: bs-ticker 38s 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: 8px; height: 8px; border-radius: 3px; background: var(--brand); transform: rotate(45deg); flex: none; }
@keyframes bs-ticker { to { transform: translateX(-50%); } }

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

.pull {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line); padding-block: var(--sp-8);
  display: grid; gap: var(--sp-4);
}
.pull::before {
  content: ""; position: absolute; inset: auto -20% -70% 10%; height: 150%;
  background: radial-gradient(ellipse 38% 44% at 50% 50%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 70%);
  pointer-events: none;
}
.pull p { position: relative; font-size: var(--fs-2xl); font-weight: var(--fw-bold); line-height: 1.16; letter-spacing: var(--ls-tighter); max-width: 20ch; }
.pull footer { position: relative; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2); }

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

.form { display: grid; gap: var(--sp-5); }
.field { display: grid; gap: var(--sp-2); }
.field > span { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  padding: var(--sp-4); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  color: var(--ink); font-size: var(--fs-sm);
}
.field textarea { min-height: 130px; resize: vertical; }
.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(--brand); }
@media (min-width: 768px) { .form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); } }

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

.cta {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line); background: var(--surface-alt);
  padding-block: var(--section-y);
}
.cta::before {
  content: ""; position: absolute; inset: -50% -15% auto auto; width: 70%; height: 180%;
  background: radial-gradient(ellipse 38% 42% at 60% 40%, color-mix(in oklab, var(--brand) 24%, transparent), transparent 70%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); font-weight: var(--fw-semibold); line-height: 1.0; margin-block: var(--sp-4); }
.cta p { color: var(--ink-2); font-size: var(--fs-md); max-width: 46ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
@media (min-width: 768px) { .cta h2 { font-size: var(--fs-4xl); letter-spacing: var(--ls-tighter); } }

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

.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-lg); font-weight: var(--fw-black); letter-spacing: var(--ls-tight); }
.foot__brand i { width: 18px; height: 18px; border-radius: 6px; background: var(--brand); transform: rotate(-12deg); flex: none; }
.foot address { 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(--brand); }
.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-2); }
@media (min-width: 768px) { .foot__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-7); } }
@media (min-width: 1280px) { .foot__inner { grid-template-columns: 1.4fr 1fr 1fr; } }

/* PET-INTERACTION-PACK */
/* ============================================================
   브랜드 마크 · 아이콘 · 인터랙션 보강  (SPEC 4-C)
   3DM 다크 지면. 아이콘은 --brand(8.02:1) · --ink(16.1:1) ·
   --ink-2(9.2:1) 만 쓴다. 공고 메타의 --ink-3 도 alt 지면에서 5.58:1 이다.
   ============================================================ */

/* ── 브랜드 마크 ─ 낟알 + 한가운데의 심 ────────────────────── */

.nav__mark {
  flex: none;
  color: var(--brand);
  transition: transform var(--dur-slow) var(--ease-out), filter var(--dur) var(--ease);
}
/* 낟알이 살짝 서면서 심이 밝아진다 */
.nav__logo:hover .nav__mark {
  transform: rotate(-8deg) scale(1.06);
  filter: drop-shadow(0 0 9px color-mix(in oklab, var(--brand) 62%, transparent));
}
.foot__brand .nav__mark { color: var(--brand); }
.foot__brand:hover .nav__mark { transform: rotate(8deg) scale(1.06); }

/* ── 아이콘 ────────────────────────────────────────────────── */

.ico { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }

.hero__strip span, .job__meta span {
  display: inline-flex; align-items: center; gap: var(--sp-2);
}
.hero__strip .ico { color: var(--brand); font-size: var(--fs-base); transition: transform var(--dur) var(--ease-out); }
.hero__strip span:hover .ico { transform: translateY(-2px); }
.job__meta .ico { font-size: var(--fs-base); transition: color var(--dur) var(--ease); }
.job:hover .job__meta .ico { color: var(--brand); }

.tile figcaption.on b { display: flex; align-items: center; gap: var(--sp-3); }
.tile figcaption.on b .ico { color: var(--brand); font-size: var(--fs-lg); transition: transform var(--dur) var(--ease-out); }
.tile:hover figcaption.on b .ico { transform: scale(1.14); }

.foot address { display: grid; gap: var(--sp-3); line-height: 1.55; }
.foot address span {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}
.foot address .ico { color: var(--ink-2); font-size: var(--fs-lg); margin-top: .08em; transition: color var(--dur) var(--ease); }
.foot address span:hover { color: var(--ink); transform: translateX(3px); }
.foot address span:hover .ico { color: var(--brand); }

/* ── CTA 화살표 ────────────────────────────────────────────── */

.btn__arrow { font-size: 1.25em; transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn .ico:not(.btn__arrow) { font-size: 1.15em; transition: transform var(--dur) var(--ease-out); }
.btn:hover .ico:not(.btn__arrow) { transform: translateY(-2px); }

/* ── 내비: 라임 선이 그어진다 ──────────────────────────────── */

.nav__menu a { position: relative; padding-bottom: 3px; transition: color var(--dur) var(--ease); }
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  border-radius: var(--r-full); background: var(--brand);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav__menu a:hover::after { transform: scaleX(1); transform-origin: left; }

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

.kv > div { transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.kv > div:hover { border-color: color-mix(in oklab, var(--brand) 46%, transparent); transform: translateY(-3px); }
.kv dd { display: block; transition: text-shadow var(--dur) var(--ease); }
.kv > div:hover dd { text-shadow: 0 0 18px color-mix(in oklab, var(--brand) 52%, transparent); }

/* ── 3D 카드 덱 ────────────────────────────────────────────── */

.tcard__no { transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.tcard:hover .tcard__no, .tcard:focus-within .tcard__no { color: var(--brand); transform: translateZ(28px) translateY(-3px); }
.tcard h3 { transition: color var(--dur) var(--ease); }
.tcard:hover h3, .tcard:focus-within h3 { color: var(--brand); }

/* ── 공정 타일: 사진이 당겨진다 ────────────────────────────── */

.tile .img-slot img { transition: transform var(--dur-slow) var(--ease-out); }
.tile:hover .img-slot img { transform: scale(1.05); }
.tile { transition: border-color var(--dur) var(--ease); }
.tile:hover { border-color: color-mix(in oklab, var(--brand) 40%, transparent); }
.tile figcaption.on { transition: padding-bottom var(--dur) var(--ease-out); }
.tile:hover figcaption.on { padding-bottom: var(--sp-5); }

/* ── 공고 카드 ─────────────────────────────────────────────── */

.job__team { transition: background var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.job:hover .job__team { transform: translateX(3px); }
.job h3 { transition: color var(--dur) var(--ease); }
.job:hover h3 { color: var(--brand); }

/* ── 지원 절차 ─────────────────────────────────────────────── */

.stepi b { transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease); }
.stepi:hover b { transform: scale(1.08); box-shadow: 0 0 0 6px color-mix(in oklab, var(--brand) 18%, transparent); }
.stepi h3 { transition: color var(--dur) var(--ease); }
.stepi:hover h3 { color: var(--brand); }

/* ── 표 · 인용 ─────────────────────────────────────────────── */

.tbl tbody tr { transition: background var(--dur) var(--ease); }
.tbl tbody tr:hover { background: color-mix(in oklab, var(--brand) 8%, transparent); }
.pull { transition: border-color var(--dur) var(--ease); }
.pull:hover { border-block-color: color-mix(in oklab, var(--brand) 40%, transparent); }

/* ── 티커: 올리면 멈춘다 ───────────────────────────────────── */

.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { transition: color var(--dur) var(--ease); }
.ticker:hover .ticker__track span { color: var(--ink); }

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

.field input, .field select, .field textarea { transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in oklab, var(--brand) 52%, transparent); }
.field input:focus, .field textarea:focus { box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 20%, transparent); }

/* ── 푸터 링크 ─────────────────────────────────────────────── */

.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: var(--brand); transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.foot__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── @keyframes ────────────────────────────────────────────── */

/* 2) 채용 배지가 위에서 내려온다 */
@keyframes bs-badge { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.hero__badge { animation: bs-badge var(--dur-slow) var(--ease-out) both; }

/* 3) 티커의 라임 사각형이 천천히 돈다 */
@keyframes bs-spin { from { transform: rotate(45deg); } to { transform: rotate(405deg); } }
.ticker__track i { animation: bs-spin 6s linear infinite; }

/* 4) CTA 뒤 글로우가 아주 느리게 숨쉰다 (스크림 아래라 대비에 영향 없음) */
@keyframes bs-glow { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }
.cta::before { animation: bs-glow 7s var(--ease) infinite; }

/* ── 형제 계단식 지연 ──────────────────────────────────────── */

html.js .deck .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .deck .reveal:nth-child(3) { transition-delay: 180ms; }
html.js .jobs .reveal:nth-child(2) { transition-delay: 80ms; }
html.js .jobs .reveal:nth-child(3) { transition-delay: 160ms; }
html.js .jobs .reveal:nth-child(4) { transition-delay: 240ms; }
html.js .kv .reveal:nth-child(2) { transition-delay: 60ms; }
html.js .kv .reveal:nth-child(3) { transition-delay: 120ms; }
html.js .kv .reveal:nth-child(4) { transition-delay: 180ms; }
html.js .cols .reveal:nth-child(2) { transition-delay: 110ms; }
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; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { transition-delay: 0s !important; }
  .ticker__track i { animation: none; transform: rotate(45deg); }
  .cta::before { animation: none; }
  .hero__badge { animation: none; opacity: 1; transform: none; }
  .nav__logo:hover .nav__mark, .foot__brand:hover .nav__mark,
  .kv > div:hover, .tile:hover .img-slot img, .tile:hover figcaption.on b .ico,
  .job:hover .job__team, .stepi:hover b, .hero__strip span:hover .ico,
  .foot address span:hover, .btn:hover .ico:not(.btn__arrow),
  .btn:hover .btn__arrow { transform: none; }
  .tcard:hover .tcard__no, .tcard:focus-within .tcard__no { transform: none; }
}


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

/* 3D·인터랙티브 — 원근으로 살짝 눕는다. */
.nav__menu a::after, .foot__nav a::after { display: none !important; }
.foot__nav a, .nav__menu a { display: inline-block; transition: transform var(--dur) var(--ease-out); }
.foot__nav a, .nav__menu a:hover { transform: translateY(-2px); }
.btn--solid:hover, .btn--amber:hover, .job:hover, .hero__strip span:hover .ico, .btn:hover .ico:not(.btn__arrow), .kv > div:hover, .tcard:hover .tcard__no, .tcard:focus-within .tcard__no { transform: none; }
.btn--solid:hover, .btn--amber:hover, .job:hover, .hero__strip span:hover .ico, .btn:hover .ico:not(.btn__arrow), .kv > div:hover, .tcard:hover .tcard__no, .tcard:focus-within .tcard__no { transform: perspective(900px) rotateX(3deg) translateY(-4px); }

/* webit-touch */
@media (max-width: 767px) {
  .nav__inner { flex-wrap: wrap; overflow: visible; }
  .hero__actions, .hero__acts { flex-wrap: wrap; }
}
html.tier-premium .img-slot { transform-style: preserve-3d; }
html.tier-premium .hero__title { text-wrap: balance; }
