:root {
  --ink: #172b45;
  --navy: #0a3268;
  --navy-soft: #15497e;
  --cream: #f3f6f9;
  --paper: #ffffff;
  --teal: #0a3268;
  --teal-light: #a9c8e7;
  --amber: #de6a25;
  --muted: #696969;
  --line: rgba(10, 50, 104, 0.14);
  --radius: 22px;
  --shadow: 0 24px 60px rgba(6, 25, 33, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link { position: fixed; top: -100px; left: 18px; z-index: 20; padding: 12px 16px; background: white; border-radius: 8px; }
.skip-link:focus { top: 18px; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 44px));
  height: 78px;
  padding: 8px 11px 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  background: white;
  border: 1px solid rgba(10, 50, 104, .1);
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(4, 28, 60, .18);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: auto; height: auto; }
.site-header .brand { flex: 0 1 auto; height: 100%; min-width: 0; }
.site-header .brand img { width: auto; height: 56px; max-width: 100%; object-fit: contain; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { color: rgba(10,50,104,.72); font-size: 14px; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--navy); }
.nav-cta { padding: 12px 19px; color: white; background: var(--navy); border-radius: 999px; }
.nav-cta:hover { color: white; background: var(--navy-soft); }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  padding: 150px max(22px, calc((100vw - 1180px) / 2)) 94px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 83% 21%, rgba(64,128,190,.38), transparent 28%),
    radial-gradient(circle at 12% 92%, rgba(222,106,37,.12), transparent 29%),
    var(--navy);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, black, transparent 74%);
}
.hero-copy, .signal-card { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 22px; color: var(--teal-light); font-size: 12px; font-weight: 780; letter-spacing: .14em; text-transform: uppercase; }
.pulse { display: inline-block; width: 8px; height: 8px; margin-right: 9px; background: var(--amber); border-radius: 50%; box-shadow: 0 0 0 5px rgba(239,169,75,.12); }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; }
h1 { max-width: 700px; font-size: clamp(52px, 6.8vw, 92px); line-height: .95; }
h1 span { color: var(--amber); }
.hero-lede { max-width: 610px; margin: 30px 0 0; color: rgba(255,255,255,.71); font-size: clamp(17px, 1.7vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 36px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 999px; padding: 0 24px; font: inherit; font-size: 14px; font-weight: 780; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--amber); box-shadow: 0 10px 28px rgba(222,106,37,.2); }
.button-primary:hover { background: #ef7a34; box-shadow: 0 14px 34px rgba(222,106,37,.26); }
.text-link { color: white; font-size: 14px; font-weight: 720; text-underline-offset: 5px; }
.text-link span { margin-left: 8px; color: var(--amber); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 50px; color: rgba(255,255,255,.5); font-size: 12px; font-weight: 650; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--teal-light); }

