:root {
  color-scheme: dark;
  --font: "Alegreya Sans SC Game", "Alegreya Sans SC", "Segoe UI", system-ui, sans-serif;
  --bg: #05080a;
  --text: #f5efd9;
  --muted: #b8c6c4;
  --gold: #e7b65a;
  --teal: #63d4df;
  --panel: rgba(5, 8, 10, 0.78);
  --line: rgba(231, 182, 90, 0.52);
}

@font-face {
  font-family: "Alegreya Sans SC Game";
  src: url("/assets/fonts/AlegreyaSansSC-Regular.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.45 var(--font);
}

a,
h1,
h2,
p {
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: normal;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 7, 9, 0.92), rgba(4, 7, 9, 0.56) 44%, rgba(4, 7, 9, 0.12)),
    url("/assets/title_screen_background.png") center / cover;
  transform: scale(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 38%;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 4vw, 56px);
}

.brand,
.links a,
.primary,
.secondary,
.quick-links a {
  font-weight: 800;
}

.brand {
  font-size: 20px;
}

.links,
.actions,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.links a {
  color: var(--muted);
  font-size: 15px;
}

.links a:hover,
.quick-links a:hover {
  color: var(--gold);
}

.hero-copy {
  width: min(760px, calc(100% - 40px));
  padding: clamp(52px, 10vh, 120px) 0 96px clamp(20px, 4vw, 56px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.title-logo {
  display: block;
  width: min(760px, 100%);
  height: auto;
  margin: 2px 0 0 -18px;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.74));
}

h1 {
  max-width: 760px;
  color: var(--text);
  font-size: clamp(54px, 10vw, 118px);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.78);
}

h2 {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

h2 span {
  display: block;
}

.lead {
  display: block;
  width: min(600px, calc(100vw - 60px));
  max-width: 600px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 25px);
  text-wrap: pretty;
}

.lead span {
  display: block;
}

.actions {
  margin-top: 28px;
}

.primary,
.secondary,
.quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 16px;
}

.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #130d06;
}

.secondary,
.quick-links a {
  background: rgba(4, 8, 10, 0.72);
}

.status {
  padding: 54px 0 70px;
}

.inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.status-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1.22fr);
  gap: 34px;
  align-items: center;
}

.hero-copy,
.status-copy,
.status-layout,
.status-layout > *,
.media,
.status img {
  min-width: 0;
}

.status-copy {
  border-left: 3px solid var(--gold);
  padding-left: 22px;
}

.status-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
}

.quick-links {
  margin-top: 24px;
}

.status img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #020405;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-copy {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    padding-left: 20px;
  }

  .inner {
    width: calc(100vw - 40px);
  }

  .status-copy {
    max-width: calc(100vw - 40px);
  }

  h1 {
    font-size: clamp(46px, 13vw, 62px);
  }

  .title-logo {
    width: min(400px, calc(100vw - 52px));
    margin-left: 0;
  }

  h2 {
    font-size: 32px;
  }

  .lead,
  .status-copy p:not(.eyebrow) {
    width: calc(100vw - 64px);
    max-width: 100%;
    font-size: 18px;
  }

  .status-copy h2 {
    width: calc(100vw - 64px);
  }
}
