:root {
  --navy: #071d49;
  --blue: #1766ff;
  --cream: #f7faff;
  --ink: #071d49;
  --body: #46546d;
  --line: #dbe1eb;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: #d8d9db; border-bottom: 1px solid rgba(7,29,73,.17); box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 12px 32px -24px rgba(7,29,73,.72); }
.header-inner { min-height: 99px; display: grid; grid-template-columns: 176px 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; width: 176px; height: 99px; overflow: hidden; }
.brand img { width: 176px; height: 99px; object-fit: contain; object-position: center; flex: none; mix-blend-mode: darken; }
.nav { display: flex; justify-content: center; gap: 2px; padding: 0 6px; border-inline: 1px solid rgba(7,29,73,.12); font-size: 15px; font-weight: 650; letter-spacing: .01em; }
.nav a { position: relative; min-height: 44px; padding: 0 13px; display: inline-flex; align-items: center; }
.nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--blue); opacity: 0; transform: translateY(3px); transition: opacity .2s ease, transform .2s ease; }
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="page"]::after { opacity: 1; transform: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.button { min-height: 48px; padding: 0 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: white; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--blue); }
.site-header .button { border: 1px solid rgba(255,255,255,.25); background: linear-gradient(135deg,#071d49,#0c2b68); box-shadow: 0 10px 22px -14px rgba(7,29,73,.9); }
.button.light { background: white; color: var(--navy); }
.page-hero { position: relative; overflow: hidden; padding: 110px 0 96px; background: var(--navy); color: white; }
.page-hero::after { content: ""; position: absolute; width: 500px; height: 240px; right: -100px; bottom: -155px; border: 2px solid rgba(69,137,255,.55); border-radius: 50%; transform: rotate(-9deg); }
.eyebrow { margin: 0 0 22px; color: #72a4ff; font-size: 12px; line-height: 1; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: "Inter Tight", Arial, sans-serif; letter-spacing: -.035em; }
h1 { max-width: 850px; margin-bottom: 28px; font-size: clamp(52px, 7vw, 92px); line-height: .94; font-weight: 600; }
.hero-copy { max-width: 650px; margin: 0; color: rgba(255,255,255,.72); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.section { padding: 96px 0; }
.section.white { background: white; }
.section.navy { background: var(--navy); color: white; }
.intro-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: 80px; align-items: start; }
.intro-grid h2 { margin-bottom: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1; }
.lead { margin: 0; color: var(--body); font-size: 19px; line-height: 1.75; }
.service-list { border-top: 1px solid var(--line); }
.service { scroll-margin-top: 110px; display: grid; grid-template-columns: 70px .75fr 1.25fr; gap: 32px; padding: 55px 0; border-bottom: 1px solid var(--line); }
.index { padding-top: 7px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.service h2 { margin-bottom: 12px; font-size: clamp(30px, 4vw, 46px); }
.service p { margin: 0; color: var(--body); line-height: 1.7; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.tag { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: white; font-size: 13px; font-weight: 700; }
.pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillar { min-height: 290px; padding: 42px; background: white; }
.pillar .index { display: block; margin-bottom: 70px; }
.pillar h2 { margin-bottom: 15px; font-size: 38px; }
.pillar p { margin: 0; color: var(--body); line-height: 1.65; }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.tech { padding: 28px; border: 1px solid rgba(255,255,255,.18); }
.tech h3 { margin-bottom: 12px; font-size: 24px; }
.tech p { margin: 0; color: rgba(255,255,255,.66); line-height: 1.6; }
.team-group + .team-group { margin-top: 76px; }
.group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.group-head h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); }
.group-head span { color: var(--body); font-size: 13px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 20px; margin-top: 30px; }
.portrait { aspect-ratio: 4 / 4.65; overflow: hidden; background: #e9edf3; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.86); transition: transform .45s ease, filter .45s ease; }
.team-card:hover img { transform: scale(1.025); filter: saturate(1); }
.team-card h3 { margin: 18px 0 7px; font-size: 24px; }
.team-card p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.55; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta h2 { max-width: 720px; margin: 0; font-size: clamp(40px, 6vw, 72px); line-height: .98; }
.site-footer { padding: 55px 0; background: #041330; color: white; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.footer-brand img { width: 150px; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { max-width: 450px; margin: 20px 0 0; color: rgba(255,255,255,.53); line-height: 1.6; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; color: rgba(255,255,255,.7); font-size: 13px; }
.staging-note { margin-top: 28px; color: var(--body); font-size: 12px; }

@media (max-width: 800px) {
  .container { width: min(100% - 30px, 1180px); }
  .header-inner { min-height: 76px; grid-template-columns: 1fr auto; }
  .brand { width: 128px; height: 72px; }
  .brand img { width: 128px; height: 72px; }
  .nav { display: none; }
  .header-inner .button { min-height: 44px; padding-inline: 18px; font-size: 13px; }
  .page-hero { padding: 78px 0 70px; }
  h1 { font-size: clamp(48px, 16vw, 70px); }
  .section { padding: 70px 0; }
  .intro-grid, .service, .cta, .footer-grid { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
  .intro-grid { gap: 30px; }
  .service { gap: 12px; padding: 42px 0; }
  .pillar-grid, .tech-grid { grid-template-columns: 1fr; }
  .pillar { min-height: 0; padding: 30px; }
  .pillar .index { margin-bottom: 42px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 500px) {
  .team-grid { grid-template-columns: 1fr; }
  .group-head { align-items: flex-end; }
}

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


.header-actions { display: flex; align-items: center; gap: 10px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; border-radius: 999px; background: white; color: var(--navy); }
.skip-link:focus { top: 1rem; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--navy); cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }
.mobile-menu { display: none; border-top: 1px solid rgba(7,29,73,.14); background: #d8d9db; padding: 12px 20px 18px; }
.mobile-menu.is-open { display: grid; }
.mobile-menu a { min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid #edf0f5; font-size: 15px; font-weight: 600; }
@media (max-width: 800px) {
  .menu-toggle { display: inline-flex; }
  .header-inner > .button, .header-actions .button { display: none; }
}
