:root {
  --bg: #11100e;
  --ink: #fffaf2;
  --muted: rgba(255, 250, 242, 0.78);
  --line: rgba(255, 250, 242, 0.46);
  --panel: rgba(16, 13, 10, 0.56);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(17, 16, 14, 0.16) 0%, rgba(17, 16, 14, 0.02) 31%, rgba(17, 16, 14, 0.42) 100%),
    linear-gradient(180deg, rgba(17, 16, 14, 0.04) 0%, rgba(17, 16, 14, 0.2) 100%),
    url("assets/home-page-bg.png") center / cover no-repeat,
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}

.site-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1rem, 2.6vw, 2.4rem);
  place-items: center;
}

.hero {
  display: grid;
  width: min(100%, 44rem);
  max-height: calc(100svh - clamp(2rem, 5.2vw, 4.8rem));
  align-content: center;
  gap: clamp(0.7rem, 1.9vh, 1.35rem);
  justify-items: center;
  padding-top: clamp(0.8rem, 4vh, 3.2rem);
  text-align: center;
}

.brand-mark {
  display: block;
  width: min(100%, 18rem, 34vh);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 1rem 3rem rgba(0, 0, 0, 0.5));
}

.divider {
  width: min(6rem, 24vw);
  height: 1px;
  margin: 0.2rem 0 0.25rem;
  background: var(--line);
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2.4rem, 5.4vw, 4.15rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.36);
}

.summary {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: uppercase;
}

.notify-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(100%, 36rem);
  margin-top: clamp(0.35rem, 1.2vh, 0.85rem);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.18);
}

.notify-form input,
.notify-form button {
  min-width: 0;
  min-height: 3.3rem;
  border: 0;
  border-radius: 0;
  font: inherit;
}

.website-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.notify-form input {
  width: 100%;
  padding: 0 1.35rem;
  background: rgba(15, 12, 9, 0.62);
  color: var(--ink);
  outline: 0;
}

.notify-form input::placeholder {
  color: rgba(255, 250, 242, 0.72);
}

.notify-form input:focus {
  box-shadow: inset 0 0 0 2px rgba(255, 250, 242, 0.42);
}

.notify-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0 1.55rem;
  background: var(--ink);
  color: #14110f;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.notify-form button:hover {
  background: #ffffff;
}

.notify-form button:active {
  transform: translateY(1px);
}

.notify-form svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.form-message {
  min-height: 1.25rem;
  margin: -0.25rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.25;
}

.form-message.success {
  color: #fffaf2;
}

.form-message.error {
  color: #f5c7b8;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
}

.social-links a {
  display: inline-grid;
  width: 1.55rem;
  height: 1.55rem;
  color: var(--ink);
  place-items: center;
  transition: color 160ms ease, transform 160ms ease;
}

.social-links a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.social-links svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.social-links a:first-child svg {
  fill: currentColor;
  stroke: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 46rem) {
  body {
    background:
      linear-gradient(90deg, rgba(17, 16, 14, 0.38) 0%, rgba(17, 16, 14, 0.12) 48%, rgba(17, 16, 14, 0.46) 100%),
      linear-gradient(180deg, rgba(17, 16, 14, 0.1) 0%, rgba(17, 16, 14, 0.3) 100%),
      url("assets/home-page-bg.png") 42% center / cover no-repeat,
      var(--bg);
  }

  .hero {
    width: min(100%, 31rem);
    padding-top: 0;
  }

  .brand-mark {
    width: min(100%, 15.5rem, 29vh);
  }

  .notify-form {
    grid-template-columns: 1fr;
  }

  .notify-form button {
    width: 100%;
  }
}

@media (max-width: 26rem) {
  .site-shell {
    padding: 1rem;
  }

  .brand-mark {
    width: min(100%, 13.5rem, 27vh);
  }

  h1 {
    font-size: clamp(2.1rem, 12vw, 2.8rem);
  }

  .notify-form input,
  .notify-form button {
    min-height: 3rem;
  }

  .notify-form button span {
    font-size: 0.74rem;
  }
}
