:root {
  --navy: #002a9e;
  --sky: #2ea8ec;
  --deep: #233f6e;
  --surface-100: #ffffff;
  --surface-200: #f3f7fc;
  --tint: #e3f2fc;
  --border: #d3deee;
  --ink: #0b1a3a;
  --ink-muted: #4a5878;
  --on-brand: #ffffff;
  --navy-line: #3f5fc0;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --display: "Outfit", "Montserrat", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--surface-100);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
}
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.section-dark :focus-visible { outline-color: var(--on-brand); }

.wrap { width: min(100%, 1240px); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 30;
  background: var(--navy); color: var(--on-brand); padding: 10px 14px; border-radius: var(--radius-sm);
}
.skip:focus { top: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--surface-100);
  border-bottom: 1px solid var(--border);
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 84px; padding-block: 8px; }
.logo { display: block; }
.logo img { width: 122px; }
.site-nav { display: flex; align-items: center; gap: 32px; font-weight: 600; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--navy); }
.site-nav .nav-cta { background: var(--navy); color: var(--on-brand); padding: 10px 18px; border-radius: var(--radius-md); }
.site-nav .nav-cta:hover { background: var(--deep); color: var(--on-brand); }
.menu-toggle {
  display: none;
  font: 600 1rem var(--sans);
  background: none; color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: var(--radius-md);
  padding: 8px 16px; cursor: pointer;
}

/* Hero */
.hero { padding-block: clamp(32px, 5vw, 64px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding-block: 16px; }
.kicker {
  font-family: var(--display);
  font-size: .8125rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy);
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -.5px;
  color: var(--navy);
  margin-top: 16px;
  text-wrap: balance;
}
.lead { font-size: 1.125rem; line-height: 1.55; margin-top: 20px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.reach {
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  padding: 32px;
  background: var(--navy);
  color: var(--on-brand);
  border-radius: var(--radius-lg);
}
.reach svg { flex: none; display: block; width: 100%; max-width: 420px; margin: -44px auto 0; fill: var(--sky); }
.reach-title { font-weight: 600; margin-bottom: -2px; }
.reach dl { display: grid; gap: 10px; }
.reach dl div { display: flex; align-items: baseline; gap: 14px; }
.reach dt {
  flex: none; width: 2.5em;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2rem, 3.2vw, 2.5rem); line-height: 1.1;
  color: var(--sky);
}
.reach dd { font-size: .9375rem; }

.btn {
  display: inline-block;
  font: 600 1rem var(--sans);
  text-decoration: none;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.btn-primary { background: var(--navy); color: var(--on-brand); }
.btn-primary:hover { background: var(--deep); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--tint); }

/* Ticker */
.ticker { background: var(--tint); color: var(--navy); overflow: hidden; }
.ticker-track {
  display: flex; width: max-content;
  padding-block: 12px;
  font-family: var(--display); font-weight: 600; font-size: .8125rem;
  text-transform: uppercase; letter-spacing: 3px;
  animation: ticker 48s linear infinite;
}
.ticker-track span { padding-inline: 28px; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.875rem, 3.6vw, 2.5rem);
  line-height: 1.15;
  color: var(--navy);
  margin-top: 12px;
  text-wrap: balance;
}
.section-head > p:not(.kicker) { margin-top: 14px; font-size: 1.125rem; color: var(--ink-muted); max-width: 30em; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
.split > .section-head { position: sticky; top: 124px; }

/* Services */
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.service-list li { background: var(--surface-200); border-radius: var(--radius-md); padding: 24px; }
.service-list h3, .steps h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--navy);
}
.service-list p { margin-top: 8px; color: var(--ink-muted); }

/* Media */
.section-dark { background: var(--navy); color: var(--on-brand); }
.section-dark .kicker, .section-dark .section-head h2, .section-dark .section-head > p:not(.kicker) { color: var(--on-brand); }
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.media-card {
  display: flex; flex-direction: column;
  background: var(--surface-100); color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.media-card h3 { height: 104px; display: flex; align-items: center; font-size: 1.25rem; }
.media-card h3 img { width: auto; max-height: 100%; }
.media-tag { font-weight: 600; margin-block: 18px 12px; }
.media-card p:not(.media-tag) { color: var(--ink-muted); max-width: 32em; }
.links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; padding-top: 22px; font-weight: 600; color: var(--navy); }
.links a { text-underline-offset: 4px; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 14px;
  background: var(--tint); color: var(--navy);
  border-radius: 50%;
  font: 700 1.125rem var(--display);
}
.steps p { margin-top: 8px; color: var(--ink-muted); }

/* About */
.section-tint { background: var(--surface-200); }
.prose { font-size: 1.125rem; line-height: 1.6; }
.prose p + p { margin-top: 1em; }

/* Contact */
.contact-form {
  display: grid; gap: 16px;
  background: var(--surface-100); color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
}
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9375rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  font: 400 1rem var(--sans);
  color: var(--ink);
  background: var(--surface-200);
  border: 1px solid var(--ink-muted);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-self: start; }
.contact-form :focus-visible { outline-color: var(--navy); }

/* Footer */
.site-footer { background: var(--surface-100); color: var(--ink-muted); font-size: .8125rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; padding-block: 32px; }
.footer-row img { width: 150px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface-100);
    border-bottom: 1px solid var(--border);
    padding: 8px var(--gutter) 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding-block: 12px; }
  .site-nav .nav-cta { text-align: center; margin-top: 8px; }
  .split, .media-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .split > .section-head { position: static; }
}

@media (max-width: 560px) {
  .service-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
  .btn, .contact-form .btn { width: 100%; justify-self: stretch; text-align: center; }
  .reach, .media-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
}
