:root {
  --navy: #0a1628;
  --navy-2: #1a2d5a;
  --navy-3: #0d1f3c;
  --red: #b91c1c;
  --red-dark: #991b1b;
  --blue-light: #93c5fd;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #e5e7eb;
  --soft: #f9fafb;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.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;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #d8dce3;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.site-header,
.site-header.is-scrolled {
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 12px max(24px, calc((100vw - 1152px) / 2 + 24px));
}

.brand img {
  width: auto;
  height: 48px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: #374151;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover {
  color: var(--red);
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--red);
  padding: 9px 18px;
  border-radius: 4px;
}

.site-nav .nav-cta:hover {
  color: var(--white);
  background: var(--red-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 116px 24px 88px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 50%, var(--navy-3) 100%);
}

.red-rule {
  position: absolute;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--red);
}

.red-rule.top {
  top: 74px;
}

.red-rule.bottom {
  bottom: 0;
}

.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stars span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  animation: pulse 2.6s ease-in-out infinite;
}

.stars span:nth-child(1) { top: 18%; left: 12%; }
.stars span:nth-child(2) { top: 26%; left: 28%; animation-delay: .4s; }
.stars span:nth-child(3) { top: 12%; left: 48%; animation-delay: .9s; }
.stars span:nth-child(4) { top: 22%; left: 78%; animation-delay: .3s; }
.stars span:nth-child(5) { top: 38%; left: 8%; animation-delay: .8s; }
.stars span:nth-child(6) { top: 44%; left: 88%; }
.stars span:nth-child(7) { top: 58%; left: 16%; animation-delay: 1.1s; }
.stars span:nth-child(8) { top: 68%; left: 38%; animation-delay: .2s; }
.stars span:nth-child(9) { top: 72%; left: 70%; animation-delay: .7s; }
.stars span:nth-child(10) { top: 86%; left: 52%; }
.stars span:nth-child(11) { top: 82%; left: 90%; animation-delay: .5s; }
.stars span:nth-child(12) { top: 16%; left: 63%; animation-delay: .1s; }
.stars span:nth-child(13) { top: 32%; left: 54%; animation-delay: .6s; }
.stars span:nth-child(14) { top: 62%; left: 82%; animation-delay: .9s; }
.stars span:nth-child(15) { top: 76%; left: 10%; animation-delay: .3s; }
.stars span:nth-child(16) { top: 52%; left: 48%; animation-delay: .2s; }
.stars span:nth-child(17) { top: 88%; left: 24%; animation-delay: 1.2s; }
.stars span:nth-child(18) { top: 34%; left: 72%; animation-delay: .4s; }
.stars span:nth-child(19) { top: 20%; left: 42%; animation-delay: .5s; }
.stars span:nth-child(20) { top: 64%; left: 58%; animation-delay: .8s; }
.stars span:nth-child(21) { top: 48%; left: 22%; animation-delay: .6s; }
.stars span:nth-child(22) { top: 74%; left: 76%; animation-delay: .1s; }
.stars span:nth-child(23) { top: 30%; left: 92%; animation-delay: .9s; }
.stars span:nth-child(24) { top: 90%; left: 66%; animation-delay: .4s; }

.capitol-wash {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 260px;
  background: url("https://images.unsplash.com/photo-1501167786227-4cba60f6d58f?w=1600&q=80") center bottom / cover no-repeat;
  opacity: 0.1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1024px);
}

.hero-logo {
  width: min(420px, 78vw);
  margin: 0 auto 26px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35));
}

.kicker,
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 7vw, 4.7rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: 0;
}

