@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #00122a;
  --navy-deep: #000e24;
  --blue: #0879fb;
  --blue-bright: #0c82ff;
  --blue-pale: #d7e9ff;
  --ink: #07152f;
  --muted: #5c687b;
  --line: #daddE6;
  --white: #ffffff;
  --page-gutter: clamp(1.25rem, 4.45vw, 4.3rem);
  --shadow: 0 28px 80px rgb(0 18 42 / 24%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.page-shell {
  width: 100%;
  max-width: 96rem;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--blue);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #ffc53d;
  outline-offset: 4px;
}

.site-header {
  height: 8.875rem;
  overflow: hidden;
  background: var(--white);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: flex-start;
}

.brand {
  display: block;
  width: 26.25rem;
  max-width: 100%;
  aspect-ratio: 420 / 138;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 30.75rem;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-art {
  position: absolute;
  z-index: -3;
  inset: 0 0 0 27%;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, var(--navy) 0%, var(--navy) 33%, rgb(0 18 42 / 96%) 42%, rgb(0 18 42 / 58%) 59%, transparent 78%),
    linear-gradient(0deg, rgb(0 12 30 / 26%), transparent 50%);
  pointer-events: none;
}

.hero-inner {
  min-height: inherit;
  display: flex;
  align-items: flex-start;
  padding-top: 2.9rem;
  padding-bottom: 2.4rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(44rem, 100%);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--blue-bright);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 3.7vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.title-rule {
  display: block;
  width: 7.2rem;
  height: 0.18rem;
  margin-block: 1.45rem 1.1rem;
  background: var(--blue);
}

.hero-description {
  max-width: 37rem;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.45;
}

.hero-note {
  margin: 0.55rem 0 1.3rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.action {
  min-height: 3.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  border: 1px solid var(--white);
  border-radius: 0.18rem;
  color: var(--white);
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.action:hover {
  transform: translateY(-2px);
}

.action-primary {
  width: 14.8rem;
  border-color: var(--blue);
  background: var(--blue);
}

.action-primary:hover {
  border-color: var(--blue-bright);
  background: var(--blue-bright);
}

.action-secondary {
  width: 13.8rem;
}

.action-secondary:hover {
  color: var(--navy);
  background: var(--white);
}

.action svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services {
  background: var(--white);
  border-bottom: 2px solid #eef0f4;
}

.services-inner {
  min-height: 11.25rem;
  display: flex;
  align-items: stretch;
}

.services-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 1.7rem 0 1.45rem;
  list-style: none;
}

.services-list li {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
}

.services-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 0;
  width: 1px;
  height: 76%;
  background: var(--line);
}

.services-list span {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.contact-strip {
  background: var(--white);
}

.contact-inner {
  min-height: 9.35rem;
  display: flex;
  align-items: stretch;
}

.contact-list {
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 1.2fr;
  margin: 0;
  padding: 1.55rem 0;
  font-style: normal;
}

.contact-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  padding-inline: 1.5rem;
}

.contact-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 13%;
  right: 0;
  width: 1px;
  height: 74%;
  background: var(--line);
}

.contact-icon {
  flex: 0 0 auto;
  width: 4.35rem;
  height: 4.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-pale);
}

.contact-icon svg {
  width: 2.25rem;
  height: 2.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 1rem;
  line-height: 1.45;
}

.contact-copy strong {
  font-size: 1.05rem;
}

.contact-copy a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.contact-copy a:not(:hover) {
  text-decoration-color: transparent;
}

.site-footer {
  min-height: 3.75rem;
  display: grid;
  place-items: center;
  padding: 0.8rem var(--page-gutter);
  color: var(--white);
  background: var(--navy);
  text-align: center;
}

.site-footer p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.footer-divider {
  width: 1px;
  height: 1.35rem;
  background: rgb(255 255 255 / 78%);
}

