:root {
  --ink: #151a16;
  --muted: #697268;
  --paper: #f3f1e9;
  --paper-deep: #e5e5d8;
  --night: #101713;
  --lime: #d5f36a;
  --line: rgba(21, 26, 22, 0.15);
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, Inter, "Noto Sans KR", "Noto Sans CJK KR", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-display: swap;
  font-family: Pretendard;
  font-style: normal;
  font-weight: 100 900;
  src: url("/assets/fonts/PretendardVariable.woff2") format("woff2");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 24px clamp(20px, 4vw, 56px);
}
.brand { align-items: center; display: inline-flex; gap: 10px; text-decoration: none; }
.brand-mark { align-items: center; background: var(--ink); border-radius: 50%; color: var(--lime); display: inline-flex; font-size: 11px; font-weight: 800; height: 30px; justify-content: center; letter-spacing: -0.04em; width: 30px; }
.brand > span:last-child { font-size: 13px; font-weight: 750; letter-spacing: -0.03em; }
.brand small { color: var(--muted); display: block; font-size: 8px; font-weight: 650; letter-spacing: 0.13em; margin-top: 2px; }
nav { display: flex; gap: 24px; }
nav a, .text-link { color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none; }
nav a:hover, .text-link:hover { color: var(--ink); }

.section-shell { margin: 0 auto; max-width: 1240px; padding-left: clamp(20px, 4vw, 56px); padding-right: clamp(20px, 4vw, 56px); }
.hero { align-items: center; display: grid; gap: clamp(40px, 8vw, 120px); grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); min-height: min(790px, calc(100vh - 70px)); padding-bottom: 96px; padding-top: 78px; }
.eyebrow { align-items: center; color: var(--muted); display: flex; font-size: 10px; font-weight: 800; gap: 9px; letter-spacing: 0.14em; margin: 0 0 22px; }
.eyebrow span { background: var(--lime); border-radius: 50%; display: inline-block; height: 8px; width: 8px; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(48px, 7vw, 92px); letter-spacing: -0.09em; line-height: 0.98; margin-bottom: 28px; max-width: 750px; word-break: keep-all; }
h1 em, h2 em { color: #597041; font-style: normal; }
.hero-lede { color: #4b554d; font-size: clamp(15px, 1.5vw, 18px); letter-spacing: -0.045em; line-height: 1.75; max-width: 500px; }
.hero-actions, .closing-actions { align-items: center; display: flex; gap: 22px; margin-top: 34px; }
.button { align-items: center; border-radius: 999px; display: inline-flex; font-size: 12px; font-weight: 800; gap: 20px; justify-content: center; padding: 15px 19px 15px 22px; text-decoration: none; }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary span { color: var(--lime); font-size: 18px; line-height: 0; }
.hero-facts { border-top: 1px solid var(--line); display: flex; gap: 34px; margin: 64px 0 0; max-width: 560px; padding-top: 17px; }
.hero-facts div { min-width: 0; }
.hero-facts dt { color: var(--muted); font-size: 10px; font-weight: 700; margin-bottom: 6px; }
.hero-facts dd { font-size: 12px; font-weight: 800; letter-spacing: -0.04em; margin: 0; }
.hero-art { max-width: 460px; position: relative; width: 100%; }
.hero-art-frame { background: var(--paper-deep); box-shadow: 22px 22px 0 rgba(21, 26, 22, 0.08); overflow: hidden; transform: rotate(2.5deg); }
.hero-art-frame img { aspect-ratio: 9 / 15; object-fit: cover; object-position: top; width: 100%; }
.hero-note { align-items: flex-start; background: var(--lime); bottom: -24px; display: flex; font-size: 10px; font-weight: 800; gap: 18px; left: -18px; letter-spacing: 0.05em; line-height: 1.35; padding: 15px 18px; position: absolute; transform: rotate(-4deg); }
.hero-note span:first-child { font-size: 22px; line-height: 1; }

.story, .pilot, .process { border-top: 1px solid var(--line); padding-bottom: 130px; padding-top: 100px; }
.section-kicker { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 0.14em; margin-bottom: 22px; }
.story-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr); }
h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.08em; line-height: 1.02; margin-bottom: 0; }
.story-copy { color: #4b554d; font-size: 16px; letter-spacing: -0.05em; line-height: 1.85; max-width: 500px; }
.story-copy p { margin-bottom: 19px; }
.muted { color: var(--muted); }
.role-strip { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 72px; padding: 15px 0; }
.role-strip span { color: var(--muted); font-size: 11px; font-weight: 700; }
.role-strip span::before { color: #95a45c; content: '·'; margin-right: 8px; }

.section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 38px; }
.section-heading > p { color: var(--muted); font-size: 11px; line-height: 1.55; margin: 0; text-align: right; }
.section-heading > p span { color: #8b948a; font-size: 10px; letter-spacing: 0.04em; }
.reader-status { align-items: center; color: var(--muted); display: grid; font-size: 10px; font-weight: 800; gap: 14px; grid-template-columns: auto minmax(60px, 1fr) auto; letter-spacing: 0.08em; margin-bottom: 24px; max-width: 540px; text-transform: uppercase; }
.reader-track { background: rgba(21, 26, 22, 0.12); height: 3px; overflow: hidden; }
#reader-progress { background: var(--ink); display: block; height: 100%; transition: width 220ms ease; width: 4%; }
.reader { background: #dfe5e3; margin: 0 auto; max-width: 540px; padding: 0 0 34px; }
.reader-panel { margin: 0; }
.reader-panel img { background: #e9edf1; height: auto; width: 100%; }
.reader-end { color: var(--muted); font-size: 11px; letter-spacing: 0.11em; margin: 25px 0 0; text-align: center; text-transform: uppercase; }

.process-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.process-card { background: #e6e6da; margin: 0; }
.process-card img { aspect-ratio: 1 / 1.05; object-fit: cover; width: 100%; }
.process-card-wide img { aspect-ratio: 1.7 / 1; }
.process-card figcaption { display: grid; gap: 4px; grid-template-columns: 28px 1fr; padding: 16px 18px 20px; }
.process-card figcaption span { color: #7f8a76; font-size: 11px; font-weight: 800; grid-row: span 2; }
.process-card figcaption strong { font-size: 13px; letter-spacing: -0.03em; }
.process-card figcaption small { color: var(--muted); font-size: 11px; line-height: 1.4; }

.closing { background: var(--night); color: var(--paper); margin-top: 0; max-width: none; padding-bottom: 132px; padding-top: 120px; }
.closing > * { margin-left: auto; margin-right: auto; max-width: 1128px; }
.closing .eyebrow { color: #99a49b; }
.closing h2 { font-size: clamp(42px, 7vw, 88px); max-width: 1128px; }
.closing h2 em { color: var(--lime); }
.closing .button-primary { background: var(--lime); color: var(--ink); }
.closing .button-primary span { color: var(--ink); }
.closing .text-link { color: #99a49b; }
.site-footer { background: var(--night); border-top: 1px solid rgba(243, 241, 233, 0.17); color: #99a49b; display: flex; font-size: 10px; justify-content: space-between; letter-spacing: 0.04em; padding-bottom: 28px; padding-top: 22px; }

@media (max-width: 760px) {
  .site-header { padding-top: 18px; }
  nav { gap: 12px; }
  nav a { font-size: 10px; }
  .hero { display: block; min-height: 0; padding-bottom: 100px; padding-top: 70px; }
  h1 { font-size: clamp(47px, 13vw, 76px); }
  .hero-art { margin: 62px auto 0; max-width: 390px; width: 87%; }
  .hero-facts { gap: 14px; justify-content: space-between; margin-top: 54px; }
  .hero-facts dd { font-size: 11px; }
  .story, .pilot, .process { padding-bottom: 92px; padding-top: 74px; }
  .story-grid { display: block; }
  .story-copy { margin-top: 30px; }
  .role-strip { gap: 9px 18px; margin-top: 44px; }
  .section-heading { align-items: start; display: block; }
  .section-heading > p { margin-top: 18px; text-align: left; }
  .process-grid { display: block; }
  .process-card { margin-bottom: 18px; }
  .process-card img, .process-card-wide img { aspect-ratio: 1.55 / 1; }
  .closing { padding-bottom: 90px; padding-top: 84px; }
  .site-footer { display: block; line-height: 1.8; }
  .site-footer span { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #reader-progress { transition: none; }
}
