/* ============================================================
   WED-MAG-137 · 열두컷 · 3DM 인터랙티브
   L 5% 먹빛 지면 위 스칼렛(#F24936). 원근 카드·레이어 스택·틸트.
   다크 무드라 SPEC 4-B 가 허용한 중립색 5개까지 재정의한다.
   ★ background-clip:text 그라디언트는 스톱을 전부 검사했다.
     가장 어두운 스톱 #F24936 = 5.43:1 on --surface (기준 통과).
   ============================================================ */

/* 암묵 그리드 트랙이 max-content 로 부풀어 페이지를 밀어내는 것을 원천 차단 */
* { grid-auto-columns: minmax(0, 1fr); }
/* 그리드/플렉스 자식이 내재 폭을 주장하지 못하게 한다 (중간 래퍼까지 커버) */
:where([style*="grid"], .grid, [class*="__grid"], [class*="__inner"], [class*="__list"],
       .hero, .index, .feats, .arch, .notes, .team, .foot__inner) > * { min-width: 0; }

:root {
  --brand:       #f24936;
  --brand-ink:   #1a0704;
  --accent:      #f5f1ea;
  --accent-ink:  #0b0a0e;
  --surface:     #0b0a0e;
  --surface-alt: #15141b;
  --ink:         #edeae6;
  --ink-2:       #ada7a2;
  --ink-3:       #8a837d;
  --line:        #26232b;
  --line-strong: #3b3742;
  --font-display: var(--font-serif);
  --r: var(--r-lg);
}

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

/* ── 공통 ──────────────────────────────────────────────────── */

.kicker { font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-widest); text-transform: uppercase; color: var(--brand); }
.label { font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-widest); text-transform: uppercase; color: var(--ink-3); }
.label--alt { color: var(--ink-2); }
.h2 { font-size: var(--fs-3xl); font-weight: var(--fw-normal); letter-spacing: var(--ls-tight); line-height: 1.08; }
.h3 { font-size: var(--fs-lg); font-weight: var(--fw-normal); letter-spacing: var(--ls-tight); }
.body-lg { font-family: var(--font-sans); font-size: var(--fs-md); color: var(--ink-2); max-width: 48ch; }
.body-sm { font-family: var(--font-sans); font-size: var(--fs-sm); color: var(--ink-2); }
.sec-head { display: grid; gap: var(--sp-4); align-content: start; justify-items: start; }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-alt); }

/* 스톱 둘 다 지면 위 5.43 / 13.41 — 가장 어두운 쪽이 기준을 넘는다 */
.grad {
  background-image: linear-gradient(102deg, #f24936 0%, #ffc9b4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #f24936;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-6);
  font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: var(--fw-semibold);
  border-radius: var(--r-full);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn--solid { background: var(--brand); color: var(--brand-ink); }
.btn--solid:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(242, 73, 54, .38); }
.btn--line { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--line:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }
.btn--sm { padding: var(--sp-3) var(--sp-5); }

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

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  background: color-mix(in oklab, var(--surface) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; 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: baseline; gap: var(--sp-2); font-size: var(--fs-md); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); }
.nav__logo em { font-style: normal; color: var(--brand); }
.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 { font-family: var(--font-sans); font-size: var(--fs-sm); color: var(--ink-2); white-space: nowrap; }
.nav__menu a:hover { color: var(--brand); }
.nav__menu a[aria-current="page"] { color: var(--ink); }
@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-left: var(--sp-8); }
}

/* ── 히어로 ── 모바일: 사진 행 26svh (SPEC 8 해법 B) ─────── */

.hero {
  --header-h: 104px;
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 26svh auto;
  min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -12% -12% auto -12%; height: 72%; z-index: 0;
  /* ★ 이 위에 --ink-3 · --brand 소형 텍스트가 얹힌다. 최악값 역산으로 알파를 잡았다
     (합성 #2A1819 · ink-3 4.52:1 · brand 4.65:1). */
  background: radial-gradient(ellipse 46% 54% at 18% 24%, rgba(242, 73, 54, .09), transparent 62%),
              radial-gradient(ellipse 40% 46% at 84% 10%, rgba(255, 201, 180, .045), transparent 60%);
  pointer-events: none;
}
.hero__media { grid-area: 1 / 1 / 2 / 2; position: relative; z-index: 1; overflow: hidden; }
.hero__media .img-slot { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.hero__media--wide { display: none; }

.hero__text {
  grid-area: 2 / 1 / 3 / 2; 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-5) var(--sp-6);
}
.hero__issue {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide); color: var(--ink-3);
}
.hero__title { font-size: var(--fs-4xl); font-weight: var(--fw-normal); line-height: 1.0; letter-spacing: var(--ls-tighter); }
.hero__lead { font-family: var(--font-sans); font-size: var(--fs-md); color: var(--ink-2); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

@media (min-width: 1024px) {
  .hero {
    --header-h: 0px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 50%);
    grid-template-rows: minmax(0, 1fr);
    padding-top: 0;
  }
  .hero__text {
    grid-area: 1 / 1 / 2 / 2; gap: var(--sp-5);
    padding-block: var(--sp-9) var(--sp-7);
    padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
    padding-right: var(--sp-8);
  }
  .hero__media { grid-area: 1 / 2 / 2 / 3; display: none; }
  .hero__media--wide { display: block; }
}

