/* ============================================================
   PET-MAG-144 · 야간산책 · NEO 다크 네온
   24시간 애견호텔·유치원 '루프독'이 펴내는 매거진 4페이지.
   거의 검정 지면(L 4.7%) + 네온 핑크(#F74569) + 시안 악센트.
   ★글로우 의사요소는 전부 overflow:hidden 부모 안에 가둔다.
   ============================================================ */

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

:root {
  --brand:       #f74569;   /* H 347.9° */
  --brand-ink:   #1a0409;   /* 브랜드 면 위 글자 5.64:1 */
  --accent:      #38e8ff;
  --accent-ink:  #06171b;   /* 12.35:1 */
  --surface:     #0d0a0e;   /* HSL L 4.7% */
  --surface-alt: #171119;
  --ink:         #f3edf3;   /* 17.08:1 */
  --ink-2:       #b9afbe;   /*  9.32:1 */
  --ink-3:       #948a99;   /*  5.96:1 on --surface */
  --line:        #271f2c;
  --line-strong: #3e3446;
  --font-display: var(--font-sans);
  --r: var(--r-sm);
}

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

h1, h2, h3 { letter-spacing: var(--ls-tighter); }

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

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

.h2 { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); line-height: 1.0; }
.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); }
.tiny { font-size: var(--fs-xs); color: var(--ink-2); }

/* 네온 글로우는 '텍스트 그림자'로만 준다 — 대비 계산에 영향을 주지 않는다 */
.glow { text-shadow: 0 0 22px color-mix(in oklab, var(--brand) 60%, transparent); }
.glow--cy { text-shadow: 0 0 22px color-mix(in oklab, var(--accent) 55%, transparent); }

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

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

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

.nav {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3);
  padding-block: var(--sp-3);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.nav__logo { display: grid; gap: 1px; margin-right: auto; }
.nav__logo b { font-size: var(--fs-md); font-weight: var(--fw-black); letter-spacing: var(--ls-tight); }
.nav__logo span { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-3); }
.nav__menu {
  display: flex; order: 3; width: 100%; gap: var(--sp-5);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-bottom: var(--sp-1);
}
.nav__menu::-webkit-scrollbar { display: none; }
.nav__menu a {
  font-size: var(--fs-sm); color: var(--ink-2); white-space: nowrap;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.nav__menu a:hover { color: var(--ink); }
.nav__menu a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }

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

/* ── 히어로 (표지) ─────────────────────────────────────────── */

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

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

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

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

@media (min-width: 1024px) {
  .phead { grid-template-columns: minmax(0, 1fr) minmax(0, 44%); grid-template-rows: minmax(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); }
}

/* ── 목차 ──────────────────────────────────────────────────── */

.toc { display: grid; gap: 0; border-top: 1px solid var(--line); }
.toc > li { border-bottom: 1px solid var(--line); }
.toc a {
  display: grid; grid-template-columns: minmax(0, 54px) minmax(0, 1fr) auto; gap: var(--sp-4);
  align-items: baseline; padding-block: var(--sp-5);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.toc a:hover { color: var(--brand); }
.toc__no { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); color: var(--ink-3); }
.toc__ti { display: grid; gap: var(--sp-2); }
.toc__ti b { font-size: var(--fs-lg); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); }
.toc__ti span { font-size: var(--fs-sm); color: var(--ink-2); }
.toc__pg { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-3); white-space: nowrap; }

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

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

@media (min-width: 768px) {
  .kv { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .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-8); }
  .sect__head { position: sticky; top: calc(var(--sp-8) + var(--sp-3)); }
}

/* ── 기사 카드 ─────────────────────────────────────────────── */

.feat { display: grid; gap: var(--sp-6); }
.fcard {
  display: grid; gap: var(--sp-4);
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface-alt); overflow: hidden; padding-bottom: var(--sp-5);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.fcard:hover { border-color: color-mix(in oklab, var(--brand) 50%, transparent); }
.fcard .img-slot { border-radius: 0; }
.fcard__body { display: grid; gap: var(--sp-3); padding-inline: var(--sp-5); }
.fcard__meta { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--brand); }
.fcard h3 { font-size: var(--fs-lg); letter-spacing: var(--ls-tight); }
.fcard p { font-size: var(--fs-sm); color: var(--ink-2); }

