/* ============================================================
   PET-PORT-141 · 곁걸음 훈련소 · EDT 에디토리얼
   반려견 훈련 사례 포트폴리오 4페이지. 종이톤 지면 + 올리브(#59741B).
   ============================================================ */

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

:root {
  --brand:       #59741b;   /* H 78.2° · 흰 글자 5.33:1 */
  --brand-ink:   #ffffff;
  --accent:      #1b2014;
  --accent-ink:  #fbfbf7;
  --surface:     #fbfbf7;
  --surface-alt: #eff1e9;
  --font-display: var(--font-serif);
  --r: var(--r-none);
}

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

h1, h2, h3 { font-family: var(--font-display); }

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

.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);
}
.section--alt .label, .section--alt .cap, .section--alt figcaption { color: var(--ink-2); }

.h2 { font-size: var(--fs-2xl); letter-spacing: var(--ls-tight); line-height: 1.14; }
.h3 { font-size: var(--fs-lg); 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); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* 에디토리얼 본문 — 첫 글자를 키우고 단 폭을 좁게 */
.prose p { font-size: var(--fs-md); color: var(--ink-2); max-width: 62ch; }
.prose p + p { margin-top: var(--sp-4); }
.prose > p:first-of-type::first-letter {
  float: left; font-family: var(--font-display);
  font-size: 3.1em; line-height: 0.84; font-weight: var(--fw-bold);
  color: var(--brand-text); padding-right: var(--sp-3); padding-top: 4px;
}

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

.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); }
.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); }

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

.nav {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--ink);
}
.nav__inner {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-4);
  padding-block: var(--sp-3);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.nav__logo {
  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 small {
  display: block; font-family: var(--font-mono); font-weight: var(--fw-normal);
  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-text); 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: 108px;
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 26svh auto; grid-template-areas: "media" "text";
  min-height: calc(100svh - var(--header-h));
  border-bottom: 1px solid var(--ink);
}
.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-4);
  padding-inline: var(--gutter); padding-block: var(--sp-6) var(--sp-7);
}
.hero__no {
  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); line-height: 1.0; letter-spacing: var(--ls-tighter); }
.hero__title em { font-style: italic; color: var(--brand-text); }
.hero__lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
.hero__foot {
  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(--ink);
  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: 76px;
    grid-template-columns: minmax(0, 54%) minmax(0, 1fr);
    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 {
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 26svh; grid-template-areas: "text" "media";
  border-bottom: 1px solid var(--ink);
}
.phead__text { grid-area: text; 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); line-height: 1.04; }
.phead__media { grid-area: media; position: relative; }
.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(360px, 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)); }
.kv > div { padding-block: var(--sp-6); padding-right: var(--sp-5); border-bottom: 1px solid var(--line); }
.kv > div:nth-child(odd) { border-right: 1px solid var(--line); }
.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-3); }
.kv dd { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); line-height: 1; }
.kv dd span { font-family: var(--font-sans); 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)); }
  .kv > div { border-bottom: 0; border-right: 1px solid var(--line); padding-inline: var(--sp-5); }
  .kv > div:first-child { padding-left: 0; }
  .kv > div:last-child { border-right: 0; }
}

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

.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-9); }
  .sect__head { position: sticky; top: calc(var(--sp-8) + var(--sp-3)); }
}

/* ── 케이스 카드 ───────────────────────────────────────────── */

.caseg { display: grid; gap: var(--sp-8); }

.case { display: grid; gap: var(--sp-5); }
.case__media { border-radius: var(--r); }
.case__body { display: grid; gap: var(--sp-3); }
.case__meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4);
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-3);
}
.case h3 { font-size: var(--fs-xl); letter-spacing: var(--ls-tight); }
.case p { font-size: var(--fs-sm); color: var(--ink-2); }