/* ── 3D 틸트 카드 ─────────────────────────────────────────── */

.tilt { perspective: 1100px; }
.tilt__inner {
  transform-style: preserve-3d;
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
  border-radius: var(--r);
  overflow: hidden;
}
.tilt:hover .tilt__inner, .tilt:focus-within .tilt__inner {
  transform: rotateX(4deg) rotateY(-7deg) translateZ(24px);
  box-shadow: -28px 34px 70px rgba(0, 0, 0, .66), 0 0 0 1px var(--line-strong);
}
@media (prefers-reduced-motion: reduce) {
  .tilt:hover .tilt__inner, .tilt:focus-within .tilt__inner { transform: none; }
}

/* ── 커버 인덱스 ── 레이어 스택 ──────────────────────────── */

.index { display: grid; gap: var(--sp-6); }
.entry { display: grid; gap: var(--sp-4); align-content: start; }
.entry__no {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide); color: var(--brand);
}
.entry h3 { font-size: var(--fs-xl); font-weight: var(--fw-normal); letter-spacing: var(--ls-tight); line-height: 1.16; }
.entry p { font-family: var(--font-sans); font-size: var(--fs-sm); color: var(--ink-2); }
.entry__meta { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-3); letter-spacing: var(--ls-wide); }
@media (min-width: 768px) { .index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-7); } }
@media (min-width: 1280px) { .index { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── 지표 (큰 숫자) ───────────────────────────────────────── */

.nums { border-block: 1px solid var(--line); }
.nums__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.num { padding-block: var(--sp-6); padding-right: var(--sp-4); border-bottom: 1px solid var(--line); }
.num:nth-child(odd) { border-right: 1px solid var(--line); }
.num:nth-child(even) { padding-left: var(--sp-4); }
.num dt { font-family: var(--font-sans); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--sp-3); }
.num dd { font-size: var(--fs-2xl); font-weight: var(--fw-normal); letter-spacing: var(--ls-tight); line-height: 1; }
.num dd span { font-family: var(--font-sans); font-size: var(--fs-sm); color: var(--ink-2); }
@media (min-width: 768px) {
  .nums__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .num { border-bottom: 0; border-right: 1px solid var(--line); padding-inline: var(--sp-5); }
  .num:first-child { padding-left: 0; }
  .num:last-child { border-right: 0; }
}

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

.feature { position: relative; padding-bottom: var(--section-y); }
.feature__media { border-radius: 0; aspect-ratio: 4 / 5; }
.feature__card {
  position: relative;
  margin-top: calc(var(--sp-8) * -1);
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  display: grid; gap: var(--sp-4);
  box-shadow: 0 -16px 70px rgba(0, 0, 0, .62);
}
.feature__list { display: grid; gap: var(--sp-3); margin-top: var(--sp-2); }
.feature__list li { display: flex; gap: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--line); font-family: var(--font-sans); font-size: var(--fs-sm); color: var(--ink-2); }
.feature__list b { color: var(--ink); min-width: 4.5em; flex: none; }
@media (min-width: 768px) {
  .feature__media { aspect-ratio: 21 / 9; }
  .feature__card { margin-top: calc(var(--sp-10) * -1); margin-right: auto; max-width: 660px; padding: var(--sp-8); }
}

/* ── 두 컷 비교 ───────────────────────────────────────────── */

.feats { display: grid; gap: var(--sp-6); }
.feat { display: grid; gap: var(--sp-4); }
.feat__body { display: grid; gap: var(--sp-2); }
.feat__tag { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); color: var(--brand); }
.feat p { font-family: var(--font-sans); font-size: var(--fs-sm); color: var(--ink-2); }
@media (min-width: 768px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-7); } }

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

