:root {
  --bg: #ffffff;
  --fg: #000000;
  --muted: #737373;
  --line: #e5e5e5;
  --surface: #fafafa;
  --accent: #ffc501;
  --max: 1224px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 24px; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }

.site-header { position: relative; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; }
.logo img { width: 24px; height: 24px; object-fit: contain; }
.navlinks { display: flex; align-items: center; gap: 24px; }
.navlinks a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: 14px; line-height: 20px; }
.navlinks a:hover { color: var(--fg); }
.menu-toggle, .mobile-menu { display: none; }

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; line-height: 20px; font-weight: 500; }
.button::after { content: "↗"; font-size: 16px; line-height: 16px; }
.button-primary { border-color: var(--accent); background: var(--accent); color: var(--fg); }
.button-secondary { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.button-outline-inverse { border-color: var(--bg); color: var(--bg); }
.button:hover { opacity: .8; }
.eyebrow { margin: 0; color: var(--muted); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.inverse { color: var(--muted); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.01em; }
h1 { margin-bottom: 24px; font-size: clamp(48px, 6vw, 80px); line-height: 1.05; font-weight: 400; }
h2 { margin-bottom: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; font-weight: 400; }
h3 { margin-bottom: 0; font-size: 20px; line-height: 28px; font-weight: 500; }

.tech-hero { overflow: hidden; padding: 96px 0 0; background: var(--fg); color: var(--bg); }
.tech-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }
.tech-hero-copy { padding: 48px 0 96px; }
.tech-hero-copy h1 { max-width: 11ch; }
.hero-lead { max-width: 38ch; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tech-hero-art { position: relative; min-height: 480px; margin: 0; border-left: 1px solid var(--line); }
.tech-hero-art img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; object-position: center; display: block; filter: grayscale(1); }
.tech-hero-art figcaption { position: absolute; right: 24px; bottom: 24px; margin: 0; padding: 8px 12px; border: 1px solid var(--bg); background: var(--fg); color: var(--bg); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero-facts > div { min-height: 112px; padding: 24px 24px 24px 0; border-right: 1px solid var(--line); }
.hero-facts > div + div { padding-left: 24px; }
.hero-facts > div:last-child { border-right: 0; }
.hero-facts strong { display: block; margin-bottom: 8px; color: var(--bg); font-size: 32px; line-height: 32px; font-weight: 400; font-variant-numeric: tabular-nums; }
.hero-facts span { display: block; max-width: 20ch; color: var(--muted); font-size: 14px; line-height: 20px; }

.section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.surface-section { background: var(--surface); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .42fr); gap: 64px; margin-bottom: 48px; }
.section-head h2 { max-width: 18ch; margin-top: 16px; }
.section-head > p { max-width: 34ch; margin: 32px 0 0; color: var(--muted); }
.process-rail article > span { color: var(--muted); font-size: 12px; line-height: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }

.solution-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.solution-tabs { border-right: 1px solid var(--line); }
.solution-tab { width: 100%; min-height: 108px; display: grid; grid-template-columns: 32px 1fr; gap: 4px 12px; padding: 20px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--fg); text-align: left; cursor: pointer; }
.solution-tab:last-child { border-bottom: 0; }
.solution-tab span { grid-row: span 2; color: var(--muted); font-size: 12px; line-height: 16px; font-variant-numeric: tabular-nums; }
.solution-tab strong { font-size: 16px; line-height: 24px; font-weight: 500; }
.solution-tab small { color: var(--muted); font-size: 12px; line-height: 16px; }
.solution-tab.is-active { border-left: 2px solid var(--accent); padding-left: 18px; background: var(--bg); }
.solution-panel { min-height: 344px; display: grid; grid-template-columns: minmax(0, 1fr) 224px; gap: 48px; align-items: center; padding: 48px; }
.solution-panel h3 { margin: 16px 0; font-size: 32px; line-height: 38px; font-weight: 400; }
.solution-panel p:not(.eyebrow) { max-width: 38ch; margin-bottom: 0; color: var(--muted); }
.module-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.module-list li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 20px; }
.module-list li::before { content: "+"; display: inline-block; width: 16px; color: var(--fg); font-weight: 500; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--fg); font-size: 14px; line-height: 20px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.project-card { overflow: hidden; display: flex; flex-direction: column; min-height: 376px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.project-card-featured { grid-row: span 2; }
.project-card img { width: 100%; height: 220px; object-fit: cover; display: block; border-bottom: 1px solid var(--line); filter: grayscale(1); }
.project-card-featured img { height: 100%; min-height: 400px; }
.project-card div { padding: 24px; }
.project-card h3 { margin-top: 12px; }
.project-card span { display: block; margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 20px; }
.project-card:hover img { filter: grayscale(0); }
.portfolio-link { margin-top: 24px; }

.process-section { background: var(--fg); color: var(--bg); }
.process-section .inverse { color: var(--muted); }
.process-section .section-head > p, .process-rail p { color: var(--muted); }
.process-rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-progress { position: absolute; top: -4px; right: 0; left: 0; height: 8px; background: var(--line); border-radius: 8px; overflow: hidden; }
.process-progress i { display: block; width: 25%; height: 100%; background: var(--accent); }
.process-rail article { min-height: 192px; padding: 32px 24px 24px 0; border-right: 1px solid var(--line); }
.process-rail article + article { padding-left: 24px; }
.process-rail article:last-child { border-right: 0; }
.process-rail h3 { margin: 32px 0 8px; color: var(--bg); }
.process-rail p { margin: 0; font-size: 14px; line-height: 20px; }

.final-cta { padding: 96px 0; background: var(--fg); color: var(--bg); }
.final-cta h2 { max-width: 16ch; margin-top: 16px; }
.final-cta > .shell > p:not(.eyebrow) { max-width: 48ch; margin: 24px 0 0; color: var(--muted); }
.final-cta .button { margin-top: 32px; }

.site-footer { padding: 64px 0 24px; background: var(--fg); color: var(--bg); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.footer-brand img { width: 32px; height: 32px; object-fit: contain; }
.footer-brand p { max-width: 28ch; margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 20px; }
.footer-grid h3 { margin-bottom: 16px; color: var(--bg); font-size: 14px; line-height: 20px; font-weight: 500; }
.footer-grid a { min-height: 28px; display: block; color: var(--muted); font-size: 14px; line-height: 20px; }
.footer-grid a:hover { color: var(--bg); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 16px; }

.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease; }
.motion-ready .reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) { .motion-ready .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 840px) {
  .navlinks { display: none; }
  .nav > .button { display: none; }
  .menu-toggle { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 0 12px 12px; border: 0; background: transparent; color: var(--fg); font: inherit; font-size: 14px; line-height: 20px; font-weight: 500; cursor: pointer; }
  .mobile-menu { position: absolute; top: 72px; right: 0; left: 0; z-index: 2; display: grid; gap: 0; padding: 16px 24px 24px; border-bottom: 1px solid var(--line); background: var(--bg); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a:not(.button) { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); color: var(--fg); font-size: 16px; line-height: 24px; }
  .mobile-menu .button { margin-top: 16px; justify-self: start; }
  .tech-hero-grid { grid-template-columns: 1fr; gap: 0; }
  .tech-hero-copy { padding: 48px 0; }
  .tech-hero-art { min-height: 352px; border-top: 1px solid var(--line); border-left: 0; }
  .tech-hero-art img { min-height: 352px; }
  .solution-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .solution-panel { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .shell { width: min(calc(100% - 40px), var(--max)); }
  .nav { min-height: 64px; }
  .mobile-menu { top: 64px; padding-right: 20px; padding-left: 20px; }
  .tech-hero { padding-top: 48px; }
  .tech-hero-copy { padding: 24px 0 48px; }
  h1 { font-size: clamp(44px, 14vw, 64px); }
  .tech-hero-art, .tech-hero-art img { min-height: 264px; }
  .tech-hero-art figcaption { right: 16px; bottom: 16px; }
  .hero-facts, .section-head, .solution-layout, .portfolio-grid, .process-rail, .footer-grid { grid-template-columns: 1fr; }
  .hero-facts > div, .hero-facts > div + div { min-height: 88px; padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-facts > div:last-child { border-bottom: 0; }
  .section, .final-cta { padding: 72px 0; }
  .section-head { gap: 0; margin-bottom: 32px; }
  .section-head > p { margin-top: 24px; }
  .solution-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-right: 0; border-bottom: 1px solid var(--line); }
  .solution-tab { min-height: 112px; grid-template-columns: 1fr; gap: 4px; padding: 16px 12px; border-right: 1px solid var(--line); border-bottom: 0; }
  .solution-tab:last-child { border-right: 0; }
  .solution-tab span { grid-row: auto; }
  .solution-tab.is-active { border-top: 2px solid var(--accent); border-left: 0; padding-top: 14px; padding-left: 12px; }
  .solution-panel { min-height: 0; padding: 24px 0; }
  .solution-panel h3 { font-size: 28px; line-height: 32px; }
  .project-card, .project-card-featured { min-height: 0; grid-row: auto; }
  .project-card-featured img, .project-card img { min-height: 0; height: 248px; }
  .process-rail article, .process-rail article + article { min-height: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-rail article:last-child { border-bottom: 0; }
  .process-rail h3 { margin-top: 16px; }
  .site-footer { padding-top: 48px; }
  .footer-bottom { grid-column: auto; display: block; }
  .footer-bottom span + span { display: block; margin-top: 8px; }
}
