:root {
  --ink: #111827;
  --text: #344054;
  --muted: #667085;
  --line: #d9e0ea;
  --soft: #f5f7fb;
  --surface: #ffffff;
  --blue: #2563eb;
  --blue-soft: #eff6ff;
  --green: #079455;
  --violet: #7c3aed;
  --cyan: #0891b2;
  --orange: #ea580c;
  --slate: #475467;
  --page: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

button { font: inherit; }

.page-shell {
  width: min(calc(100% - 48px), var(--page));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 68px;
  padding: 0 max(24px, calc((100vw - var(--page)) / 2));
  border-bottom: 1px solid rgba(217, 224, 234, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.wordmark {
  width: max-content;
  font-size: 16px;
  font-weight: 800;
}

.wordmark span { color: var(--muted); font-weight: 600; }

.topnav { display: flex; gap: 28px; }

.topnav a,
.text-link {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.topnav a:hover,
.text-link:hover { color: var(--blue); }

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.print-button {
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 8px 14px;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.print-button:hover { background: var(--blue); border-color: var(--blue); }

.hero { padding-top: 104px; padding-bottom: 72px; }

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--text);
  font-size: 18px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.hero-links a {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

.hero-links a:hover { color: var(--blue); border-color: var(--blue); }

.print-meta { display: none; }

.focus-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 76px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.focus-strip article {
  min-height: 116px;
  padding: 22px 26px;
  border-right: 1px solid var(--line);
}

.focus-strip article:first-child { padding-left: 0; }
.focus-strip article:last-child { border-right: 0; }

.focus-strip strong,
.focus-strip span { display: block; }
.focus-strip strong { font-size: 25px; line-height: 1.3; }
.focus-strip span { margin-top: 8px; color: var(--muted); font-size: 14px; }

.section { padding-top: 96px; padding-bottom: 96px; }

.section-heading,
.project-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 42px;
}

.section-heading h2,
.project-intro h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.28;
}

.section-heading > p,
.project-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.impact-card {
  min-height: 205px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  background: #fff;
}

.impact-card > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.impact-card strong { display: block; margin-top: 22px; font-size: 27px; line-height: 1.25; }
.impact-card p { margin: 12px 0 0; color: var(--text); font-size: 14px; }
.accent-green { border-top-color: var(--green); }
.accent-violet { border-top-color: var(--violet); }
.accent-cyan { border-top-color: var(--cyan); }
.accent-orange { border-top-color: var(--orange); }
.accent-slate { border-top-color: var(--slate); }

.career-section,
.backend-section {
  overflow: hidden;
  background: var(--soft);
  box-shadow: 0 0 0 100vmax var(--soft);
  clip-path: inset(0 -100vmax);
}

.timeline { border-top: 1px solid var(--ink); }

.timeline article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 36px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time { color: var(--blue); font-size: 14px; font-weight: 800; }
.timeline strong { font-size: 18px; }
.timeline p { margin: 4px 0 0; color: var(--text); font-size: 15px; }

.live-section {
  color: #fff;
  background: #101828;
}

.live-section .section-kicker { color: #84adff; }
.live-section .project-intro > p { color: #cbd5e1; }

.flow {
  display: grid;
  grid-template-columns: repeat(9, auto);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid #475467;
  border-bottom: 1px solid #475467;
}

.flow span { font-size: 13px; font-weight: 750; white-space: nowrap; }
.flow b { color: #84adff; font-weight: 500; }

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 42px;
  background: #344054;
}

.decision-grid article { min-height: 205px; padding: 26px; background: #182230; }
.decision-grid span { color: #84adff; font-size: 12px; font-weight: 800; }
.decision-grid h3 { margin: 15px 0 9px; font-size: 19px; }
.decision-grid p { margin: 0; color: #cbd5e1; font-size: 14px; }

.metric-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1px;
  background: var(--blue);
}

.metric-bar article { padding: 22px 26px; border-right: 1px solid rgba(255,255,255,.32); }
.metric-bar article:last-child { border-right: 0; }
.metric-bar strong, .metric-bar span { display: block; }
.metric-bar strong { font-size: 22px; }
.metric-bar span { margin-top: 2px; color: #dbeafe; font-size: 13px; }

.project-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 44px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.project-row:last-child { border-bottom: 1px solid var(--line); }
.project-row > div > b { color: var(--blue); font-size: 12px; text-transform: uppercase; }
.project-row p { margin: 8px 0 0; color: var(--text); font-size: 14px; }
.project-title > span { color: var(--muted); font-size: 12px; font-weight: 750; }
.project-title h3 { margin: 7px 0 0; font-size: 21px; line-height: 1.35; }
.project-title p { color: var(--muted); }
.featured-row { border-top: 3px solid var(--blue); background: var(--blue-soft); padding-inline: 22px; }

.backend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.backend-grid article {
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.backend-grid span { color: var(--blue); font-size: 13px; font-weight: 800; }
.backend-grid h3 { margin: 18px 0 14px; font-size: 22px; line-height: 1.4; }
.backend-grid p { margin: 0; color: var(--text); font-size: 15px; }
.backend-grid strong { display: block; margin-top: 24px; color: var(--muted); font-size: 12px; }

.skill-list { border-top: 1px solid var(--ink); }

.skill-list article {
  display: grid;
  grid-template-columns: 56px 180px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.skill-list span { color: var(--blue); font-size: 13px; font-weight: 800; }
.skill-list h3 { margin: 0; font-size: 18px; }
.skill-list p { margin: 0; color: var(--text); font-size: 14px; }

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 72px;
  padding: 30px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.closing p { max-width: 620px; margin: 0; font-size: 22px; font-weight: 750; line-height: 1.5; }
.closing div { display: flex; gap: 12px; }
.closing a { padding: 10px 15px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; font-weight: 800; }
.closing a:first-child { color: #fff; border-color: var(--blue); background: var(--blue); }

.footer {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 42px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topnav { display: none; }
  .hero { padding-top: 76px; }
  .section-heading, .project-intro { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; justify-items: start; }
  .flow b { transform: rotate(90deg); margin-left: 14px; }
  .decision-grid, .project-row { grid-template-columns: 1fr; }
  .project-row { gap: 18px; }
  .skill-list article { grid-template-columns: 42px 160px 1fr; gap: 16px; }
}

@media (max-width: 620px) {
  .page-shell { width: min(calc(100% - 32px), var(--page)); }
  .topbar { min-height: 60px; padding: 0 16px; }
  .wordmark span, .text-link { display: none; }
  .top-actions { gap: 10px; }
  .print-button { padding: 7px 10px; }
  .hero { padding-top: 58px; padding-bottom: 54px; }
  .hero h1 { font-size: 32px; }
  .hero-copy { font-size: 16px; }
  .hero-links { gap: 12px 18px; }
  .focus-strip { grid-template-columns: 1fr; margin-top: 52px; }
  .focus-strip article { min-height: auto; padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .focus-strip article:last-child { border-bottom: 0; }
  .section { padding-top: 70px; padding-bottom: 70px; }
  .section-heading h2, .project-intro h2 { font-size: 28px; }
  .impact-grid, .decision-grid, .metric-bar, .backend-grid { grid-template-columns: 1fr; }
  .impact-card { min-height: auto; }
  .timeline article { grid-template-columns: 1fr; gap: 6px; }
  .metric-bar article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.32); }
  .metric-bar article:last-child { border-bottom: 0; }
  .featured-row { padding-inline: 16px; }
  .backend-grid article { min-height: auto; }
  .skill-list article { grid-template-columns: 38px 1fr; gap: 10px; }
  .skill-list p { grid-column: 2; }
  .closing { align-items: flex-start; flex-direction: column; margin-top: 52px; }
  .closing p { font-size: 19px; }
  .closing div { width: 100%; }
  .closing a { flex: 1; text-align: center; }
  .footer { flex-direction: column; gap: 4px; }
}

@media print {
  @page { size: A4; margin: 13mm; }
  body { color: #111; font-size: 10pt; }
  .topbar { display: none; }
  .page-shell { width: 100%; }
  .hero { padding: 0 0 14mm; }
  .hero h1 { font-size: 29pt; }
  .hero-copy { margin-top: 5mm; font-size: 10.5pt; }
  .hero-links { display: none; }
  .print-meta { display: block; margin: 5mm 0 0; color: #344054; font-size: 8.5pt; }
  .focus-strip { margin-top: 9mm; }
  .focus-strip article { min-height: 24mm; padding: 5mm; }
  .section { padding: 12mm 0; }
  .section-heading, .project-intro { gap: 10mm; margin-bottom: 6mm; }
  .section-heading h2, .project-intro h2 { font-size: 20pt; }
  .impact-card, .decision-grid article, .backend-grid article { min-height: 0; }
  .impact-card { padding: 5mm; }
  .career-section, .backend-section { background: #f7f8fa; box-shadow: none; clip-path: none; }
  .live-section { color: #111; background: #eef2f6; }
  .live-section .project-intro > p, .decision-grid p { color: #344054; }
  .flow { border-color: #667085; }
  .decision-grid { background: #d9e0ea; }
  .decision-grid article { color: #111; background: #fff; }
  .metric-bar { color: #fff; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .project-row { gap: 7mm; padding: 6mm 0; break-inside: avoid; }
  .backend-grid article, .impact-card, .timeline article, .skill-list article { break-inside: avoid; }
  .closing { margin-top: 10mm; }
  .footer { padding: 8mm 0 0; }
}
