/* ============================================================
   PUB-BRND-147 · 해온시 도시브랜드 · EDT 에디토리얼
   ============================================================ */

/* 암묵 그리드 트랙이 max-content 로 부풀어 페이지를 밀어내는 것을 원천 차단 */
* { grid-auto-columns: minmax(0, 1fr); }
/* 그리드/플렉스 자식이 내재 폭을 주장하지 못하게 한다 (중간 래퍼까지 커버) */
:where([style*="grid"], .grid, [class*="__grid"], [class*="__list"], [class*="__inner"],
       [class*="__row"], [class*="__body"], [class*="__head"], [class*="__actions"],
       .hero, .card, .cards, .split, .gal, .chips, .spec, .rules, .rule-card, .form,
       .prose, .type-demo, .notecard, .bleed__card, .runhead, .foot, .nav, .phead,
       .container, main, section, article) > * { min-width: 0; }

:root {
  --brand:       #8d5c0e;
  --brand-ink:   #ffffff;
  --accent:      #241f1c;
  --accent-ink:  #faf7f1;
  --surface:     #fdfbf6;
  --surface-alt: #f2ece0;
  --font-display: var(--font-serif);
  --r: var(--r-sm);
}

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

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

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

.h2 {
  font-size: var(--fs-3xl);
  letter-spacing: var(--ls-tight);
  line-height: 1.1;
}
.h3 { font-size: var(--fs-xl); letter-spacing: var(--ls-tight); }
.body-lg { font-size: var(--fs-md); color: var(--ink-2); max-width: 48ch; }
.body-sm { font-size: var(--fs-sm); color: var(--ink-2); }

.rule { height: 1px; background: var(--line-strong); border: 0; margin: 0; }

/* 에디토리얼 러닝 헤드 — 섹션 번호 + 제목을 헤어라인 위에 얹는다 */
.runhead {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 2px solid var(--accent);
  margin-bottom: var(--sp-7);
}
@media (min-width: 768px) {
  .runhead { grid-template-columns: 7rem minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
}

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

.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);
  font-family: var(--font-sans);
  letter-spacing: var(--ls-base);
  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); }
.btn--solid { background: var(--brand); color: var(--brand-ink); }
.btn--solid:hover { background: var(--accent); color: var(--accent-ink); }
.btn--line { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--line:hover { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }

.link-u {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold);
  color: var(--brand);
  border-bottom: 1px solid color-mix(in oklab, var(--brand) 42%, transparent);
  padding-bottom: 2px;
}
.link-u:hover { border-bottom-color: var(--brand); }

/* ── 헤더 (다페이지 · JS 없이 전 메뉴 노출) ─────────────────── */

.nav {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in oklab, var(--surface) 93%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--sp-4); column-gap: var(--sp-3);
  padding-block: var(--sp-3);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
/* 브랜드 마크 — 수평선 위로 오른 해. currentColor 라 어두운 푸터에서도 그대로 쓴다.
   375px 에서 로고 줄이 한 줄에 들어가야 헤더가 한 행 더 늘지 않는다.
   마크를 넣은 만큼 로고 내부 간격을 좁혀 원래 헤더 높이를 지켰다. */
.nav__mark { flex: none; color: var(--brand); transition: transform var(--dur-slow) var(--ease-out); }
.nav__logo:hover .nav__mark { transform: translateY(-2px); }

/* ── 아이콘 ────────────────────────────────────────────────── */
.ico { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }

.nav__logo {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  font-family: var(--font-display);
  font-size: var(--fs-lg); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  margin-right: auto;
}
.nav__logo b { color: var(--brand); font-weight: var(--fw-bold); }
.nav__logo span {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide); color: var(--ink-2); text-transform: uppercase;
}
.nav__menu {
  display: flex; order: 3; width: 100%;
  gap: var(--sp-5);
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
}
.nav__menu::-webkit-scrollbar { display: none; }
.nav__menu a {
  white-space: nowrap; font-size: var(--fs-sm); color: var(--ink-2);
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.nav__menu a:hover { color: var(--brand); }
.nav__menu a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); 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; overflow: visible; padding-top: 0; border-top: 0; margin-left: var(--sp-6); }
}

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