/* 문제 → 접근 → 결과 3행 표 */
.rowset { display: grid; gap: var(--sp-3); margin-top: var(--sp-2); }
.rowset > div {
  display: grid; grid-template-columns: minmax(0, 5.5em) minmax(0, 1fr); gap: var(--sp-4);
  padding-top: var(--sp-3); border-top: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--ink-2);
}
.rowset dt { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--brand-text); padding-top: 3px; }

@media (min-width: 1024px) {
  .case { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-7); align-items: center; }
  .case--flip .case__media { order: 2; }
  .caseg--tight { gap: var(--sp-9); }
}

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

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

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

.pull {
  display: grid; gap: var(--sp-5);
  padding-block: var(--sp-8);
  border-block: 1px solid var(--ink);
}
.pull p {
  font-family: var(--font-display);
  font-size: var(--fs-2xl); line-height: 1.34; letter-spacing: var(--ls-tight);
  max-width: 22ch;
}
.pull footer { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2); }

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

.steps { display: grid; gap: var(--sp-6); counter-reset: st; }
.step { display: grid; gap: var(--sp-3); padding-top: var(--sp-5); border-top: 1px solid var(--ink); }
.step b { font-family: var(--font-display); font-size: var(--fs-2xl); letter-spacing: var(--ls-tight); line-height: 1; color: var(--brand-text); }
.step h3 { font-size: var(--fs-lg); }
.step p { font-size: var(--fs-sm); color: var(--ink-2); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); } }

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

.tbl-wrap { overflow-x: auto; min-width: 0; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; min-width: 560px; 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); border-bottom: 1px solid var(--ink); font-weight: var(--fw-semibold);
}
.tbl td.num { font-family: var(--font-mono); white-space: nowrap; }

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

.ticker { overflow: hidden; border-block: 1px solid var(--ink); background: var(--surface-alt); padding-block: var(--sp-4); }
.ticker__track { display: flex; align-items: center; gap: var(--sp-6); width: max-content; animation: gg-ticker 44s 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: 5px; height: 5px; border-radius: var(--r-full); background: var(--brand); flex: none; }
@keyframes gg-ticker { to { transform: translateX(-50%); } }

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

.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); font-size: var(--fs-sm);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--brand); }
.form__note { font-size: var(--fs-xs); color: var(--ink-2); }
@media (min-width: 768px) { .form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); } }

/* ── 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); letter-spacing: var(--ls-tighter); line-height: 1.06; 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; }
.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) 42%, transparent); color: var(--accent-ink); }
.cta .btn--line:hover { background: var(--accent-ink); color: var(--accent); }
.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); background: var(--surface-alt); }
.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 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-text); }
.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)
   EDT 라 반응은 활자 편집물처럼 — 괘선이 그어지고 여백이 조금 열린다.
   ============================================================ */

/* ── 브랜드 마크 ─ 같은 간격으로 나란히 나아가는 두 선 ─────── */

.nav__logo {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: var(--sp-3);
}
.nav__logo .nav__mark { grid-row: 1 / span 2; }
.nav__mark {
  flex: none;
  color: var(--brand-text);
  transition: transform var(--dur-slow) var(--ease-out), color var(--dur) var(--ease);
}
/* 두 줄이 나란히 한 걸음 나아간다 */
.nav__logo:hover .nav__mark { transform: translateX(3px); }

.foot__brand { display: inline-flex; align-items: center; gap: var(--sp-3); }
.foot__brand .nav__mark { color: var(--brand-text); }
.foot__brand:hover .nav__mark { transform: translateX(3px); }

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

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

.step h3 { display: flex; align-items: center; gap: var(--sp-3); }
.step h3 .ico { color: var(--brand-text); font-size: var(--fs-lg); transition: transform var(--dur) var(--ease-out); }
.step:hover h3 .ico { transform: translateX(3px); }

.case__meta span, .hero__foot span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.case__meta .ico, .hero__foot .ico { font-size: var(--fs-base); transition: color var(--dur) var(--ease); }
.case:hover .case__meta .ico { color: var(--brand-text); }
.hero__foot span { transition: color var(--dur) var(--ease); }
.hero__foot span:hover { color: var(--ink-2); }

