/* Hallmark · macrostructure: Long Document (ledger + rail, left-biased) · tone: utilitarian-formal · anchor hue: navy 220° (brand-locked #012461)
 * theme: custom (brand) · nav: N9 edge-aligned minimal (mark + 3 flags) · footer: Ft2 inline single line
 * display: Golos Text (self-hosted, latin+cyrillic; Hangul falls back to system) · body: system sans
 * Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4
 * kg.wementor.kr — 색은 로고 네이비(#012461)에서 도출한다. DESIGN.md Brand 규칙. */

/* 제목 글꼴 — 러시아 정부 독자용. 라틴·키릴만 심고 한글은 시스템 글꼴로 떨어진다. */
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/golos-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/golos-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #012461;
  --navy-deep: #01194a;
  --blue: #2B54B0;
  --white: #ffffff;
  --ink: #1c2333;
  --sub: #566d92;
  --line: #dfe4ee;
  --bg: #eef1f6;
  --sky: #EAF0FB;
  --gold: #B8912F;
  --on-navy-sub: rgba(232, 238, 250, 0.78);
  --on-navy-line: rgba(255, 255, 255, 0.16);
  --on-navy-fill: rgba(255, 255, 255, 0.08);

  --font: -apple-system, "Segoe UI", Roboto, Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Golos Text", -apple-system, "Segoe UI", Roboto, Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;
  --measure: 34rem;
  --gutter: 20px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --step: 48vh; /* 카드 한 장을 넘기는 데 드는 스크롤 */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: "tnum" 1;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

/* 브라우저가 그리는 부분도 팔레트로 */
::selection { background: var(--navy); color: var(--white); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
* { scrollbar-width: thin; scrollbar-color: rgba(1, 36, 97, 0.35) transparent; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: rgba(1, 36, 97, 0.35); border-radius: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--white); color: var(--navy); padding: 10px 14px; border-radius: var(--r-sm);
  font-weight: 700; box-shadow: 0 6px 18px rgba(1, 36, 97, 0.25);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 560px; margin: 0 auto; padding: 0 var(--gutter); }

/* ───────── 언어 선택 (처음 열면) ───────── */
.gate {
  position: fixed; inset: 0; z-index: 40;
  background: var(--navy);
  color: var(--white);
  display: grid; place-items: center;
  padding: max(24px, env(safe-area-inset-top)) var(--gutter) max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
}
.gate-inner { width: 100%; max-width: 380px; display: grid; justify-items: center; gap: 28px; }
.gate-logo { width: 170px; height: auto; }
.gate-title {
  color: var(--on-navy-sub); font-size: 14px; letter-spacing: 0.02em; text-align: center; line-height: 1.7;
}
.gate-flags { width: 100%; display: grid; gap: 12px; }
.gate-flag {
  font-family: var(--font-display);
  display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 16px;
  width: 100%; min-height: 72px; padding: 12px 18px;
  background: var(--on-navy-fill); border: 1px solid var(--on-navy-line);
  border-radius: var(--r-lg); color: var(--white);
  font: inherit; font-size: 19px; font-weight: 700; text-align: left;
  cursor: pointer;
  transition: background 220ms var(--ease-out), transform 220ms var(--ease-out), border-color 220ms var(--ease-out);
  opacity: 0; transform: translateY(14px);
  animation: gate-in 720ms var(--ease-out) forwards;
}
.gate-flag:nth-child(1) { animation-delay: 80ms; }
.gate-flag:nth-child(2) { animation-delay: 170ms; }
.gate-flag:nth-child(3) { animation-delay: 260ms; }
.gate-flag:nth-child(4) { animation-delay: 350ms; }
.gate-flag:hover, .gate-flag:focus-visible { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.34); }
.gate-flag:active { transform: translateY(1px) scale(0.995); }
.gate-flag img { width: 56px; height: 40px; border-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); }
.gate-flag small { display: block; font-size: 12.5px; font-weight: 500; color: var(--on-navy-sub); margin-top: 2px; }
@keyframes gate-in { to { opacity: 1; transform: none; } }

/* ───────── 상단 바 ───────── */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  height: 54px; padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  box-shadow: 0 2px 10px rgba(1, 25, 74, 0.25);
}
.topbar-mark { width: 28px; height: 28px; }
/* 지금 어디쯤 읽고 있는지 — 상단 바 아래 모서리 */
.progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0));
}
@supports (animation-timeline: scroll()) {
  .progress { animation: wm-progress linear both; animation-timeline: scroll(root block); }
}
@keyframes wm-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.langs { display: flex; gap: 6px; }
.langs a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm);
  opacity: 0.55; transition: opacity 180ms var(--ease-out), background 180ms var(--ease-out);
}
.langs a img { width: 30px; height: 21px; border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); }
.langs a[aria-current="true"] { opacity: 1; background: rgba(255, 255, 255, 0.12); }
.langs a:hover { opacity: 1; }

