:root {
  color-scheme: dark;
  --ink: #e5e5e1;
  --muted: #b8c6d5;
  --navy: #071525;
  --line: rgba(204, 226, 241, .25);
  --cyan: #7495ae;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--navy); }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }

.site-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}

.visual,
.hero-slide,
.visual::after { position: absolute; inset: 0; }

.visual { z-index: 0; pointer-events: none; }

.site-header,
.hero-content,
.site-footer { position: relative; z-index: 1; }

.hero-slide {
  background-position: center center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 3s ease, transform 10s linear;
}

.hero-slide.is-active { opacity: 1; transform: scale(1); }

.visual::after {
  content: "";
  z-index: 1;
  background: linear-gradient(90deg, rgba(4, 15, 28, .92) 0%, rgba(4, 15, 28, .83) 29%, rgba(4, 15, 28, .46) 53%, rgba(4, 15, 28, .08) 100%),
              linear-gradient(0deg, rgba(4, 15, 28, .62), transparent 35%);
}

.site-header,
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.site-header {
  min-height: 103px;
  margin: 0 clamp(1.5rem, 5vw, 5.5rem);
  border-bottom: 1.5px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; }

.brand-mark { display: flex; align-items: end; gap: 4px; height: 25px; transform: skew(-15deg); }
.brand-mark span { display: block; width: 5px; background: var(--cyan); }
.brand-mark span:nth-child(1) { height: 18px; }
.brand-mark span:nth-child(2) { height: 25px; }
.brand-mark span:nth-child(3) { height: 14px; }

.brand-name { font-size: 1.125rem; letter-spacing: .015em; }
.brand-name strong { font-weight: 700; }
.header-location { color: var(--muted); font-size: 1.0625rem; font-weight: 700; letter-spacing: .04em; text-transform: none; }
.header-location span { color: var(--cyan); padding: 0 .65rem; }
.header-call { display: none; }

.hero-content {
  width: min(720px, 100%);
  margin: auto 0;
  padding: clamp(2rem, 4vh, 3.5rem) 1.5rem clamp(1.5rem, 3.5vh, 3rem) clamp(1.5rem, 8vw, 9rem);
}

.eyebrow,
.contact-label,
.status,
.contact h2 { font-size: 1.0625rem; font-weight: 700; letter-spacing: .05em; text-transform: none; }

.eyebrow { display: flex; align-items: center; gap: .9rem; color: var(--cyan); }
.eyebrow-line { flex-shrink: 0; width: 34px; height: 1px; background: currentColor; }

h1 {
  margin: 1.05rem 0 1.25rem;
  font-size: clamp(4.25rem, 7.6vw, 8rem);
  line-height: .87;
  letter-spacing: -.045em;
  font-weight: 700;
}

h1 em { color: var(--cyan); font-style: normal; font-weight: 700; }

.intro { max-width: 530px; margin: 2rem 0 1.1rem; color: var(--ink); font-size: clamp(1.08rem, 1.4vw, 1.34rem); line-height: 1.5; letter-spacing: .006em; }

