:root {
  --ink: #42382f;
  --muted: #75695f;
  --paper: #f1ece4;
  --paper-light: #f7f3ed;
  --line: rgba(91, 74, 61, 0.2);
  --button: #978573;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

button,
input {
  font: inherit;
}

.landing-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.82), transparent 31%),
    radial-gradient(circle at 46% 72%, rgba(209, 197, 183, 0.26), transparent 30%),
    linear-gradient(105deg, var(--paper-light) 0%, #eee7dd 56%, #e8ded1 100%);
}

.landing-shell::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  opacity: 0.25;
  background-image:
    repeating-linear-gradient(14deg, rgba(73, 58, 45, 0.025) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(97deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 5px);
  mix-blend-mode: multiply;
}

.art-panel {
  position: absolute;
  inset: 0 0 0 43%;
  z-index: 0;
  overflow: hidden;
}

.reference-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: saturate(0.78) contrast(0.94) brightness(1.03);
}

@media (min-width: 901px) {
  .reference-art {
    transform: scale(1.52);
    transform-origin: right center;
  }
}

.art-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    #f1ece4 0%,
    rgba(241, 236, 228, 0.96) 17%,
    rgba(241, 236, 228, 0.42) 38%,
    rgba(241, 236, 228, 0) 68%
  );
}

.site-header,
.hero,
.site-footer {
  position: relative;
  z-index: 3;
}

.site-header {
  display: flex;
  justify-content: center;
  padding: clamp(1.8rem, 5.5vh, 4.2rem) 2rem 0;
}

.wordmark {
  width: clamp(12rem, 15vw, 15.5rem);
  height: auto;
  opacity: 0.9;
}

.hero {
  align-self: center;
  width: min(48rem, 52vw);
  margin-left: clamp(2rem, 8.15vw, 8.7rem);
  padding: clamp(3rem, 4vh, 5rem) 0 clamp(5rem, 8vh, 7rem);
}

.eyebrow,
.site-footer {
  color: var(--muted);
  font-size: clamp(0.7rem, 1vw, 0.96rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 clamp(1.4rem, 3vh, 2.2rem);
}

h1 {
  max-width: 47rem;
  margin: 0;
  font-family: Didot, "Bodoni 72", "Bodoni MT", Georgia, serif;
  font-size: clamp(3.35rem, 5.1vw, 5.45rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.subhead {
  margin: clamp(1.8rem, 4vh, 2.75rem) 0 clamp(1.8rem, 3.2vh, 2.4rem);
  color: #514940;
  font-size: clamp(1rem, 1.5vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.notify-form {
  display: grid;
  grid-template-columns: minmax(13rem, 20rem) minmax(9.5rem, 12rem);
  gap: 0.55rem;
  width: min(100%, 34rem);
}

.notify-form input,
.notify-form button {
  min-height: 4.2rem;
  border-radius: 0.6rem;
}

.notify-form input {
  width: 100%;
  border: 1px solid rgba(89, 73, 60, 0.25);
  outline: none;
  background: rgba(250, 247, 242, 0.54);
  color: var(--ink);
  padding: 0 1.6rem;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.notify-form input::placeholder {
  color: #8c8177;
}

.notify-form input:focus {
  border-color: #8f7c6a;
  background: rgba(255, 253, 249, 0.82);
  box-shadow: 0 0 0 3px rgba(143, 124, 106, 0.12);
}

.notify-form button {
  cursor: pointer;
  border: 1px solid transparent;
  background: var(--button);
  color: white;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.notify-form button:hover {
  background: #806f60;
  box-shadow: 0 0.6rem 1.4rem rgba(86, 70, 57, 0.16);
  transform: translateY(-1px);
}

.notify-form button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.notify-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  height: 1.4rem;
  margin: 0.75rem 0 0;
  color: #65584b;
  font-size: 0.83rem;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(-0.25rem);
  transition: opacity 220ms ease, transform 220ms ease;
}

.form-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.form-status.is-error {
  color: #8a4c42;
}

.site-footer {
  display: flex;
  min-height: clamp(4.5rem, 10vh, 6.3rem);
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--line);
  background: rgba(244, 238, 230, 0.22);
  backdrop-filter: blur(2px);
}

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

@media (max-width: 900px) {
  .landing-shell {
    min-height: 100svh;
    background: linear-gradient(120deg, #f7f2eb 0%, #eee4d8 100%);
  }

  .art-panel {
    inset: 0;
    opacity: 0.44;
  }

  .reference-art {
    object-position: 74% center;
  }

  .art-panel::after {
    background:
      linear-gradient(90deg, rgba(247, 242, 235, 0.94) 0%, rgba(247, 242, 235, 0.66) 58%, rgba(247, 242, 235, 0.3) 100%),
      linear-gradient(0deg, rgba(247, 242, 235, 0.24), rgba(247, 242, 235, 0.2));
  }

  .hero {
    width: auto;
    max-width: 44rem;
    margin: 0;
    padding: 4.5rem clamp(1.5rem, 7vw, 4rem) 5rem;
  }

  h1 {
    font-size: clamp(3rem, 10vw, 5rem);
  }
}

@media (max-width: 560px) {
  .site-header {
    justify-content: flex-start;
    padding: 2.2rem 1.5rem 0;
  }

  .wordmark {
    width: 10.5rem;
  }

  .hero {
    align-self: center;
    padding: 3.5rem 1.5rem 4rem;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.26em;
  }

  h1 {
    font-size: clamp(2.65rem, 12.5vw, 4rem);
    line-height: 1.02;
  }

  .subhead {
    max-width: 20rem;
    font-size: 1rem;
    line-height: 1.55;
  }

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

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

  .site-footer {
    min-height: 4.5rem;
  }
}

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