.quote { display: grid; gap: var(--sp-5); text-align: center; }
.quote p { font-size: var(--fs-xl); font-weight: var(--fw-normal); line-height: 1.5; letter-spacing: var(--ls-tight); }
.quote footer { font-family: var(--font-sans); font-size: var(--fs-sm); color: var(--ink-2); }
.quote footer b { color: var(--ink); font-weight: var(--fw-semibold); }

/* ── 아카이브 (archive.html) ─────────────────────────────── */

.arch { display: grid; gap: var(--sp-5); }
.issue { display: grid; gap: var(--sp-4); align-content: start; }
.issue__no { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); color: var(--ink-3); }
.issue h3 { font-size: var(--fs-lg); font-weight: var(--fw-normal); letter-spacing: var(--ls-tight); }
.issue p { font-family: var(--font-sans); font-size: var(--fs-sm); color: var(--ink-2); }
@media (min-width: 768px) { .arch { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6); } }
@media (min-width: 1024px) { .arch { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.scroll-x { overflow-x: auto; min-width: 0; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; min-width: 560px; border-collapse: collapse; font-family: var(--font-sans); font-size: var(--fs-sm); }
.tbl th, .tbl td { padding: var(--sp-4); text-align: left; border-bottom: 1px solid var(--line); }
.tbl thead th { font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--line-strong); }
.tbl td { color: var(--ink-2); }
.tbl td:first-child { color: var(--ink); font-family: var(--font-mono); }

/* ── 에디터 노트 (about.html) ────────────────────────────── */

.notes { display: grid; gap: var(--sp-6); }
.note { display: grid; gap: var(--sp-3); align-content: start; padding: var(--sp-6); border: 1px solid var(--line); border-radius: var(--r); background: color-mix(in oklab, var(--surface-alt) 70%, transparent); }
.note__no { font-family: var(--font-mono); font-size: var(--fs-2xl); letter-spacing: var(--ls-tight); color: var(--line-strong); line-height: 1; }
.note h3 { font-size: var(--fs-lg); font-weight: var(--fw-normal); letter-spacing: var(--ls-tight); }
.note p { font-family: var(--font-sans); font-size: var(--fs-sm); color: var(--ink-2); }
@media (min-width: 768px) { .notes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.team { display: grid; gap: var(--sp-6); align-items: center; }
.team__body { display: grid; gap: var(--sp-4); justify-items: start; }
@media (min-width: 1024px) { .team { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: var(--sp-8); } }

/* ── 페이지 헤더 ───────────────────────────────────────────── */

.phead { padding-top: calc(var(--sp-10) + var(--sp-6)); padding-bottom: var(--section-y); border-bottom: 1px solid var(--line); }
.phead__inner { display: grid; gap: var(--sp-4); }
.phead h1 { font-size: var(--fs-3xl); font-weight: var(--fw-normal); letter-spacing: var(--ls-tighter); line-height: 1.06; }
@media (min-width: 1024px) {
  .phead { padding-top: calc(var(--sp-11) + var(--sp-2)); }
  .phead__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: end; gap: var(--sp-8); }
}

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

.cta { position: relative; overflow: hidden; padding-block: var(--section-y); border-top: 1px solid var(--line); }
.cta::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 90%;
  background: radial-gradient(ellipse 46% 60% at 26% 18%, rgba(242, 73, 54, .09), transparent 62%),
              radial-gradient(ellipse 38% 48% at 80% 14%, rgba(255, 201, 180, .045), transparent 60%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; display: grid; gap: var(--sp-5); justify-items: start; }
.cta__title { font-size: var(--fs-3xl); font-weight: var(--fw-normal); letter-spacing: var(--ls-tighter); line-height: 1.06; }
.cta__form { display: flex; flex-wrap: wrap; gap: var(--sp-3); width: 100%; max-width: 520px; }
.cta__form input {
  flex: 1 1 220px; min-width: 0; padding: var(--sp-4) var(--sp-5);
  background: var(--surface-alt); border: 1px solid var(--line-strong);
  border-radius: var(--r-full); color: var(--ink); font-size: var(--fs-sm);
}
.cta__form input::placeholder { color: var(--ink-3); }
.cta__form input:focus-visible { border-color: var(--brand); }
.cta__note { font-family: var(--font-sans); font-size: var(--fs-xs); color: var(--ink-2); }
@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); background: var(--surface-alt); }
.foot__inner { display: grid; gap: var(--sp-5); }
.foot__brand { display: inline-flex; align-items: baseline; gap: var(--sp-2); font-size: var(--fs-md); font-weight: var(--fw-bold); }
.foot__brand em { font-style: normal; color: var(--brand); }
.foot__addr { font-style: normal; font-family: var(--font-sans); font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.9; }
.foot__nav { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.foot__nav a { font-family: var(--font-sans); 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-family: var(--font-sans); 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); } }