@media (min-width: 768px) { .feat { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── 2단 (본문 + 이미지) ───────────────────────────────────── */

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

/* ── 기사 본문 ─────────────────────────────────────────────── */

.article { display: grid; gap: var(--sp-5); max-width: 66ch; }
.article p { font-size: var(--fs-md); color: var(--ink-2); }
.article h2 { font-size: var(--fs-xl); margin-top: var(--sp-4); color: var(--ink); }
.article h3 { font-size: var(--fs-lg); margin-top: var(--sp-3); color: var(--ink); }
.article ul { display: grid; gap: var(--sp-3); }
.article ul li { padding-left: var(--sp-5); position: relative; font-size: var(--fs-sm); color: var(--ink-2); }
.article ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 2px; background: var(--brand); }
.article blockquote {
  border-left: 2px solid var(--brand); padding-left: var(--sp-5);
  font-size: var(--fs-lg); line-height: 1.45; color: var(--ink);
}
.article figure { border-radius: var(--r); }
.article figcaption.credit { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-2); margin-top: var(--sp-2); }

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

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

/* ── 지난 호 아카이브 ──────────────────────────────────────── */

.arch { display: grid; gap: var(--sp-5); }
.acard {
  display: grid; gap: var(--sp-3);
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface-alt); overflow: hidden; padding-bottom: var(--sp-4);
}
.acard .img-slot { border-radius: 0; }
.acard__body { display: grid; gap: var(--sp-2); padding-inline: var(--sp-4); }
.acard__no { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); color: var(--brand); }
.acard h3 { font-size: var(--fs-md); letter-spacing: var(--ls-tight); }
.acard p { font-size: var(--fs-sm); color: var(--ink-2); }
@media (min-width: 768px) { .arch { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .arch { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

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

.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); font-weight: var(--fw-semibold); white-space: nowrap; }
.tbl td.num { font-family: var(--font-mono); white-space: nowrap; color: var(--ink-2); }

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

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

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

.cta {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--surface-alt); padding-block: var(--section-y);
}
.cta::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; height: 160%;
  background: radial-gradient(ellipse 40% 44% at 60% 40%, color-mix(in oklab, var(--brand) 24%, transparent), transparent 70%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); font-weight: var(--fw-semibold); line-height: 1.0; margin-block: var(--sp-4); }
.cta p { color: var(--ink-2); font-size: var(--fs-md); max-width: 46ch; }
.cta__form { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); max-width: 520px; }
.cta__form input {
  flex: 1 1 240px; min-width: 0;
  padding: var(--sp-4) var(--sp-5);
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r); color: var(--ink); font-size: var(--fs-sm);
}
.cta__form input::placeholder { color: var(--ink-3); }
.cta__form input:focus-visible { border-color: var(--accent); }
@media (min-width: 768px) { .cta h2 { font-size: var(--fs-4xl); letter-spacing: var(--ls-tighter); } }

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

.foot { padding-block: var(--sp-8) var(--sp-6); border-top: 1px solid var(--line); }
.foot__inner { display: grid; gap: var(--sp-5); }
.foot__brand { font-size: var(--fs-lg); font-weight: var(--fw-black); 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); }
.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)
   NEO 다크 지면. 아이콘은 --brand(5.63:1) · --ink-2(9.32:1) 만 쓴다.
   --ink-3 는 5.96:1 이지만 --surface-alt 위에서 여유가 없어 아이콘엔 쓰지 않는다.
   ============================================================ */

/* ── 브랜드 마크 ─ 초승달 + 그 아래 밤 산책로 ──────────────── */

.nav__logo {
  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);
  transition: transform var(--dur-slow) var(--ease-out), filter var(--dur) var(--ease);
}
/* 네온이 한 번 밝아진다 */
.nav__logo:hover .nav__mark {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px color-mix(in oklab, var(--brand) 75%, transparent));
}

.foot__brand { display: inline-flex; align-items: center; gap: var(--sp-3); }
.foot__brand .nav__mark { color: var(--brand); }
.foot__brand:hover .nav__mark { filter: drop-shadow(0 0 8px color-mix(in oklab, var(--brand) 75%, transparent)); }

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

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

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

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

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

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

/* ── 내비: 네온 선이 그어진다 ──────────────────────────────── */

.nav__menu a { position: relative; padding-bottom: 3px; transition: color var(--dur) var(--ease); }
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brand);
  box-shadow: 0 0 8px color-mix(in oklab, var(--brand) 70%, transparent);
  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: text-shadow var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.kv > div:hover dd {
  transform: translateY(-2px);
  text-shadow: 0 0 20px color-mix(in oklab, var(--brand) 62%, transparent);
}

/* ── 목차: 행이 열린다 ─────────────────────────────────────── */

.toc a { transition: color var(--dur) var(--ease), background var(--dur) var(--ease), padding-left var(--dur) var(--ease-out); }
.toc a:hover { background: var(--surface-alt); padding-left: var(--sp-4); }
.toc__no { transition: color var(--dur) var(--ease); }
.toc a:hover .toc__no { color: var(--brand); }
.toc__ti b { transition: text-shadow var(--dur) var(--ease); }
.toc a:hover .toc__ti b { text-shadow: 0 0 18px color-mix(in oklab, var(--brand) 55%, transparent); }