.signal-card { padding: 26px; background: rgba(247,252,250,.075); border: 1px solid rgba(255,255,255,.14); border-radius: 28px; box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.signal-top { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); font-size: 12px; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }
.live-status { color: var(--teal-light); }
.live-status i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: var(--teal-light); border-radius: 50%; }
.incident { display: flex; gap: 16px; align-items: center; padding: 25px 0 19px; }
.incident-icon { display: grid; flex: 0 0 42px; height: 42px; place-items: center; color: var(--amber); background: rgba(239,169,75,.11); border: 1px solid rgba(239,169,75,.28); border-radius: 50%; font-family: Georgia, serif; font-size: 21px; font-weight: 700; }
.incident p { margin: 0; }
.incident-label { margin-bottom: 4px !important; color: rgba(255,255,255,.44); font-size: 11px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.incident p:last-child { font-family: Georgia, serif; font-size: 21px; }
.trace { display: flex; gap: 5px; align-items: center; height: 34px; padding: 0 2px; }
.trace span { height: 2px; flex: 1; background: rgba(255,255,255,.12); }
.trace span:nth-child(2) { flex: 2; background: linear-gradient(90deg, rgba(158,214,203,.25), var(--teal-light), rgba(158,214,203,.25)); }
.resolution-list { display: grid; gap: 0; margin: 6px 0 0; padding: 0; list-style: none; }
.resolution-list li { display: grid; grid-template-columns: 42px 1fr; gap: 13px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.09); }
.resolution-list li > span { color: var(--teal-light); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.resolution-list p { margin: 0; color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.5; }
.resolution-list strong { display: block; margin-bottom: 3px; color: white; font-size: 14px; }

.expertise-section { padding: 112px max(22px, calc((100vw - 1180px) / 2)); background: var(--cream); }
.section-intro { display: grid; grid-template-columns: .7fr 1.1fr 1fr; gap: 50px; align-items: end; margin-bottom: 54px; }
.section-intro .eyebrow { align-self: start; margin-top: 9px; color: var(--teal); }
h2 { font-size: clamp(43px, 5vw, 67px); line-height: 1.01; }
.section-intro > p:last-child { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.expertise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.expertise-card { position: relative; min-height: 390px; padding: 32px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.expertise-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--amber) 0 72px, var(--navy) 72px 100%); }
.featured-card { color: inherit; background: var(--paper); border-color: var(--line); }
.expertise-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -65px; bottom: -65px; border: 1px solid currentColor; border-radius: 50%; opacity: .09; }
.card-number { position: absolute; top: 34px; right: 34px; color: var(--amber); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.featured-card .card-number { color: var(--amber); }
.card-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 62px; color: var(--navy); background: rgba(10,50,104,.07); border-radius: 14px; }
.featured-card .card-icon { color: var(--navy); background: rgba(10,50,104,.07); }
.card-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.expertise-card h3 { margin: 0 0 14px; font-family: Georgia, serif; font-size: 27px; font-weight: 500; letter-spacing: -.025em; }
.expertise-card p { margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.featured-card p { color: var(--muted); }
.expertise-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.expertise-card li { padding: 7px 10px; color: var(--muted); background: rgba(16,36,44,.045); border-radius: 999px; font-size: 11px; font-weight: 700; }
.featured-card li { color: var(--muted); background: rgba(16,36,44,.045); }
.approach-strip { display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.approach-strip > * { padding: 27px 22px; }
.approach-strip > div { position: relative; border-left: 1px solid var(--line); }
.approach-kicker { margin: 0; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.approach-strip div span { color: var(--amber); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.approach-strip strong, .approach-strip small { display: block; }
.approach-strip strong { margin: 12px 0 5px; font-size: 14px; }
.approach-strip small { color: var(--muted); font-size: 12px; line-height: 1.5; }

.contact-section { position: relative; padding: 112px max(22px, calc((100vw - 1180px) / 2)) 30px; color: white; background: #082952; overflow: hidden; display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.contact-section::after { content: "B"; position: absolute; right: -20px; bottom: -190px; color: rgba(255,255,255,.025); font-family: Georgia, serif; font-size: 620px; line-height: 1; pointer-events: none; }
.contact-copy, .contact-form, footer { position: relative; z-index: 1; }
.contact-copy h2 { max-width: 500px; }
.contact-copy > p:not(.eyebrow) { max-width: 490px; margin: 28px 0; color: rgba(255,255,255,.63); font-size: 17px; line-height: 1.7; }
.email-link { color: var(--amber); font-weight: 700; text-underline-offset: 5px; }
.remote-support { position: relative; max-width: 430px; margin-top: 34px; padding: 23px 24px 24px 28px; overflow: hidden; color: var(--ink); background: white; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.remote-support::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--amber); }
.remote-kicker { margin: 0 0 6px !important; color: var(--muted) !important; font-size: 10px !important; font-weight: 800; letter-spacing: .12em; line-height: 1.3 !important; text-transform: uppercase; }
.remote-support h3 { margin: 0 0 18px; color: var(--navy); font-family: Georgia, serif; font-size: 29px; font-weight: 500; letter-spacing: -.02em; }
.remote-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 12px; padding: 0 18px; color: white; background: var(--amber); border-radius: 999px; font-size: 13px; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.remote-button:hover { transform: translateY(-2px); background: #ef7a34; box-shadow: 0 10px 24px rgba(222,106,37,.24); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 30px; background: rgba(255,255,255,.065); border: 1px solid rgba(255,255,255,.13); border-radius: 24px; }
.contact-form label { color: rgba(255,255,255,.58); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.contact-form label:nth-of-type(3), .contact-form textarea, .contact-form button, .form-note { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: -6px; padding: 14px 15px; color: white; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; font: inherit; font-size: 14px; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--teal-light); box-shadow: 0 0 0 3px rgba(158,214,203,.12); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.34); }
.contact-form textarea { resize: vertical; min-height: 112px; }
.contact-form button { width: 100%; margin-top: 4px; }
.form-note { margin: -2px 0 0; color: rgba(255,255,255,.39); font-size: 11px; text-align: center; }
footer { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.42); font-size: 12px; }
.footer-brand { width: fit-content; padding: 8px 10px; background: white; border-radius: 10px; }
.footer-brand img { width: 166px; }
footer p { margin: 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 145px; }
  .signal-card { max-width: 620px; }
  .section-intro { grid-template-columns: 1fr; gap: 16px; }
  .section-intro .eyebrow { margin: 0; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: auto; }
  .card-icon { margin-bottom: 40px; }
  .approach-strip { grid-template-columns: 1fr 1fr; }
  .approach-strip > div { border-top: 1px solid var(--line); }
  .contact-section { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 620px) {
  .site-header { height: 76px; width: calc(100% - 32px); }
  nav > a:not(.nav-cta) { display: none; }
  .site-header .brand img { width: auto; height: 46px; max-width: 126px; }
  .nav-cta { padding: 9px 14px; }
  .hero { min-height: auto; padding: 124px 20px 72px; }
  h1 { font-size: clamp(49px, 15vw, 66px); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .trust-row { flex-direction: column; }
  .signal-card { padding: 20px; border-radius: 22px; }
  .expertise-section { padding: 80px 20px; }
  .expertise-card { padding: 26px; }
  .approach-strip { grid-template-columns: 1fr; }
  .approach-strip > div { border-left: 0; }
  .contact-section { padding: 80px 20px 24px; }
  .contact-form { grid-template-columns: 1fr; padding: 22px; }
  .contact-form label, .contact-form input { grid-column: 1; }
  footer { grid-template-columns: 1fr; gap: 12px; align-items: start; }
}

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