.hero {
  --header-h: 108px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 25svh minmax(0, 1fr);
  grid-template-areas: "media" "text";
  min-height: 100svh;
}
.hero__media { grid-area: media; position: relative; }
.hero__media .img-slot { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.hero__text {
  grid-area: text;
  display: flex; flex-direction: column; justify-content: center;
  gap: var(--sp-5);
  padding-block: var(--sp-6) var(--sp-7);
  padding-inline: var(--gutter);
  background: var(--surface);
}
.hero__title {
  font-size: var(--fs-4xl);
  line-height: 1.0;
  letter-spacing: var(--ls-tighter);
}
.hero__title em { font-style: normal; color: var(--brand); }
.hero__lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-5);
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide); color: var(--ink-2);
  padding-top: var(--sp-4); border-top: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .hero {
    --header-h: 76px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
    grid-template-rows: minmax(0, 1fr);
    grid-template-areas: "text media";
    min-height: calc(100svh - var(--header-h));
  }
  .hero__text {
    padding-block: var(--sp-9);
    padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
    padding-right: var(--sp-8);
  }
}

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

.ticker {
  overflow: hidden;
  background: var(--accent); color: var(--accent-ink);
  padding-block: var(--sp-3);
}
.ticker__track {
  display: flex; align-items: center; gap: var(--sp-6);
  width: max-content;
  animation: tick 42s linear infinite;
}
.ticker__track span {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest); text-transform: uppercase;
  white-space: nowrap;
}
.ticker__track i { width: 4px; height: 4px; border-radius: var(--r-full); background: var(--brand-ink); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ── 지표 (큰 숫자 + 헤어라인 그리드) ──────────────────────── */

.figures__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.fig {
  padding-block: var(--sp-6); padding-right: var(--sp-4);
  border-bottom: 1px solid var(--line);
}
.fig:nth-child(odd) { border-right: 1px solid var(--line); padding-right: var(--sp-5); }
.fig dt {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide); color: var(--ink-2); margin-bottom: var(--sp-3);
}
.fig dd {
  font-family: var(--font-display);
  font-size: var(--fs-2xl); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tighter); line-height: 1;
}
.fig dd span { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--ink-2); margin-left: 3px; }

@media (min-width: 768px) {
  .figures__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fig { border-bottom: 0; border-right: 1px solid var(--line); padding-inline: var(--sp-5); }
  .fig:first-child { padding-left: 0; }
  .fig:last-child { border-right: 0; }
}

/* ── 픽업(비대칭 2단 + sticky 제목) ────────────────────────── */

.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__aside { position: sticky; top: calc(var(--sp-9) + var(--sp-4)); align-self: start; }
}

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

.card { display: grid; gap: var(--sp-4); align-content: start; }
.card__num {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest); color: var(--brand);
}
.card h3 { font-size: var(--fs-lg); letter-spacing: var(--ls-tight); }
.card p { font-size: var(--fs-sm); color: var(--ink-2); }
.card .img-slot { border-radius: var(--r); }

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

.bleed { position: relative; padding-bottom: var(--section-y); }
.bleed__media { border-radius: 0; aspect-ratio: 4 / 5; }
.bleed__card {
  position: relative;
  margin-top: calc(var(--sp-8) * -1);
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  display: grid; gap: var(--sp-4);
}
.bleed__list { display: grid; gap: var(--sp-3); }
.bleed__list li {
  display: flex; gap: var(--sp-4);
  padding-top: var(--sp-3); border-top: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--ink-2);
}
.bleed__list b { color: var(--ink); min-width: 5.5em; flex: none; }

@media (min-width: 768px) {
  .bleed__media { aspect-ratio: 21 / 9; }
  .bleed__card { margin-top: calc(var(--sp-10) * -1); max-width: 640px; padding: var(--sp-8); }
}

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

.pull { background: var(--surface-alt); }
.pull blockquote { display: grid; gap: var(--sp-5); }
.pull p {
  font-family: var(--font-display);
  font-size: var(--fs-2xl); line-height: 1.3;
  letter-spacing: var(--ls-tight);
}
.pull footer { font-size: var(--fs-sm); color: var(--ink-2); }
.pull footer b { color: var(--ink); }

/* ── 갤러리 ────────────────────────────────────────────────── */

