:root {
  --bg: #ffffff;
  --surface: #fafafa;
  --surface-strong: #f3f3f3;
  --fg: #0a0a0a;
  --muted: #666666;
  --faint: #8f8f8f;
  --line: #e7e7e7;
  --line-strong: #cfcfcf;
  --brand: #171d64;
  --brand-hover: #0f144d;
  --inverse: #0a0a0a;
  --inverse-fg: #fafafa;
  --inverse-muted: #a1a1a1;
  --radius: 8px;
  --shell: 1200px;
  --header: 64px;
  --logo-filter: none;
  --photo-filter: saturate(.72) contrast(1.04);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080808;
    --surface: #0d0d0d;
    --surface-strong: #151515;
    --fg: #f5f5f5;
    --muted: #a1a1a1;
    --faint: #727272;
    --line: #242424;
    --line-strong: #393939;
    --brand: #9aa4ff;
    --brand-hover: #bcc3ff;
    --inverse: #f5f5f5;
    --inverse-fg: #0a0a0a;
    --inverse-muted: #555555;
    --logo-filter: invert(1);
    --photo-filter: saturate(.6) brightness(.78) contrast(1.08);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Geist, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.shell { width: min(var(--shell), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-150%); padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--bg); font-size: 14px; }
.skip-link:focus { transform: none; }
.light-only { display: block; }
.dark-only { display: none; }
@media (prefers-color-scheme: dark) { .light-only { display: none; } .dark-only { display: block; } }

.site-header { position: sticky; top: 0; z-index: 50; height: var(--header); border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px) saturate(160%); }
.header-inner { display: flex; align-items: center; height: 100%; }
.brand { display: flex; align-items: center; }
.brand-mark { width: auto; height: 22px; }
.site-nav { display: flex; gap: 30px; margin-left: 52px; color: var(--muted); font-size: 14px; }
.site-nav a, .header-contact, .inline-link, .footer-main a { transition: color 150ms ease; }
.site-nav a:hover, .footer-main a:hover { color: var(--fg); }
.header-contact { margin-left: auto; font-size: 14px; font-weight: 500; }
.header-contact:hover { color: var(--brand); }

.hero { overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-inner { padding: 104px 0 0; text-align: center; }
.hero-context { color: var(--muted); font-size: 15px; }
h1 { margin: 24px auto 0; font-size: clamp(58px, 7.2vw, 104px); line-height: .93; letter-spacing: -.066em; font-weight: 600; text-wrap: balance; }
.hero-lede { max-width: 670px; margin: 30px auto 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; letter-spacing: -.012em; }
.hero-actions, .contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background 150ms ease, color 150ms ease, border-color 150ms ease; }
.button-primary { background: var(--fg); color: var(--bg); }
.button-primary:hover { background: color-mix(in srgb, var(--fg) 84%, var(--bg)); }
.button-secondary { border-color: var(--line-strong); background: var(--bg); }
.button-secondary:hover { background: var(--surface-strong); }
.button-light { margin-top: 30px; background: var(--inverse-fg); color: var(--inverse); }
.button-light:hover { background: #d8d8d8; }

.program-window { position: relative; max-width: 1010px; margin: 82px auto -1px; border: 1px solid var(--line-strong); border-radius: 10px 10px 0 0; background: var(--surface); text-align: left; box-shadow: 0 24px 80px rgba(0,0,0,.08); }
.program-window::before, .program-window::after { content: ""; position: absolute; bottom: 0; width: 50vw; height: 1px; background: var(--line); }
.program-window::before { right: 100%; }
.program-window::after { left: 100%; }
.window-bar { display: flex; justify-content: space-between; align-items: center; height: 50px; padding: 0 20px; border-bottom: 1px solid var(--line); color: var(--muted); font: 13px/1 Geist Mono, monospace; }
.window-region { color: var(--faint); }
.program-track { display: grid; grid-template-columns: 1fr 48px 1fr 48px 1fr; align-items: center; padding: 46px 42px; }
.program-stage { min-width: 0; }
.stage-number { display: block; margin-bottom: 22px; color: var(--faint); font: 12px/1 Geist Mono, monospace; }
.program-stage strong { display: block; font-size: 17px; font-weight: 550; letter-spacing: -.015em; }
.program-stage > span:last-child { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.program-stage.is-active strong::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--brand); vertical-align: 2px; }
.track-connector { height: 1px; margin: 0 12px; background: var(--line-strong); }
.program-status { display: flex; justify-content: space-between; gap: 24px; padding: 15px 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; }
.program-status span:first-child { color: var(--muted); }
.program-status i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #2f9e44; }

