:root {
  --blue: #0a56a7;
  --blue-dark: #083e78;
  --charcoal: #1c1c1c;
  --ink: #141414;
  --text: #3a3a3a;
  --muted: #5c5c5c;
  --line: #e6e8eb;
  --white: #fff;
  --max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

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

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 {
  font-family: Poppins, sans-serif;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--white);
  padding: 0.4rem 0.7rem;
}
.skip:focus { top: 0.5rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  min-height: 72px;
  gap: 0.75rem;
}

.brand { grid-column: 1; grid-row: 1; display: flex; align-items: center; }
.brand img { width: 148px; height: auto; }

.nav-toggle {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-family: Poppins, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.15rem;
  grid-column: 2;
  grid-row: 1;
}
.header-phone { grid-column: 3; grid-row: 1; }
.menu-btn { grid-column: 4; grid-row: 1; align-self: center; }

.site-nav a {
  font-family: Poppins, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  padding: 0.55rem 0.7rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  border-radius: 8px;
  margin-left: 0.25rem;
}
.nav-cta:hover { background: var(--blue-dark); color: #fff !important; }

.header-phone {
  justify-self: end;
  align-self: center;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.55rem 0;
}
.header-phone:hover { color: var(--blue); }

.has-sub { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  max-height: 70vh;
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem;
  z-index: 30;
}
.dropdown.drop-end { right: 0; left: auto; }
.dropdown a {
  display: block;
  padding: 0.4rem 0.6rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
}
.dropdown a:hover,
.dropdown a[aria-current="page"] { color: var(--blue); background: #f4f7fb; }
.nav-parent {
  font-family: Poppins, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}
.nav-parent:hover { color: var(--blue); }
@media (min-width: 980px) {
  .has-sub:hover .dropdown,
  .has-sub:focus-within .dropdown,
  .has-sub.is-open .dropdown { display: block; }
}

body.home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.5), rgba(12, 12, 12, 0));
  border-bottom: 0;
}
body.home .brand img { filter: brightness(0) invert(1); }
body.home .site-nav a,
body.home .nav-parent,
body.home .header-phone { color: #fff; }
body.home .site-nav a:hover,
body.home .site-nav a[aria-current="page"],
body.home .nav-parent:hover,
body.home .header-phone:hover { color: #d7e6f8; }
body.home .dropdown a { color: var(--text); }
body.home .dropdown a:hover,
body.home .dropdown a[aria-current="page"] { color: var(--blue); }
body.home .menu-btn {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  background: #123;
  overflow: hidden;
}
body.home .hero { min-height: 100vh; min-height: 100svh; }

.hero-slides,
.hero-slide { position: absolute; inset: 0; }
.hero-slide {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.is-on { opacity: 1; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(16, 16, 16, 0.55) 0%, rgba(16, 16, 16, 0.18) 48%, rgba(16, 16, 16, 0.05) 100%);
}

.hero .wrap { position: relative; z-index: 2; padding: 6.5rem 0 4.5rem; max-width: 680px; margin-left: max(1.25rem, calc((100% - var(--max)) / 2)); }
.hero-dots {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 1.4rem;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}
.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}
.hero-dots button.is-on { background: #fff; }
.hero h1, .hero p { color: #fff; }
.hero p { font-size: 1.125rem; max-width: 38rem; }

.eyebrow {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.85rem;
}

.hero .eyebrow { color: #d7e6f8; }

.btn-row { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.5rem; }

.btn {
  display: inline-block;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  border: 2px solid transparent;
  line-height: 1.2;
}
.btn-light { background: #fff; color: var(--blue); border-color: #fff; }
.btn-light:hover { background: #f3f6fa; color: var(--blue-dark); }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }

.text-link {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  color: #fff;
  text-underline-offset: 3px;
}
.hero .text-link:hover { color: #fff; }

.section { padding: 5rem 0; scroll-margin-top: 84px; }
.section + .section { border-top: 1px solid var(--line); }

.pioneer {
  background: var(--charcoal);
  color: #f4f4f4;
  border-top: 0;
}
.pioneer h2, .pioneer p { color: #fff; }
.pioneer .eyebrow { color: #9ec4ef; }
.pioneer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 0.5rem;
}
.pioneer-head h2 { max-width: 16ch; margin: 0; }
.pioneer > .wrap > p { max-width: 40rem; color: #d7d7d7; }

.points {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.points li { padding-top: 1.25rem; }
.points h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.35rem; }
.points p { color: #cfcfcf; margin: 0; }

.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); }

.features { display: grid; gap: 4.5rem; }
.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.feature.reverse { grid-template-columns: 0.95fr 1.05fr; }
.feature.reverse img, .feature.reverse .photo { order: 2; }
.photo { border-radius: 8px; overflow: hidden; }
.photo img { border-radius: 0; }
.photo .article-figure { margin: 0; }
.crop-mark img, img.crop-mark { transform: scale(1.22); transform-origin: top left; }
.feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}
.feature h3 a { color: var(--ink); text-decoration: none; }
.feature h3 a:hover { color: var(--blue); }
.feature .more {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  text-decoration: none;
}

.group-title { margin: 3.5rem 0 0.25rem; }

.index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.index li {
  border-top: 1px solid var(--line);
  padding: 1rem 1.5rem 1rem 0;
}
.index a {
  display: block;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.index a:hover { color: var(--blue); }
.index span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.15rem;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.75rem 2rem;
  align-items: center;
}
.logo-row img {
  width: 100%;
  height: 42px;
  object-fit: contain;
  opacity: 0.72;
}

.quote-band { background: var(--blue); color: #fff; padding: 3rem 0; }
.quote-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.quote-band h2, .quote-band p { color: #fff; margin: 0; }
.quote-band p { opacity: 0.92; margin-top: 0.35rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(14rem, 0.7fr);
  gap: 2.75rem 4rem;
  align-items: start;
}
.footer-grid > div:nth-child(1) { grid-column: 1; grid-row: 1; }
.footer-grid > div:nth-child(4) { grid-column: 2; grid-row: 1; }
.footer-grid > div:nth-child(2),
.footer-grid > div:nth-child(3) { grid-column: 1 / -1; }
.footer-grid > div:first-child p { max-width: 36rem; }
.footer-grid > div:nth-child(2) ul,
.footer-grid > div:nth-child(3) ul {
  columns: 3;
  column-gap: 2.5rem;
}
.site-footer h2 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--ink);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; break-inside: avoid; }
.site-footer li + li { margin-top: 0.6rem; }
.site-footer a { color: var(--text); text-decoration: none; font-weight: 500; }
.site-footer a:hover { color: var(--blue); }
.footer-brand { width: 132px; margin-bottom: 1rem; }
.certs { display: flex; flex-wrap: wrap; gap: 1.15rem 1.6rem; align-items: center; margin-top: 1.5rem; }
.certs img { height: 32px; width: auto; object-fit: contain; }
.legal {
  margin-top: 2.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

.page-hero { padding: 2.25rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.page-hero .lede { font-size: 1.125rem; max-width: 40rem; color: var(--text); }
.page-hero .eyebrow { color: var(--blue); }
.page-hero p:not(.eyebrow) { font-size: 1.125rem; max-width: 40rem; }
.crumbs { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.8rem; }
.crumbs a { color: var(--blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.5rem;
  align-items: start;
}
.article-figure {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.prose h2 { margin-top: 1.75rem; font-size: 1.55rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.15rem; }
.prose li { margin: 0.35rem 0; }

.side-stack { display: grid; gap: 1rem; position: sticky; top: 96px; }
.quote-card, .side-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.15rem;
}
.quote-card { background: var(--charcoal); color: #f3f3f3; border-color: var(--charcoal); }
.quote-card h2, .quote-card p { color: #fff; }
.quote-card h2 { font-size: 1.35rem; }
.quote-card .btn { width: 100%; text-align: center; margin-top: 0.35rem; }
.quote-card .text-link {
  display: block;
  margin-top: 0.75rem;
  text-align: center;
  color: #fff;
  text-decoration: none;
}
.quote-card .text-link:hover { text-decoration: underline; }
.side-card h2 { font-size: 1.05rem; }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li + li { border-top: 1px solid var(--line); }
.side-card a {
  display: block;
  padding: 0.5rem 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.side-card a:hover,
.side-card a[aria-current="page"] { color: var(--blue); }

@media (max-width: 979px) {
  .menu-btn { display: inline-block; }
  .site-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.8rem;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-row { gap: 0.5rem; }
  .hero { min-height: 0; }
  body.home .hero { min-height: 100vh; min-height: 100svh; }
  .hero .wrap { margin-left: auto; padding: 6rem 0 3.5rem; }
  body.home .site-header:has(.nav-toggle:checked) {
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  body.home .site-header:has(.nav-toggle:checked) .brand img { filter: none; }
  body.home .site-header:has(.nav-toggle:checked) .site-nav a,
  body.home .site-header:has(.nav-toggle:checked) .nav-parent,
  body.home .site-header:has(.nav-toggle:checked) .header-phone { color: var(--ink); }
  body.home .site-header:has(.nav-toggle:checked) .menu-btn {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
  }
  .pioneer-head, .quote-band .wrap, .layout, .footer-grid { display: grid; grid-template-columns: 1fr; }
  .footer-grid > div:nth-child(1),
  .footer-grid > div:nth-child(2),
  .footer-grid > div:nth-child(3),
  .footer-grid > div:nth-child(4) { grid-column: auto; grid-row: auto; }
  .footer-grid > div:nth-child(2) ul,
  .footer-grid > div:nth-child(3) ul { columns: 2; }
  .points, .index, .logo-row { grid-template-columns: 1fr 1fr; }
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature img, .feature .photo { order: -1; }
  .dropdown, .dropdown.drop-end {
    position: static;
    max-height: none;
    border: 0;
    padding: 0 0 0.4rem 0.75rem;
    display: none;
  }
  .has-sub.is-open .dropdown { display: block; }
  .contact-grid, .team-grid { grid-template-columns: 1fr; }
  .side-stack { position: static; }
}

@media (max-width: 640px) {
  .brand img { width: 112px; }
  .header-phone { font-size: 0.78rem; }
  .points, .index, .logo-row { grid-template-columns: 1fr; }
  .footer-grid > div:nth-child(2) ul,
  .footer-grid > div:nth-child(3) ul { columns: 1; }
  h1 { font-size: 2.3rem; }
}

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }

.team-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
.person { border: 1px solid var(--line); border-radius: 8px; padding: 1.1rem; background: #fff; }
.person span { display: block; color: var(--blue); font-weight: 600; margin-bottom: 0.5rem; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.contact-list { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.contact-list li { margin-bottom: 0.55rem; }
.form {
  display: grid;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
}
.form label { font-family: Poppins, sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  padding: 0.7rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--blue);
  border-color: var(--blue);
}
.map { width: 100%; height: 420px; border: 0; display: block; border-radius: 8px; }

.faq details { border-bottom: 1px solid var(--line); padding: 0.85rem 0; }
.faq summary { cursor: pointer; font-family: Poppins, sans-serif; font-weight: 600; color: var(--ink); }
.faq details p:first-of-type { margin-top: 0.75rem; }

.error-panel { padding: 4rem 0 5rem; text-align: center; }
.error-panel .btn-row { justify-content: center; }
.error-panel > p:first-child {
  font-size: 3rem;
  font-family: Poppins, sans-serif;
  color: var(--blue);
  margin: 0;
}
.alert { padding: 0.85rem 1rem; border-radius: 8px; }
.alert-success { background: #e7f6ee; color: #135c32; }
.alert-error { background: #fdecec; color: #8d1d1d; }
.alert h3, .alert p { color: inherit; }

@media (min-width: 980px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.coverage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1rem 0 0;
}
.coverage div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}
.coverage h3 { margin: 0 0 0.3rem; font-size: 1rem; }
.coverage p { margin: 0; }

@media (min-width: 700px) {
  .coverage { grid-template-columns: 1fr 1fr; }
}

.city-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  list-style: none;
  margin: 0.75rem 0 1.25rem;
  padding: 0;
}
.city-list li {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-weight: 600;
}
@media (min-width: 700px) {
  .city-list { grid-template-columns: repeat(3, 1fr); }
}

.lane-map {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0.75rem 0 1.25rem;
}