.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-text); }

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

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

/* ── 내비: 괘선이 한쪽에서 그어진다 ────────────────────────── */

.nav__menu a { position: relative; padding-bottom: 2px; transition: color var(--dur) var(--ease); }
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ink); 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: background var(--dur) var(--ease); }
.kv > div:hover { background: var(--surface-alt); }
.kv dd { display: block; transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.kv > div:hover dd { color: var(--brand-text); transform: translateY(-2px); }

/* ── 사례 카드: 사진이 당겨지고 표 괘선이 진해진다 ─────────── */

.case__media { overflow: hidden; }
.case__media img { transition: transform var(--dur-slow) var(--ease-out); }
.case:hover .case__media img { transform: scale(1.04); }
.case h3 { transition: color var(--dur) var(--ease); }
.case:hover h3 { color: var(--brand-text); }
.rowset > div { transition: border-color var(--dur) var(--ease), padding-left var(--dur) var(--ease-out); }
.rowset > div:hover { border-top-color: var(--ink); }
.rowset dt { transition: letter-spacing var(--dur) var(--ease); }
.rowset > div:hover dt { letter-spacing: var(--ls-widest); }

/* ── 원칙 스텝: 상단 괘선이 차오른다 ───────────────────────── */

.step { position: relative; transition: transform var(--dur) var(--ease-out); }
.step::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0;
  background: var(--brand);
  transition: width var(--dur-slow) var(--ease-out);
}
.step:hover { transform: translateY(-3px); }
.step:hover::before { width: 100%; }
.step b { display: block; transition: color var(--dur) var(--ease); }
.step:hover b { color: var(--ink); }

/* ── 갤러리 · 인용 · 표 ────────────────────────────────────── */

.gal figure { overflow: hidden; }
.gal figure img { transition: transform var(--dur-slow) var(--ease-out); }
.gal figure:hover img { transform: scale(1.05); }

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

.tbl tbody tr { transition: background var(--dur) var(--ease); }
.tbl tbody tr:hover { background: var(--surface-alt); }

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

.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), background var(--dur) var(--ease); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--brand); }
.field input:focus, .field textarea:focus { background: var(--surface-alt); }

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

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

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

/* 2) FAQ / 상세 답이 흘러나온다 */
@keyframes gg-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.qa[open] p, details[open] > p { animation: gg-open var(--dur) var(--ease-out) both; }

/* 3) 히어로 하단 괘선이 왼쪽에서 한 번 그어진다 */
@keyframes gg-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__foot { position: relative; }
.hero__foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: var(--brand); transform-origin: left;
  animation: gg-rule 1.6s var(--ease-out) .3s both;
}

/* 4) 티커의 점이 아주 천천히 숨쉰다 */
@keyframes gg-dot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.6); } }
.ticker__track i { animation: gg-dot 5.4s var(--ease) infinite; }

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

html.js .caseg .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .caseg .reveal:nth-child(3) { transition-delay: 180ms; }
html.js .steps .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .steps .reveal:nth-child(3) { transition-delay: 180ms; }
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 .gal .reveal:nth-child(2) { transition-delay: 80ms; }
html.js .gal .reveal:nth-child(3) { transition-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { transition-delay: 0s !important; }
  .ticker__track i { animation: none; transform: none; }
  .hero__foot::before { animation: none; transform: none; }
  .nav__logo:hover .nav__mark, .foot__brand:hover .nav__mark,
  .kv > div:hover dd, .case:hover .case__media img,
  .step:hover, .step:hover h3 .ico, .gal figure:hover img,
  .foot address span:hover,
  .btn:hover .btn__arrow { transform: none; }
}


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

/* 에디토리얼 — 헤어라인은 늘 있고, 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); }
.kv > div:hover dd, .step:hover { transform: none; }
.kv > div:hover dd, .step: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; }
