:root {
  color-scheme: light;
  --paper: #f9fbfd;
  --white: #fff;
  --ink: #152338;
  --navy: #101c32;
  --night: #0b1425;
  --muted: #4b5e72;
  --line: #dbe4ee;
  --accent: #a5cfff;
  --gutter: clamp(1.15rem, 4.5vw, 3rem);
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.55;
  color: var(--ink);
  background: var(--night);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; background: var(--paper); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 3px solid #3978c2; outline-offset: 4px; }
img { display: block; max-width: 100%; }
svg { flex: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.1; }
h1, h2 { letter-spacing: -.046em; }
.wrap { width: min(76rem, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 5; top: .75rem; left: .75rem; transform: translateY(-180%);
  padding: .75rem 1rem; background: var(--white); color: var(--ink);
}
.skip-link:focus { transform: none; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 4.7rem; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem 1.4rem; padding-block: .65rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem; width: fit-content;
  font-size: .98rem; font-weight: 750; letter-spacing: .23em; text-decoration: none;
}
.nav { display: flex; align-items: center; gap: .15rem clamp(.45rem, 2vw, 1.6rem); flex-wrap: wrap; }
.nav a { font-size: .9rem; font-weight: 600; padding: .65rem .12rem; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav .nav-contact { border: 1px solid #becddd; padding-inline: 1rem; border-radius: .38rem; }
.menu-toggle {
  border: 1px solid #becddd; border-radius: .38rem; background: var(--white); color: var(--ink);
  font: inherit; font-weight: 600; display: inline-flex; align-items: center;
  gap: .4rem; padding: .48rem .72rem; cursor: pointer;
}
.hero { background: radial-gradient(ellipse at 95% 18%, #1d3757, var(--navy) 62%); color: var(--white); }
.hero-grid {
  min-height: 34rem; display: grid; grid-template-columns: 1fr 1.04fr; align-items: center;
  gap: clamp(2rem, 5.3vw, 5.4rem); padding-block: clamp(3rem, 7vw, 6.1rem);
}
.hero-copy, .hero-media { min-width: 0; }
.hero h1 { font-size: clamp(2.7rem, 5vw, 4.55rem); line-height: 1.02; font-weight: 720; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-text { max-width: 31rem; color: #d5e1ef; margin: 1.35rem 0 1.7rem; font-size: clamp(1.05rem, 1.7vw, 1.22rem); }
.hero-media {
  position: relative; margin: 0; padding: .48rem; overflow: hidden; border: 1px solid #5e7594;
  border-radius: .6rem; background: #192e49; box-shadow: 0 22px 60px #050d1980;
}
.hero-media img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: .3rem; }
.hero-media figcaption { padding: .32rem .3rem .12rem; color: #d5e1ef; font-size: .8125rem; text-align: right; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: .55rem; max-width: 100%;
  padding: .75rem 1.05rem; min-height: 2.85rem; border: 1px solid transparent;
  border-radius: .38rem; text-align: center; text-decoration: none;
  font-weight: 700; transition: background-color .18s ease, border-color .18s ease;
}
.button-light { background: #edf5ff; color: #142945; }
.button-light:hover { background: #c9e2ff; }
.button-outline { color: var(--white); border-color: #a3b6cf; }
.button-outline:hover { background: #2d4564; }
.button-dark { background: #183252; color: var(--white); }
.button-dark:hover { background: #244a77; }
.hero :focus-visible, .contact :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
.section { padding-block: clamp(3.15rem, 6.5vw, 6.3rem); }
.section h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); font-weight: 720; }
.split { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); gap: 1.35rem clamp(2rem, 7vw, 7rem); }
.intro-copy { color: var(--muted); font-size: clamp(1.06rem, 1.6vw, 1.22rem); max-width: 40rem; }
.intro-copy p + p { margin-top: .75rem; }
.section-tint { background: #eef3f8; border-block: 1px solid #e2eaf1; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; margin-top: 1.65rem; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: .55rem; padding: 1.25rem; }
.icon-tile {
  display: grid; place-items: center; width: 2.65rem; height: 2.65rem; background: #edf4fc;
  color: #2b517b; border-radius: .38rem; margin-bottom: 1.15rem;
}
.service h3 { font-size: 1.16rem; letter-spacing: -.018em; }
.service p { margin-top: .65rem; color: var(--muted); }
.section-caption { margin-top: .8rem; color: var(--muted); max-width: 32rem; }
.registry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.4rem; }
.registry > div { padding: .95rem 0; border-top: 1px solid var(--line); }
.registry-wide { grid-column: 1 / -1; }
.registry dt { color: var(--muted); font-size: .9rem; margin-bottom: .25rem; }
.registry dd { font-weight: 620; }
.contact { background: #142540; color: var(--white); }
.contact .section-caption { color: #c9d7ea; }
.contact-list { font-style: normal; min-width: 0; }
.contact-row { display: flex; gap: .75rem; padding: .85rem 0; border-top: 1px solid #405673; }
.contact-row svg { margin-top: .1rem; color: var(--accent); }
.contact-row strong { display: block; font-size: .88rem; color: #c9d7ea; margin-bottom: .2rem; }
.contact-row a, .site-footer a, .document a { overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .75rem; }
.site-footer { background: var(--night); color: #dce6f4; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 1.25rem 2.4rem; padding-block: 2.25rem; font-size: .9rem; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: .28rem; }
.footer-grid .brand { margin-bottom: .4rem; }
.footer-grid small { font-size: .85rem; }
.document { max-width: 47rem; }
.document h1 { font-size: clamp(2.55rem, 6vw, 4.75rem); margin-bottom: 1rem; }
.document-lead { font-size: 1.15rem; color: var(--muted); }
.document section { margin-top: 2.1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.document section h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin-bottom: .6rem; }
.document section p + p { margin-top: .72rem; }
.document section a { color: #24578c; }
.error-code { font-weight: 700; color: #365d86; margin-bottom: .75rem; }
.missing { min-height: 45vh; }
.missing .button { margin-top: 1.2rem; }
@media (max-width: 900px) {
  .nav:not(.secondary-nav) { width: 100%; border-top: 1px solid var(--line); padding-top: .5rem; }
  .hero-grid { min-height: 0; gap: 1.8rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .header-inner { min-height: 4rem; }
  .nav:not(.secondary-nav) { flex-direction: column; align-items: stretch; gap: 0; }
  .nav:not(.secondary-nav) .nav-contact { border: 0; padding-inline: .12rem; }
  .hero-grid, .split, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-block: 2.8rem 2.4rem; }
  .hero h1 { font-size: clamp(2.5rem, 10vw, 3.85rem); }
}
@media (max-width: 400px) {
  .service-grid, .registry { grid-template-columns: minmax(0, 1fr); }
  .secondary-nav { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