/* ── 기사 카드: 사진이 당겨진다 ────────────────────────────── */

.fcard { transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.fcard:hover { transform: translateY(-4px); }
.fcard .img-slot { overflow: hidden; }
.fcard .img-slot img { transition: transform var(--dur-slow) var(--ease-out), filter var(--dur-slow) var(--ease); }
.fcard:hover .img-slot img { transform: scale(1.05); filter: saturate(1.15); }
.fcard h3 { transition: color var(--dur) var(--ease); }
.fcard:hover h3 { color: var(--brand); }

/* ── 사진 기록 ─────────────────────────────────────────────── */

.feat > .img-slot { overflow: hidden; }
.feat > .img-slot img { transition: transform var(--dur-slow) var(--ease-out), filter var(--dur-slow) var(--ease); }
.feat > .img-slot:hover img { transform: scale(1.05); filter: brightness(1.12); }

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

.pull { transition: border-color var(--dur) var(--ease); }
.pull p { transition: text-shadow var(--dur-slow) var(--ease); }
.pull:hover p { text-shadow: 0 0 26px color-mix(in oklab, var(--brand) 46%, transparent); }

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

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

/* ── 구독 폼 ───────────────────────────────────────────────── */

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

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

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

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

/* 2) 표지 헤드라인의 네온이 아주 느리게 명멸한다 (깜빡임 아님) */
@keyframes yg-neon {
  0%, 100% { text-shadow: 0 0 22px color-mix(in oklab, var(--brand) 60%, transparent); }
  50%      { text-shadow: 0 0 34px color-mix(in oklab, var(--brand) 82%, transparent); }
}
.hero__title .glow { animation: yg-neon 5.2s var(--ease) infinite; }

/* 3) 표지 발행 정보가 위에서 내려온다 */
@keyframes yg-issue { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.hero__issue { animation: yg-issue var(--dur-slow) var(--ease-out) both; }

/* 4) 티커의 점이 심야 신호등처럼 켜졌다 꺼진다 */
@keyframes yg-pip { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
.ticker__track i { animation: yg-pip 2.4s var(--ease) infinite; }

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

html.js .toc .reveal:nth-child(2) { transition-delay: 60ms; }
html.js .toc .reveal:nth-child(3) { transition-delay: 120ms; }
html.js .toc .reveal:nth-child(4) { transition-delay: 180ms; }
html.js .toc .reveal:nth-child(5) { transition-delay: 240ms; }
html.js .toc .reveal:nth-child(6) { transition-delay: 300ms; }
html.js .feat .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .feat .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; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { transition-delay: 0s !important; }
  .hero__title .glow, .ticker__track i { animation: none; }
  .hero__issue { animation: none; opacity: 1; transform: none; }
  .nav__logo:hover .nav__mark, .kv > div:hover dd,
  .fcard:hover, .fcard:hover .img-slot img, .fcard:hover .fcard__meta .ico,
  .feat > .img-slot:hover img, .foot address span:hover,
  .btn:hover .ico:not(.btn__arrow),
  .btn:hover .btn__arrow { transform: none; }
}


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

/* 다크네온 — 글자 자체가 발광한다. */
.nav__menu a::after, .foot__nav a::after { display: none !important; }
.foot__nav a, .nav__menu a:hover { text-shadow: 0 0 14px currentColor, 0 0 4px currentColor; }
/* 네온이 한 번 밝아진다 */ .nav__logo:hover .nav__mark, .fcard:hover .fcard__meta .ico, .btn:hover .ico:not(.btn__arrow), .kv > div:hover dd, .fcard:hover { transform: none; }
/* 네온이 한 번 밝아진다 */ .nav__logo:hover .nav__mark, .fcard:hover .fcard__meta .ico, .btn:hover .ico:not(.btn__arrow), .kv > div:hover dd, .fcard:hover { box-shadow: 0 0 0 1px color-mix(in oklab, var(--brand) 55%, transparent),
                      0 0 26px color-mix(in oklab, var(--brand) 22%, transparent); }

/* webit-touch */
@media (max-width: 767px) {
  .nav__inner { flex-wrap: wrap; overflow: visible; }
  .hero__actions, .hero__acts { flex-wrap: wrap; }
}
html.tier-premium .pm-progress { box-shadow: 0 0 18px var(--brand); }
html.tier-premium .btn--solid { text-shadow: 0 0 18px color-mix(in oklab, var(--brand) 45%, transparent); }