.contact-dialog {
  width: min(42rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 0.45rem;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-dialog::backdrop {
  background: rgb(0 14 36 / 80%);
  backdrop-filter: blur(4px);
}

.dialog-panel {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.8rem);
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #eef5fd;
  cursor: pointer;
}

.dialog-close:hover {
  background: var(--blue-pale);
}

.dialog-close svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.dialog-heading {
  padding-right: 2.8rem;
}

.dialog-heading .eyebrow {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.dialog-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.7rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.dialog-heading > p:last-child {
  max-width: 32rem;
  margin: 0.75rem 0 1.7rem;
  color: var(--muted);
  line-height: 1.55;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 800;
}

.field label span {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #bac7d8;
  border-radius: 0.3rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.field input {
  min-height: 3.2rem;
  padding: 0.7rem 0.8rem;
}

.field textarea {
  min-height: 7.5rem;
  padding: 0.8rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(8 121 251 / 18%);
}

.form-status {
  min-height: 1.4rem;
  margin: -0.25rem 0 0.7rem;
  color: #31506f;
  font-size: 0.9rem;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.form-submit {
  min-height: 3.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--blue);
  border-radius: 0.25rem;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.form-submit:hover {
  background: #006ee9;
}

.form-submit svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-actions > a {
  color: #31506f;
  font-size: 0.9rem;
  font-weight: 700;
  text-underline-offset: 0.2em;
}

@media (max-width: 68rem) {
  .hero {
    min-height: 32rem;
  }

  .hero::before {
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 39%, rgb(0 18 42 / 86%) 60%, rgb(0 18 42 / 20%) 100%);
  }

  .services-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-block: 0;
  }

  .services-list li {
    min-height: 10rem;
    padding: 1.3rem;
    border-bottom: 1px solid var(--line);
  }

  .services-list li:nth-child(3n)::after {
    display: none;
  }

  .services-list li:nth-child(n + 4) {
    border-bottom: 0;
  }

  .contact-list {
    grid-template-columns: 1fr 1fr;
  }

  .contact-item:last-child {
    grid-column: 1 / -1;
    min-height: 7.8rem;
    border-top: 1px solid var(--line);
  }

  .contact-item:nth-child(2)::after {
    display: none;
  }

  .contact-item:last-child .contact-copy {
    min-width: 19rem;
  }
}

@media (max-width: 46rem) {
  :root {
    --page-gutter: clamp(1.15rem, 5vw, 2rem);
  }

  .site-header {
    height: 6.6rem;
  }

  .header-inner {
    align-items: center;
  }

  .brand {
    width: min(19rem, 88vw);
  }

  .hero {
    min-height: 39rem;
  }

  .hero-art {
    inset: 0;
    opacity: 0.72;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgb(0 18 42 / 99%) 0%, rgb(0 18 42 / 91%) 58%, rgb(0 18 42 / 48%) 100%),
      linear-gradient(0deg, var(--navy) 0%, transparent 75%);
  }

  .hero-inner {
    padding-top: 2.6rem;
    padding-bottom: 2.8rem;
  }

  .hero-copy {
    width: 100%;
  }

  .eyebrow {
    font-size: 0.96rem;
  }

  .hero h1 {
    max-width: 35rem;
    font-size: clamp(2.35rem, 10.5vw, 3rem);
    line-height: 1.06;
  }

  .hero-description,
  .hero-note {
    max-width: 32rem;
    font-size: 1.02rem;
  }

  .hero-actions {
    width: 100%;
    max-width: 28rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .action-primary,
  .action-secondary {
    width: 100%;
  }

  .services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-list li {
    min-height: 9.4rem;
    padding: 1rem 0.5rem;
  }

  .services-list li:nth-child(3n)::after {
    display: block;
  }

  .services-list li:nth-child(2n)::after {
    display: none;
  }

  .services-list li:nth-child(n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .services-list li:nth-child(n + 5) {
    border-bottom: 0;
  }

  .services-list span {
    font-size: 0.94rem;
  }

  .contact-list {
    grid-template-columns: 1fr;
    padding-block: 0.6rem;
  }

  .contact-item,
  .contact-item:last-child {
    grid-column: auto;
    min-height: 7.5rem;
    justify-content: flex-start;
    padding: 1.25rem 0.5rem;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-item:last-child {
    border-bottom: 0;
  }

  .contact-item::after {
    display: none;
  }

  .contact-item:last-child .contact-copy {
    min-width: 0;
  }

  .site-footer p {
    flex-direction: column;
    gap: 0.25rem;
  }

  .footer-divider {
    display: none;
  }

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

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit {
    width: 100%;
  }

  .form-actions > a {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

body {
  min-width: 0;
}

@media (max-width: 46rem) {
  .contact-copy a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 22.5rem) {
  .contact-item,
  .contact-item:last-child {
    gap: 0.8rem;
    padding-inline: 0;
  }

  .contact-icon {
    width: 3.75rem;
    height: 3.75rem;
  }

  .contact-icon svg {
    width: 2rem;
    height: 2rem;
  }

  .contact-copy {
    flex: 1 1 auto;
    font-size: 0.92rem;
  }
}

@media (max-width: 22.5rem) {
  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.35rem);
    letter-spacing: -0.045em;
  }
}

@media (min-width: 46.01rem) {
  .hero-copy {
    width: min(48rem, 100%);
  }

  .hero h1 {
    font-size: clamp(3rem, 3.7vw, 3.65rem);
  }
}

/* Exact service icon crops from the supplied artwork */
.services-list li {
  gap: 0.25rem;
}

.service-icon-frame {
  flex: 0 0 auto;
  width: 6.625rem;
  height: 5.125rem;
  display: grid;
  place-items: center;
  margin-block: -0.25rem;
}

.service-icon-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

@media (max-width: 46rem) {
  .service-icon-frame {
    width: 5.75rem;
    height: 4.5rem;
  }
}
/* Clean Earth-only hero crop: contains no baked page copy */
.hero-art {
  background-image: url("assets/hero-earth.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
}

@media (max-width: 46rem) {
  .hero-art {
    background-position: 56% center;
  }
}
/* Blend the clean hero crop into the navy field */
.hero-art::after {
  content: "";
  position: absolute;
  top: 0;
  right: 38rem;
  bottom: 0;
  width: 10.25rem;
  background: linear-gradient(90deg, var(--navy) 0%, rgb(0 18 42 / 72%) 30%, transparent 100%);
  pointer-events: none;
}

@media (max-width: 46rem) {
  .hero-art::after {
    display: none;
  }
}