.status { display: inline-flex; align-items: center; gap: .75rem; color: #d1e2eb; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(145, 210, 237, .11); }

.contact { margin-top: clamp(1.5rem, 3vh, 2.5rem); padding-top: 1.55rem; border-top: 1.5px solid var(--line); }
.contact h2 { margin: 0 0 1.65rem; color: var(--cyan); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 1.7rem 2.2rem; }
.contact-item { display: flex; flex-direction: column; align-items: start; gap: .45rem; min-width: 0; }
.contact-label { color: #9fb5c5; font-size: 1.0625rem; }
.contact-item a,
.contact-item address { color: var(--ink); font-size: 1.125rem; font-style: normal; line-height: 1.55; text-decoration: none; overflow-wrap: anywhere; }
.contact-item a:hover,
.site-footer a:hover { color: var(--cyan); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.6rem; margin-top: 2rem; }
.button-primary { display: inline-flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; padding: .65rem .9rem; color: #061624; background: var(--cyan); text-decoration: none; font-size: 1.0625rem; font-weight: 700; letter-spacing: .015em; line-height: 1.25; transition: background .2s, transform .2s; }
.button-primary:hover { background: #345d7b; transform: translateY(-2px); }
.button-primary span,
.button-text span { font-size: 1.1rem; font-weight: 700; }
.button-text { display: inline-flex; align-items: center; gap: .6rem; color: #d7e5ed; font-size: 1.0625rem; min-height: 44px; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.button-text:hover { color: var(--cyan); }

.site-footer {
  min-height: 76px;
  margin: 0 clamp(1.5rem, 5vw, 5.5rem);
  border-top: 1.5px solid var(--line);
  color: #d1e2eb;
  font-size: 1.0625rem;
  letter-spacing: .02em;
}
.site-footer nav { display: flex; gap: 1.75rem; }
.site-footer a { text-decoration: none; }

@media (max-width: 760px) {
  .site-header { min-height: 75px; gap: 1rem; }
  .brand { gap: .65rem; }
  .header-location { display: none; }
  .header-call { display: inline-flex; gap: .35rem; color: var(--cyan); font-size: 1.0625rem; font-weight: 700; text-decoration: none; }
  .brand-name { font-size: 1.0625rem; font-weight: 700; }
  .visual::after { background: linear-gradient(180deg, rgba(4, 15, 28, .2875), rgba(4, 15, 28, .483) 37%, rgba(4, 15, 28, .54625) 71%); }
  .visual { position: fixed; height: 100lvh; }
  .hero-slide { background-size: auto 100%; background-position: 75% center; background-repeat: no-repeat; }
  .hero-content { width: 100%; margin: 0; padding: clamp(.98rem, 2.275vh, 1.4rem) 1.6rem 2rem; }
  .eyebrow { font-size: 1.0625rem; font-weight: 700; letter-spacing: .04em; line-height: 1.3; }
  h1 { font-size: clamp(4rem, 15vw, 6rem); font-weight: 700; letter-spacing: -.045em; }
  h1 em { font-weight: 700; }
  .intro { margin-top: 1.5rem; color: var(--ink); font-size: 1.18rem; font-weight: 700; line-height: 1.52; }
  .status { font-size: 1.0625rem; font-weight: 700; letter-spacing: .04em; }
  .contact { margin-top: 1.5rem; }
  .contact h2 { font-size: 1.0625rem; font-weight: 700; letter-spacing: .04em; }
  .contact-label { font-size: 1.0625rem; font-weight: 700; }
  .contact-item a,
  .contact-item address { font-size: 1.12rem; font-weight: 700; line-height: 1.5; }
  .button-primary { font-size: 1.0625rem; }
  .button-text { font-size: 1.0625rem; font-weight: 700; }
  .site-footer { min-height: 90px; align-items: start; padding-top: 1.35rem; }
}

@media (max-width: 520px) {
  .contact-grid { grid-template-columns: 1fr; gap: 1.35rem; }
  .site-footer { flex-direction: column; justify-content: center; gap: .8rem; padding: 1.3rem 0; }
  .site-footer nav { gap: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .button-primary { transition: none; }
}

/* Refined typography, compact actions and engine logo. */
.brand-logo { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.hero-content { width: min(1120px, 100%); }
h1 { white-space: nowrap; font-size: clamp(2rem, 6.4vw, 6.5rem); line-height: 1.05; letter-spacing: -.035em; }
.contact { max-width: 650px; }
.actions { gap: .75rem; }
.button-primary { justify-content: center; padding: .4rem .7rem; min-height: 40px; gap: 0; }
.site-footer { align-items: center; padding: 1.2rem 0; line-height: 1.55; flex-wrap: wrap; gap: .8rem 2rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; flex: 1 1 650px; min-width: 0; }
.site-footer nav { gap: .55rem; white-space: nowrap; }
@media (max-width: 760px) {
  h1 { font-size: clamp(1.8rem, 8.25vw, 3.9rem); letter-spacing: -.035em; }
  .brand { gap: .55rem; }
  .brand-logo { width: 36px; height: 36px; }
  .footer-brand { gap: .55rem; flex: initial; }
}

.footer-logo { display: inline-flex; flex: 0 0 auto; align-self: flex-start; }
.footer-logo img { width: 52px; height: 52px; object-fit: contain; }
@media (max-width: 520px) { .site-footer { align-items: flex-start; } }

.brand { min-width: 0; }
.brand-name { line-height: 1.35; }
.header-call { flex-shrink: 0; }

.contact-address { grid-column: 1 / -1; }
.contact-address address span { display: block; white-space: nowrap; }
.button-primary { min-height: 32px; padding: .25rem .65rem; }
.actions { gap: .6rem; }
.intro { max-width: 850px; }
@media (max-width: 360px) {
  .actions { gap: .3rem; }
  .button-primary { padding-inline: .3rem; letter-spacing: 0; }
}

.contact-grid { grid-template-columns: 1fr; gap: 1.35rem; }

@media (max-width: 520px) { .footer-brand { width: 100%; } }

@media (max-width: 760px) {
  .site-footer nav { margin-left: calc(52px + .55rem); }
}

.intro-separator { display: none; }
@media (max-width: 760px) {
  .intro-separator { display: inline; }
  .intro-break { display: none; }
}

.contact > .actions { margin-top: 0; margin-bottom: 1.5rem; }

.button-primary { background: #244f70; color: var(--ink); }
.button-primary .button-label { position: relative; top: 1px; font-size: inherit; }

@media (max-width: 760px) {
  .button-primary .button-label { top: 0; }
}

@media (max-width: 760px) {
  .hero-content { --mobile-title-size: clamp(2.16rem, 9.9vw, 4.68rem); }
  h1 { font-size: var(--mobile-title-size); }
  .eyebrow { font-size: calc(var(--mobile-title-size) * .518974); letter-spacing: -.035em; white-space: nowrap; }
}
@media (max-width: 760px), (orientation: landscape) and (max-height: 600px) and (max-width: 1100px) {
  .site-footer { flex-direction: column; align-items: flex-start; }
  .footer-brand { flex: initial; width: 100%; }
  .site-footer nav { margin-left: calc(52px + 1rem); }
}
@media (max-width: 760px) {
  .site-footer nav { margin-left: calc(52px + .55rem); }
}

/* Shade the menu, with a soft fade into the image below. */
.site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: 0;
  left: calc(-1 * clamp(1.5rem, 5vw, 5.5rem));
  right: calc(-1 * clamp(1.5rem, 5vw, 5.5rem));
  height: calc(100% + 48px);
  background: linear-gradient(to bottom, rgba(4, 15, 28, .2) 0%, rgba(4, 15, 28, .2) calc(100% - 48px), rgba(4, 15, 28, 0) 100%);
}
