:root {
  --ink: #101010;
  --paper: #f2efe8;
  --white: #fff;
  --orange: #ff5c35;
  --lime: #c7ff34;
  --muted: #5e5c57;
  --line: rgba(16, 16, 16, .18);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
}
.nav { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 900; letter-spacing: .1em; text-decoration: none; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--white); background: var(--ink); letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: .84rem; font-weight: 750; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { padding: 10px 16px; border-radius: 999px; color: var(--white); background: var(--ink); }
.nav-links .nav-cta:hover { color: var(--white); text-decoration: none; background: var(--orange); }
.case-hero { padding: clamp(70px, 11vw, 150px) 0 64px; }
.eyebrow { margin: 0 0 24px; font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 1040px; margin: 0; font-size: clamp(3.2rem, 8.7vw, 8.3rem); line-height: .88; letter-spacing: -.07em; }
.lead { max-width: 790px; margin: 34px 0 0; font-size: clamp(1.22rem, 2vw, 1.72rem); line-height: 1.35; }
.case-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 58px; border: 1px solid var(--line); background: var(--line); }
.meta-item { min-height: 114px; padding: 22px; background: var(--paper); }
.meta-label { display: block; margin-bottom: 13px; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.meta-value { font-weight: 760; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; font-size: .82rem; font-weight: 850; text-decoration: none; }
.button-primary { color: var(--white); background: var(--ink); }
.button-primary:hover { border-color: var(--orange); background: var(--orange); }
.button-secondary:hover { background: var(--white); }
.case-visual { padding-bottom: 92px; }
.frame { overflow: hidden; padding: clamp(10px, 2vw, 24px); border: 1px solid var(--line); border-radius: 24px; background: var(--ink); }
.frame img { width: 100%; border-radius: 12px; }
.frame figcaption { padding: 15px 6px 0; color: #b8b8b8; font-size: .78rem; }
.section { padding: 92px 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: 52px; }
.section h2 { max-width: 760px; margin: 0; font-size: clamp(2.5rem, 5.2vw, 5.4rem); line-height: .92; letter-spacing: -.055em; }
.section-intro { max-width: 690px; margin: 0; font-size: 1.15rem; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--ink); background: var(--ink); }
.metric { min-height: 210px; padding: 28px; background: var(--lime); }
.metric:nth-child(even) { background: var(--white); }
.metric strong { display: block; margin-bottom: 54px; font-size: clamp(2.4rem, 4.4vw, 4.8rem); line-height: .9; letter-spacing: -.06em; }
.metric span { display: block; max-width: 190px; font-size: .86rem; font-weight: 720; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 8vw, 110px); }
.copy h3 { margin: 0 0 14px; font-size: 1.35rem; }
.copy p { margin: 0 0 34px; color: #3f3d39; }
.copy ul { margin: 0; padding-left: 1.2em; }
.copy li + li { margin-top: 9px; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.process article { min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); counter-increment: step; }
.process article::before { content: "0" counter(step); display: block; margin-bottom: 62px; color: var(--orange); font-size: .76rem; font-weight: 900; }
.process h3 { margin: 0 0 12px; font-size: 1.22rem; }
.process p { margin: 0; color: var(--muted); font-size: .94rem; }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.gallery figure { margin: 0; padding: 14px; border-radius: 18px; background: var(--white); }
.gallery img { width: 100%; height: 100%; max-height: 660px; object-fit: cover; object-position: top; border-radius: 10px; }
.gallery figcaption { padding: 12px 2px 2px; color: var(--muted); font-size: .78rem; }
.outcomes { background: var(--ink); color: var(--white); }
.outcomes .eyebrow, .outcomes p { color: #cacaca; }
.outcome-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 44px; background: #3c3c3c; }
.outcome-list article { min-height: 210px; padding: 28px; background: var(--ink); }
.outcome-list strong { display: block; margin-bottom: 50px; color: var(--lime); font-size: .78rem; letter-spacing: .1em; }
.outcome-list h3 { margin: 0 0 10px; font-size: 1.25rem; }
.outcome-list p { margin: 0; font-size: .92rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.pill-list li { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .82rem; font-weight: 760; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-card { min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.related-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.related-card span { display: block; margin-bottom: 70px; color: var(--orange); font-size: .74rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.related-card h3 { margin: 0 0 12px; font-size: 1.55rem; line-height: 1.05; }
.related-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.case-cta { padding: clamp(80px, 12vw, 150px) 0; background: var(--orange); }
.case-cta h2 { max-width: 900px; margin: 0; font-size: clamp(3rem, 7vw, 7rem); line-height: .9; letter-spacing: -.065em; }
.case-cta p { max-width: 620px; margin: 28px 0 0; font-size: 1.15rem; }
.site-footer { padding: 32px 0; color: #bdbdbd; background: var(--ink); font-size: .8rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.footer-inner a { color: var(--white); }

@media (max-width: 900px) {
  .case-meta, .metrics { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .outcome-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 62px; }
  .brand-label, .nav-links > a:not(.nav-cta) { display: none; }
  .nav-links { margin-left: auto; }
  .nav-cta { padding: 9px 13px; }
  .case-hero { padding-top: 56px; }
  h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .case-meta { grid-template-columns: 1fr 1fr; margin-top: 42px; }
  .meta-item { min-height: 98px; padding: 17px; }
  .section, .case-visual { padding-bottom: 64px; }
  .section { padding-top: 64px; }
  .metrics, .split, .process, .gallery, .related-grid { grid-template-columns: 1fr; }
  .metric { min-height: 170px; }
  .metric strong { margin-bottom: 36px; }
  .process article { min-height: 210px; }
  .process article::before { margin-bottom: 40px; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
