*, *::before, *::after { box-sizing: border-box; }
:root {
  color-scheme: dark;
  --bg: #080c14;
  --surface: #101825;
  --text: #f3f6fc;
  --body: #c4cfdf;
  --muted: #a9b8cb;
  --accent: #96c9ff;
  --line: #303c50;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--font); }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
h3 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.025em; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { color: #d9ebff; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a5d8ff; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(88%, 74rem); margin-inline: auto; }
.skip-link { position: fixed; top: .5rem; left: 1rem; z-index: 20; padding: .5rem 1rem; background: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #242d3b; background: #090e17; }
.nav-inner, .nav-logo, .nav-links { display: flex; align-items: center; }
.nav-inner { position: relative; min-height: 4.5rem; gap: clamp(1rem, 3vw, 3rem); }
.nav-logo { gap: .55rem; color: var(--text); font-size: 1.125rem; font-weight: 700; letter-spacing: -.035em; text-decoration: none; }
.nav-logo img { display: block; width: 2.65rem; height: 2.4rem; object-fit: cover; }
.brand-light { font-weight: 500; }
.nav-links { list-style: none; padding: 0; margin-left: auto; gap: clamp(1rem, 2vw, 2rem); }
.nav-links a, .nav-cta { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--body); font-size: .9375rem; font-weight: 600; text-decoration: none; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .4rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.nav-links a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.nav-cta { color: var(--text); border: 1px solid #61748f; border-radius: .55rem; padding: .45rem 1rem; }
.nav-cta:hover { background: #192436; }
.nav-ham { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 44px; min-height: 44px; background: transparent; border: 0; }
.nav-ham span { width: 22px; height: 2px; background: var(--text); }
.nav-ham[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.nav-ham[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-ham[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

#hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 78% 55%, #142339 0, #0d1522 30%, var(--bg) 68%); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 1rem; padding-block: clamp(4rem, 7vw, 7rem); }
.eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; font-size: .875rem; line-height: 1.4; font-weight: 600; color: var(--accent); }
.eyebrow::before { content: ""; height: 2px; width: 1.8rem; flex: none; background: #69acff; }
.hero-title { font-size: clamp(3rem, 6.45vw, 6.25rem); line-height: 1.03; font-weight: 600; letter-spacing: -.055em; }
.hero-title span { color: var(--accent); }
.hero-sub { max-width: 48ch; margin-top: 1.5rem; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.65; color: var(--body); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.6rem; margin-top: 1.8rem; }
.btn-primary, .text-link, .service-arrow { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }
.btn-primary { justify-content: center; border: 1px solid transparent; border-radius: .55rem; padding: .7rem 1.2rem; font-size: 1rem; line-height: 1.35; background: #a1d2ff; color: #071626; text-decoration: none; }
.btn-primary:hover { background: #c1e1ff; color: #071626; }
.text-link, .service-arrow { font-size: 1rem; text-decoration-thickness: 1px; }
.hero-art { position: relative; isolation: isolate; display: grid; place-items: center; width: 100%; aspect-ratio: 1.14; }
.hero-art::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(circle at center, transparent 37%, #7599c326 37.2%, transparent 37.6%),
    radial-gradient(circle at center, transparent 57%, #7599c31c 57.2%, transparent 57.6%),
    radial-gradient(ellipse at center, #1a447166, transparent 68%);
}
.hero-storm { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-storm::before, .hero-storm::after { content: ""; position: absolute; width: 49%; aspect-ratio: 420/490; background: url("/img/storm-bolt.webp") center/contain no-repeat; opacity: .22; }
.hero-storm::before { left: 1%; top: 0; }
.hero-storm::after { right: 0; bottom: 1%; transform: rotate(181deg); }
.hero-logo-mark { display: block; width: 70%; height: auto; aspect-ratio: 1.55; object-fit: cover; }

.section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.section-title { max-width: 25ch; font-size: clamp(2.2rem, 3.9vw, 3.75rem); line-height: 1.1; letter-spacing: -.045em; font-weight: 600; }
.pillars, .services-grid { display: grid; margin-top: 2.4rem; gap: 1.3rem; }
.pillars { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.pillar { padding: 1.35rem .6rem 0 0; border-top: 1px solid #4b6687; }
.pillar p, .service-card p, .report-layout > p, .briefing-intro > p:not(.eyebrow) { color: var(--body); max-width: 58ch; }
.pillar p, .service-card p { margin-top: .65rem; }
.band { background: #0d131e; border-block: 1px solid #273144; }
.services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; border: 1px solid var(--line); border-radius: .85rem; padding: clamp(1.3rem, 3vw, 2.2rem); background: var(--surface); }
.service-card:focus-within { border-color: #6b91ba; }
.service-card p { max-width: 50ch; margin-bottom: 1rem; }
.service-arrow { margin-top: auto; }
.report-section { padding-block: clamp(3.25rem, 5vw, 5rem); border-bottom: 1px solid var(--line); background: linear-gradient(110deg, #101d2f, #0a101a 75%); }
.report-layout, .briefing-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.25rem, 6vw, 6rem); }
.report-layout { align-items: center; }
.report-layout > p { font-size: 1.125rem; }
.briefing-intro > p:not(.eyebrow) { margin-top: 1.15rem; }
.form-direct-email a { white-space: nowrap; }
.contact-panel { min-width: 0; align-self: start; padding: clamp(1.25rem, 3vw, 2.2rem); background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.05rem; }
.form-full, .btn-submit { grid-column: 1 / -1; }
.field-group { display: grid; align-content: start; gap: .4rem; min-width: 0; }
.field-group label { font-weight: 600; color: var(--text); font-size: 1rem; }
.field-group :is(input, textarea, select) { width: 100%; min-width: 0; padding: .65rem .8rem; border: 1px solid #61728b; border-radius: .45rem; background-color: #0b111c; color: var(--text); line-height: 1.5; font-size: 1rem; }
.field-group select { appearance: none; padding-right: 2.4rem; background: #0b111c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='m1 1 6 6 6-6' stroke='%23bed7eb' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") right .8rem center / 14px 8px no-repeat; }
.field-group textarea { resize: vertical; }
.field-hint { color: var(--muted); font-size: .9375rem; }
.btn-submit { justify-self: start; }
.btn-submit:disabled { opacity: .65; cursor: progress; }
.form-success { border-left: 3px solid var(--accent); padding: .3rem 1rem; }
.form-success p { color: var(--body); margin-top: .4rem; }
.form-error { margin-top: 1rem; color: #ffc6bc; }
footer { padding-block: 2rem; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: .8rem 1.75rem; flex-wrap: wrap; font-size: .9375rem; color: var(--muted); }
.footer-logo { font-weight: 700; color: var(--text); text-decoration: none; }
.footer-inner span { margin-inline-start: auto; }
.not-found { min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 1rem; }

@media (hover: hover) { .service-card:hover { border-color: #516a86; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-storm::before, .hero-storm::after { animation: lightning 8s ease-in-out 2; }
  .hero-storm::after { animation-delay: 2.5s; }
  @keyframes lightning { 0%, 35%, 100% { opacity: .22; } 12% { opacity: .62; } }
  .in-view { animation: enter .37s ease-out; }
  @keyframes enter { from { opacity: .88; transform: translateY(7px); } to { opacity: 1; transform: none; } }
  .nav-links a::after, .nav-ham span { transition: transform .18s, opacity .18s; }
  .btn-primary, .nav-cta { transition: background-color .18s, transform .18s; }
  .btn-primary:active { transform: translateY(1px); }
  .service-card { transition: border-color .2s; }
}
@media (max-width: 768px) {
  .wrap { width: 90%; }
  .nav-inner { flex-wrap: wrap; gap: .2rem .65rem; padding-block: .45rem; min-height: 3.75rem; }
  .nav-links { flex-wrap: wrap; gap: .8rem; }
  .nav-cta { display: none; }
  .menu-ready .nav-ham { display: flex; margin-left: auto; }
  .menu-ready .nav-links { display: none; }
  .menu-ready .nav-links.open { position: absolute; display: grid; top: 100%; left: 0; right: 0; padding: .45rem 1rem; gap: 0; background: #101825; border: 1px solid var(--line); border-radius: 0 0 .6rem .6rem; max-height: calc(100vh - 4rem); overflow: auto; }
  .nav-links.open a { display: flex; }
  .hero-layout { grid-template-columns: 1fr; gap: 1.3rem; padding-block: 3rem 1.2rem; }
  .hero-title { font-size: clamp(2.85rem, 9.6vw, 4.3rem); }
  .hero-art { width: min(100%, 20rem); aspect-ratio: 1.65; justify-self: center; }
  .hero-logo-mark { width: 67%; }
  .hero-storm::before, .hero-storm::after { width: 37%; }
  .report-layout, .briefing-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-inner span { margin-left: 0; }
}
@media (max-width: 42rem) {
  .services-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
