@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --ink: #f3eee8;
  --muted: #a49d98;
  --red: #f33140;
  --black: #0a0909;
  --line: rgba(243, 238, 232, 0.15);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--black); scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0 49.95%, rgba(255,255,255,.035) 50%, transparent 50.05%),
    radial-gradient(circle at 76% 48%, rgba(243,49,64,.16), transparent 28%),
    var(--black);
  font-family: 'DM Sans', Arial, sans-serif;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, transparent, black 52%, transparent);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

main {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.site-header, footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 76px);
  font-size: .76rem;
  letter-spacing: .16em;
}

.site-header { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: .24em; }
.brand-mark { width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 28px rgba(243,49,64,.7); }
.status { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.status > span { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.hero {
  position: relative;
  z-index: 1;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(64px, 11vh, 126px) clamp(24px, 7vw, 104px) clamp(52px, 8vh, 90px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .38fr);
  gap: clamp(60px, 10vw, 160px);
  align-items: end;
}

.hero::after {
  content: '';
  position: absolute;
  width: clamp(240px, 32vw, 480px);
  aspect-ratio: 1;
  right: clamp(-140px, -4vw, -40px);
  top: 50%;
  translate: 0 -50%;
  border: 1px solid rgba(243,49,64,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(243,49,64,.025), 0 0 0 160px rgba(243,49,64,.018);
  pointer-events: none;
}

.hero-copy { max-width: 790px; }
.eyebrow { margin: 0 0 24px; color: var(--red); font-size: .78rem; font-weight: 600; letter-spacing: .22em; }
h1 { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(4.5rem, 10vw, 9.6rem); font-weight: 400; letter-spacing: -.055em; line-height: .78; }
h1 em { color: var(--red); font-weight: 400; }
.lede { max-width: 620px; margin: clamp(34px, 5vh, 52px) 0 0; color: #c8c1bc; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.65; }

.waitlist { max-width: 620px; margin-top: 42px; }
.waitlist > label { display: block; margin-bottom: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.form-row { display: flex; border-bottom: 1px solid rgba(243,238,232,.42); }
.form-row:focus-within { border-color: var(--red); }
.form-row input { flex: 1; min-width: 0; padding: 17px 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 1rem; }
.form-row input::placeholder { color: #706966; }
.form-row button { border: 0; padding: 0 0 0 24px; color: var(--ink); background: transparent; font-size: .78rem; font-weight: 600; letter-spacing: .13em; cursor: pointer; }
.form-row button::after { content: ''; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--red); transition: width .2s ease; }
.form-row button:hover::after { width: 40px; }
.form-row button:disabled { opacity: .5; cursor: wait; }
.waitlist-status { min-height: 22px; margin: 12px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.waitlist-status.success { color: var(--ink); }
.waitlist-status.error { color: #ff7f88; }
.waitlist-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.dispatch { position: relative; z-index: 1; padding-left: 30px; border-left: 1px solid var(--line); }
.dispatch-index { color: var(--red); font-size: .76rem; letter-spacing: .16em; }
.dispatch-line { width: 100%; height: 1px; margin: 22px 0 28px; background: linear-gradient(90deg, var(--red), transparent); }
.dispatch p { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(1.55rem, 2.5vw, 2.45rem); line-height: 1.22; }
.dispatch span { display: block; margin-top: 30px; color: var(--muted); font-size: .7rem; line-height: 1.6; letter-spacing: .13em; }

footer { border-top: 1px solid var(--line); color: #77706c; }

@media (max-width: 760px) {
  body { background: radial-gradient(circle at 90% 40%, rgba(243,49,64,.14), transparent 32%), var(--black); }
  body::before { background-size: 48px 48px; }
  .site-header { padding-block: 22px; }
  .status { font-size: .66rem; }
  .hero { grid-template-columns: 1fr; gap: 58px; align-items: start; padding-top: 70px; }
  .hero::after { width: 270px; right: -180px; top: 42%; }
  h1 { font-size: clamp(4rem, 21vw, 6.5rem); }
  .lede { font-size: 1rem; }
  .dispatch { max-width: 340px; }
  footer { gap: 30px; align-items: flex-end; font-size: .62rem; line-height: 1.5; }
}

@media (max-width: 480px) {
  .brand { letter-spacing: .16em; }
  .status { max-width: 108px; text-align: right; line-height: 1.4; }
  .form-row { display: grid; }
  .form-row button { justify-self: start; padding: 14px 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