.client-strip { border-bottom: 1px solid var(--line); }
.client-inner { display: grid; grid-template-columns: 170px 1fr; gap: 42px; align-items: center; min-height: 112px; }
.client-inner h2 { color: var(--faint); font-size: 13px; font-weight: 400; }
.client-logos { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.client-logos img { max-height: 25px; width: auto; opacity: .52; filter: var(--logo-filter); }

.proof-section { padding: 130px 0; }
.proof-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 120px; align-items: start; }
.proof-copy { position: sticky; top: 112px; }
.proof-copy h2, .section-intro h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.06; letter-spacing: -.045em; font-weight: 600; }
.proof-copy p { max-width: 43ch; margin-top: 22px; color: var(--muted); line-height: 1.65; }
.inline-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--fg); font-size: 14px; font-weight: 500; }
.inline-link:hover { color: var(--brand); }
.proof-stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.proof-stats div { min-height: 215px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-stats dt { color: var(--muted); font-size: 14px; }
.proof-stats dd { margin-top: 44px; font-size: clamp(50px, 6vw, 74px); line-height: 1; letter-spacing: -.06em; font-weight: 600; font-variant-numeric: tabular-nums; }
.proof-stats dd span { color: var(--faint); font-size: .5em; font-weight: 400; }

.capabilities-section { padding: 130px 0; border-block: 1px solid var(--line); background: var(--surface); }
.section-intro { display: grid; grid-template-columns: 7fr 4fr; gap: 100px; align-items: end; margin-bottom: 70px; }
.section-intro p { max-width: 47ch; color: var(--muted); line-height: 1.65; }
.capability-list { border-top: 1px solid var(--line-strong); }
.capability { display: grid; grid-template-columns: 70px minmax(220px, 1.2fr) 1.5fr 1fr; gap: 38px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--line); }
.capability-index { color: var(--faint); font: 12px/1 Geist Mono, monospace; }
.capability h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.025em; font-weight: 550; }
.capability > p:nth-of-type(2) { color: var(--muted); font-size: 15px; line-height: 1.6; }
.capability-tech { color: var(--faint); font: 12px/1.6 Geist Mono, monospace; }

.customer-section { padding: 130px 0; }
.customer-intro { margin-bottom: 56px; }
.featured-case { display: grid; grid-template-columns: 7fr 5fr; min-height: 550px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.case-image { min-width: 0; }
.case-image img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter); }
.case-content { display: flex; flex-direction: column; align-items: flex-start; padding: 46px; }
.case-meta { color: var(--faint); font-size: 13px; }
.case-result { margin-top: auto; font-size: clamp(62px, 7vw, 96px); line-height: .95; letter-spacing: -.07em; font-weight: 600; font-variant-numeric: tabular-nums; }
.case-result span { color: var(--faint); font-size: .48em; }
.case-content h3 { margin-top: 16px; font-size: 24px; line-height: 1.2; letter-spacing: -.03em; font-weight: 550; }
.case-content > p:not(.case-meta, .case-result) { margin-top: 16px; color: var(--muted); line-height: 1.6; }
.secondary-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 28px; }
.secondary-cases article { display: grid; grid-template-columns: 44% 1fr; min-height: 290px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.secondary-cases img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter); }
.secondary-cases article > div { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; }
.secondary-cases h3 { margin-top: 14px; font-size: 20px; line-height: 1.25; letter-spacing: -.025em; font-weight: 550; }
.secondary-cases article p:not(.case-meta) { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.secondary-cases .inline-link { margin-top: auto; padding-top: 18px; }

.approach-section { background: var(--inverse); color: var(--inverse-fg); }
.approach-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 120px; padding-block: 120px; }
.approach-copy h2 { max-width: 12ch; font-size: clamp(42px, 5vw, 64px); line-height: 1; letter-spacing: -.052em; font-weight: 600; }
.approach-copy p { max-width: 45ch; margin-top: 25px; color: var(--inverse-muted); line-height: 1.65; }
.readiness-list { border-top: 1px solid color-mix(in srgb, var(--inverse-fg) 22%, transparent); }
.readiness-list li { display: grid; grid-template-columns: 46px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid color-mix(in srgb, var(--inverse-fg) 16%, transparent); }
.readiness-list li > span { padding-top: 4px; color: var(--inverse-muted); font: 12px/1 Geist Mono, monospace; }
.readiness-list h3 { font-size: 18px; font-weight: 500; letter-spacing: -.015em; }
.readiness-list p { margin-top: 6px; color: var(--inverse-muted); font-size: 14px; }

