:root {
  --bg: #401309;
  --bg-deep: #2c0c06;
  --text: #fff8ef;
  --muted: rgba(255, 248, 239, 0.84);
  --rule: rgba(255, 248, 239, 0.9);
  --accent: #c99a5b;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.coming-soon {
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(44, 12, 6, 0.22), rgba(44, 12, 6, 0.62)),
    var(--bg);
}

.hero {
  display: grid;
  min-height: 100svh;
  padding: clamp(18px, 6vw, 80px);
}

.hero-frame {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 100%;
  padding: clamp(34px, 8vw, 96px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(44, 12, 6, 0.94) 0%, rgba(44, 12, 6, 0.72) 48%, rgba(44, 12, 6, 0.18) 100%),
    url("assets/last-outpost-hero.jpg");
  background-position: center;
  background-size: cover;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: clamp(14px, 2.6vw, 34px);
  border: 2px solid var(--rule);
  pointer-events: none;
}

h1,
.email-link {
  position: relative;
  z-index: 1;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 8vw, 8.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.email-link {
  display: inline-block;
  margin-top: clamp(24px, 4vh, 42px);
  color: var(--muted);
  font-size: clamp(1.15rem, 1vw + 0.95rem, 1.7rem);
  line-height: 1.2;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.32em;
}

.email-link:hover {
  color: var(--text);
}

.email-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

@media (max-width: 720px) {
  .hero {
    padding: 14px;
  }

  .hero-frame {
    justify-items: center;
    align-content: center;
    padding: clamp(30px, 9vw, 52px);
    text-align: center;
    background:
      linear-gradient(180deg, rgba(44, 12, 6, 0.94) 0%, rgba(44, 12, 6, 0.78) 58%, rgba(44, 12, 6, 0.36) 100%),
      url("assets/last-outpost-hero.jpg");
    background-position: center;
    background-size: cover;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.55rem, 14vw, 4.9rem);
    letter-spacing: 0.08em;
  }
}

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