/* ============================================================
   TEC-PORT-106 · 이음새 · EDT 에디토리얼 (플랫폼 서비스 · 도입 사례 아카이브)
   밝은 종이 지면 #FBFAF6 · 브랜드 딥그린 #1D5D26 (H 128°) · 각진 모서리 · 명조 헤드라인
   ── 같은 TEC 의 019(NEO 다크 251°) 020(GLS 밝음 184°) 021(BRU 밝음 67°)
      105(MIN 밝음 342°) 와 무드·유형·색상환 전부 이격.
   ============================================================ */

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

:root {
  --brand:       #1d5d26;
  --brand-ink:   #ffffff;
  --accent:      #14180f;
  --accent-ink:  #fbfaf6;
  --surface:     #fbfaf6;
  --surface-alt: #efece2;
  --font-display: var(--font-serif);
  --r: var(--r-none);
}

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

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

.kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-xs); letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--brand);
}
.label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs); letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--ink-3);
}
/* --surface-alt 위에서는 --ink-3 대신 --ink-2 (SPEC v1.6 2번) */
.section--alt .label,
.section--alt .muted,
.section--alt figcaption:not(.img-slot__hint),
.foot .label { color: var(--ink-2); }

.h2 { font-family: var(--font-display); font-size: var(--fs-3xl); letter-spacing: var(--ls-tight); line-height: 1.14; font-weight: var(--fw-bold); }
.h3 { font-family: var(--font-display); font-size: var(--fs-xl); letter-spacing: var(--ls-snug); line-height: 1.25; }
.h4 { font-family: var(--font-display); font-size: var(--fs-lg); letter-spacing: var(--ls-snug); }
.body-lg { font-size: var(--fs-md); color: var(--ink-2); max-width: 46ch; line-height: var(--lh-loose); }
.muted { font-size: var(--fs-sm); color: var(--ink-3); }
.lede { font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1.55; color: var(--ink-2); max-width: 38ch; }

.rule { border-top: 1px solid var(--ink); }

/* 에디토리얼 본문 — 드롭캡 */
.prose { display: grid; gap: var(--sp-5); max-width: 62ch; }
.prose p { font-size: var(--fs-md); color: var(--ink-2); line-height: var(--lh-loose); }
.prose p.drop::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.4em;
  line-height: .82;
  padding-right: var(--sp-3);
  padding-top: var(--sp-1);
  color: var(--brand);
  font-weight: var(--fw-bold);
}
.prose h3 { margin-top: var(--sp-4); }

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

.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-radius: var(--r);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: var(--sp-3) var(--sp-5); }
/* 브랜드 배경 위 라벨은 --brand-ink (#1D5D26 / #FFF = 7.94:1) */
.btn--brand { background: var(--brand); color: var(--brand-ink); }
.btn--brand:hover { background: var(--accent); color: var(--accent-ink); }
.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { background: var(--brand); color: var(--brand-ink); }
.btn--line { border: 1px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--surface); }

/* 텍스트 링크 (에디토리얼의 기본 인터랙션) */
.tlink {
  display: inline-flex; align-items: baseline; gap: var(--sp-2);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold);
  color: var(--brand);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.tlink:hover { color: var(--accent); }

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

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--ink);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  padding-block: var(--sp-3);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
/* 브랜드 마크 — 두 조각을 잇는 솔기와 지그재그 스티치. 이름 그대로 '이음새'.
   딥그린은 밝은 지면에서 7.4:1 이라 그대로 쓴다. */
.nav__mark {
  width: 26px; height: 26px; flex: none;
  color: var(--brand);
  transition: color var(--dur) var(--ease), transform var(--dur-slow) var(--ease-out);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--fs-lg); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight);
}
.nav__logo i { 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-mono);
  font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--ink-2); white-space: nowrap;
}
.nav__menu a:hover { color: var(--brand); }
.nav__menu a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--brand); }

@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; }
}

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

