:root {
  --ivory: #fbf7ef;
  --ivory-soft: #f6eadc;
  --champagne: #d7b08d;
  --rose-gold: #bf8566;
  --copper: #a96f53;
  --ink: #111313;
  --ink-soft: #777672;
  --water: #a5d1d1;
  --glass: rgba(251, 247, 239, 0.34);
  --field: rgba(255, 252, 246, 0.68);
  --shadow: 0 24px 80px rgba(81, 63, 50, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-family: Optima, Candara, "Noto Sans", "Source Sans Pro", system-ui,
    sans-serif;
  letter-spacing: 0;
  background: var(--ivory);
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  height: 100vh;
  height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 46px 24px 72px;
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -3;
  background-image: url("assets/naam-hero.png");
  background-position: center;
  background-size: cover;
}

.hero__veil {
  z-index: -2;
  background:
    linear-gradient(
      180deg,
      rgba(251, 247, 239, 0.78) 0%,
      rgba(251, 247, 239, 0.34) 42%,
      rgba(251, 247, 239, 0.62) 100%
    ),
    radial-gradient(
      circle at 50% 48%,
      rgba(255, 252, 246, 0.58) 0,
      rgba(255, 252, 246, 0.34) 34%,
      rgba(255, 252, 246, 0) 68%
    );
}

.hero__content {
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
}

.brand-lockup {
  display: grid;
  justify-items: center;
  margin: 0 auto 28px;
}

.brand-mark {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(116, 75, 56, 0.16));
}

.brand-wordmark-frame {
  display: block;
  width: min(100%, 420px);
  height: 70px;
  margin-top: 16px;
  overflow: hidden;
}

.brand-wordmark {
  display: block;
  width: 157%;
  max-width: none;
  height: auto;
  mix-blend-mode: multiply;
  transform: translate(-18%, -25%);
}

.brand-subline {
  width: min(100%, 420px);
  margin-top: 10px;
  color: var(--copper);
  font-family: "Times New Roman", Georgia, serif;
  font-size: 0.76rem;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.launch-note {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  max-width: 610px;
  margin: 0 auto;
  color: var(--ink);
  font-family: "Bodoni 72", Didot, "Bodoni 72 Oldstyle", "Times New Roman",
    Georgia, serif;
  font-size: 4.65rem;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h1 sup {
  position: relative;
  top: -0.28em;
  margin-left: 0.08em;
  font-family: Optima, Candara, "Noto Sans", "Source Sans Pro", system-ui,
    sans-serif;
  font-size: 0.24em;
  line-height: 0;
}

.intro {
  max-width: 560px;
  margin: 24px auto 0;
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.55;
}

.intro span {
  display: block;
}

.launch-note {
  margin: 24px 0 0;
  color: var(--copper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

.notify-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 184px;
  gap: 0;
  width: min(100%, 560px);
  margin: 22px auto 0;
  padding: 0;
  border: 1px solid rgba(169, 111, 83, 0.44);
  border-radius: 0;
  background: rgba(255, 252, 246, 0.56);
  box-shadow: 0 18px 54px rgba(81, 63, 50, 0.12);
  backdrop-filter: blur(16px);
}

.notify-form input,
.notify-form button {
  min-height: 52px;
  border-radius: 0;
  border: 0;
}

.notify-form input {
  width: 100%;
  min-width: 0;
  padding: 0 22px;
  color: var(--ink);
  background: rgba(255, 252, 246, 0.58);
  outline: 1px solid transparent;
  transition:
    background-color 180ms ease,
    outline-color 180ms ease,
    box-shadow 180ms ease;
}

.notify-form input::placeholder {
  color: rgba(83, 105, 104, 0.72);
}

.notify-form input:focus {
  background: rgba(255, 252, 246, 0.88);
  outline-color: rgba(191, 133, 102, 0.6);
  box-shadow: 0 0 0 4px rgba(215, 176, 141, 0.18);
}

.notify-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 20px;
  color: var(--ivory);
  cursor: pointer;
  background: linear-gradient(135deg, #d6a07a, #9e644a);
  box-shadow: 0 14px 30px rgba(141, 91, 69, 0.2);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.notify-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(141, 91, 69, 0.24);
}

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

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

.success-message {
  margin: 18px auto 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.5;
}

.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: 760px) {
  .hero {
    align-items: start;
    padding: 34px 18px 72px;
  }

  .hero__image {
    background-position: 52% center;
  }

  .hero__veil {
    background:
      linear-gradient(
        180deg,
        rgba(251, 247, 239, 0.76) 0%,
        rgba(251, 247, 239, 0.34) 46%,
        rgba(251, 247, 239, 0.7) 100%
      ),
      radial-gradient(
        circle at 50% 38%,
        rgba(255, 252, 246, 0.56) 0,
        rgba(255, 252, 246, 0.26) 52%,
        rgba(255, 252, 246, 0) 74%
      );
  }

  .hero__content {
    padding-top: 10px;
  }

  .brand-lockup {
    margin-bottom: 24px;
  }

  .brand-mark {
    width: 68px;
    height: 68px;
  }

  .brand-wordmark-frame {
    width: min(100%, 300px);
    height: 50px;
    margin-top: 12px;
  }

  .brand-wordmark {
    width: 157%;
  }

  .brand-subline {
    width: min(100%, 300px);
    margin-top: 8px;
    font-size: 0.58rem;
    letter-spacing: 0.13em;
  }

  h1 {
    max-width: 350px;
    font-size: 3.04rem;
    line-height: 0.92;
  }

  .intro {
    max-width: 350px;
    margin-top: 20px;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .launch-note {
    margin-top: 20px;
  }

  .notify-form {
    grid-template-columns: 1fr;
    width: min(100%, 360px);
    margin-top: 18px;
  }

  .notify-form input,
  .notify-form button {
    min-height: 50px;
  }
}

@media (max-width: 390px) {
  .hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  h1 {
    font-size: 2.62rem;
  }

  .intro {
    font-size: 0.98rem;
  }
}

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