:root {
  color-scheme: light;
  --ink: #111b30;
  --navy: #10192d;
  --muted: #4d5b70;
  --blue: #244ae1;
  --light-blue: #aebfff;
  --paper: #f3f5f9;
  --line: #d8deea;
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.6 "Segoe UI", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 3px solid #6381ff; outline-offset: 4px; }
.wrap { width: min(calc(100% - 96px), var(--wrap)); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 10px 16px; color: white; background: var(--blue); transform: translateY(-150%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1.1; white-space: nowrap; }
.brand img { object-fit: contain; }
.brand strong { display: block; font-size: 17px; letter-spacing: -.025em; }
.brand small { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; letter-spacing: .085em; text-transform: uppercase; font-weight: 650; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(16px, 3vw, 42px); font-size: 14px; font-weight: 650; }
nav a:hover { color: var(--blue); }
.nav-contact { padding: 8px 13px; border: 1px solid var(--line); }
.menu-button { border: 1px solid var(--line); background: white; color: var(--ink); padding: 7px 10px; cursor: pointer; font-weight: 650; font-size: 14px; }
.menu-button span { margin-left: 5px; }

.hero { position: relative; isolation: isolate; background: var(--navy); color: white; overflow: hidden; }
.hero-image, .hero-overlay { position: absolute; inset: 0; height: 100%; width: 100%; }
.hero-image { object-fit: cover; object-position: center 53%; }
.hero-overlay { background: linear-gradient(90deg, #10192d 0%, #10192df7 23%, #10192dbf 49%, #10192d30 78%), linear-gradient(0deg,#10192dd9,transparent 38%); }
.hero-inner { min-height: clamp(545px, 70vh, 710px); position: relative; display: flex; align-items: center; padding-block: 75px 112px; }
.hero-copy { max-width: 870px; }
.eyebrow { margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 11px; align-items: center; color: var(--light-blue); font: 650 11px/1.4 ui-monospace, Consolas, monospace; letter-spacing: .135em; text-transform: uppercase; }
.eyebrow span { width: 20px; height: 1px; background: currentColor; }
.eyebrow i { display: inline-block; width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { line-height: 1.08; letter-spacing: -.05em; }
h1 { margin-bottom: 24px; font-size: clamp(46px, 5.7vw, 86px); font-weight: 720; }
h1 em { color: var(--light-blue); font-style: normal; }
.hero-description { max-width: 470px; margin-bottom: 30px; color: #e1e7f1; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 19px; padding: 13px 16px; border: 1px solid transparent; font-weight: 700; font-size: 14px; transition: background .2s, border-color .2s; }
.button.primary { background: var(--blue); color: #fff; }
.button.primary:hover { background: #3459ee; }
.button.ghost { border-color: #a6b5cd; color: #fff; background: #10192d56; }
.button.ghost:hover { background: #263550; border-color: white; }
.hero-caption { position: absolute; right: 0; bottom: 28px; border-left: 1px solid #aebfff; padding: 4px 0 4px 12px; font-size: 13px; font-weight: 650; }
.hero-caption span,.model figcaption span { display: block; color: var(--light-blue); font: 650 9px/1.4 ui-monospace, Consolas, monospace; letter-spacing: .15em; margin-bottom: 4px; }
.hero-caption b { margin-left: 8px; }
.hero-caption:hover { color: var(--light-blue); }

.discipline-band { background: var(--navy); color: white; border-top: 1px solid #3c4760; }
.discipline-band .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.discipline-band .wrap > span { padding: 15px 20px; border-inline-start: 1px solid #3c4760; font-size: 13px; font-weight: 650; }
.discipline-band .wrap > span:last-child { border-inline-end: 1px solid #3c4760; }
.discipline-band b { font: 650 11px ui-monospace, Consolas, monospace; color: var(--light-blue); margin-right: 9px; }
.section { padding-block: 105px; }
.section-label { color: #2446c4; margin-bottom: 18px; }
h2 { margin-bottom: 22px; font-size: clamp(38px, 5vw, 66px); font-weight: 720; }
h3 { font-size: 23px; letter-spacing: -.035em; margin-bottom: 10px; }
.about { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(30px, 7vw, 102px); }
.about-copy > p:not(.eyebrow) { max-width: 550px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: #2446c4; font-size: 14px; font-weight: 700; border-bottom: 1px solid; padding-bottom: 3px; margin-top: 5px; }
.text-link:hover { color: var(--ink); }
.model { display: grid; margin: 0; min-height: 390px; background-color: #f0f3fa; background-image: linear-gradient(#dbe2f2 1px,transparent 1px), linear-gradient(90deg,#dbe2f2 1px,transparent 1px); background-size: 24px 24px; border: 1px solid var(--line); }
.model img { width: 100%; height: 350px; padding: 21px; object-fit: contain; mix-blend-mode: multiply; }
.model figcaption { padding: 10px 15px; border-top: 1px solid var(--line); background: #f8faff; font-size: 13px; font-weight: 650; }
.model figcaption span { color: #2446c4; }


.organization {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  background-color: var(--paper);
  background-image: linear-gradient(#e4e9f3 1px, transparent 1px), linear-gradient(90deg, #e4e9f3 1px, transparent 1px);
  background-size: 24px 24px;
  padding: clamp(22px, 4.5vw, 54px) clamp(10px, 3.5vw, 46px);
}
.organization-heading { text-align: center; margin-bottom: 24px; }
.organization-heading .eyebrow { justify-content: center; margin-bottom: 10px; }
.organization-heading h3 { margin: 0; font-size: clamp(28px, 4vw, 44px); }
.org-chart {
  --connector: #8297c3;
  --chart-gap: 26px;
  display: grid;
  justify-items: center;
  gap: var(--chart-gap);
  max-width: 740px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.org-card {
  position: relative;
  width: min(100%, 440px);
  border: 1px solid var(--line);
  background: white;
  padding: 12px clamp(5px, 2vw, 22px);
  text-align: center;
}
.org-card h4 { color: #2446c4; font-size: 14px; line-height: 1.25; margin: 0 0 5px; overflow-wrap: anywhere; }
.org-card p, .org-card ul { color: var(--muted); font-size: 14px; margin: 0; overflow-wrap: anywhere; }
.org-lead { max-width: 300px; border-top: 2px solid var(--blue); }
.org-team ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px 14px;
  padding: 0;
  list-style: none;
}
.org-team li { max-width: 100%; }
.org-branch {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.org-branch > .org-card { width: calc(100% - clamp(8px, 4vw, 30px)); justify-self: center; }
.org-chart > .org-card:nth-child(2)::before,
.org-chart > .org-card:last-child::before {
  content: "";
  position: absolute;
  left: calc(50% - .5px);
  bottom: 100%;
  width: 1px;
  height: calc(var(--chart-gap) + 2px);
  background: var(--connector);
}
.org-branch::before, .org-branch::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  height: var(--chart-gap);
  --stroke: linear-gradient(var(--connector), var(--connector));
  background-image: var(--stroke), var(--stroke), var(--stroke), var(--stroke);
  background-repeat: no-repeat;
  background-size: 100% 1px, 1px 50%, 1px 50%, 1px 50%;
}
.org-branch::before { bottom: 100%; background-position: center, center top, left bottom, right bottom; }
.org-branch::after { top: 100%; background-position: center, center bottom, left top, right top; }

.services { background: var(--paper); border-block: 1px solid var(--line); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 34px; }
.section-intro > * { margin-bottom: 0; }
.section-intro p { color: var(--muted); max-width: 360px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-grid article { position: relative; background: white; padding: 27px 23px 26px; }
.service-number { position: absolute; right: 20px; top: 21px; font: 600 12px ui-monospace, Consolas, monospace; color: #57667e; }
.service-grid svg { width: 35px; height: 35px; margin-bottom: 15px; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.service-grid p,.project-info > p:not(.project-type) { color: var(--muted); font-size: 14px; margin-bottom: 0; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 8px 13px; font-weight: 650; font-size: 13px; cursor: pointer; }
.filters button:hover { border-color: var(--blue); }
.filters button[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.project { display: flex; flex-direction: column; border: 1px solid var(--line); overflow: hidden; }
.project:target { outline: 2px solid var(--blue); outline-offset: 3px; }
.project > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--paper); }
.project:nth-child(6) > img { object-position: center 32%; }
.project-info { flex: 1; display: flex; flex-direction: column; align-items: start; padding: 18px; }
.project-type { width: 100%; display: flex; flex-wrap: wrap; gap: 3px 10px; justify-content: space-between; margin-bottom: 12px; color: #2446c4; font: 650 10px/1.4 ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .045em; }
.project-type span { color: var(--muted); }
.project-facts { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 18px; margin-top: auto; }
.project-facts span { color: #34445d; background: var(--paper); padding: 3px 7px; font-size: 11px; font-weight: 650; }
.portfolio-note { margin: 20px 0 0; color: var(--muted); font-size: 12px; }

.contact { color: #fff; background-color: var(--navy); background-image: linear-gradient(120deg,#10192d 40%,#18274bda),linear-gradient(#7589c5 1px,transparent 1px),linear-gradient(90deg,#7589c5 1px,transparent 1px); background-size: auto,32px 32px,32px 32px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 7vw, 100px); align-items: start; }
.contact-grid > div > p:not(.eyebrow) { color: #e0e7f6; max-width: 380px; margin-bottom: 22px; }
address { border-top: 1px solid #526383; font-style: normal; }
address > div { border-bottom: 1px solid #526383; padding: 14px 0; }
address strong { color: var(--light-blue); font: 650 11px/1.4 ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .12em; }
address p { margin: 5px 0 0; overflow-wrap: anywhere; }
address a:hover { text-decoration: underline; }
.contact-map { display: inline-block; font-size: 13px; margin-top: 5px; color: var(--light-blue); }
.separator { color: var(--light-blue); margin-inline: 3px; }
.site-footer { background: #0b1325; color: #fff; border-top: 1px solid #394661; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 21px; }
.footer-inner p { font-size: 12px; margin: 2px 0 0; color: #b9c6df; }
.footer-inner a { white-space: nowrap; font-size: 13px; color: var(--light-blue); }
.footer-inner a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 60px); }
  .section { padding-block: 80px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about h2 br { display: none; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 90px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 65px; flex-wrap: wrap; gap: 8px; }
  nav { width: 100%; padding-bottom: 11px; }
  nav.compact { display: none; position: absolute; top: 100%; left: 0; padding: 12px 18px 16px; border-bottom: 1px solid var(--line); background: white; }
  nav.compact.open { display: flex; justify-content: space-between; }
  .hero-image { object-position: 64% center; }
  .hero-overlay { background: linear-gradient(90deg,#10192df0 2%,#10192dad 85%),linear-gradient(0deg,#10192dd9,transparent 50%); }
  .hero-inner { min-height: 565px; padding-block: 57px 103px; }
  h1 { font-size: clamp(39px, 9.5vw, 62px); }
  .hero-description { font-size: 15px; }
  .hero-caption { bottom: 19px; left: 0; right: auto; }
  .discipline-band .wrap { width: 100%; }
  .discipline-band .wrap > span { padding: 10px 7px; font-size: 11px; }
  .discipline-band b { display: block; margin-bottom: 3px; }
  .section { padding-block: 61px; }
  .about,.contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .model { min-height: 0; }
  .model img { height: 295px; }
  .section-intro { display: grid; gap: 12px; margin-bottom: 24px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-grid article { padding: 20px 13px; }
  .service-number { right: 13px; top: 15px; }
  .service-grid h3 { font-size: 19px; overflow-wrap: anywhere; }
  .project-grid { gap: 13px; }
}
@media (max-width: 490px) {
  .project-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
