:root {
  --ink: #030711;
  --deep: #07111f;
  --raised: #0b192b;
  --services: #0a1728;
  --navy: #173a63;
  --navy-active: #24517f;
  --particle: #355d86;
  --text: #edf3fa;
  --muted: #9eadbf;
  --line: #1b3048;
  --error: #e58a8a;
  --success: #9bc6b4;
  --shell: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-height: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img, canvas { display: block; max-width: 100%; }
::selection { background: #254e78; color: #fff; }

.shell { width: min(var(--shell), calc(100% - (var(--gutter) * 2))); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 16px; background: var(--text); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #89b7e5; outline-offset: 4px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; border-bottom: 1px solid transparent; }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; font-weight: 800; letter-spacing: -.035em; }
.brand-detail { color: var(--muted); font-size: .82em; font-weight: 500; letter-spacing: -.02em; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.site-nav a:hover { color: var(--text); }
.menu-button { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 10px; background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 7px; }
.menu-button span[aria-hidden] { width: 20px; height: 1px; background: var(--text); transition: transform .2s ease; }

.hero { min-height: 820px; position: relative; display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.particle-field { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .82; }
.hero-glow { position: absolute; width: 680px; height: 680px; right: -220px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(36, 81, 127, .16), transparent 68%); }
.hero-content { position: relative; z-index: 2; padding-block: 170px 130px; }
.hero h1 { max-width: 930px; margin: 0; font-size: clamp(46px, 7.1vw, 84px); font-weight: 700; line-height: .99; letter-spacing: -.06em; }
.hero h1 span { color: #a9bbce; }
.hero-summary { max-width: 610px; margin: 32px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 20px); line-height: 1.65; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 0 24px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.button-primary { background: var(--navy); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 14px 30px rgba(0,0,0,.28); }
.button-primary:hover { background: var(--navy-active); transform: translateY(-2px); }
.button-primary:active { transform: translateY(0); }
.button-secondary { background: rgba(3, 7, 17, .42); color: #c5d1de; }
.button-secondary:hover { background: var(--deep); border-color: var(--particle); }

section { position: relative; }
.services { padding: 120px 0 20px; overflow: hidden; isolation: isolate; background-color: var(--services); background-image: radial-gradient(circle at 78% 18%, rgba(47, 96, 145, .22), transparent 28rem), radial-gradient(circle at 8% 72%, rgba(25, 68, 108, .18), transparent 32rem), linear-gradient(115deg, rgba(255,255,255,.018), transparent 42%); border-bottom: 1px solid #203b59; }
.services::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .28; background-image: radial-gradient(circle, rgba(126, 164, 201, .3) 1px, transparent 1.5px); background-size: 44px 44px; mask-image: linear-gradient(110deg, transparent 5%, #000 38%, transparent 82%); pointer-events: none; }
.services::after { content: ""; position: absolute; width: 740px; height: 740px; right: -300px; top: 100px; z-index: -1; border: 1px solid rgba(99,133,170,.13); border-radius: 50%; box-shadow: 0 0 0 90px rgba(67, 111, 153, .025), 0 0 0 190px rgba(67, 111, 153, .018); pointer-events: none; }
.services-intro { margin-bottom: 88px; }
.services-intro > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr); gap: clamp(48px, 8vw, 112px); align-items: end; }
.services-intro h2, .about h2, .contact h2 { max-width: 760px; margin: 0; font-size: clamp(36px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.services-intro > div > p { max-width: 560px; margin: 0 0 6px; color: #aebdcd; font-size: 18px; }
.service-list { min-width: 0; border-top: 1px solid rgba(94,136,177,.48); }
.service { position: relative; padding: 56px clamp(0px, 2vw, 24px); border-bottom: 1px solid rgba(94,136,177,.38); }
.service:nth-child(even) { background: linear-gradient(90deg, rgba(35,79,121,.14), rgba(35,79,121,.03) 70%, transparent); }
.service::before { content: ""; position: absolute; top: -1px; left: 0; width: clamp(52px, 8vw, 104px); height: 2px; background: #668eb7; opacity: .72; }
.service > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr); gap: clamp(48px, 8vw, 112px); align-items: start; }
.service h3 { margin: 0; font-size: clamp(34px, 4.1vw, 54px); line-height: 1.04; letter-spacing: -.048em; text-wrap: balance; }
.service div > p { max-width: 620px; margin: 4px 0 0; color: #b5c5d5; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.7; }

.about { padding: 120px 0; background: #050a13; border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .9fr 1.25fr; gap: clamp(60px, 9vw, 120px); }
.about-heading { position: sticky; top: calc(var(--header-height) + 40px); align-self: start; }
.about-lede { margin: 0; color: #b7c5d3; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.65; }
.principles { margin-top: 64px; }
.principles article { display: grid; grid-template-columns: 44px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid rgba(53,93,134,.45); }
.principles article:nth-child(even) { margin-left: 56px; }
.principles span { color: #718aa5; font-size: 12px; letter-spacing: .12em; }
.principles h3 { margin: 0; font-size: 19px; }
.principles p { margin: 8px 0 0; color: var(--muted); }

.contact { padding: 120px 0 130px; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 560px; height: 560px; left: -360px; bottom: 30px; border-radius: 50%; background: radial-gradient(circle, rgba(36,81,127,.14), transparent 68%); }
.contact-heading { margin-bottom: 72px; }
.contact-heading h2 { margin-left: min(28vw, 320px); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 8vw, 96px); align-items: start; }
.service-area { position: sticky; top: calc(var(--header-height) + 40px); }
.area-intro { max-width: 430px; margin: 0; color: var(--muted); font-size: 17px; }
.route { margin: 52px 0; }
.route > div { min-height: 100px; display: grid; grid-template-columns: 18px 1fr; gap: 22px; position: relative; }
.route > div:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 18px; bottom: 0; width: 1px; background: linear-gradient(var(--particle), var(--navy)); }
.route span { width: 11px; height: 11px; margin-top: 7px; border: 2px solid #7898ba; border-radius: 50%; background: var(--ink); z-index: 1; }
.route p { margin: 0; }
.route strong { display: block; font-size: 16px; }
.route small { color: #7f90a5; }
.direct-contact { color: var(--muted); }
.direct-contact a { color: var(--text); text-decoration-color: var(--particle); text-underline-offset: 6px; }
.form-shell { background: var(--deep); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.025); }
form { padding: 34px 30px 30px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 24px; }
.field label, .field legend { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 650; }
.field input[type="text"], .field input[type="email"], .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; background: var(--ink); color: var(--text); padding: 14px 15px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: #7199c2; box-shadow: 0 0 0 3px rgba(113,153,194,.18); }
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.field-hint, .field-error { display: block; margin-top: 7px; font-size: 12px; line-height: 1.5; }
.field-hint { color: #7f90a5; }
.field-error { color: var(--error); }
.choice-field { padding: 0; border: 0; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-row label { margin: 0; }
.choice-row input { position: absolute; opacity: 0; pointer-events: none; }
.choice-row span { min-height: 50px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 9px; background: var(--ink); color: var(--muted); cursor: pointer; }
.choice-row input:checked + span { border-color: #7199c2; background: var(--raised); color: var(--text); box-shadow: inset 0 0 0 1px #7199c2; }
.choice-row input:focus-visible + span { outline: 3px solid #89b7e5; outline-offset: 3px; }
.privacy-note { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 15px; border: 1px solid rgba(53,93,134,.55); border-radius: 9px; background: rgba(11,25,43,.7); }
.privacy-note > span { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #6f8dab; border-radius: 50%; color: #a9bbce; font-size: 11px; font-weight: 700; }
.privacy-note p { margin: 0; color: #97a8ba; font-size: 12px; }
.form-actions { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.form-actions p { max-width: 220px; margin: 0; color: #7f90a5; font-size: 11px; line-height: 1.5; }
.submit-button:disabled { opacity: .65; cursor: wait; transform: none; }
.form-status { display: none; margin-top: 22px; padding: 16px; border-radius: 9px; font-size: 14px; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: rgba(72,124,103,.15); border: 1px solid rgba(155,198,180,.55); color: var(--success); }
.form-status.is-error { background: rgba(165,78,78,.14); border: 1px solid rgba(229,138,138,.55); color: var(--error); }

footer { padding: 36px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; font-size: 12px; }
.footer-inner p { margin: 0; }
.footer-inner p:last-child { text-align: right; }

@media (max-width: 900px) {
  .services-intro > div, .service > div { grid-template-columns: 1fr; gap: 24px; }
  .services-intro > div > p { margin: 0; }
  .contact-heading h2 { margin-left: 0; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-heading, .service-area { position: static; }
  .about-heading { max-width: 660px; }
}

@media (max-width: 700px) {
  :root { --header-height: 72px; }
  .site-header { position: absolute; }
  .menu-button { display: flex; }
  .site-nav { position: fixed; inset: var(--header-height) 0 auto; display: grid; gap: 0; padding: 12px var(--gutter) 24px; background: rgba(3,7,17,.97); border-bottom: 1px solid var(--line); transform: translateY(-140%); opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s ease, visibility .25s; }
  .site-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .site-nav a { min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid rgba(53,93,134,.3); font-size: 16px; }
  .menu-button[aria-expanded="true"] span[aria-hidden]:first-of-type { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span[aria-hidden]:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .hero { min-height: 720px; }
  .hero-content { padding-block: 140px 120px; }
  .hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero h1 br { display: none; }
  .services, .about, .contact { padding-top: 80px; }
  .services { padding-bottom: 60px; }
  .services-intro { margin-bottom: 45px; }
  .service { padding: 44px 0; }
  .service:nth-child(even) { background: transparent; }
  .service h3 { font-size: 36px; }
  .service div > p { font-size: 17px; }
  .about { padding-bottom: 88px; }
  .about-grid { gap: 48px; }
  .principles { margin-top: 42px; }
  .principles article:nth-child(even) { margin-left: 0; }
  .contact { padding-bottom: 90px; }
  .contact-heading { margin-bottom: 48px; }
  .contact-grid { gap: 54px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  form { padding-left: 20px; padding-right: 20px; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .submit-button { width: 100%; }
  .form-actions p { max-width: none; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .footer-inner p:last-child { text-align: left; }
}

@media (max-width: 390px) {
  .brand-detail { display: none; }
  .button-row .button { width: 100%; }
  .choice-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .particle-field { opacity: .42; }
}