.hero {
  --header-h: 108px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  min-height: 100svh;
  padding-top: var(--header-h);
  border-bottom: 1px solid var(--ink);
}
.hero__media { grid-area: 1 / 1 / 2 / 2; position: absolute; inset: 0; z-index: 0; }
.hero__media .img-slot { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
/* SPEC 8절 해법 A — 지면 톤 밝은 스크림. 원본이 순백이어도 본문 대비가 유지된다. */
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--surface) 96%, transparent) 0%,
    color-mix(in oklab, var(--surface) 93%, transparent) 54%,
    color-mix(in oklab, var(--surface) 90%, transparent) 80%,
    color-mix(in oklab, var(--surface) 22%, transparent) 93%,
    color-mix(in oklab, var(--surface) 5%, transparent) 100%);
}
.hero__text {
  grid-area: 1 / 1 / 2 / 2;
  position: relative; z-index: 1;
  /* 모바일에서는 위로 붙인다. 가운데 정렬하면 마지막 지표 행이 스크림이 얇아지는
     하단 구간까지 내려가 본문 대비가 무너진다 (실측 2.5:1). */
  display: flex; flex-direction: column; justify-content: flex-start;
  gap: var(--sp-5);
  padding-inline: var(--gutter);
  padding-block: var(--sp-5) var(--sp-9);
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-semibold);
  line-height: 1.06;
  letter-spacing: var(--ls-tight);
}
.hero__title em { font-style: normal; color: var(--brand); }
.hero__lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 32ch; line-height: var(--lh-loose); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; margin-top: var(--sp-2); }
.hero__index {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-5); padding-top: var(--sp-4);
  border-top: 1px solid var(--ink);
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2);
}

/* 1024 에서 텍스트 컬럼을 62% 로 넓힌다. 54% 로 두면 명조 --fs-4xl(80px) 헤드라인이
   한 줄에 안 들어가 6줄로 접히고, 그만큼 CTA 가 첫 화면 밖으로 밀렸다 (실측 1051px). */
@media (min-width: 1024px) {
  .hero { --header-h: 74px; grid-template-columns: minmax(0, 62%) minmax(0, 1fr); padding-top: 0; }
  .hero__text  { grid-area: 1 / 1 / 2 / 2; }
  .hero__media { grid-area: 1 / 2 / 2 / 3; position: relative; border-left: 1px solid var(--ink); }
  .hero__media::after { display: none; }
  .hero__text {
    padding-block: calc(var(--header-h) + var(--sp-6)) var(--sp-7);
    padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
    padding-right: var(--sp-7);
  }
  .hero__index { margin-top: var(--sp-4); }
}
@media (min-width: 1280px) {
  .hero { grid-template-columns: minmax(0, 54%) minmax(0, 1fr); }
  .hero__text { padding-block: calc(var(--header-h) + var(--sp-8)) var(--sp-8); padding-right: var(--sp-8); }
  .hero__index { margin-top: var(--sp-5); }
}

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

.phead { padding-top: calc(108px + var(--sp-8)); padding-bottom: var(--sp-7); border-bottom: 1px solid var(--ink); }
.phead__inner { display: grid; gap: var(--sp-5); }
.phead h1 { font-family: var(--font-display); font-size: var(--fs-3xl); line-height: 1.1; letter-spacing: var(--ls-tight); }
@media (min-width: 1024px) {
  .phead { padding-top: calc(74px + var(--sp-9)); }
  .phead__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: var(--sp-8); align-items: end; }
}

/* ── 마퀴 ──────────────────────────────────────────────────── */

.marq { overflow: hidden; border-bottom: 1px solid var(--ink); background: var(--surface-alt); padding-block: var(--sp-4); }
.marq__track { display: flex; align-items: center; gap: var(--sp-6); width: max-content; animation: marq 40s linear infinite; }
.marq__track span {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2); white-space: nowrap;
}
.marq__track i { width: 6px; height: 6px; background: var(--brand); flex: none; transform: rotate(45deg); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ── 케이스 인덱스 (헤어라인 그리드) ───────────────────────── */

.index { border-top: 1px solid var(--ink); }
.case-row {
  display: grid; gap: var(--sp-3);
  padding-block: var(--sp-5);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background var(--dur) var(--ease);
}
.case-row:hover { background: var(--surface-alt); }
.case-row__no { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--brand); letter-spacing: var(--ls-wide); }
.case-row__name { font-family: var(--font-display); font-size: var(--fs-lg); letter-spacing: var(--ls-snug); }
.case-row__cat { font-size: var(--fs-sm); color: var(--ink-2); }
.case-row__num { font-size: var(--fs-sm); color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (min-width: 768px) {
  .case-row {
    grid-template-columns: minmax(0, 64px) minmax(0, 1fr) minmax(0, 200px) minmax(0, 180px);
    gap: var(--sp-5); align-items: center;
  }
  .case-row__num { text-align: right; }
}

/* ── 사례 카드 그리드 ──────────────────────────────────────── */

.cases__inner { display: grid; gap: var(--sp-8); }
.cases__head { display: grid; gap: var(--sp-4); align-content: start; }
.cases__grid { display: grid; gap: var(--sp-7); }
.case { display: grid; gap: var(--sp-4); }
.case__media { border-radius: var(--r); }
/* v1.8 #308 — 뒤에 오는 `.case__body p` 에 색이 덮이지 않도록 복합 선택자로 올린다. */
.case__body p.case__no, .case__no { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); color: var(--brand); }
.case__body { display: grid; gap: var(--sp-3); }
.case__body p { font-size: var(--fs-sm); color: var(--ink-2); line-height: var(--lh-loose); }
.case__tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.case__tags span {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  padding: var(--sp-1) var(--sp-3);
  border: 1px solid var(--line-strong); color: var(--ink-2);
}
.case--wide { grid-column: 1 / -1; }
.case--wide .case__body { max-width: 56ch; }