/* ── ★SPEC v1.8 · 유틸 색상 재확정 ──────────────────────────
   `.run p` 처럼 섹션 스코프 요소 선택자는 특이도 (0,1,1) 이라 색 유틸 (0,1,0) 을
   조용히 덮어쓴다. 레이아웃은 멀쩡하고 색만 새기 때문에 육안으로 안 잡힌다.
   파일 끝에서 요소 한정 선택자로 다시 못박는다 (동률이면 나중 규칙이 이긴다). */
p.kicker { color: var(--brand); }
p.label { color: var(--ink-3); }
p.label--alt { color: var(--ink-2); }
p.entry__no { color: var(--brand); }
p.entry__meta { color: var(--ink-3); }
p.note__no { color: var(--line-strong); }
p.issue__no { color: var(--ink-3); }
p.feat__tag { color: var(--brand); }

/* ============================================================
   ★ SPEC 4-C — 브랜드 마크 · 아이콘 · 인터랙션 보강
   3DM 무드. 이미 있는 .tilt 원근을 살리고 그 위에 반응을 얹는다.
   아이콘 색 --brand(#F24936) = 5.43:1 on --surface 로 실측 통과.
   ============================================================ */

/* base.css 의 `svg { display:block }` 때문에 인라인 아이콘이 제 줄로 떨어진다.
   inline-block 으로 되돌려야 글자 옆에 붙는다. */
.ico { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.125em; }
:is(dt, dd, h2, h3, p, li, span, b) > .ico:first-child { margin-inline-end: var(--sp-2); }

/* ── 브랜드 마크 — 세 컷짜리 필름 스트립 ────────────────────── */
.nav__mark {
  width: 26px; height: 26px; flex: none; align-self: center;
  color: var(--brand); transform: none;
  transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease);
}
.nav__logo { display: inline-flex; align-items: center; gap: var(--sp-2); }
.foot__brand { align-items: center; }
.nav__logo:hover .nav__mark,
.nav__logo:focus-visible .nav__mark { transform: translateX(3px) scale(1.06); }
.foot__brand .nav__mark { width: 22px; height: 22px; }
.foot__brand:hover .nav__mark { transform: translateX(3px); }

/* ── 아이콘 자리 ────────────────────────────────────────────── */
.entry__meta .ico, .feat__tag .ico { color: var(--brand); }
.foot__addr { display: grid; gap: var(--sp-3); line-height: 1.6; }
.foot__addr span { display: flex; align-items: flex-start; transition: color var(--dur) var(--ease); }
.foot__addr .ico { color: var(--brand); font-size: var(--fs-lg); margin-top: .05em; }
.foot__addr span:hover { color: var(--ink); }

