@font-face {
  font-family: Arena;
  src: url('./assets/arena-display.woff') format('woff');
  font-display: swap;
}

:root {
  font-family: Arial, sans-serif;
  color: #f1ecdf;
  background: #181d1c;
  color-scheme: dark;
  --line: #72786b;
  --muted: #bfc6ba;
  --signal: #f5a967;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid #a2dfe2;
  outline-offset: 4px;
}

.masthead,
main {
  width: min(1220px, calc(100% - 64px));
  margin-inline: auto;
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: #f1ecdf;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.19em;
  font-size: 0.87rem;
  font-weight: 800;
}

.wordmark img {
  width: 30px;
  height: 30px;
}

.dispatch {
  display: grid;
  grid-template-columns: minmax(340px, 5fr) minmax(0, 7fr);
  gap: clamp(16px, 3vw, 44px);
  align-items: center;
  padding-block: 32px;
}

.brief {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  padding-left: 11px;
  border-left: 3px solid var(--signal);
  color: var(--signal);
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0 0 17px -0.035em;
  font:
    900 clamp(4.75rem, 8.85vw, 9rem) / 0.85 Arena,
    'Arial Narrow',
    sans-serif;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.lede {
  max-width: 32ch;
  margin: 0 0 26px;
  color: #dedfd4;
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  line-height: 1.42;
}

.play {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  min-height: 54px;
  padding: 12px 16px 12px 18px;
  border: 1px solid #ffc392;
  background: var(--signal);
  color: #1c1e19;
  text-decoration: none;
  font-size: 1.06rem;
  font-weight: 800;
  box-shadow: 3px 3px 0 #8d5639;
}

.play:hover {
  background: #ffd0a6;
}
.play span {
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.access {
  color: var(--muted);
  font-size: 0.83rem;
  margin: 14px 0 0;
}
.access span {
  padding-inline: 2px;
  color: var(--signal);
}

.plate {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-areas: 'art';
  place-items: center;
  min-height: 320px;
  aspect-ratio: 1.52;
  margin: 0;
  overflow: hidden;
  border: 1px solid #767970;
  background:
    linear-gradient(146deg, #292f2d 0 22%, transparent 22% 83%, #252b28 83%),
    radial-gradient(ellipse at 44% 39%, #74786b, #373f3b 72%);
}

.plate::before {
  position: absolute;
  inset: 0;
  content: '';
  background:
    repeating-linear-gradient(0deg, transparent 0 29px, #d5dfd619 29px 30px),
    repeating-linear-gradient(90deg, transparent 0 29px, #d5dfd619 29px 30px);
  mask-image: linear-gradient(120deg, #0005, #000 48%, #0005);
}

.sight {
  grid-area: art;
  position: relative;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid #c5cfbb66;
  border-radius: 50%;
  box-shadow:
    0 0 0 14px #101d181e,
    inset 0 0 0 12px #9aa49622;
}

.sight::before,
.sight::after {
  content: '';
  position: absolute;
  width: 112%;
  top: 50%;
  left: -6%;
  border-top: 1px dashed #929e8a;
}

.sight::after {
  transform: rotate(90deg);
}

.kestrel {
  grid-area: art;
  position: relative;
  display: block;
  width: min(99%, 640px);
  height: auto;
  filter: drop-shadow(9px 17px 14px #050c0bae);
}

.plate figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 14px 10px 18px;
  background: #161e1b;
  border-left: 3px solid var(--signal);
  color: var(--muted);
  font-size: 0.8rem;
}

.plate figcaption span {
  color: #f2eadd;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.12em;
}

.handbook {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  border-top: 1px solid var(--line);
  padding-block: 18px 24px;
}

.handbook h2 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}
.handbook p {
  margin: 0;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.5;
}
.touch-controls {
  display: none;
}

@media (pointer: coarse) {
  .desktop-controls {
    display: none;
  }
  .handbook .touch-controls {
    display: block;
  }
}

@media (max-width: 780px) {
  .masthead,
  main {
    width: calc(100% - 36px);
  }
  .masthead {
    min-height: 52px;
  }
  .plate {
    min-height: 0;
  }
  .dispatch {
    grid-template-columns: minmax(220px, 5fr) minmax(0, 7fr);
    padding-block: 20px;
  }
  h1 {
    font-size: clamp(3.6rem, 10vw, 5.5rem);
  }
  .lede {
    margin-bottom: 15px;
  }
}

@media (max-width: 540px) {
  .dispatch {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: clamp(2.5rem, 14vw, 5.5rem);
  }
  .plate {
    aspect-ratio: 1.72;
  }
  .kestrel {
    width: min(96%, 430px);
  }
  .handbook {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