@media (min-width: 768px) { .cases__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-7) var(--sp-6); } }
@media (min-width: 1024px) {
  .cases__inner { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: var(--sp-9); }
  .cases__head { position: sticky; top: var(--sp-9); }
}

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

.pull { background: var(--surface-alt); border-block: 1px solid var(--ink); }
.pull blockquote { display: grid; gap: var(--sp-5); }
.pull p {
  font-family: var(--font-display);
  font-size: var(--fs-2xl); line-height: 1.36; letter-spacing: var(--ls-snug);
  text-indent: -0.4em;
}
.pull footer { font-size: var(--fs-sm); color: var(--ink-2); }
.pull footer b { color: var(--ink); }

/* ── 스토리 (풀블리드 + 겹침 카드) ─────────────────────────── */

.story { position: relative; padding-bottom: var(--section-y); }
.story__media { border-radius: 0; aspect-ratio: 4 / 5; }
.story__card {
  position: relative; margin-top: calc(var(--sp-8) * -1);
  padding: var(--sp-6); background: var(--surface);
  border: 1px solid var(--ink);
  display: grid; gap: var(--sp-4);
}
@media (min-width: 768px) {
  .story__media { aspect-ratio: 21 / 9; }
  .story__card { margin-top: calc(var(--sp-10) * -1); margin-left: auto; max-width: 620px; padding: var(--sp-8); }
}

/* ── 숫자 지표 ─────────────────────────────────────────────── */

.figs { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.fig { padding-block: var(--sp-6); border-bottom: 1px solid var(--line); display: grid; gap: var(--sp-2); }
.fig dt { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2); }
.fig dd { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); line-height: 1; }
.fig dd span { font-size: var(--fs-sm); font-weight: var(--fw-normal); color: var(--ink-2); margin-left: 4px; }
.fig p { font-size: var(--fs-sm); color: var(--ink-2); }
@media (min-width: 768px) {
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-8); }
}
@media (min-width: 1024px) { .figs { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--sp-6); } }

/* ── 비대칭 2단 ────────────────────────────────────────────── */

.split { display: grid; gap: var(--sp-6); align-items: start; }
.split__body { display: grid; gap: var(--sp-4); justify-items: start; }
@media (min-width: 768px) {
  .split { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: var(--sp-8); }
  .split--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
  .split--rev .split__media { order: 2; }
}

/* ── 케이스 상세 ───────────────────────────────────────────── */

.detail__hero { border-bottom: 1px solid var(--ink); }
.detail__hero .img-slot { aspect-ratio: 16 / 10; border-radius: 0; }
.detail__meta { display: grid; gap: var(--sp-4); padding-block: var(--sp-6); border-bottom: 1px solid var(--line); }
.detail__meta div { display: grid; gap: var(--sp-1); }
.detail__meta dt { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2); }
.detail__meta dd { font-size: var(--fs-sm); }
@media (min-width: 768px) {
  .detail__hero .img-slot { aspect-ratio: 21 / 9; }
  .detail__meta { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); }
}

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

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

.cta { background: var(--accent); color: var(--accent-ink); padding-block: var(--section-y); }
.cta .label { color: color-mix(in oklab, var(--accent-ink) 66%, transparent); }
.cta__title { font-family: var(--font-display); font-size: var(--fs-3xl); line-height: 1.1; letter-spacing: var(--ls-tight); margin-block: var(--sp-4); }
.cta__lead { color: color-mix(in oklab, var(--accent-ink) 78%, transparent); font-size: var(--fs-md); max-width: 46ch; line-height: var(--lh-loose); }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.cta .btn--line { border-color: color-mix(in oklab, var(--accent-ink) 44%, transparent); color: var(--accent-ink); }
.cta .btn--line:hover { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }
.cta :focus-visible { outline-color: var(--accent-ink); }
@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(--ink); }
.foot__inner { display: grid; gap: var(--sp-5); }
.foot__brand { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); }
.foot__brand i { font-style: normal; color: var(--brand); }
.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) var(--sp-5); }
.foot__nav a { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; 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); } }