.banner-headline {
  display: grid;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

.banner-line {
  display: block;
  width: max-content;
  padding-inline: 24px;
  white-space: nowrap;
  will-change: transform;
}

.banner-line.from-left {
  animation: sweep-left 10s linear infinite;
}

.banner-line.from-right {
  color: #ef4444;
  justify-self: end;
  animation: sweep-right 10s linear infinite;
}

@keyframes sweep-left {
  from {
    transform: translateX(-110vw);
  }

  to {
    transform: translateX(110vw);
  }
}

@keyframes sweep-right {
  from {
    transform: translateX(110vw);
  }

  to {
    transform: translateX(-110vw);
  }
}

h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(2.35rem, 4vw, 3.25rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 850;
  line-height: 1.25;
}

.hero-text {
  width: min(100%, 680px);
  margin: 0 auto 38px;
  color: #d1d5db;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button.primary {
  color: var(--white);
  background: var(--red);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.ghost {
  color: var(--white);
  border-color: var(--white);
}

.button.ghost:hover {
  color: var(--navy);
  background: var(--white);
}

.button.full {
  width: 100%;
  border: 0;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

.section {
  padding: 96px 24px;
}

.services {
  background: var(--soft);
}

.section-heading {
  width: min(100%, 760px);
  margin-bottom: 62px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p,
.about-copy p,
.service-grid p {
  color: var(--muted);
}

.title-line {
  width: 64px;
  height: 4px;
  margin: 0 auto 24px;
  background: var(--red);
}

.title-line.left {
  margin-left: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  width: min(100%, 1152px);
  margin: 0 auto;
}

.service-grid article {
  padding: 32px;
  background: var(--white);
  border: 1px solid #eef0f4;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-grid article:hover {
  border-color: rgba(185, 28, 28, 0.24);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--white);
  background: #1e3a8a;
  border-radius: 8px;
  font-weight: 950;
  transition: background 180ms ease;
}

.service-grid article:hover .icon {
  background: var(--red);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: 70px;
  align-items: center;
  width: min(100%, 1152px);
  margin: 0 auto;
  background: var(--white);
}

.about-copy p {
  margin-bottom: 22px;
  font-size: 1.03rem;
}

.blue-emphasis {
  color: #004aad;
  font-weight: 950;
}

.ceo-card {
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.ceo-photo {
  width: min(100%, 360px);
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  border: 10px solid #f3f4f6;
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.18);
}

.ceo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
}

.ceo-info h3 {
  margin: 0 0 4px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 950;
}

.ceo-info p {
  margin: 0;
  color: #b91c1c;
  font-size: 1.25rem;
  font-weight: 850;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 64px;
  align-items: start;
  color: var(--white);
  background: #1e3a8a;
}

.contact > * {
  width: min(100%, 544px);
}

.contact-copy {
  justify-self: end;
}

.contact .eyebrow {
  color: #f87171;
}

.contact h2 {
  color: var(--white);
}

.contact .title-line.light {
  background: #ef4444;
}

.contact-copy p,
.contact-lines {
  color: #bfdbfe;
  font-size: 1.08rem;
}

.contact-lines {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.contact-lines strong {
  display: block;
  color: var(--white);
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: 32px;
  color: var(--ink);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
}

.contact-form h3 {
  margin-bottom: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 6px;
  color: #4b5563;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  text-transform: none;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: var(--white);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: transparent;
  outline: 2px solid var(--red);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: #15803d;
  font-weight: 750;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px max(24px, calc((100vw - 1152px) / 2 + 24px));
  color: #9ca3af;
  background: #030712;
}

.site-footer img {
  width: auto;
  height: 40px;
  opacity: 0.86;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  text-align: center;
}

.site-footer nav {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--white);
}

@media (max-width: 980px) {
  .service-grid,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-copy,
  .contact > * {
    justify-self: stretch;
    width: min(100%, 720px);
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
    padding: 10px 20px;
  }

  .brand img {
    height: 42px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 20px;
    background: var(--white);
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .site-nav .nav-cta {
    margin-top: 8px;
    padding: 11px 18px;
    text-align: center;
  }

  .red-rule.top {
    top: 70px;
  }

  .hero {
    padding-top: 110px;
  }

  .hero-logo {
    width: min(340px, 86vw);
  }

  .kicker,
  .eyebrow {
    letter-spacing: 0.18em;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .button,
  .hero-actions {
    width: 100%;
  }

  h1 {
    font-size: 2.55rem;
  }

  .section {
    padding: 74px 20px;
  }
}