.gal { display: grid; gap: var(--sp-4); }
@media (min-width: 768px) {
  .gal { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gal > *:nth-child(1) { grid-column: span 4; }
  .gal > *:nth-child(2) { grid-column: span 2; }
  .gal > *:nth-child(3) { grid-column: span 3; }
  .gal > *:nth-child(4) { grid-column: span 3; }
}
.gal figcaption.cap {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  color: var(--ink-2); margin-top: var(--sp-2);
}

/* ── 아이덴티티 (컬러칩 · 타이포) ──────────────────────────── */

.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
@media (min-width: 768px) { .chips { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.chip { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.chip__sw { height: 108px; }
.chip__body { padding: var(--sp-4); display: grid; gap: var(--sp-1); }
.chip__body b { font-size: var(--fs-sm); }
.chip__body span { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-2); }

.spec { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.spec__row {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-2);
  padding-block: var(--sp-5); border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) {
  .spec__row { grid-template-columns: 12rem minmax(0, 1fr); gap: var(--sp-6); align-items: baseline; }
}
.spec__row dt { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); color: var(--ink-2); }
.spec__row dd { font-size: var(--fs-sm); color: var(--ink); }
.spec__row dd em { font-style: normal; color: var(--ink-2); display: block; margin-top: var(--sp-2); }

.type-demo { display: grid; gap: var(--sp-5); }
.type-demo > div { padding-bottom: var(--sp-5); border-bottom: 1px solid var(--line); }
.type-demo p:first-child {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide); color: var(--ink-2); margin-bottom: var(--sp-3);
}
.type-demo .t-a { font-family: var(--font-display); font-size: var(--fs-2xl); letter-spacing: var(--ls-tighter); }
.type-demo .t-b { font-family: var(--font-sans); font-size: var(--fs-lg); font-weight: var(--fw-bold); }
.type-demo .t-c { font-family: var(--font-sans); font-size: var(--fs-base); color: var(--ink-2); }

/* ── 규정 카드 (do / dont) ─────────────────────────────────── */

.rules { display: grid; gap: var(--sp-5); }
@media (min-width: 768px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rule-card { padding: var(--sp-6); border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: var(--sp-3); align-content: start; }
.rule-card--no { background: var(--surface-alt); }
.rule-card h3 { font-size: var(--fs-md); }
.rule-card ul { display: grid; gap: var(--sp-3); }
.rule-card li { font-size: var(--fs-sm); color: var(--ink-2); padding-left: var(--sp-5); position: relative; }
.rule-card li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 10px; height: 2px; background: var(--brand);
}
.rule-card--no li::before { background: var(--ink-2); }

/* ── 스토리(에디토리얼 본문) ───────────────────────────────── */

.prose { max-width: 64ch; display: grid; gap: var(--sp-5); }
.prose p { font-size: var(--fs-md); color: var(--ink-2); }
.prose p.lead { font-size: var(--fs-lg); color: var(--ink); }
.prose h3 { font-size: var(--fs-xl); margin-top: var(--sp-4); }
.prose .drop::first-letter {
  float: left; font-family: var(--font-display);
  font-size: 3.6em; line-height: .82; padding-right: .08em;
  color: var(--brand); font-weight: var(--fw-bold);
}

.notecard {
  padding: var(--sp-6); background: var(--surface-alt);
  border-left: 3px solid var(--brand); border-radius: 0 var(--r) var(--r) 0;
  display: grid; gap: var(--sp-3);
}
.notecard b { font-size: var(--fs-sm); }
.notecard p { font-size: var(--fs-sm); color: var(--ink-2); }

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

.form { display: grid; gap: var(--sp-5); }
.form__row { display: grid; gap: var(--sp-5); }
@media (min-width: 768px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: var(--sp-2); }
.field label { font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.field .hint { font-size: var(--fs-xs); color: var(--ink-2); }
.field input, .field select, .field textarea {
  padding: var(--sp-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  font-size: var(--fs-sm);
  width: 100%;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.check { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-2); }
.check input { margin-top: .25em; accent-color: var(--brand); flex: none; }

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

.foot { background: var(--accent); color: var(--accent-ink); padding-block: var(--sp-8) var(--sp-6); }
.foot__inner { display: grid; gap: var(--sp-6); }
.foot__brand { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: var(--fw-bold); }
.foot__addr { font-style: normal; font-size: var(--fs-sm); line-height: 1.9; color: color-mix(in oklab, var(--accent-ink) 78%, transparent); }
.foot__nav { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.foot__nav a { font-size: var(--fs-sm); color: color-mix(in oklab, var(--accent-ink) 82%, transparent); }
.foot__nav a:hover { color: var(--accent-ink); }
.foot__copy {
  grid-column: 1 / -1; padding-top: var(--sp-5);
  border-top: 1px solid color-mix(in oklab, var(--accent-ink) 24%, transparent);
  font-size: var(--fs-xs); color: color-mix(in oklab, var(--accent-ink) 72%, transparent);
}
.foot :focus-visible { outline-color: var(--accent-ink); }
@media (min-width: 768px) { .foot__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-7); } }

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

.phead { padding-block: var(--sp-8) var(--sp-7); border-bottom: 1px solid var(--line); }
.phead__inner { display: grid; gap: var(--sp-4); }
.phead h1 { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); line-height: 1.06; }
.phead p { font-size: var(--fs-md); color: var(--ink-2); max-width: 52ch; }
@media (min-width: 1024px) {
  .phead__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: var(--sp-8); align-items: end; }
}