/* ============================================================
   ★ 아이콘 · 브랜드 마크 · 인터랙션 (SPEC 4-C)
   에디토리얼이라 반응도 활자처럼 — 선이 그어지고 자간이 벌어지는 쪽으로 통일.
   ============================================================ */

.ico { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }
.btn__arrow { font-size: 1.25em; margin-left: 1px; transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:active .btn__arrow { transform: translateX(1px); }
.btn { transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease); }

/* ── 브랜드 마크 : 스티치가 한 땀씩 꿰인다 ─────────────────── */
@keyframes stitch {
  from { stroke-dashoffset: 46; }
  to   { stroke-dashoffset: 0; }
}
.nav__mark path:nth-of-type(2) { stroke-dasharray: 46; stroke-dashoffset: 0; }
html.js .nav__mark path:nth-of-type(2) { animation: stitch 1.1s var(--ease-out) .18s backwards; }
.nav__logo:hover .nav__mark { color: var(--accent); transform: rotate(-4deg); }
.foot__brand { display: inline-flex; align-items: center; gap: var(--sp-3); }
.foot__brand .nav__mark { width: 22px; height: 22px; }
.foot__brand:hover .nav__mark { color: var(--accent); }

/* ── 내비 ──────────────────────────────────────────────────── */
.nav__menu a { position: relative; padding-block: 2px; transition: color var(--dur) var(--ease); }
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  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; }
.tlink { transition: color var(--dur) var(--ease), letter-spacing var(--dur) var(--ease); }
.tlink:hover { letter-spacing: var(--ls-wide); }

/* ── 마퀴 : 올리면 멈춘다 ──────────────────────────────────── */
.marq:hover .marq__track { animation-play-state: paused; }
.marq__track span { transition: color var(--dur) var(--ease); }
.marq:hover .marq__track span { color: var(--ink); }
.marq__track i { transition: transform var(--dur) var(--ease-out); }
.marq:hover .marq__track i { transform: rotate(135deg) scale(1.2); }

/* ── 인덱스 행 : 훑으면 행이 밀리고 번호가 선다 ────────────── */
.case-row { transition: background var(--dur) var(--ease), padding-left var(--dur) var(--ease-out); }
.case-row:hover { padding-left: var(--sp-4); }
.case-row__no { transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out); display: inline-block; }
.case-row:hover .case-row__no { transform: translateX(-2px) scale(1.08); }
.case-row__name { transition: color var(--dur) var(--ease); }
.case-row:hover .case-row__name { color: var(--brand); }
.case-row__name .ico { color: var(--brand); margin-right: var(--sp-2); font-size: 1.1em; transition: transform var(--dur) var(--ease-out); }
.case-row:hover .case-row__name .ico { transform: rotate(-10deg) scale(1.12); }

/* ── 사례 카드 : 사진이 당겨지고 태그가 채워진다 ───────────── */
.case__media img { transition: transform var(--dur-slow) var(--ease-out); }
.case:hover .case__media img { transform: scale(1.045); }
.case .h3 { transition: color var(--dur) var(--ease); }
.case:hover .h3 { color: var(--brand); }
.case__no { transition: letter-spacing var(--dur) var(--ease); }
.case:hover .case__no { letter-spacing: var(--ls-widest); }
.case__tags span { transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur-fast) var(--ease); }
.case__tags span:hover { transform: translateY(-2px); background: var(--brand); color: var(--brand-ink); }

/* ── 지표 ──────────────────────────────────────────────────── */
.fig { transition: background var(--dur) var(--ease), padding-left var(--dur) var(--ease-out); }
.fig:hover { background: var(--surface-alt); padding-left: var(--sp-4); }
.fig dd { transition: color var(--dur) var(--ease); }
.fig:hover dd { color: var(--brand); }

/* ── 본문 : 드롭캡이 살짝 커진다 ───────────────────────────── */
.prose p.drop::first-letter { transition: color var(--dur) var(--ease); }
.prose:hover p.drop::first-letter { color: var(--brand); }