.partner-section { padding: 120px 0; border-bottom: 1px solid var(--line); }
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner-grid li { display: flex; align-items: center; justify-content: center; min-height: 118px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-grid img { width: auto; max-width: 90px; max-height: 28px; filter: var(--logo-filter); opacity: .68; }

.contact-section { padding: 120px 0; text-align: center; }
.contact-inner > p { color: var(--muted); }
.contact-inner h2 { max-width: 930px; margin: 22px auto 0; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.052em; font-weight: 600; text-wrap: balance; }

.site-footer { border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 90px; padding: 58px 0; }
.footer-brand p, .footer-details p { margin-top: 17px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.footer-brand p { max-width: 34ch; }
.footer-main nav { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 14px; }
.footer-details { font-size: 14px; }
.footer-details a { font-weight: 500; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0 30px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; }

@media (max-width: 1000px) {
  .site-nav { display: none; }
  .hero-inner { padding-top: 80px; }
  .client-inner { grid-template-columns: 1fr; gap: 22px; padding-block: 28px; }
  .client-logos { flex-wrap: wrap; justify-content: flex-start; }
  .proof-grid, .approach-grid { grid-template-columns: 1fr; gap: 60px; }
  .proof-copy { position: static; }
  .section-intro { grid-template-columns: 1fr; gap: 22px; }
  .capability { grid-template-columns: 48px 1fr 1.4fr; }
  .capability-tech { grid-column: 2 / -1; }
  .featured-case { grid-template-columns: 1fr; }
  .case-image { height: 420px; }
  .secondary-cases article { grid-template-columns: 1fr; }
  .secondary-cases img { height: 220px; }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 700px) {
  .shell { width: min(var(--shell), calc(100% - 40px)); }
  .header-contact { font-size: 13px; }
  .hero-inner { padding-top: 62px; }
  h1 { font-size: clamp(49px, 15vw, 72px); }
  .hero-lede { margin-top: 24px; font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .program-window { margin-top: 58px; }
  .window-bar { padding-inline: 16px; }
  .program-track { grid-template-columns: 1fr; gap: 0; padding: 10px 22px; }
  .program-stage { padding: 24px 0; }
  .stage-number { margin-bottom: 12px; }
  .track-connector { width: 1px; height: 28px; margin: 0 0 0 2px; }
  .program-status { flex-direction: column; gap: 8px; line-height: 1.45; }
  .client-logos { gap: 24px 30px; }
  .proof-section, .capabilities-section, .customer-section, .partner-section, .contact-section { padding: 86px 0; }
  .proof-grid { gap: 48px; }
  .proof-stats { grid-template-columns: 1fr; }
  .proof-stats div { min-height: 170px; }
  .proof-stats dd { margin-top: 30px; }
  .section-intro { margin-bottom: 46px; }
  .capability { grid-template-columns: 36px 1fr; gap: 15px; padding: 28px 0; }
  .capability > p:nth-of-type(2), .capability-tech { grid-column: 2; }
  .featured-case { min-height: 0; }
  .case-image { height: 260px; }
  .case-content { min-height: 430px; padding: 28px; }
  .secondary-cases { grid-template-columns: 1fr; }
  .secondary-cases article > div { min-height: 280px; }
  .approach-grid { gap: 56px; padding-block: 86px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid li { min-height: 100px; }
  .footer-main { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
