:root {
  --canvas: #f7f8f5;
  --paper: #ffffff;
  --ink: #111310;
  --muted: #59605a;
  --line: #d8ddd7;
  --line-strong: #b8c0b9;
  --blue: #2457f5;
  --green: #168a61;
  --amber: #d89b22;
  --red: #d94736;
  --teal: #147b80;
  --black: #111111;
  --header-height: 68px;
  --content: 1240px;
  --reading: 740px;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(17, 19, 16, 0.1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--canvas);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3 { word-break: keep-all; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
main, article, section, div { min-width: 0; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(17, 19, 16, 0.13);
  background: rgba(247, 248, 245, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(calc(100% - 48px), var(--content));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}

.wordmark-name { font-weight: 850; font-size: 17px; }
.wordmark-role { font-size: 11px; font-weight: 800; color: var(--green); }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav > a { font-size: 14px; font-weight: 650; color: #3e453f; }
.site-nav > a:hover { color: var(--blue); }

.language-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 2px;
  background: var(--paper);
}

.language-option {
  min-width: 34px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.language-option.is-active { background: var(--ink); color: white; }
.menu-button { display: none; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow--red { color: var(--red); }

.home-hero {
  min-height: 0;
  padding: 72px 0 48px;
  overflow: hidden;
}

.hero-inner {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

.home-hero h1 {
  max-width: 1120px;
  margin: 0;
  font-size: 72px;
  line-height: 1.08;
  font-weight: 880;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-body {
  max-width: 850px;
  margin: 28px 0 0;
  color: #3f4740;
  font-size: 21px;
  line-height: 1.65;
  font-weight: 520;
}

.hero-actions, .case-actions, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions { margin-top: 30px; }

.action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.action:hover { transform: translateY(-2px); border-color: var(--ink); }
.action--primary { border-color: var(--blue); background: var(--blue); color: white; }
.action--code { border-color: var(--black); background: var(--black); color: white; }
.action--live { border-color: var(--green); background: var(--green); color: white; }

.hero-rail {
  position: relative;
  margin-top: 46px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1.15fr 0.85fr;
  height: 260px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper);
  overflow: hidden;
}

.hero-screen {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid var(--line-strong);
}

.hero-screen:last-child { border-right: 0; }

.hero-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.hero-screen:hover img { transform: scale(1.025); }
.hero-screen--1 img { object-position: center 34%; }
.hero-screen--2 img { object-position: center 28%; }
.hero-screen--3 img { object-position: center 44%; }
.hero-screen--4 img { object-position: center 15%; }

.hero-screen > span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 5px;
  background: rgba(17, 19, 16, 0.78);
  color: white;
  backdrop-filter: blur(8px);
}

.hero-screen strong { font-size: 13px; }
.hero-screen small { font-size: 10px; color: rgba(255, 255, 255, 0.78); }

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.proof-grid {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  min-height: 150px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 34px;
  border-right: 1px solid var(--line);
}

.proof-item:first-child { border-left: 1px solid var(--line); }
.proof-item strong { font-size: 34px; line-height: 1.1; font-weight: 880; }
.proof-item span { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.proof-item i { position: absolute; right: 22px; top: 22px; color: var(--blue); font-style: normal; opacity: 0; transform: translateX(-4px); transition: 160ms ease; }
.proof-item:hover i { opacity: 1; transform: translateX(0); }

.band {
  padding: 112px max(24px, calc((100% - var(--content)) / 2));
}

.section-heading { max-width: 820px; margin-bottom: 56px; }
.section-heading--wide { max-width: 1060px; }
.section-heading h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.18;
  font-weight: 850;
  text-wrap: balance;
}

.section-heading > p:last-child {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.method-section { background: #edf3ee; }

.method-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid #aebcb1;
  border-bottom: 1px solid #aebcb1;
}

.method-list li {
  min-height: 220px;
  padding: 26px 22px;
  border-right: 1px solid #aebcb1;
}

.method-list li:last-child { border-right: 0; }
.method-list span { color: var(--green); font-size: 12px; font-weight: 850; }
.method-list strong { display: block; margin-top: 30px; font-size: 19px; }
.method-list p { margin: 12px 0 0; color: #556159; font-size: 14px; line-height: 1.55; }

.work-section { padding-top: 120px; }
.section-heading--work { width: min(calc(100% - 48px), var(--content)); margin: 0 auto 70px; }
.featured-list { border-top: 1px solid var(--line); }

.featured-case {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 80px;
  align-items: center;
  padding: 92px max(24px, calc((100% - var(--content)) / 2));
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.featured-case:nth-child(even) .featured-copy { order: 2; }
.featured-case:nth-child(even) .featured-visual { order: 1; }
.featured-case--large { min-height: 720px; }
.featured-case--worldlim { background: #eef3fb; }
.featured-case--getsit { background: #fff7e8; }
.featured-case--agent { background: #f1f3f2; }
.featured-case--sajubase { background: #eaf3f2; }

.case-index { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.case-index > span { color: var(--blue); font-size: 12px; font-weight: 850; }
.case-index > i { width: 56px; height: 1px; background: var(--line-strong); }
.case-index > small { color: var(--muted); font-size: 12px; font-weight: 650; }

.featured-copy h3 { margin: 0; font-size: 46px; line-height: 1.12; font-weight: 860; }
.case-summary { margin: 32px 0 0; }
.case-summary > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 22px; padding: 17px 0; border-top: 1px solid var(--line-strong); }
.case-summary > div:last-child { border-bottom: 1px solid var(--line-strong); }
.case-summary dt { font-size: 12px; font-weight: 850; color: var(--green); }
.case-summary dd { margin: 0; color: #353b36; font-size: 16px; line-height: 1.62; }

.case-proof { margin: 22px 0 0; font-size: 15px; font-weight: 720; }
.case-proof span { display: block; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.case-learn { margin: 18px 0 0; padding: 2px 0 2px 14px; border-left: 3px solid var(--blue); color: #303731; font-size: 14px; line-height: 1.6; }
.case-learn span { display: block; margin-bottom: 2px; color: var(--blue); font-size: 10px; font-weight: 850; text-transform: uppercase; }

.tag-list { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 24px 0 0; list-style: none; }
.tag-list li { padding: 5px 9px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, 0.5); font-size: 11px; font-weight: 700; }
.case-actions { margin-top: 30px; }

.featured-visual { min-width: 0; }
.workflow-visual { padding: 28px; border: 1px solid #98ae9f; border-radius: var(--radius); background: #11241a; color: white; box-shadow: var(--shadow); }
.workflow-row { display: grid; grid-template-columns: 34px repeat(4, 1fr); align-items: center; gap: 8px; min-height: 102px; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.workflow-row:last-child { border-bottom: 0; }
.workflow-row b { color: #68d3a9; font-size: 12px; }
.workflow-row span { position: relative; min-width: 0; padding: 11px 20px 11px 10px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 5px; color: rgba(255, 255, 255, 0.9); font-size: 11px; line-height: 1.35; }
.workflow-row span i { position: absolute; right: -8px; top: 50%; z-index: 2; color: #68d3a9; font-style: normal; transform: translateY(-50%); }
.workflow-visual--compact .workflow-row { min-height: 82px; }

.getsit-visual { padding: 28px; border: 1px solid #d6b76f; border-radius: var(--radius); background: #181711; color: white; box-shadow: var(--shadow); }
.getsit-prompt { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 5px; background: #242116; }
.getsit-prompt span { color: #e7c980; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.getsit-prompt strong { font-size: 17px; }
.getsit-models { margin-top: 24px; }
.getsit-model { display: grid; grid-template-columns: 150px minmax(80px, 1fr) 38px; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.getsit-model > div:first-child { display: flex; flex-direction: column; }
.getsit-model strong { font-size: 12px; }
.getsit-model span { color: rgba(255, 255, 255, 0.55); font-size: 10px; }
.getsit-model b { color: #f1d28b; text-align: right; font-size: 17px; }
.score-track { height: 6px; background: rgba(255, 255, 255, 0.13); }
.score-track i { display: block; height: 100%; background: #e7b63f; }
.getsit-visual > small { display: block; margin-top: 16px; color: rgba(255, 255, 255, 0.52); font-size: 10px; }

.case-image { margin: 0; }
.case-image img { width: 100%; max-height: 570px; object-fit: cover; border: 1px solid rgba(17, 19, 16, 0.18); border-radius: var(--radius); box-shadow: var(--shadow); }
.case-image--worldlim img { max-height: 620px; object-position: center 24%; }
.case-image--wide img { max-height: 430px; }
.case-image--phone { max-width: 370px; margin: 0 auto; }
.case-image--phone img { max-height: 620px; object-position: top; }
.case-image figcaption { margin-top: 10px; color: var(--muted); font-size: 11px; text-align: center; }

.career-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #eef3ee; }
.career-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid #aebcb1; border-bottom: 1px solid #aebcb1; list-style: none; }
.career-timeline > li { min-height: 370px; padding: 30px 25px 34px; border-right: 1px solid #aebcb1; }
.career-timeline > li:last-child { border-right: 0; }
.career-marker { display: flex; align-items: center; gap: 12px; }
.career-marker span { color: var(--green); font-size: 11px; font-weight: 850; }
.career-marker i { display: block; width: 42px; height: 1px; background: #aebcb1; }
.career-period { margin: 40px 0 0; color: var(--muted); font-size: 11px; font-weight: 800; }
.career-company { min-height: 42px; margin: 6px 0 0; color: var(--green); font-size: 12px; font-weight: 800; line-height: 1.45; }
.career-timeline h3 { margin: 18px 0 0; font-size: 21px; line-height: 1.35; }
.career-body { margin: 14px 0 0; color: #4c564f; font-size: 14px; line-height: 1.62; }
.career-capability { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid #c6d0c8; color: var(--ink); font-size: 12px; font-weight: 780; line-height: 1.55; }
.career-action { margin-top: 34px; }

.products-section { background: var(--ink); color: white; }
.products-section .section-heading > p:last-child { color: rgba(255, 255, 255, 0.62); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.product-card { overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius); background: #1c201c; }
.product-image { display: block; height: 270px; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, 0.16); background: #0b0c0b; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 220ms ease; }
.product-card:nth-child(1) img { object-position: center 25%; }
.product-card:nth-child(2) img { object-position: center 18%; }
.product-card:nth-child(3) img { object-position: center; }
.product-card:nth-child(4) img { object-position: center 32%; }
.product-card:hover img { transform: scale(1.025); }
.product-card > div { min-height: 210px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.product-card h3 { margin: 0; font-size: 22px; }
.product-card p { margin: 12px 0 20px; color: rgba(255, 255, 255, 0.65); font-size: 14px; line-height: 1.55; }
.text-link { margin-top: auto; color: #86d9b8; font-size: 12px; font-weight: 800; }

.before-section { background: #fff; }
.before-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; }
.before-case { min-height: 470px; padding: 42px; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.before-case--lck { border-top: 5px solid var(--red); background: #fff5f2; }
.before-case--growing { border-top: 5px solid var(--green); background: #f1f7f2; }
.before-label { margin: 0; color: var(--red); font-size: 11px; font-weight: 850; }
.before-case--growing .before-label { color: var(--green); }
.before-case h3 { max-width: 560px; margin: 24px 0 0; font-size: 31px; line-height: 1.3; }
.before-case > p:not(.before-label) { color: var(--muted); }
.before-case ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 30px 0 36px; list-style: none; }
.before-case li { padding: 7px 10px; border: 1px solid currentColor; border-radius: 4px; font-size: 11px; font-weight: 800; }
.before-case .action { margin: 4px 5px 0 0; }

.writing-section { background: #edf1f6; }
.writing-list { border-top: 1px solid #abb6c6; }
.writing-list > a { display: grid; grid-template-columns: 54px minmax(0, 1fr) 24px; gap: 20px; align-items: center; min-height: 150px; padding: 26px 4px; border-bottom: 1px solid #abb6c6; }
.writing-list > a > span { color: var(--blue); font-size: 12px; font-weight: 850; }
.writing-list h3 { margin: 0; font-size: 24px; }
.writing-list p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.writing-list i { color: var(--blue); font-style: normal; font-size: 22px; transition: transform 160ms ease; }
.writing-list a:hover i { transform: translate(3px, -3px); }

.contact-section {
  min-height: 500px;
  padding: 100px max(24px, calc((100% - var(--content)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 80px;
  background: #173328;
  color: white;
}
.contact-section h2 { max-width: 820px; margin: 0; font-size: 48px; line-height: 1.2; }
.contact-section p:not(.eyebrow) { max-width: 720px; margin: 22px 0 0; color: rgba(255, 255, 255, 0.68); }
.contact-section .action--secondary { color: var(--ink); }

.site-footer { padding: 44px 24px; border-top: 1px solid rgba(255, 255, 255, 0.15); background: var(--ink); color: white; }
.footer-inner { width: min(100%, var(--content)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; }
.footer-inner > div { display: flex; flex-direction: column; }
.footer-inner > div span, .footer-inner p { color: rgba(255, 255, 255, 0.5); font-size: 12px; }
.footer-inner nav { display: flex; gap: 20px; font-size: 12px; font-weight: 750; }

[data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Case pages */
.case-main { overflow: clip; }
.case-article { scroll-margin-top: calc(var(--header-height) + 16px); }
.case-hero {
  padding: 72px max(24px, calc((100% - 1040px) / 2)) 66px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.case-hero--green { border-top: 6px solid var(--green); }
.case-hero--blue { border-top: 6px solid var(--blue); }
.case-hero--amber { border-top: 6px solid var(--amber); }
.case-hero--black { border-top: 6px solid var(--black); }
.case-hero--teal { border-top: 6px solid var(--teal); }
.case-hero--red { border-top: 6px solid var(--red); }
.back-link { display: inline-flex; margin-bottom: 50px; color: var(--muted); font-size: 13px; font-weight: 750; }
.back-link:hover { color: var(--blue); }
.case-kicker { margin: 0 0 14px; color: var(--green); font-size: 12px; font-weight: 850; }
.case-hero h1 { margin: 0; font-size: 68px; line-height: 1.06; font-weight: 880; }
.case-lead { max-width: 880px; margin: 26px 0 0; color: #343b35; font-size: 22px; line-height: 1.6; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.case-meta li { padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--muted); font-size: 11px; font-weight: 700; }

.case-proof-access {
  margin-top: 40px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.case-proof-access-head {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 18px 0;
}

.case-proof-access-head h2 {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 860;
}

.case-proof-access-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.case-proof-access-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border-top: 1px solid var(--line-strong);
}

.proof-access-link {
  min-height: 96px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 16px 42px 16px 16px;
  border-right: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.42);
  transition: background 160ms ease, color 160ms ease;
}

.proof-access-link:last-child { border-right: 0; }
.proof-access-link span { color: var(--blue); font-size: 9px; font-weight: 880; text-transform: uppercase; }
.proof-access-link strong { font-size: 13px; line-height: 1.42; font-weight: 790; }
.proof-access-link i { position: absolute; top: 16px; right: 16px; color: var(--blue); font-size: 16px; font-style: normal; }
.proof-access-link:hover { background: #edf2ff; }
.proof-access-link--live span, .proof-access-link--live i { color: var(--green); }
.proof-access-link--live:hover { background: #ebf5ef; }
.proof-access-link--code { background: var(--black); color: white; }
.proof-access-link--code span, .proof-access-link--code i { color: #82d7b5; }
.proof-access-link--code:hover { background: #272a27; }

.case-hero-visual, .case-gallery {
  width: min(calc(100% - 48px), 1040px);
  margin: 52px auto 0;
}
.case-hero-visual .case-image--wide img { max-height: none; }
.case-hero-visual--workflow .workflow-visual, .case-hero-visual--getsit .getsit-visual { padding: 38px; }
.case-gallery { height: 630px; display: grid; grid-template-columns: 0.9fr 1.08fr 0.9fr; gap: 14px; align-items: center; }
.case-gallery figure { height: 86%; margin: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #081428; box-shadow: var(--shadow); }
.case-gallery figure:nth-child(2) { height: 100%; }
.case-gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.case-gallery figure:first-child img { object-position: center 26%; }
.case-gallery figure:last-child img { object-position: center top; }

.case-layout {
  width: min(calc(100% - 48px), 1080px);
  margin: 90px auto 0;
  display: grid;
  grid-template-columns: minmax(0, var(--reading)) 170px;
  gap: 100px;
  align-items: start;
}
.case-reading { min-width: 0; }
.case-section { scroll-margin-top: calc(var(--header-height) + 32px); padding: 0 0 80px; margin-bottom: 80px; border-bottom: 1px solid var(--line-strong); }
.case-section > h2 { margin: 0 0 32px; font-size: 38px; line-height: 1.28; font-weight: 850; text-wrap: balance; }
.case-section-body > p { margin: 0 0 24px; color: #303631; font-size: 18px; line-height: 1.82; }
.case-section-body > p:last-child { margin-bottom: 0; }
.case-section-body strong { color: var(--ink); font-weight: 820; }
.case-section-body code { padding: 2px 5px; border: 1px solid var(--line); border-radius: 3px; background: #eef1ed; font-family: "SFMono-Regular", Consolas, monospace; font-size: 0.85em; }
.case-section-body a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.case-section-body blockquote { margin: 30px 0; padding: 22px 26px; border-left: 4px solid var(--blue); background: #edf2ff; }
.case-section-body blockquote p { margin: 0; font-size: 19px; font-weight: 700; }
.case-section-body ul, .case-section-body ol { margin: 26px 0; padding-left: 24px; }
.case-section-body li { margin: 11px 0; padding-left: 5px; color: #353b36; }
.case-section-body pre { overflow: auto; margin: 30px 0; padding: 24px; border-radius: 6px; background: #121412; color: #e9eee9; line-height: 1.7; }
.case-section-body pre code { padding: 0; border: 0; background: none; color: inherit; }
.case-section-body h3 { margin: 52px 0 18px; font-size: 25px; line-height: 1.35; }
.case-section--decisions { counter-reset: decision; }
.case-section--decisions h3 { position: relative; padding: 30px 0 0 50px; border-top: 1px solid var(--line-strong); }
.case-section--decisions h3::before { counter-increment: decision; content: counter(decision, decimal-leading-zero); position: absolute; left: 0; top: 33px; color: var(--blue); font-size: 12px; font-weight: 850; }
.case-section--decisions h3 + ul { margin-top: 0; padding: 0 0 0 50px; list-style: none; }
.case-section--decisions h3 + ul li { margin: 14px 0; padding: 0; }
.case-section--proof { padding: 42px; border: 1px solid #c5cfda; border-radius: var(--radius); background: #eef3f8; }
.case-section--proof > h2 { font-size: 32px; }
.case-section--inspect { padding: 42px; border: 1px solid #bfc9c1; border-radius: var(--radius); background: #f2f5f2; }
.case-section--inspect > h2 { font-size: 32px; }
.case-section--inspect .case-section-body > ul { margin: 26px 0 0; padding: 0; border-top: 1px solid #bfc9c1; list-style: none; }
.case-section--inspect .case-section-body > ul li { margin: 0; padding: 0; border-bottom: 1px solid #bfc9c1; }
.case-section--inspect .case-section-body > ul a { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 10px; color: #173328; font-size: 15px; font-weight: 770; text-decoration: none; overflow-wrap: anywhere; }
.case-section--inspect .case-section-body > ul a:not(.external-inline)::after { content: "→"; flex: 0 0 auto; color: var(--blue); font-size: 18px; }
.case-section--inspect .case-section-body > ul a:hover { color: var(--blue); background: rgba(36, 87, 245, 0.04); }
.case-section--inspect .case-section-body > ul a[href*="github.com"] { margin: 8px 0; padding-inline: 15px; border-radius: 5px; background: var(--black); color: white; }
.case-section--inspect .case-section-body > ul a[href*="github.com"] span { color: #82d7b5; }

.table-scroll { width: 100%; overflow-x: auto; margin: 32px 0; border: 1px solid var(--line-strong); border-radius: 5px; }
table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 14px; }
th, td { min-width: 130px; padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th:last-child, td:last-child { border-right: 0; }
tbody tr:last-child td { border-bottom: 0; }
th { background: #eef1ed; font-size: 11px; font-weight: 850; }

.case-remote { position: sticky; top: calc(var(--header-height) + 30px); display: flex; flex-direction: column; gap: 5px; padding-left: 20px; border-left: 1px solid var(--line-strong); }
.case-remote strong { margin-bottom: 10px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.case-remote a { padding: 7px 0; color: var(--muted); font-size: 13px; font-weight: 720; }
.case-remote a:hover, .case-remote a.is-active { color: var(--blue); }
.case-remote a.is-emphasis { color: var(--green); font-weight: 850; }
.case-remote a.is-emphasis.is-active { color: var(--blue); }

.lck-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid #9f2e22; border-radius: var(--radius); background: #35100d; color: white; box-shadow: var(--shadow); }
.lck-visual strong, .lck-visual span { min-height: 110px; display: flex; align-items: center; padding: 20px 26px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.lck-visual strong { color: #ff8b79; font-size: 38px; }
.lck-visual span { border-left: 1px solid rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.75); }
.lck-visual strong:nth-last-of-type(1), .lck-visual span:last-child { border-bottom: 0; }

.next-case { min-height: 150px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; padding: 28px 0; margin-bottom: 100px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.next-case span { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.next-case strong { font-size: 29px; }
.next-case i { grid-column: 2; grid-row: 1 / 3; font-style: normal; font-size: 28px; }
.next-case:hover i { color: var(--blue); transform: translateX(4px); }

/* Evidence pages */
.evidence-main { overflow: clip; }
.evidence-article { scroll-margin-top: calc(var(--header-height) + 16px); }
.evidence-hero { padding: 72px max(24px, calc((100% - 920px) / 2)) 66px; border-top: 6px solid var(--blue); border-bottom: 1px solid var(--line); background: var(--paper); }
.evidence-hero--green { border-top-color: var(--green); }
.evidence-hero--amber { border-top-color: var(--amber); }
.evidence-hero--black { border-top-color: var(--black); }
.evidence-hero--blue { border-top-color: var(--blue); }
.evidence-status { width: fit-content; margin: 0 0 18px; padding: 6px 9px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--green); background: #f4f7f4; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.evidence-hero h1 { max-width: 900px; margin: 0; font-size: 58px; line-height: 1.08; font-weight: 880; text-wrap: balance; }
.evidence-lead { max-width: 800px; margin: 24px 0 0; color: #343b35; font-size: 21px; line-height: 1.62; }
.evidence-reading { width: min(calc(100% - 48px), 800px); margin: 88px auto 0; }
.evidence-section { scroll-margin-top: calc(var(--header-height) + 24px); padding: 0 0 68px; margin-bottom: 68px; border-bottom: 1px solid var(--line-strong); }
.evidence-section > h2 { margin: 0 0 28px; font-size: 34px; line-height: 1.3; font-weight: 850; text-wrap: balance; }
.evidence-section:first-child > h2 { font-size: 40px; }
.evidence-section .case-section-body > ul { margin-block: 26px; }
.evidence-section .case-section-body > ul a { overflow-wrap: anywhere; }
.content-figure { width: min(920px, calc(100vw - 48px)); margin: 38px 0 42px 50%; transform: translateX(-50%); }
.content-figure img { width: 100%; height: auto; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.content-figure figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }
.external-inline span { white-space: nowrap; }
.evidence-return { min-height: 150px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; padding: 28px 0; margin: 0 0 100px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.evidence-return span { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.evidence-return strong { font-size: 27px; }
.evidence-return i { grid-column: 2; grid-row: 1 / 3; font-style: normal; font-size: 28px; }
.evidence-return:hover i { color: var(--blue); transform: translateX(4px); }

.not-found { min-height: calc(100svh - var(--header-height)); display: grid; place-content: center; justify-items: start; gap: 20px; padding: 24px; }
.not-found h1 { margin: 0; font-size: 48px; }

@media (max-width: 1100px) {
  .home-hero h1 { font-size: 60px; }
  .site-nav { gap: 18px; }
  .site-nav > a { font-size: 13px; }
  .proof-item { padding: 24px; }
  .method-list { grid-template-columns: repeat(3, 1fr); }
  .method-list li:nth-child(3) { border-right: 0; }
  .method-list li:nth-child(-n+3) { border-bottom: 1px solid #aebcb1; }
  .featured-case { grid-template-columns: minmax(0, 1fr) minmax(350px, 0.85fr); gap: 50px; }
  .featured-copy h3 { font-size: 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .career-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .career-timeline > li:nth-child(2) { border-right: 0; }
  .career-timeline > li:nth-child(-n+2) { border-bottom: 1px solid #aebcb1; }
  .case-layout { grid-template-columns: minmax(0, var(--reading)) 150px; gap: 54px; }
}

@media (max-width: 820px) {
  :root { --header-height: 64px; }
  .header-inner { width: min(calc(100% - 32px), var(--content)); }
  .wordmark-role { display: none; }
  .menu-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border: 0;
    background: none;
    font-size: 12px;
    font-weight: 800;
    color: var(--ink);
  }
  .menu-glyph, .menu-glyph::after { width: 20px; height: 2px; display: block; background: currentColor; transition: transform 160ms ease; }
  .menu-glyph { position: relative; }
  .menu-glyph::after { content: ""; position: absolute; top: 6px; }
  .menu-button[aria-expanded="true"] .menu-glyph { transform: translateY(3px) rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-glyph::after { transform: translateY(-6px) rotate(-90deg); }
  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 24px;
    border-bottom: 1px solid var(--line-strong);
    background: var(--canvas);
    box-shadow: 0 30px 60px rgba(17, 19, 16, 0.16);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .language-switch { margin-top: 20px; align-self: flex-start; }

  .home-hero { padding: 52px 0 40px; }
  .home-hero h1 { font-size: 48px; }
  .hero-body { font-size: 18px; }
  .hero-rail { grid-template-columns: repeat(4, 240px); height: 230px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .hero-screen { scroll-snap-align: start; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof-item { min-height: 130px; }
  .band { padding-top: 84px; padding-bottom: 84px; }
  .section-heading h2 { font-size: 38px; }
  .method-list { grid-template-columns: 1fr; }
  .method-list li { min-height: auto; display: grid; grid-template-columns: 42px 150px 1fr; gap: 14px; align-items: start; padding: 22px 0; border-right: 0; border-bottom: 1px solid #aebcb1; }
  .method-list li:nth-child(3) { border-right: 0; }
  .method-list li:last-child { border-bottom: 0; }
  .method-list li:nth-child(-n+3) { border-bottom: 1px solid #aebcb1; }
  .method-list strong { margin: 0; }
  .method-list p { margin: 0; }

  .featured-case, .featured-case--large { min-height: 0; grid-template-columns: 1fr; gap: 46px; padding-top: 76px; padding-bottom: 76px; }
  .featured-case:nth-child(even) .featured-copy, .featured-case:nth-child(even) .featured-visual { order: initial; }
  .featured-copy h3 { font-size: 38px; }
  .case-summary > div { grid-template-columns: 86px minmax(0, 1fr); }
  .featured-visual { max-width: 620px; }
  .case-image--phone { max-width: 330px; }
  .before-grid { grid-template-columns: 1fr; }
  .contact-section { grid-template-columns: 1fr; align-items: start; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-inner nav { flex-wrap: wrap; }

  .case-hero { padding-top: 50px; }
  .case-hero h1 { font-size: 54px; }
  .case-lead { font-size: 20px; }
  .case-proof-access-head { grid-template-columns: 130px minmax(0, 1fr); gap: 20px; }
  .case-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .case-remote { display: none; }
  .case-gallery { height: 550px; grid-template-columns: repeat(3, 260px); overflow-x: auto; scroll-snap-type: x mandatory; align-items: stretch; }
  .case-gallery figure, .case-gallery figure:nth-child(2) { height: 100%; scroll-snap-align: center; }
  .evidence-hero { padding-top: 50px; }
  .evidence-hero h1 { font-size: 48px; }
  .evidence-lead { font-size: 19px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-inner, .section-heading--work { width: calc(100% - 32px); }
  .home-hero { min-height: 0; padding-top: 40px; padding-bottom: 28px; }
  .home-hero .eyebrow { margin-bottom: 14px; }
  .home-hero h1 { font-size: 42px; line-height: 1.11; }
  .hero-body { margin-top: 20px; font-size: 16px; line-height: 1.65; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .action { flex: 1 1 calc(50% - 6px); }
  .hero-actions .action:first-child { flex-basis: 100%; }
  .hero-rail { margin-top: 30px; grid-template-columns: repeat(4, 210px); height: 208px; }
  .proof-item { min-height: 124px; padding: 20px 16px; }
  .proof-item:first-child { border-left: 0; }
  .proof-item strong { font-size: 27px; }
  .proof-item span { font-size: 12px; }
  .proof-item i { display: none; }
  .band { padding: 72px 16px; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2 { font-size: 32px; line-height: 1.25; }
  .section-heading > p:last-child { font-size: 16px; }
  .method-list li { grid-template-columns: 35px 1fr; gap: 10px; }
  .method-list li p { grid-column: 2; }
  .work-section { padding-top: 84px; }
  .featured-case, .featured-case--large { padding: 64px 16px; gap: 36px; }
  .featured-copy h3 { font-size: 32px; }
  .case-summary > div { grid-template-columns: 1fr; gap: 6px; padding: 15px 0; }
  .case-summary dd { font-size: 15px; }
  .case-learn { font-size: 13px; }
  .case-actions .action { flex: 1 1 100%; }
  .workflow-visual, .getsit-visual { padding: 16px; }
  .workflow-row { grid-template-columns: 24px 1fr; gap: 6px; padding: 10px 0; }
  .workflow-row span { min-height: 44px; display: flex; align-items: center; }
  .workflow-row span i { right: 8px; top: auto; bottom: -10px; transform: rotate(90deg); }
  .getsit-model { grid-template-columns: 112px minmax(50px, 1fr) 28px; gap: 8px; }
  .getsit-model strong { font-size: 10px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { height: 240px; }
  .product-card > div { min-height: 180px; }
  .career-timeline { grid-template-columns: 1fr; }
  .career-timeline > li { min-height: 0; padding: 28px 0 32px; border-right: 0; border-bottom: 1px solid #aebcb1; }
  .career-timeline > li:nth-child(-n+2) { border-bottom: 1px solid #aebcb1; }
  .career-timeline > li:last-child { border-bottom: 0; }
  .career-company { min-height: 0; }
  .career-period { margin-top: 28px; }
  .before-case { min-height: 0; padding: 28px 22px; }
  .before-case h3 { font-size: 25px; }
  .writing-list > a { grid-template-columns: 35px minmax(0, 1fr) 18px; gap: 10px; }
  .writing-list h3 { font-size: 19px; }
  .writing-list p { font-size: 13px; }
  .contact-section { min-height: 520px; padding: 72px 16px; }
  .contact-section h2 { font-size: 34px; }
  .contact-actions .action { flex: 1 1 100%; }

  .case-hero { padding: 38px 16px 48px; }
  .back-link { margin-bottom: 38px; }
  .case-hero h1 { font-size: 42px; }
  .case-lead { margin-top: 20px; font-size: 18px; }
  .case-meta { display: grid; grid-template-columns: 1fr; }
  .case-proof-access { margin-top: 30px; }
  .case-proof-access-head { display: block; padding: 16px 0; }
  .case-proof-access-head p { margin-top: 8px; }
  .case-proof-access-links { grid-template-columns: 1fr; }
  .proof-access-link { min-height: 82px; border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .proof-access-link:last-child { border-bottom: 0; }
  .case-hero-visual, .case-gallery { width: calc(100% - 32px); margin-top: 34px; }
  .case-hero-visual--workflow .workflow-visual, .case-hero-visual--getsit .getsit-visual { padding: 16px; }
  .case-gallery { height: 520px; grid-template-columns: repeat(3, 245px); }
  .case-layout { width: calc(100% - 32px); margin-top: 62px; }
  .case-section { padding-bottom: 55px; margin-bottom: 55px; }
  .case-section > h2 { margin-bottom: 25px; font-size: 29px; }
  .case-section-body > p { font-size: 16px; line-height: 1.78; }
  .case-section-body h3 { margin-top: 40px; font-size: 22px; }
  .case-section--decisions h3 { padding-left: 38px; }
  .case-section--decisions h3::before { top: 33px; }
  .case-section--decisions h3 + ul { padding-left: 38px; }
  .case-section--proof { padding: 24px 18px; }
  .case-section--proof > h2 { font-size: 27px; }
  .case-section--inspect { padding: 24px 18px; }
  .case-section--inspect > h2 { font-size: 27px; }
  .case-section--inspect .case-section-body > ul a { min-height: 58px; padding-inline: 6px; font-size: 14px; }
  .case-image--phone { max-width: 280px; }
  .lck-visual strong, .lck-visual span { min-height: 84px; padding: 15px; }
  .lck-visual strong { font-size: 28px; }
  .lck-visual span { font-size: 12px; }
  .next-case { margin-bottom: 70px; }
  .next-case strong { font-size: 24px; }
  .evidence-hero { padding: 38px 16px 48px; }
  .evidence-hero h1 { font-size: 39px; }
  .evidence-lead { margin-top: 20px; font-size: 17px; }
  .evidence-reading { width: calc(100% - 32px); margin-top: 62px; }
  .evidence-section { padding-bottom: 52px; margin-bottom: 52px; }
  .evidence-section > h2, .evidence-section:first-child > h2 { margin-bottom: 24px; font-size: 28px; }
  .content-figure { width: calc(100vw - 32px); margin-block: 30px 34px; }
  .evidence-return { margin-bottom: 70px; }
  .evidence-return strong { font-size: 23px; }
}