/* ============================================================
   인터랙션 보강
   지자체 지면이다. 반응은 밑줄·테두리·색으로만 답하고
   이동은 2~4px 안에서 끝낸다. transform 은 아래에서 전부 해제.
   ============================================================ */

/* ── 아이콘이 붙는 자리 ─────────────────────────────────────── */

.card__num { display: inline-flex; align-items: center; gap: var(--sp-2); }
.card__num .ico { font-size: var(--fs-md); color: var(--brand); transition: transform var(--dur) var(--ease-out); }
.card:hover .card__num .ico { transform: translateY(-2px); }

.foot__addr { display: grid; gap: var(--sp-3); line-height: 1.6; }
.foot__addr span { display: flex; align-items: flex-start; gap: var(--sp-3); }
.foot__addr .ico {
  font-size: var(--fs-lg); margin-top: .1em;
  color: color-mix(in oklab, var(--accent-ink) 78%, transparent);
  transition: color var(--dur) var(--ease);
}
.foot__addr span:hover .ico { color: var(--accent-ink); }

.foot__brand { display: inline-flex; align-items: center; gap: var(--sp-3); }
.foot__brand .nav__mark { color: color-mix(in oklab, var(--accent-ink) 88%, transparent); transition: transform var(--dur-slow) var(--ease-out); }
.foot__brand:hover .nav__mark { transform: translateY(-2px); }

/* ── 버튼·링크: 화살표가 밀려나간다 ────────────────────────── */