/* ───────── 첫 화면 ───────── */
.hero {
  background: var(--navy); color: var(--white);
  padding: 8px 0 34px;
}
.hero .wrap { display: grid; gap: 18px; }
.hero-logo { width: 170px; height: auto; margin: 6px 0 4px; }
.hero-photo {
  width: 112px; height: 112px; object-fit: cover; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.85); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.hero-name { font-family: var(--font-display); font-size: 36px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; overflow-wrap: anywhere; min-width: 0; }
.hero-alt { color: var(--on-navy-sub); font-size: 14px; margin-top: -10px; }
.hero-role { font-size: 15px; line-height: 1.55; color: var(--on-navy-sub); }
.hero-role strong { color: var(--white); font-weight: 700; display: block; }
.hero-tagline {
  font-size: 18.5px; line-height: 1.55; font-weight: 500; color: var(--white);
  padding-top: 16px; border-top: 1px solid var(--on-navy-line); text-wrap: pretty;
}
.actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; margin-top: 4px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 10px 14px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform 160ms var(--ease-out), background 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-white { background: var(--white); color: var(--navy); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22); }
.btn-white:hover { background: #f4f7fd; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 8px 20px rgba(1, 36, 97, 0.28); }
.btn-navy:hover { background: var(--blue); }
.btn-outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--sky); }

/* ───────── 공통 섹션 ───────── */
.section { padding: 44px 0 8px; scroll-margin-top: 62px; }  /* 상단 바가 제목을 가리지 않게 */
.section + .section { padding-top: 36px; }
.section-title {
  font-family: var(--font-display);
  font-size: 25px; line-height: 1.2; font-weight: 800; color: var(--navy);
  letter-spacing: -0.015em; text-wrap: balance; margin-bottom: 18px; overflow-wrap: anywhere; min-width: 0;
}

/* ───────── 대표자 약력: 사진·그래픽이 꽉 찬 카드가 한 장씩 넘어간다 ───────── */
#profile { background: var(--navy); color: var(--white); padding-bottom: 0; border-top: 1px solid var(--on-navy-line); }
#profile .section-title { color: var(--white); }
.profile-lead { font-size: 16.5px; line-height: 1.65; margin: 0 0 20px; color: var(--on-navy-sub); text-wrap: pretty; }
.profile-quote { margin: 0 0 4px; padding-top: 14px; position: relative; }
.profile-quote::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; background: var(--gold); }
.profile-quote p {
  font-family: var(--font-display); font-size: 20px; line-height: 1.45; font-weight: 600;
  color: var(--white); text-wrap: pretty;
}

.deck-track { position: relative; }
.deck-stage { padding: 26px 0 40px; }
.deck-slides { display: grid; gap: 28px; }

/* 카드 — 사진(또는 그래픽)이 꽉 채우고, 아래쪽에 연도와 제목 */
.slide-card {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  height: 58svh; height: min(58svh, 520px); min-height: 300px;
  background: var(--navy-deep);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.slide-visual { position: absolute; inset: 0; }
.slide-visual img, .slide-visual .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide-visual img { object-fit: cover; object-position: center top; }
.slide-visual::after {
  /* 글자 자리 — 아래로 갈수록 네이비 */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1, 25, 74, 0) 38%, rgba(1, 25, 74, 0.55) 62%, rgba(1, 25, 74, 0.94) 100%);
}
.scene { color: rgba(255, 255, 255, 0.92); background: var(--navy-deep); }
.scene .a { color: var(--gold); }
.scene-grid path { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }

.slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 20px 20px; }
.slide-since {
  font-size: 13.5px; font-weight: 700; color: var(--gold);
  letter-spacing: 0.01em; font-variant-numeric: tabular-nums;
}
.slide-title {
  font-family: var(--font-display); font-size: 26px; line-height: 1.18; font-weight: 800;
  letter-spacing: -0.02em; margin-top: 6px; color: var(--white);
  text-wrap: balance; overflow-wrap: anywhere; min-width: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.slide-body { font-size: 16px; line-height: 1.7; color: var(--on-navy-sub); margin-top: 14px; text-wrap: pretty; }

/* 몇 장째인지 — 작은 점. 현재 장만 금색으로 길게 */
.deck-ticks { display: flex; gap: 7px; margin-top: 18px; }
.deck-tick { width: 20px; height: 6px; border-radius: 3px; background: var(--on-navy-line); transform: scaleX(0.3); transform-origin: left center; transition: transform 260ms var(--ease-out), background 260ms var(--ease-out); }
.deck-tick.on { transform: none; background: var(--gold); }

/* 움직임을 끄면 카드가 그냥 위에서 아래로 쌓인다 */
.deck-track:not(.live) .deck-ticks { display: none; }
.deck-track:not(.live) .slide-card { height: 300px; }

/* ───────── 실적 (연표) ───────── */
.rail { display: grid; gap: 0; position: relative; }
.rail::before, .steps::before {
  content: ""; position: absolute; width: 2px; background: var(--gold);
  transform-origin: top; pointer-events: none;
}
.rail::before { left: 3px; top: 26px; bottom: 28px; }
.steps::before { left: 12px; top: 34px; bottom: 26px; width: 1px; }
.rail li {
  position: relative; display: grid; grid-template-columns: 100px 1fr; gap: 14px;
  padding: 18px 0 20px;
}
.rail li + li { border-top: 1px solid var(--line); }
.rail time {
  font-size: 14.5px; font-weight: 700; color: var(--navy); line-height: 1.5; padding-top: 1px;
  font-variant-numeric: tabular-nums;
}
.rail time::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); margin-right: 8px; vertical-align: 1px;
}
.rail p { font-size: 16px; line-height: 1.7; text-wrap: pretty; }
.creds { margin-top: 20px; padding: 16px 18px; background: var(--sky); border-radius: var(--r-md); display: grid; gap: 10px; }
.creds li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 15.5px; color: var(--navy); font-weight: 600; line-height: 1.6; }
.creds svg { width: 20px; height: 20px; color: var(--blue); margin-top: 1px; }

/* ───────── 제안 3가지 ───────── */
.proposal { padding: 30px 0 32px; border-top: 1px solid var(--line); }
.proposal:last-of-type { padding-bottom: 8px; }
.proposal-domain { font-family: var(--font-display); font-size: 30px; line-height: 1.1; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }
.proposal-lead { font-family: var(--font-display); font-size: 19px; line-height: 1.4; font-weight: 700; color: var(--navy); margin-top: 10px; text-wrap: balance; }
.proposal-body { font-size: 16px; line-height: 1.7; margin-top: 12px; text-wrap: pretty; }
.proposal-basis { font-size: 14.5px; line-height: 1.65; color: var(--sub); margin-top: 14px; }
.proposal-note { font-size: 15.5px; line-height: 1.6; color: var(--navy); font-weight: 600; margin-top: 14px; display: grid; grid-template-columns: 10px 1fr; gap: 10px; align-items: baseline; }
.proposal-note::before { content: ""; width: 8px; height: 8px; background: var(--gold); transform: translateY(-1px); }
.details { margin-top: 14px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 15px; }
.details dt { color: var(--sub); }
.details dd { margin: 0; color: var(--ink); font-weight: 600; }
.steps { margin-top: 16px; display: grid; position: relative; }
.steps li {
  position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start;
  padding: 8px 0; font-size: 16px; line-height: 1.5; font-weight: 500;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-size: 12.5px; font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.steps { counter-reset: step; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 12.5px; top: 34px; bottom: -8px; width: 1px; background: var(--line);
}
.steps li span { padding-top: 2px; }
.proposal-plane { width: 180px; height: auto; margin: 6px auto 0; }
.points { margin-top: 14px; display: grid; gap: 12px; }
.points li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 16px; line-height: 1.7; }
.points svg { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }

