@font-face {
  font-family: "Oxanium";
  src: url("assets/oxanium.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/jetbrains-mono.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #171511;
  --charcoal: #26231d;
  --charcoal-soft: #343027;
  --cream: #e9e2cf;
  --cream-dim: rgba(233, 226, 207, 0.68);
  --amber: #d9a441;
  --teal: #5ba8a0;
  --line: rgba(233, 226, 207, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
  color: var(--cream);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  background: var(--ink);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--cream);
  transform: translateY(-200%);
}

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

.backdrop,
.backdrop__image,
.backdrop__wash,
.backdrop__grain {
  position: fixed;
  inset: 0;
}

.backdrop {
  z-index: 0;
  overflow: hidden;
  background: var(--ink);
}

.backdrop__image {
  inset: -2.5%;
  background-image: url("assets/hero.webp");
  background-position: 54% 50%;
  background-size: cover;
  filter: saturate(0.82) contrast(1.04);
  transform: scale(1.025);
  animation: settle 18s ease-out both;
}

.backdrop__wash {
  background:
    linear-gradient(90deg, rgba(18, 17, 14, 0.96) 0%, rgba(22, 20, 16, 0.86) 31%, rgba(22, 20, 16, 0.27) 62%, rgba(18, 17, 14, 0.38) 100%),
    linear-gradient(180deg, rgba(20, 18, 14, 0.44) 0%, transparent 38%, rgba(16, 15, 12, 0.9) 100%);
}

.backdrop__grain {
  opacity: 0.14;
  background-image:
    repeating-linear-gradient(93deg, transparent 0 4px, rgba(255,255,255,.025) 4px 5px),
    repeating-linear-gradient(2deg, transparent 0 7px, rgba(0,0,0,.045) 7px 8px);
  mix-blend-mode: overlay;
  pointer-events: none;
}

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

.site-header {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(217, 164, 65, 0.58);
  background: rgba(23, 21, 17, 0.74);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.brand-mark img {
  width: 56px;
  height: 56px;
  object-fit: cover;
}

.signal {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream-dim);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signal__light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(91, 168, 160, 0.14), 0 0 16px rgba(91, 168, 160, 0.6);
  animation: pulse 2.8s ease-in-out infinite;
}

.hero {
  width: min(100%, 1600px);
  min-height: calc(100vh - 185px);
  min-height: calc(100dvh - 185px);
  margin: 0 auto;
  padding: clamp(3.25rem, 8vh, 7.5rem) clamp(1.25rem, 5vw, 5.5rem) 4rem;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 390px);
  align-items: end;
  justify-content: space-between;
  gap: clamp(3rem, 7vw, 9rem);
}

.hero__content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--amber);
  font-size: clamp(0.66rem, 1vw, 0.78rem);
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 3.25rem;
  height: 2px;
  flex: none;
  background: var(--amber);
}

.wordmark {
  width: min(100%, 740px);
  margin: 0;
  line-height: 1;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 9px 0 rgba(14, 13, 11, 0.65)) drop-shadow(0 20px 28px rgba(0,0,0,.35));
}

.tagline {
  margin: clamp(1.6rem, 4vh, 2.5rem) 0 1.25rem;
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.9vw, 2.7rem);
  font-weight: 520;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

.description {
  max-width: 690px;
  margin: 0;
  color: rgba(233, 226, 207, 0.78);
  font-size: clamp(0.82rem, 1.3vw, 1rem);
  line-height: 1.85;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  min-width: 210px;
  min-height: 54px;
  padding: 0.95rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid transparent;
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.button:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}

.button--primary {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}

.button--primary:hover {
  background: var(--cream);
  border-color: var(--cream);
}

.button--secondary {
  color: var(--cream);
  background: rgba(23, 21, 17, 0.52);
  border-color: rgba(233, 226, 207, 0.4);
  backdrop-filter: blur(8px);
}

.button--secondary:hover {
  border-color: var(--teal);
  color: #b7ddd8;
}

.button__arrow {
  font-size: 1.15rem;
  font-weight: 400;
}

.status-copy {
  margin: 1rem 0 0;
  color: rgba(233, 226, 207, 0.48);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
}

.dispatch {
  align-self: end;
  padding: 1.3rem;
  border: 1px solid rgba(91, 168, 160, 0.48);
  background: rgba(23, 21, 17, 0.73);
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.dispatch__label {
  color: var(--teal);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dispatch__rule {
  height: 1px;
  margin: 1rem 0 0.45rem;
  background: linear-gradient(90deg, var(--teal), rgba(91,168,160,0));
}

.dispatch__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dispatch__list li {
  min-height: 70px;
  padding: 0.85rem 0;
  display: grid;
  grid-template-columns: 2rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.dispatch__list li:last-child {
  border-bottom: 0;
}

.dispatch__list span {
  grid-row: 1 / 3;
  color: var(--amber);
  font-size: 0.68rem;
  padding-top: 0.2rem;
}

.dispatch__list strong {
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.dispatch__list small {
  color: var(--cream-dim);
  font-size: 0.64rem;
  line-height: 1.55;
}

.site-footer {
  min-height: 75px;
  padding: 1.25rem clamp(1.25rem, 4vw, 4.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: rgba(233, 226, 207, 0.5);
  background: rgba(17, 16, 13, 0.58);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

@keyframes settle {
  from { transform: scale(1.08); }
  to { transform: scale(1.025); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.68; }
  50% { opacity: 1; }
}

@media (max-width: 980px) {
  .backdrop__image {
    background-position: 60% center;
  }

  .backdrop__wash {
    background:
      linear-gradient(90deg, rgba(18, 17, 14, 0.94), rgba(18, 17, 14, 0.52)),
      linear-gradient(180deg, rgba(20, 18, 14, 0.3), rgba(16, 15, 12, 0.94));
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .dispatch {
    width: min(100%, 700px);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 86px;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
  }

  .brand-mark img {
    width: 46px;
    height: 46px;
  }

  .signal {
    max-width: 180px;
    justify-content: flex-end;
    text-align: right;
    font-size: 0.55rem;
  }

  .hero {
    min-height: auto;
    padding-top: 3.75rem;
  }

  .eyebrow::before {
    width: 1.8rem;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__note {
    color: rgba(233, 226, 207, 0.35);
  }
}

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