/* ── 인용 ──────────────────────────────────────────────────── */
.pull p { transition: transform var(--dur) var(--ease-out); }
.pull:hover p { transform: translateX(4px); }

/* ── 상세 ──────────────────────────────────────────────────── */
.detail__hero .img-slot img { transition: transform 1.1s var(--ease-out); }
.detail__hero:hover .img-slot img { transform: scale(1.03); }
.detail__meta div { transition: transform var(--dur) var(--ease-out); }
.detail__meta div:hover { transform: translateY(-2px); }

/* ── 스토리 ────────────────────────────────────────────────── */
.story__media img { transition: transform var(--dur-slow) var(--ease-out); }
.story:hover .story__media img { transform: scale(1.03); }

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

/* ── 푸터 ──────────────────────────────────────────────────── */
.foot__addr { display: grid; gap: var(--sp-3); line-height: 1.6; }
.foot__addr span { display: flex; align-items: center; gap: var(--sp-3); }
.foot__addr .ico { font-size: var(--fs-lg); color: var(--ink-2); transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.foot__addr span:hover .ico { color: var(--brand); transform: translateY(-2px); }
.foot__nav a { position: relative; transition: color var(--dur) var(--ease), letter-spacing var(--dur) var(--ease); }
.foot__nav a:hover { letter-spacing: var(--ls-widest); }

/* ── 형제 계단식 지연 ──────────────────────────────────────── */
html.js .cases__grid .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .cases__grid .reveal:nth-child(3) { transition-delay: 180ms; }
html.js .cases__grid .reveal:nth-child(4) { transition-delay: 270ms; }
html.js .index .reveal:nth-child(2) { transition-delay: 55ms; }
html.js .index .reveal:nth-child(3) { transition-delay: 110ms; }
html.js .index .reveal:nth-child(4) { transition-delay: 165ms; }
html.js .index .reveal:nth-child(5) { transition-delay: 220ms; }
html.js .figs .reveal:nth-child(2) { transition-delay: 60ms; }
html.js .figs .reveal:nth-child(3) { transition-delay: 120ms; }
html.js .figs .reveal:nth-child(4) { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { transition-delay: 0s !important; }
  html.js .nav__mark path:nth-of-type(2) { animation: none; }
  .nav__logo:hover .nav__mark, .btn:hover .btn__arrow,
  .marq:hover .marq__track i, .case-row:hover .case-row__no,
  .case-row:hover .case-row__name .ico, .case:hover .case__media img,
  .case__tags span:hover, .pull:hover p, .detail__hero:hover .img-slot img,
  .detail__meta div:hover, .story:hover .story__media img,
  .foot__addr span:hover .ico { transform: none; }
}


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

/* 에디토리얼 — 헤어라인은 늘 있고, hover 시 진해질 뿐이다. 움직이지 않는다. */
.nav__menu a::after { display: none !important; }
.nav__menu a { border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.nav__menu a:hover { border-bottom-color: var(--ink); color: var(--ink); }
.case__tags span:hover, .detail__meta div:hover, .foot__addr span:hover .ico { transform: none; }
.case__tags span:hover, .detail__meta div:hover, .foot__addr span:hover .ico { box-shadow: none; }
.kicker, .label { font-family: var(--font-serif); font-style: italic; text-transform: none; letter-spacing: var(--ls-base); }

/* 키보드 포커스 어텐션 — 에디토리얼답게 얇은 선이 조용히 그어진다.
   숫자를 채우려는 장식이 아니라, 탭 이동 시 현재 위치를 즉시 알리는 장치다. */
@keyframes isFocusRule {
  from { box-shadow: 0 2px 0 -2px var(--brand); }
  to   { box-shadow: 0 3px 0 0 var(--brand); }
}
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  animation: isFocusRule var(--dur) var(--ease-out) forwards;
}
@media (prefers-reduced-motion: reduce) {
  a:focus-visible, button:focus-visible, summary:focus-visible,
  input:focus-visible, select:focus-visible, textarea:focus-visible { animation: none; }
}

/* webit-touch */
@media (max-width: 767px) {
  .nav__inner { flex-wrap: wrap; overflow: visible; }
  .hero__actions, .hero__acts { flex-wrap: wrap; }
}
html.tier-premium .hero__title, html.tier-premium h1 { font-feature-settings: "kern" 1; }
html.tier-premium .kicker { letter-spacing: .18em; }