/* ───────── 문답 ───────── */
.qas { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 16px 32px 16px 0; position: relative;
  font-family: var(--font-display); font-size: 17px; line-height: 1.4; font-weight: 700; color: var(--navy);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform 220ms var(--ease-out);
}
.qa[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.qa p { font-size: 16px; line-height: 1.7; padding: 0 0 18px; text-wrap: pretty; }

/* ───────── 현장 사진 ───────── */
.strip {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip:focus-visible { outline-offset: -3px; }
#main h1:focus, #main:focus { outline: none; }
.strip { align-items: flex-start; }
.strip figure { flex: 0 0 84%; scroll-snap-align: center; max-width: 420px; }
/* 사진은 원래 비율 그대로 (width/height 속성이 비율을 정한다) — 잘라내지 않는다. 번호표 사진은 가로로 길다 */
.strip img { width: 100%; height: auto; border-radius: var(--r-md); background: var(--sky); box-shadow: 0 10px 24px rgba(1, 36, 97, 0.18); }
.strip figcaption { margin-top: 10px; }
.strip figcaption { font-size: 14.5px; color: var(--sub); line-height: 1.6; padding: 0 2px; }

/* ───────── 연락 ───────── */
.rows { border-top: 1px solid var(--line); }
.rows a, .rows div {
  display: grid; grid-template-columns: 24px 1fr; gap: 16px; align-items: center;
  min-height: 64px; padding: 12px 0; border-bottom: 1px solid var(--line);
  transition: background 160ms var(--ease-out);
}
.rows a:hover { background: rgba(234, 240, 251, 0.6); }
.rows svg { width: 22px; height: 22px; color: var(--navy); }
.rows .lbl { display: block; font-size: 13.5px; color: var(--sub); line-height: 1.35; }
.rows .val { display: block; font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.45; word-break: break-word; font-variant-numeric: tabular-nums; }
.rows a .val { color: var(--navy); }
.contact-actions { display: grid; gap: 10px; margin-top: 20px; }

/* ───────── 바닥 ───────── */
.foot { padding: 28px var(--gutter) max(32px, env(safe-area-inset-bottom)); text-align: center; color: var(--sub); font-size: 12.5px; line-height: 1.6; }
.foot img { width: 22px; height: 22px; margin: 0 auto 10px; opacity: 0.8; }

/* ───────── 토스트·실패 ───────── */
.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; box-shadow: 0 10px 28px rgba(1, 25, 74, 0.35); z-index: 60;
}
.fail { padding: 60px var(--gutter); text-align: center; color: var(--navy); font-size: 15px; line-height: 1.7; }
.fail-code { color: var(--sub); font-size: 12px; margin-top: 12px; letter-spacing: 0.06em; }

@media (min-width: 600px) {
  .slide-card { height: 440px; }
  .slide-title { font-size: 30px; }
  .slide-cap { padding: 0 26px 24px; }
  :root { --step: 56vh; }
  .hero { padding-top: 24px; }
  .hero-name { font-size: 42px; }
  .ledger-row { grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 18px; align-items: start; }
  /* PC 에는 옆으로 미는 손이 없다 — 띠 대신 격자로 펼친다. 가로로 긴 번호표 사진은 두 칸을 다 쓴다 */
  .strip { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
  .strip figure { flex: none; max-width: none; }
  .strip figure:nth-child(3n) { grid-column: 1 / -1; }
}

/* ───────── 스크롤 동작 ───────── */
@media (prefers-reduced-motion: no-preference) {
  /* 한 줄씩 떠오른다 (.r 은 JS 가 붙인다 — JS 가 없으면 아무것도 숨기지 않는다) */
  .r { opacity: 0; transform: translateY(16px); }
  .r.in {
    opacity: 1; transform: none;
    transition: opacity 620ms var(--ease-out) var(--d, 0ms), transform 620ms var(--ease-out) var(--d, 0ms);
  }
  /* 세로선이 그려진다 */
  .rail::before, .steps::before { transform: scaleY(0); }
  .rail.in::before, .steps.in::before { transform: scaleY(1); transition: transform 1100ms var(--ease-out); }
  @supports (animation-timeline: view()) {
    .rail::before, .steps::before {
      animation: wm-draw linear both;
      animation-timeline: view();
      animation-range: entry 15% cover 60%;
    }
  }
  /* 약력 카드 덱 — 화면에 붙잡아 두고 한 장씩 넘긴다 */
  .deck-track.live { height: calc(var(--n) * var(--step) + 100vh); height: calc(var(--n) * var(--step) + 100svh); }
  .deck-track.live .deck-stage {
    position: sticky; top: 0;
    height: 100vh; height: 100svh;
    display: grid; align-content: center;
  }
  .deck-track.live .deck-slides { display: grid; gap: 0; }
  .deck-track.live .slide {
    grid-area: 1 / 1; opacity: 0; pointer-events: none;
    transition: opacity 420ms var(--ease-out);
  }
  .deck-track.live .slide.on { opacity: 1; pointer-events: auto; }
  /* 사진은 조금 크게 시작해서 제자리로, 글은 아래서 올라온다 */
  .deck-track.live .slide-visual { transform: scale(1.06); transition: transform 1100ms var(--ease-out); }
  .deck-track.live .slide.on .slide-visual { transform: none; }
  .deck-track.live .slide-cap, .deck-track.live .slide-body { opacity: 0; transform: translateY(14px); transition: opacity 460ms var(--ease-out) 120ms, transform 460ms var(--ease-out) 120ms; }
  .deck-track.live .slide.on .slide-cap, .deck-track.live .slide.on .slide-body { opacity: 1; transform: none; }
  /* 그래픽은 선을 따라 그려진다 */
  .deck-track.live .scene path:not(.scene-grid path) { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .deck-track.live .scene .scene-grid path { stroke-dasharray: none; stroke-dashoffset: 0; }
  .deck-track.live .slide.on .scene path {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 640ms var(--ease-out) calc(140ms + var(--i, 0) * 70ms);
  }

  /* 사진은 살짝 커지며 들어온다 */
  .strip figure.r { transform: translateY(16px) scale(0.985); }
  .strip figure.r.in { transform: none; }
}
@keyframes wm-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gate-flag { animation: none; opacity: 1; transform: none; }
  * { transition: none !important; }
}
