@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/jetbrains-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #091b33;
  --text: #4a5a70;
  --blue: #3c78c0;
  --deep-blue: #25599c;
  --paper: #fff;
  --surface: #f1f2f5;
  --line: #e0e4eb;
  --strong-line: #bcc6d4;
  --gutter: clamp(20px, 4.444vw, 64px);
  --section: clamp(68px, 10vw, 144px);
  --nav-height: 84px;
  --mono: "JetBrains Mono", "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { color: var(--ink); scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); font: 16px/1.55 "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--deep-blue); outline-offset: 4px; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; }
ul, ol { padding: 0; margin: 0; list-style: none; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 24px; }
.container { width: min(100% - 2 * var(--gutter), 1312px); margin-inline: auto; }
.section { padding-block: var(--section); }
.eyebrow { color: var(--deep-blue); font: 400 12px/1.4 var(--mono); }
.skip-link, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { top: 12px; left: 12px; z-index: 5; width: auto; height: auto; clip-path: none; background: var(--paper); padding: 10px 16px; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 23px; border: 1px solid transparent; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 500; line-height: 1.25; text-decoration: none; }
.button:hover { background: #183556; }
.button.secondary { color: var(--ink); background: var(--paper); border-color: var(--strong-line); }
.button.secondary:hover, .button.light:hover { background: #eaf1f9; }
.button.light { color: var(--ink); background: var(--paper); }
.button.outline { color: var(--paper); background: #0d2589a6; border-color: #ffffffae; }
.button.outline:hover { background: #0d2589; }
.button:focus-visible { outline-offset: 3px; }

.site-header { position: relative; z-index: 2; border-bottom: 1px solid #091b3314; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; min-height: calc(var(--nav-height) - 1px); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; justify-self: start; width: fit-content; font-size: 22px; font-weight: 600; letter-spacing: -.035em; line-height: 1; text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 36px); }
.site-nav a { display: block; padding-block: 10px; text-decoration: none; font-size: 15px; }
.site-nav a:hover { color: var(--deep-blue); }
.header-cta { min-height: 42px; padding: 10px 16px; margin-left: auto; font-size: 14px; }
.nav-toggle { display: none; }

.hero { position: relative; isolation: isolate; }
.hero-field { position: absolute; inset: calc(-1 * var(--nav-height)) 0 0; z-index: -1; background: #f5f8fa; }
.hero-field img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-body { display: flex; flex-direction: column; gap: clamp(20px, 2.22vw, 32px); padding-block: clamp(84px, 8.89vw, 128px); }
.hero-eyebrow { width: fit-content; padding: 8px 14px; background: #ffffffb8; border: 1px solid #091b331a; border-radius: 100px; }
h1 { max-width: 900px; font-size: clamp(46px, 6.4vw, 92px); line-height: 1; letter-spacing: -.02em; }
h1 em { color: var(--blue); font-style: normal; }
.hero-intro { max-width: 570px; color: #33435a; font-size: clamp(18px, 1.39vw, 20px); line-height: 1.5; }
.hero-body .button-row { padding-top: 8px; }
.capabilities { background: #ffffffc7; border-block: 1px solid #091b331a; }
.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 154px; }
.capability-grid li { display: grid; align-content: center; gap: 6px; padding: 26px 30px; border-left: 1px solid #091b331a; }
.capability-grid li:first-child { border-left: 0; padding-left: 0; }
.capability-grid li:last-child { padding-right: 0; }
.capability-grid h2 { font-size: 17px; line-height: 1.3; }
.capability-grid p { color: var(--text); font-size: 14px; line-height: 1.5; }
.sector-strip { border-bottom: 1px solid var(--line); }
.sector-inner { display: flex; align-items: center; justify-content: space-between; min-height: 97px; gap: 24px; }
.sector-inner ul { display: flex; flex-wrap: wrap; gap: 8px clamp(18px, 3.4vw, 48px); font-size: clamp(14px, 1.25vw, 18px); }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: clamp(34px, 5vw, 72px); }
.section-heading > p { max-width: 400px; color: var(--text); font-size: 17px; }
.section h2 { font-size: clamp(38px, 4.167vw, 60px); line-height: 1.03; letter-spacing: -.048em; }
.section-heading h2 { max-width: 720px; margin-top: 22px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.service { min-height: 244px; padding: 38px; border-right: 1px solid var(--line); }
.service:nth-child(3n) { border-right: 0; }
.service:nth-child(3n + 1) { padding-left: 0; }
.service:nth-child(n + 4) { border-top: 1px solid var(--line); }
.service svg { width: 44px; height: 44px; margin-bottom: 22px; }
.service h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.025em; }
.service p { margin-top: 12px; color: var(--text); }

.method { background: var(--surface); }
.method-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.method-tile { grid-column: span 5; position: relative; display: flex; flex-direction: column; min-height: 400px; justify-content: space-between; gap: 16px; padding: 30px; border-radius: 16px; background: var(--paper); }
.method-tile:first-child, .method-tile:last-child { grid-column: span 7; }
.step-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--text); font-size: 13px; }
.method-tile img { align-self: center; width: auto; height: min(190px, 27vw); object-fit: contain; }
.method-tile h3 { font-size: 28px; line-height: 1.1; letter-spacing: -.032em; }
.method-tile p { color: var(--text); margin-top: 10px; font-size: 15px; }
@media (min-width: 1050px) {
  .method-tile:first-child { padding: 36px; }
  .method-tile:first-child img { position: absolute; right: 5%; top: 15%; width: 52%; height: auto; }
  .method-tile:first-child .step-copy { max-width: 45%; }
  .method-tile:first-child .step-meta { justify-content: start; }
}

.work-heading { align-items: end; }
.work-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 10px; background: var(--surface); }
.work-filters button { min-height: 40px; padding: 7px 14px; border: 0; border-radius: 7px; background: transparent; font-size: 14px; }
.work-filters button[aria-pressed="true"] { background: var(--paper); box-shadow: 0 1px 3px #091b331a; font-weight: 600; }
.project-list { display: grid; gap: clamp(44px, 5.5vw, 80px); }
.project { display: grid; grid-template-columns: 58fr 37fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.project:nth-child(even) { grid-template-columns: 37fr 58fr; }
.project:nth-child(even) .project-scene { order: 1; }
.project-scene { position: relative; display: grid; place-items: center; aspect-ratio: 760 / 560; border-radius: 24px; background: var(--surface); }
.project-scene img { width: min(68%, 440px); height: 75%; object-fit: contain; }
.project-scene .dispatch { width: min(58%, 360px); }
.project-label { position: absolute; left: clamp(14px, 2vw, 25px); top: clamp(14px, 2vw, 25px); padding: 7px 14px; border-radius: 99px; background: var(--paper); font-size: 13px; font-weight: 500; }
.project-copy h3 { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.12; letter-spacing: -.04em; margin-block: 15px; }
.project-copy p { color: var(--text); }
.project-copy .eyebrow { color: var(--deep-blue); }
.project-scope { margin-block: 22px 0; }
.project-scope div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 10px; min-height: 58px; padding-block: 10px; border-top: 1px solid var(--line); }
.project-scope div:last-child { border-bottom: 1px solid var(--line); }
.project-scope dt { font-size: clamp(17px, 1.66vw, 24px); font-weight: 500; letter-spacing: -.025em; }
.project-scope dd { margin: 0; text-align: right; color: var(--text); font-size: 13px; }
.project-expand summary { padding-block: 15px; }
.project-expand p { padding-bottom: 12px; }

.faq { display: grid; grid-template-columns: 440fr 808fr; gap: clamp(32px, 4.444vw, 64px); border-top: 1px solid var(--line); }
.faq h2 { margin-block: 22px 16px; }
.faq > div:first-child > p:last-child { max-width: 330px; color: var(--text); font-size: 17px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"/""; flex: none; color: var(--text); font-size: 22px; font-weight: 400; line-height: 1; }
details[open] > summary::after { content: "−"/""; }
.faq-list summary { min-height: 80px; padding-block: 18px; font-size: 21px; }
.faq-list details p { max-width: 650px; color: var(--text); padding: 0 24px 24px 0; }

.contact { padding-bottom: var(--gutter); }
.contact-panel { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 60px; min-height: 600px; padding: clamp(30px, 5vw, 72px); border-radius: 24px; background: #1f3fc8; color: var(--paper); }
.contact-field, .contact-field::after { position: absolute; inset: 0; }
.contact-field { z-index: -1; overflow: hidden; border-radius: inherit; }
.contact-field img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.contact-field::after { content: ""; background: linear-gradient(90deg, #122cc4f5 0%, #122cc4d1 34%, #122cc420 75%); }
.contact-panel .eyebrow { color: #eaf1f9; }
.contact-panel h2 { margin-top: 26px; font-size: clamp(56px, 7.78vw, 112px); letter-spacing: -.055em; line-height: .94; }
.contact-bottom { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.contact-bottom p { max-width: 420px; font-size: clamp(17px, 1.32vw, 19px); }
.contact-panel .button { border-radius: 99px; }
.contact-panel :focus-visible { outline-color: #fff; }
.brief { margin-top: 20px; padding: 0 clamp(18px, 3vw, 40px); border: 1px solid var(--line); border-radius: 14px; }
.brief > summary { min-height: 65px; font-size: 19px; }
.brief > p, .brief noscript p { color: var(--text); margin-bottom: 18px; }
.brief-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 16px; }
.brief-fields label { display: grid; gap: 6px; }
.brief-wide { grid-column: 1 / -1; }
.brief-fields input, .brief-fields select, .brief-fields textarea { min-height: 44px; width: 100%; padding: 8px 12px; border: 1px solid var(--strong-line); border-radius: 8px; background: var(--paper); }
.brief-fields textarea { resize: vertical; }
.form-feedback { color: var(--text); margin-block: 12px 20px; }

.site-footer { border-top: 1px solid var(--line); padding-top: 52px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 30px; padding-bottom: 50px; }
.footer-grid p { color: var(--text); margin-top: 14px; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-grid h2 { font-size: 15px; margin-bottom: 6px; }
.footer-grid nav a, .footer-base { color: var(--text); font-size: 14px; }
.footer-grid nav a, .footer-base a { text-decoration: none; overflow-wrap: anywhere; }
.footer-grid nav a:hover, .footer-base a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; padding-block: 20px; border-top: 1px solid var(--line); }
.error-page { min-height: 100vh; display: grid; align-content: center; justify-items: start; gap: 24px; padding-block: 40px; }

@media (max-width: 920px) {
  :root { --nav-height: 70px; }
  .header-inner { grid-template-columns: 1fr auto; gap: 0; }
  .header-cta { display: none; }
  .nav-toggle { display: block; min-width: 62px; min-height: 42px; background: var(--paper); border: 1px solid var(--strong-line); border-radius: 8px; }
  .site-nav { grid-column: 1 / -1; flex-wrap: wrap; padding: 12px 0 18px; }
  .nav-toggle[aria-expanded="false"]:not([hidden]) + .site-nav { display: none; }
  .nav-toggle[aria-expanded="true"] + .site-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-toggle[aria-expanded="true"] + .site-nav a { border-top: 1px solid var(--line); }
  .hero-body { padding-block: 94px; }
  .hero-field img { object-position: 58% center; }
  .capability-grid li { padding-inline: 18px; }
  .section-heading { display: grid; }
  .section-heading > p { max-width: 550px; }
  .method-tile, .method-tile:first-child, .method-tile:last-child { grid-column: span 6; min-height: 342px; }
  .contact-panel { min-height: 480px; }
}

@media (max-width: 680px) {
  .hero-body { padding-block: 64px; }
  .hero-field img { object-position: 68% center; }
  .hero-field::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, #ffffffb8, #ffffff20); }
  h1 { max-width: 540px; font-size: clamp(40px, 10.7vw, 62px); letter-spacing: -.045em; }
  .hero-break { display: none; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-grid li { align-content: start; padding: 18px 12px; }
  .capability-grid li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .capability-grid li:nth-child(n + 3) { border-top: 1px solid #091b331a; }
  .sector-inner { display: grid; gap: 12px; padding-block: 22px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service, .service:nth-child(3n + 1) { padding: 20px 10px; min-height: 190px; }
  .service:nth-child(3n) { border-right: 1px solid var(--line); }
  .service:nth-child(even) { border-right: 0; }
  .service:nth-child(odd) { padding-left: 0; }
  .service:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .service svg { width: 36px; height: 36px; margin-bottom: 11px; }
  .service h3 { font-size: 19px; }
  .service p { font-size: 14px; }
  .method-tile, .method-tile:first-child, .method-tile:last-child { grid-column: span 12; min-height: 292px; padding: 24px; }
  .method-tile img { height: 126px; }
  .project, .project:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .project:nth-child(even) .project-scene { order: 0; }
  .project-scene { border-radius: 16px; }
  .project-copy h3 { margin-top: 8px; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq-list summary { font-size: 18px; min-height: 66px; }
  .contact-panel { min-height: 470px; border-radius: 16px; }
  .contact-field::after { background: linear-gradient(110deg, #122cc4ed, #0d258998); }
  .contact-bottom { display: grid; }
  .brief-fields { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-base { align-items: start; flex-wrap: wrap; }
}

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

