@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&display=swap");

:root {
  --button-font: "Rajdhani", "Segoe UI Semibold", "Arial Narrow", Arial, sans-serif;
  --ink: #172232;
  --muted: #5b6877;
  --line: #d8e0e7;
  --paper: #ffffff;
  --wash: #f3f7f8;
  --mist: #e8f0f2;
  --navy: #172b3d;
  --steel: #263849;
  --teal: #167f83;
  --teal-dark: #0f686b;
  --sage: #547c69;
  --amber: #c9822a;
  --circuit: #eb3f2d;
  --shadow: 0 18px 46px rgba(23, 34, 50, 0.13);
  --hard-shadow: 10px 10px 0 rgba(22, 127, 131, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

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

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

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

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.06;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand,
.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.brand-wide-logo {
  width: clamp(150px, 17vw, 245px);
  height: auto;
  object-fit: contain;
}

.footer-brand img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.brand-wordmark {
  display: grid;
  color: var(--ink);
  font-family: var(--button-font);
  font-size: 14px;
  font-weight: 700;
  line-height: 0.92;
  text-align: center;
  text-transform: uppercase;
}

.brand-wordmark span:first-child {
  color: var(--navy);
  font-size: 18px;
}

.brand-wordmark span:last-child {
  color: var(--teal-dark);
  font-size: 12px;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--steel);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus {
  border-color: var(--teal);
}

.header-action,
.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 2px;
  font-family: var(--button-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.header-action,
.primary-action {
  color: #fff;
  background: linear-gradient(135deg, var(--teal) 0%, #0b6d77 100%);
  border: 1px solid #0b6d77;
}

.header-action:hover,
.primary-action:hover {
  background: linear-gradient(135deg, var(--teal-dark) 0%, #0b5962 100%);
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 22px rgba(15, 104, 107, 0.22);
}

.secondary-action {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.secondary-action:hover,
.secondary-action:focus {
  border-color: var(--teal);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(23, 34, 50, 0.08);
}

.text-link {
  color: var(--teal-dark);
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100vh - 107px);
  padding: clamp(44px, 6vw, 82px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 27, 39, 0.94), rgba(23, 43, 61, 0.78) 48%, rgba(16, 27, 39, 0.12)),
    linear-gradient(135deg, #101b27 0%, #172b3d 54%, #0f686b 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 82%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ad2ce;
}

.hero-copy > p:not(.eyebrow),
.section-heading > p,
.intro-points p,
.contact-band p {
  color: var(--muted);
  font-size: 18px;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: #dce8ed;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  box-shadow: var(--hard-shadow), 0 24px 70px rgba(0, 0, 0, 0.32);
}

.hero-media figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-media figcaption span {
  padding: 8px 10px;
  color: #fff;
  background: rgba(16, 27, 39, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.intro-band,
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: clamp(46px, 6vw, 82px) clamp(18px, 5vw, 72px);
}

.intro-band {
  border-top: 1px solid rgba(22, 127, 131, 0.22);
  border-bottom: 1px solid rgba(23, 34, 50, 0.12);
  background:
    linear-gradient(90deg, rgba(22, 127, 131, 0.08), transparent 36%),
    #fff;
}

.intro-copy {
  max-width: 690px;
}

.veteran-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 22px clamp(18px, 5vw, 72px);
  color: var(--ink);
  background: #fff;
  border-top: 1px solid var(--line);
}

.veteran-footer img {
  width: 64px;
  height: 82px;
  object-fit: contain;
  background: #ff4619;
  border: 2px solid #fff;
  border-radius: 2px;
  box-shadow: 0 8px 20px rgba(23, 34, 50, 0.16);
}

.veteran-footer p {
  margin: 0;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.intro-points p {
  margin: 0;
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 34, 50, 0.06);
}

.services {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(22, 127, 131, 0.35), transparent 34%),
    linear-gradient(135deg, #101b27 0%, #172b3d 58%, #132331 100%);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.services .eyebrow {
  color: #8ad2ce;
}

.services .section-heading p {
  color: #d4e0e8;
}

.service-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid article {
  position: relative;
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
}

.service-grid article::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 2px;
  background: var(--circuit);
  opacity: 0.72;
}

.service-grid span {
  display: inline-flex;
  min-width: 48px;
  height: 36px;
  margin-bottom: 28px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #0b5962);
  border-radius: 2px;
  padding: 0 10px;
  font-family: var(--button-font);
  font-weight: 900;
  text-align: center;
}

.service-grid p {
  color: #d7e4ef;
}

.testimonials {
  padding: clamp(54px, 7vw, 90px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(180deg, #fff 0%, #f5f8fa 100%);
}

blockquote {
  margin: 0;
  min-height: 160px;
  padding: 26px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 34, 50, 0.07);
}

blockquote p {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.22;
}

.contact-band {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(16, 27, 39, 0.95), rgba(23, 43, 61, 0.96)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 52px);
  color: #fff;
}

.contact-band .eyebrow {
  color: #9dd9d5;
}

.contact-band p {
  color: #dce6ea;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.contact-band .secondary-action {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.contact-band .text-link {
  color: #fff;
  padding: 10px 0;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px clamp(18px, 5vw, 72px);
  color: #fff;
  background: #101b27;
}

.site-footer .brand-wordmark span:first-child {
  color: #fff;
}

.site-footer .brand-wordmark span:last-child {
  color: #8ad2ce;
}

.site-footer h2 {
  margin-bottom: 4px;
  font-size: clamp(26px, 4vw, 40px);
}

.site-footer p {
  margin-bottom: 0;
  color: #d7e4ef;
}

.copyright {
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-action {
    justify-self: end;
  }

  .hero,
  .intro-band,
  .contact-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .service-grid,
  .testimonial-grid,
  .intro-points {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  blockquote {
    min-height: auto;
  }

  .copyright {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .site-header {
    gap: 14px;
    padding: 12px 16px;
  }

  .brand-wide-logo {
    width: 132px;
    max-width: 42vw;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 8px 14px;
    overflow-x: visible;
    font-size: 13px;
  }

  .brand-wordmark span:first-child {
    font-size: 16px;
  }

  .brand-wordmark span:last-child {
    font-size: 11px;
  }

  .header-action,
  .primary-action,
  .secondary-action {
    width: 100%;
    padding: 0 16px;
  }

  .hero,
  .intro-band,
  .services,
  .testimonials,
  .contact-band,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-media figcaption {
    position: static;
    margin-top: 10px;
  }

  .hero-media figcaption span {
    color: var(--ink);
    background: #fff;
    border-color: var(--line);
  }

  .veteran-footer {
    align-items: center;
    justify-content: flex-start;
    padding-left: 16px;
    padding-right: 16px;
  }

  .veteran-footer img {
    width: 58px;
    height: 74px;
  }
}