.btn__arrow { font-size: 1.25em; margin-left: 1px; transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn__arrow, .link-u:hover .btn__arrow { transform: translateX(4px); }
.link-u { transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.link-u:hover { color: var(--brand); }

/* ── 내비게이션: 밑줄이 왼쪽에서 그어진다 ───────────────────── */

.nav__menu a { position: relative; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px;
  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; }

/* ── 개념 카드: 들어올려지고 안의 사진이 당겨진다 ──────────── */

.card { transition: transform var(--dur) var(--ease-out); }
.card:hover { transform: translateY(-4px); }
.card .img-slot { overflow: hidden; }
.card .img-slot img { transition: transform var(--dur-slow) var(--ease-out); }
.card:hover .img-slot img { transform: scale(1.04); }
.card h3 { transition: color var(--dur) var(--ease); }
.card:hover h3 { color: var(--brand); }

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

.fig { transition: background var(--dur) var(--ease); }
.fig:hover { background: var(--surface-alt); }
.fig dd { transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease); }
.fig:hover dd { transform: translateY(-2px); color: var(--brand); }

/* ── 브랜드 마크: 올리면 해만 수평선 위로 조금 더 오른다 ───── */

.nav__mark circle { transition: transform var(--dur-slow) var(--ease-out); }
.nav__logo:hover .nav__mark circle,
.foot__brand:hover .nav__mark circle { transform: translateY(-2px); }

/* ── 티커: 올리면 멈춘다 (읽을 수 있게) ─────────────────────── */

.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { transition: opacity var(--dur) var(--ease); }
.ticker:hover .ticker__track span { opacity: 1; }
@keyframes dotFade { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.ticker__track i { animation: dotFade 4.2s var(--ease) infinite; }

/* ── 히어로 메타 ───────────────────────────────────────────── */

.hero__meta span { transition: color var(--dur) var(--ease); }
.hero__meta span:hover { color: var(--brand); }

/* ── 규정표: 행이 밝아지고 라벨이 밀려난다 ────────────────── */

.spec__row { transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.spec__row:hover { background: var(--surface-alt); }
.spec__row dt { transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease); }
.spec__row:hover dt { transform: translateX(3px); color: var(--brand); }

/* ── 컬러 칩: 스와치가 커진다 ──────────────────────────────── */

.chip { transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.chip:hover { border-color: var(--brand); transform: translateY(-3px); }
.chip__sw { transition: transform var(--dur-slow) var(--ease-out); }
.chip:hover .chip__sw { transform: scale(1.03); }

/* ── 사용 규정 카드 ────────────────────────────────────────── */

.rule-card { transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.rule-card:hover { border-color: var(--line-strong); box-shadow: var(--sh-sm); }
.rule-card li::before { transition: transform var(--dur) var(--ease-out); }
.rule-card:hover li::before { transform: scaleX(1.4); }

/* ── 갤러리: 사진이 당겨지고 캡션이 진해진다 ──────────────── */

.gal figure .img-slot { overflow: hidden; display: block; }
.gal figure img { transition: transform var(--dur-slow) var(--ease-out); }
.gal figure:hover img { transform: scale(1.04); }
.gal figcaption.cap { transition: color var(--dur) var(--ease); }
.gal figure:hover figcaption.cap { color: var(--brand); }

/* ── 안내 카드 ─────────────────────────────────────────────── */

.notecard { transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.notecard:hover { border-color: var(--brand); }

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

.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(--line-strong); }
.field input:focus, .field textarea:focus { background: var(--surface); }
.check { transition: color var(--dur) var(--ease); }
.check:hover { color: var(--ink); }

/* ── 접힘 규정 (apply 의 details) ─────────────────────────── */

@keyframes rowOpen { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
details.spec__row[open] > *:not(summary) { animation: rowOpen var(--dur) var(--ease-out) both; }
details.spec__row summary { transition: color var(--dur) var(--ease); }
details.spec__row summary:hover { color: var(--brand); }

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

.pull p { transition: color var(--dur) var(--ease); }

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

.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 .cards .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .cards .reveal:nth-child(3) { transition-delay: 180ms; }
html.js .gal .reveal:nth-child(2) { transition-delay: 70ms; }
html.js .gal .reveal:nth-child(3) { transition-delay: 140ms; }
html.js .gal .reveal:nth-child(4) { transition-delay: 210ms; }
html.js .chips .reveal:nth-child(2) { transition-delay: 60ms; }
html.js .chips .reveal:nth-child(3) { transition-delay: 120ms; }
html.js .chips .reveal:nth-child(4) { transition-delay: 180ms; }
html.js .rules .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .figures__grid .reveal:nth-child(2) { transition-delay: 60ms; }
html.js .figures__grid .reveal:nth-child(3) { transition-delay: 120ms; }
html.js .figures__grid .reveal:nth-child(4) { transition-delay: 180ms; }

/* ── 모션 최소화 — 지연·이동·티커를 전부 해제한다 ──────────── */

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { transition-delay: 0s !important; }
  .nav__logo:hover .nav__mark,
  .foot__brand:hover .nav__mark,
  .card:hover, .card:hover .img-slot img, .card:hover .card__num .ico,
  .fig:hover dd,
  .spec__row:hover dt,
  .chip:hover, .chip:hover .chip__sw,
  .rule-card:hover li::before,
  .gal figure:hover img,
  .btn:hover .btn__arrow, .link-u:hover .btn__arrow,
  .nav__logo:hover .nav__mark circle,
  .foot__brand:hover .nav__mark circle { transform: none; }
  details.spec__row[open] > *:not(summary) { animation: none; }
  .ticker__track, .ticker__track i { animation: none; opacity: 1; }
}


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

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

/* ===== 티커 걷어내기 — EDT 무드에 마퀴는 어울리지 않는다 ==========
   내용(실적·목록·인증)은 실제 정보라 유지하고 장치만 바꾼다.
   ================================================================ */
/* 티커 → 매거진 인덱스 줄. 세리프에 가운뎃점. */
.ticker { overflow: visible; }
.ticker__track { animation: none !important; width: auto; flex-wrap: wrap; gap: var(--sp-2) 0; }
.ticker__track > span { font-family: var(--font-serif); }
.ticker__track > span:not(:last-child)::after { content: " · "; opacity: .45; padding-inline: var(--sp-3); }
.ticker__track > i { display: 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; }
