:root {
  color-scheme: dark;
  --text: #f3ead8;
  --muted: #d7c4a4;
  --iron: rgba(15, 12, 9, 0.54);
  --ember: #c47a36;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  overflow: hidden;
  background: #17110d;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  isolation: isolate;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 34%, transparent 66%, rgba(0, 0, 0, 0.44)),
    radial-gradient(circle at center, transparent 0 38%, rgba(0, 0, 0, 0.5) 100%),
    rgba(31, 19, 12, 0.22);
}

body::after {
  z-index: 1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
  mix-blend-mode: overlay;
}

.background-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.48) contrast(1.14) brightness(0.68) saturate(0.9);
}

.site-content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100vh;
  place-content: center;
  justify-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.78);
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3.2rem, 11vw, 9.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

p {
  margin-top: clamp(0.75rem, 2vw, 1.15rem);
  color: var(--muted);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(0.9rem, 2.4vw, 1.25rem);
  letter-spacing: 0;
  text-transform: lowercase;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1rem;
  margin-top: clamp(1.15rem, 3vw, 1.75rem);
  padding: 0.7rem 0.9rem;
  border-top: 1px solid rgba(243, 234, 216, 0.28);
  border-bottom: 1px solid rgba(243, 234, 216, 0.18);
  background: var(--iron);
  backdrop-filter: blur(2px);
}

a {
  color: var(--text);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(0.78rem, 2vw, 0.9rem);
  letter-spacing: 0;
  text-decoration-color: rgba(196, 122, 54, 0.75);
  text-underline-offset: 0.22em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

a:hover,
a:focus-visible {
  color: #ffd59d;
  text-decoration-color: var(--ember);
}

a:focus-visible {
  outline: 1px solid var(--ember);
  outline-offset: 0.25rem;
}

@media (max-width: 640px) {
  body {
    overflow: hidden;
  }

  .site-content {
    padding-inline: 1.15rem;
  }

  h1 {
    font-size: clamp(3.1rem, 18vw, 5.4rem);
  }

  .links {
    width: min(100%, 19rem);
  }
}
