:root {
  color-scheme: dark;
  --ink: #f8f4ec;
  --muted: rgba(248, 244, 236, 0.76);
  --line: rgba(248, 244, 236, 0.32);
  --accent: #d9b56d;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #111412;
  color: var(--ink);
}

.landing {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
}

.background-video,
.shade {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.background-video {
  z-index: -3;
  object-fit: cover;
  background: #111412 url("assets/factory-poster.jpg") center / cover no-repeat;
}

.shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 10, 8, 0.8), rgba(7, 10, 8, 0.46) 48%, rgba(7, 10, 8, 0.72)),
    linear-gradient(180deg, rgba(7, 10, 8, 0.58), rgba(7, 10, 8, 0.18) 38%, rgba(7, 10, 8, 0.78));
}

.content {
  width: min(100%, 1060px);
  text-align: center;
}

.eyebrow,
.status {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.eyebrow {
  color: var(--muted);
  font-size: clamp(0.72rem, 1.4vw, 0.92rem);
}

h1 {
  margin: 16px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.4rem, 15vw, 12.5rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.48);
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-size: clamp(0.78rem, 1.8vw, 1.08rem);
}

@media (max-width: 640px) {
  .landing {
    align-items: end;
    padding-bottom: 18svh;
  }

  .shade {
    background:
      linear-gradient(180deg, rgba(7, 10, 8, 0.34), rgba(7, 10, 8, 0.58) 46%, rgba(7, 10, 8, 0.9));
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 6.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing {
    background: #111412 url("assets/factory-poster.jpg") center / cover no-repeat;
  }

  .background-video {
    display: none;
  }
}