/* ── 버튼 화살표 ────────────────────────────────────────────── */
.btn__arrow { font-size: 1.25em; transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ── 링크 밑줄 ──────────────────────────────────────────────── */
.nav__menu a, .foot__nav a { position: relative; }
.nav__menu a::after, .foot__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px;
  background: var(--brand); border-radius: var(--r-full);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav__menu a:hover::after, .foot__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── 목차 항목: 원근 카드 안 사진이 당겨진다 ────────────────── */
.entry figure, .feat figure { overflow: hidden; }
.entry img, .feat img { transition: transform 1000ms var(--ease-out), filter var(--dur-slow) var(--ease); }
.entry:hover img, .feat:hover img { transform: scale(1.06); filter: saturate(1.12); }
.entry__no { transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.entry:hover .entry__no { color: var(--brand); transform: translateY(-3px); }
.entry__meta { transition: color var(--dur) var(--ease), letter-spacing var(--dur-slow) var(--ease); }
.entry:hover .entry__meta { color: var(--brand); letter-spacing: var(--ls-wide); }
.entry h3 { transition: color var(--dur) var(--ease); }
.entry:hover h3 { color: var(--brand); }

/* ── 특집 카드 ──────────────────────────────────────────────── */
.feat__tag { transition: color var(--dur) var(--ease); }
.feat:hover .feat__tag { color: var(--accent); }
.feat__body { transition: transform var(--dur) var(--ease-out); }
.feat:hover .feat__body { transform: translateY(-3px); }
.tilt { transition: filter var(--dur-slow) var(--ease); }
.tilt:hover { filter: drop-shadow(0 22px 44px rgba(0, 0, 0, .55)); }

/* ── 지난 호 · 팀 ───────────────────────────────────────────── */
.issue { transition: transform var(--dur) var(--ease-out); }
.issue:hover { transform: translateY(-5px); }
.issue__no { transition: color var(--dur) var(--ease); }
.issue:hover .issue__no { color: var(--brand); }
.team li { transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.team li:hover { border-color: var(--brand); transform: translateY(-3px); }

/* ── 표: 행이 밝아진다 ──────────────────────────────────────── */
.tbl tbody tr { transition: background var(--dur) var(--ease); }
.tbl tbody tr:hover { background: color-mix(in oklab, var(--brand) 9%, transparent); }
.tbl td, .tbl th { transition: color var(--dur) var(--ease); }
.tbl tbody tr:hover td { color: var(--ink); }

/* ── 큰 숫자 지표 ───────────────────────────────────────────── */
.num { transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease); }
.num:hover { transform: translateY(-3px); }

/* ── 필름이 한 칸 흘러간다 (로고 hover) ─────────────────────── */
@keyframes filmAdvance {
  0%   { transform: translateX(0) scale(1); }
  45%  { transform: translateX(-3px) scale(1.02); }
  100% { transform: translateX(3px) scale(1.06); }
}
.nav__logo:hover .nav__mark { animation: filmAdvance var(--dur-slow) var(--ease-out) both; }

/* ── 이번 호 배지가 천천히 맥동한다 ─────────────────────────── */
@keyframes issueHalo {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--brand) 38%, transparent); }
  55%      { box-shadow: 0 0 0 12px color-mix(in oklab, var(--brand) 0%, transparent); }
}
.hero__actions .btn--solid { animation: issueHalo 3.6s var(--ease) infinite; }
.hero__actions .btn--solid:hover { animation: none; }

/* ── 스크롤 표가 열릴 때 흘러들어온다 ───────────────────────── */
@keyframes tblIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.js .scroll-x.is-in .tbl { animation: tblIn var(--dur-slow) var(--ease-out) both; }

/* ── 폼 ─────────────────────────────────────────────────────── */
.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); }

/* ── 형제 계단식 지연 ───────────────────────────────────────── */
html.js .index .reveal:nth-child(2) { transition-delay: 80ms; }
html.js .index .reveal:nth-child(3) { transition-delay: 160ms; }
html.js .index .reveal:nth-child(4) { transition-delay: 240ms; }
html.js .index .reveal:nth-child(5) { transition-delay: 320ms; }
html.js .feats .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .feats .reveal:nth-child(3) { transition-delay: 180ms; }
html.js .arch .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .arch .reveal:nth-child(3) { transition-delay: 180ms; }
html.js .arch .reveal:nth-child(4) { transition-delay: 270ms; }
html.js .team .reveal:nth-child(2) { transition-delay: 80ms; }
html.js .team .reveal:nth-child(3) { transition-delay: 160ms; }
html.js .notes .reveal:nth-child(2) { transition-delay: 80ms; }
html.js .notes .reveal:nth-child(3) { transition-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { transition-delay: 0s !important; }
  .nav__logo:hover .nav__mark, .hero__actions .btn--solid,
  html.js .scroll-x.is-in .tbl { animation: none; }
  .nav__logo:hover .nav__mark, .foot__brand:hover .nav__mark,
  .entry:hover img, .feat:hover img, .entry:hover .entry__no,
  .feat:hover .feat__body, .issue:hover, .team li:hover, .num:hover,
  .btn:hover .btn__arrow { transform: none; }
}


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

/* 3D·인터랙티브 — 원근으로 살짝 눕는다. */
.nav__menu a::after, .foot__nav a::after { display: none !important; }
.nav__menu a, .foot__nav a { display: inline-block; transition: transform var(--dur) var(--ease-out); }
.nav__menu a, .foot__nav a:hover { transform: translateY(-2px); }
.btn--solid:hover, .btn--line:hover, .entry:hover .entry__no, .feat:hover .feat__body, .issue:hover, .team li:hover, .num:hover { transform: none; }
.btn--solid:hover, .btn--line:hover, .entry:hover .entry__no, .feat:hover .feat__body, .issue:hover, .team li:hover, .num:hover { 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; }
