:root {
  color-scheme: dark;
  --black: #030507;
  --graphite: #0c1117;
  --navy: #0b1523;
  --silver: #b9c1cb;
  --silver-bright: #e4e9ee;
  --white: #f7f8fa;
  --muted: #a2aab4;
  --line: rgba(218, 225, 232, 0.22);
  --content-width: 86rem;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--black);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.environment,
.environment::after,
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.environment {
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(2, 4, 7, 0.96) 0%, rgba(2, 5, 9, 0.84) 36%, rgba(2, 5, 9, 0.36) 72%, rgba(2, 4, 7, 0.66) 100%),
    linear-gradient(180deg, rgba(1, 3, 5, 0.4) 0%, rgba(1, 3, 5, 0.08) 45%, rgba(1, 3, 5, 0.88) 100%),
    url("assets/aex-maintenance-rock.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.035);
  animation: camera-drift 28s ease-in-out infinite alternate;
}

.environment::after {
  content: "";
  background: linear-gradient(112deg, transparent 34%, rgba(208, 220, 232, 0.02) 45%, rgba(221, 230, 238, 0.14) 51%, rgba(208, 220, 232, 0.02) 58%, transparent 70%);
  transform: translateX(-32%);
  mix-blend-mode: screen;
  animation: silver-sweep 20s ease-in-out infinite;
}

.atmosphere {
  z-index: 1;
  opacity: 0.34;
  background-image:
    radial-gradient(circle at 78% 64%, rgba(196, 210, 224, 0.15), transparent 10%),
    radial-gradient(circle at 86% 46%, rgba(180, 199, 219, 0.12), transparent 13%),
    radial-gradient(circle at 70% 86%, rgba(160, 180, 201, 0.09), transparent 16%);
  filter: blur(10px);
  animation: mist-drift 24s ease-in-out infinite alternate;
}

.page-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, var(--content-width));
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: max(1.25rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
}

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

.site-header {
  min-height: 5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 7.5rem;
  height: 3rem;
  padding: 0.3rem 0;
  border-radius: 0.25rem;
}

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

.status,
.eyebrow,
.production-mark,
.site-footer {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.status {
  color: var(--silver);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 46rem) auto;
  gap: clamp(2rem, 8vw, 8rem);
  align-items: center;
  padding: clamp(3.5rem, 9vh, 7.5rem) 0;
}

.hero-content {
  max-width: 46rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.45rem;
  color: var(--silver-bright);
}

.eyebrow::before {
  width: 2.5rem;
  height: 1px;
  background: var(--silver);
  content: "";
}

h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--white);
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  font-size: clamp(3.4rem, 7vw, 7rem);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.91;
  text-wrap: balance;
}

.supporting-copy {
  max-width: 42rem;
  margin: clamp(1.75rem, 4vh, 2.75rem) 0 0;
  color: #c9d0d8;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.7;
}

.brand-statement {
  margin: 1.4rem 0 0;
  color: var(--white);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 650;
}

.actions {
  display: grid;
  gap: 0.75rem;
  width: min(100%, 24rem);
  margin-top: clamp(2.25rem, 5vh, 3.25rem);
}

.button {
  display: flex;
  min-height: 3.85rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--silver-bright);
  color: var(--white);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button-primary {
  background: var(--white);
  color: #05080c;
}

.button-secondary {
  background: rgba(5, 9, 14, 0.52);
  backdrop-filter: blur(12px);
}

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

.button-primary:hover {
  background: #dfe5eb;
  border-color: #dfe5eb;
}

.button-secondary:hover {
  background: rgba(230, 235, 240, 0.1);
}

.button:focus-visible,
.brand:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.arrow {
  font-size: 1.1rem;
  line-height: 1;
}

.production-mark {
  display: grid;
  grid-template-columns: auto 5rem auto;
  align-items: center;
  gap: 1rem;
  align-self: end;
  justify-self: end;
  margin-bottom: 1.1rem;
  color: var(--silver);
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.production-mark-index {
  color: var(--white);
  font-size: 1rem;
}

.production-mark-rule {
  width: 1px;
  height: 5rem;
  background: var(--line);
}

.site-footer {
  min-height: 4rem;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  padding: 0.5rem 0;
  color: var(--silver-bright);
  text-underline-offset: 0.35em;
}

@keyframes camera-drift {
  from { transform: scale(1.035) translate3d(-0.35%, -0.15%, 0); }
  to { transform: scale(1.07) translate3d(0.65%, 0.35%, 0); }
}

@keyframes silver-sweep {
  0%, 18% { transform: translateX(-38%); opacity: 0; }
  40%, 58% { opacity: 0.75; }
  82%, 100% { transform: translateX(36%); opacity: 0; }
}

@keyframes mist-drift {
  from { transform: translate3d(-1.5%, 0.5%, 0) scale(1); opacity: 0.24; }
  to { transform: translate3d(1.4%, -0.7%, 0) scale(1.06); opacity: 0.42; }
}

@media (max-width: 760px) {
  .page-shell {
    padding-inline: max(1.2rem, env(safe-area-inset-left));
  }

  .site-header {
    min-height: 4.25rem;
  }

  .brand {
    width: 6.4rem;
    height: 2.55rem;
  }

  .status {
    display: none;
  }

  .hero {
    display: block;
    padding: clamp(3rem, 8vh, 5rem) 0;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.15rem, 15vw, 5.2rem);
  }

  .supporting-copy {
    font-size: 1rem;
    line-height: 1.62;
  }

  .actions {
    width: 100%;
  }

  .button {
    min-height: 3.9rem;
  }

  .production-mark {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem 0 0.25rem;
    line-height: 1.7;
  }

  .environment {
    background-position: 62% center;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .hero {
    padding-block: 2.5rem;
  }

  h1 {
    font-size: clamp(3.25rem, 8vh, 5.6rem);
  }

  .supporting-copy {
    margin-top: 1.5rem;
  }

  .actions {
    margin-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
