/* rev11 — shared typography. Keep stage, rail, diagram geometry and motion intact. */
@font-face {
  font-family: 'Geist';
  src: url('https://cdn.jsdelivr.net/npm/geist@1.8.2/dist/fonts/geist-sans/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --type-body: 'SUIT Variable', 'SUIT', Pretendard, 'Noto Sans KR', 'Malgun Gothic', Arial, sans-serif;
  --type-heading: 'SUITE Variable', 'SUITE', var(--type-body);
  --type-data: 'Geist', var(--type-body);
  --font: var(--type-body);
  --story-font: var(--type-body);
  --type-regular: 400;
  --type-medium: 500;
  --type-semibold: 600;
  --type-bold: 700;
  --type-display: 800;
  --type-ui-size: 14px;
  --type-body-size: 16px;
}
html, body, body.story-page {font-family: var(--type-body); font-weight: var(--type-regular); letter-spacing: -.015em;}
button, input, select, textarea {font-family: inherit;}
/* Shared navigation: existing spacing, active states and breakpoints stay the same. */
.project-topbar, .study-deck .shared-rail, .story-page .shared-rail,
.study-deck .shared-rail-link, .story-page .shared-rail-link {font-family: var(--type-body); letter-spacing: -.015em;}
.project-topbar .project-nav-parent {font-weight: var(--type-bold);}
.project-topbar .project-nav-child, .project-topbar .project-nav-back,
.study-deck .shared-rail-link, .story-page .shared-rail-link {font-weight: var(--type-semibold);}
.project-topbar .project-nav-child[aria-current],
.study-deck .shared-rail-link[aria-current="page"], .story-page .shared-rail-link[aria-current="true"] {font-weight: var(--type-bold);}
.site-nav, .site-nav .nav-links a {font-family: var(--type-body); letter-spacing: -.015em;}
.site-nav .brand {font-family: var(--type-data); font-weight: 800;}
/* HOME — preserve the hand-built dot wordmark and canvas. */
.hero-scene .name {font-family: var(--type-data); font-weight: 500; letter-spacing: -.025em;}
.scene h2 {font-family: var(--type-heading); font-size: clamp(32px, 3.25vw, 44px); font-weight: 800; line-height: 1.2; letter-spacing: -.035em;}
.profile-intro {font-family: var(--type-heading); font-weight: 700; line-height: 1.45; letter-spacing: -.035em;}
.profile-row h3, .profile-subhead {font-weight: 650; letter-spacing: -.015em;}
.profile-row p {font-size: 15px; line-height: 1.65; font-weight: 450;}
.profile-career .career th {font-weight: 600;}
.profile-career .career td {font-weight: 450; letter-spacing: -.015em;}
.profile-career .career td:first-child {font-weight: 650;}
.profile-career .career small {font-weight: 450;}
.restored-curve .process-narrative h3 {font-family: var(--type-heading); font-weight: 750; letter-spacing: -.035em;}
.restored-curve .process-narrative p {font-weight: 450; line-height: 1.65; letter-spacing: -.015em;}
#projects .choice-copy h3 {font-family: var(--type-heading); font-size: clamp(23px, 2.15vw, 30px); font-weight: 750; line-height: 1.25; letter-spacing: -.03em;}
#projects .choice-points {font-weight: 450; line-height: 1.6; letter-spacing: -.015em;}
#projects .choice-links a {font-weight: 700;}
.radius-size, .radius-list, .hero-line {font-family: var(--type-data); font-variant-numeric: tabular-nums;}
/* Slides — authored on a 1600x900 stage. Sizes are design-space pixels, not viewport pixels. */
.study-deck .case-slide .s-title {font-family: var(--type-heading); font-size: 40px; font-weight: 800; line-height: 1.23; letter-spacing: -.035em;}
.study-deck .case-slide .s-lead {font-weight: 450; line-height: 1.48; letter-spacing: -.015em;}
.study-deck .case-slide .s-body h3, .study-deck .case-slide .s-body h4 {font-family: var(--type-body); font-weight: 700; letter-spacing: -.025em;}
.study-deck .case-slide .s-body {font-weight: 450; letter-spacing: -.015em;}
.study-deck .case-slide .s-body p, .study-deck .case-slide .s-body li,
.study-deck .case-slide .s-body td, .study-deck .case-slide .s-body th {letter-spacing: -.015em;}
.study-deck .outcome-metrics strong, .study-deck .d-target-number strong,
.study-deck .count-before, .study-deck .count-after {font-family: var(--type-data); font-variant-numeric: tabular-nums; letter-spacing: -.035em;}
/* Story — editorial longform with consistent reading rhythm. */
.story-page {--diagram-font: var(--type-body);}
.story-page .story-hero h1 {font-family: var(--type-heading); font-size: clamp(34px, 3.2vw, 48px); font-weight: 800; line-height: 1.22; letter-spacing: -.035em;}
.story-page .story-hero-lede {font-size: 16px; font-weight: 450; line-height: 1.8; letter-spacing: -.015em;}
.story-page .chapter-copy h2, .story-page .story-wide-intro h2 {font-family: var(--type-heading); font-size: 25px; font-weight: 750; line-height: 1.4; letter-spacing: -.025em;}
.story-page .chapter-copy p, .story-page .story-wide-intro p {font-size: var(--type-body-size); font-weight: 400; line-height: 1.82; letter-spacing: -.015em;}
.story-page .story-end p {font-size: 16px; font-weight: 450; line-height: 1.82; letter-spacing: -.015em;}
.story-page .delivery-pilot-list h3, .story-page .pilot-outcome strong {font-family: var(--type-body); font-weight: 700;}
/* SVG labels: override legacy presentation attributes, but preserve rev9 measured sizes. */
.story-page .chapter-visual svg text, .story-page .architecture svg text, .story-page .delivery-diagram svg text,
.study-deck svg text {font-family: var(--type-body) !important;}
.story-page svg text[data-diagram-type="title"] {font-weight: 700;}
.story-page svg text[data-diagram-type="sub"], .story-page svg text[data-diagram-type="note"] {font-weight: 500;}
@media(max-width:1100px){
  .study-deck .case-slide .s-title {font-size: clamp(25px, 3.8vw, 36px);}
}
@media(max-width:700px){
  .scene h2 {font-size: 32px;}
  .profile-row p {font-size: 14px;}
  .story-page .story-hero h1 {font-size: 34px;}
  .story-page .chapter-copy h2, .story-page .story-wide-intro h2 {font-size: 22px;}
  .story-page .chapter-copy p, .story-page .story-wide-intro p, .story-page .story-hero-lede {font-size: 15px;}
  .study-deck .case-slide .s-title {font-size: clamp(23px, 5.6vw, 30px);}
}
