:root {
  color-scheme: dark;
  --ink: #090807;
  --ink-soft: #11100e;
  --cream: #d8ccb5;
  --cream-muted: #9e927e;
  --gold: #a98645;
  --bordeaux: #5e0817;
  --line: rgba(216, 204, 181, 0.18);
  --shadow: rgba(0, 0, 0, 0.62);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--cream);
  font-family: Garamond, "Times New Roman", serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(94, 8, 23, 0.18), transparent 34rem),
    linear-gradient(180deg, #050504 0%, var(--ink) 48%, #0d0a09 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(216, 204, 181, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 204, 181, 0.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 42%, black, transparent 78%);
}

.page-shell {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(16px, 3vw, 36px) clamp(16px, 4vw, 56px) 28px;
}

.hero {
  min-height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 42px);
}

.poster-wrap {
  position: relative;
  width: min(100%, 640px);
  margin: 0 auto;
}

.poster-wrap::before {
  position: absolute;
  inset: -1px;
  content: "";
  border: 1px solid var(--line);
  transform: translate(8px, 8px);
}

.poster {
  position: relative;
  display: block;
  width: 100%;
  max-height: min(70svh, 760px);
  object-fit: contain;
  border: 1px solid rgba(169, 134, 69, 0.2);
  background: #050504;
  box-shadow: 0 32px 90px var(--shadow);
}

.correspondence {
  width: min(100%, 620px);
  margin: 0 auto;
  text-align: center;
}

h1 {
  margin: 0;
  color: var(--gold);
  font-family: "Courier New", monospace;
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.waitlist-form {
  margin-top: clamp(18px, 4vw, 28px);
}

.form-row {
  display: grid;
  gap: 10px;
}

input,
button {
  min-height: 48px;
  border-radius: 0;
  font: inherit;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  color: var(--cream);
  background: rgba(8, 7, 6, 0.72);
  padding: 0 16px;
  outline: none;
}

input:focus {
  border-color: rgba(169, 134, 69, 0.78);
  box-shadow: 0 0 0 1px rgba(169, 134, 69, 0.28);
}

button {
  border: 1px solid rgba(169, 134, 69, 0.68);
  color: var(--cream);
  background: linear-gradient(180deg, rgba(94, 8, 23, 0.92), rgba(45, 5, 12, 0.92));
  padding: 0 18px;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

button:hover,
button:focus-visible {
  border-color: var(--gold);
  color: #f3ead6;
  transform: translateY(-1px);
}

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

@media (min-width: 760px) {
  .form-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 520px) {
  .page-shell {
    padding-top: 14px;
  }

  .hero {
    min-height: auto;
    gap: 26px;
  }

  .poster {
    max-height: 62svh;
  }

  .poster-wrap::before {
    transform: translate(5px, 5px);
  }

  h1 {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
  }
}
