:root {
  --green: #006b35;
  --green-deep: #123d2c;
  --ink: #4d4e4d;
  --cream: #faf8f3;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--cream);
}

body {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

.hero {
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(2.5rem, 6vh, 4rem) 1.25rem clamp(9rem, 23vh, 13rem);
  place-items: start center;
  background:
    var(--cream) url("liquid-background.png") center bottom / cover no-repeat;
}

.hero__content {
  display: flex;
  width: min(100%, 48rem);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  position: relative;
  width: min(76vw, 30rem);
  height: clamp(6.7rem, 15vh, 9rem);
  overflow: hidden;
  margin-bottom: clamp(1.6rem, 3vh, 2.5rem);
}

.brand img {
  position: absolute;
  top: -50%;
  left: -11%;
  display: block;
  width: 122%;
  height: auto;
}

h1 {
  margin: 0;
  color: var(--green-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5.6vw, 4.75rem);
  font-weight: 400;
  letter-spacing: clamp(0.1em, 1.7vw, 0.24em);
  line-height: 1;
  text-transform: uppercase;
}

.tagline {
  margin: clamp(0.9rem, 2vh, 1.25rem) 0 0;
  color: #555;
  font-size: clamp(1rem, 2vw, 1.32rem);
  font-weight: 400;
}

.ornament {
  display: flex;
  width: min(72vw, 18rem);
  margin: clamp(1rem, 2.4vh, 1.5rem) 0 clamp(0.9rem, 2vh, 1.25rem);
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.ornament span {
  width: 6.6rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 107, 53, 0.22),
    transparent
  );
}

.ornament i {
  width: 0.7rem;
  height: 1.05rem;
  border-radius: 100% 0 100% 0;
  background: var(--green);
  rotate: 35deg;
}

.values {
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.35rem);
  color: #555;
  font-size: clamp(0.9rem, 1.7vw, 1.08rem);
}

.values b {
  color: var(--green-deep);
  font-size: 0.75rem;
}

.arrival {
  margin: clamp(1rem, 2.2vh, 1.4rem) 0 clamp(1.5rem, 3.2vh, 2rem);
  color: var(--green);
  font-size: clamp(1rem, 1.9vw, 1.18rem);
  font-weight: 500;
}

.notify-form {
  display: flex;
  width: min(100%, 29.5rem);
  min-height: 3.7rem;
  padding: 0.3rem 0.3rem 0.3rem 1.3rem;
  align-items: center;
  border: 1px solid rgba(23, 62, 43, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 0.85rem 2.2rem rgba(76, 53, 27, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.mail-icon {
  display: grid;
  width: 1.4rem;
  height: 1.4rem;
  flex: 0 0 auto;
  place-items: center;
  color: #969b98;
  font-size: 1.12rem;
}

.notify-form input {
  width: 100%;
  min-width: 0;
  padding: 0 0.75rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--green-deep);
  font-size: 0.95rem;
}

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

.notify-form input:focus-visible {
  border-radius: 0.35rem;
  outline: 2px solid rgba(0, 107, 53, 0.35);
  outline-offset: 0.2rem;
}

.notify-form button {
  display: inline-flex;
  min-width: 11.2rem;
  min-height: 3.05rem;
  padding: 0.75rem 1.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 0.4rem 1rem rgba(0, 107, 53, 0.2);
  transition:
    background-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.notify-form button:hover {
  background: #00592d;
  box-shadow: 0 0.55rem 1.2rem rgba(0, 107, 53, 0.28);
  transform: translateY(-1px);
}

.notify-form button:focus-visible {
  outline: 3px solid rgba(0, 107, 53, 0.28);
  outline-offset: 3px;
}

.arrow {
  font-size: 1.25rem;
  line-height: 1;
}

.form-status {
  min-height: 1.1rem;
  margin: 0.75rem 0 0;
  color: var(--green);
  font-size: 0.78rem;
}

.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: 640px) {
  .hero {
    padding: 2rem 1rem 9rem;
    background-position: center bottom;
  }

  .brand {
    width: min(86vw, 21rem);
    height: 6.35rem;
    margin-bottom: 1.4rem;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.15rem);
    letter-spacing: 0.1em;
  }

  .tagline {
    max-width: 21rem;
    line-height: 1.45;
  }

  .values {
    flex-wrap: wrap;
    gap: 0.55rem 0.85rem;
  }

  .arrival {
    margin-bottom: 1.25rem;
  }

  .notify-form {
    min-height: 3.45rem;
    padding-left: 1rem;
  }

  .notify-form button {
    min-width: auto;
    min-height: 2.85rem;
    padding-inline: 1rem;
  }

  .notify-form button .arrow {
    display: none;
  }
}

@media (max-width: 390px) {
  .notify-form button {
    padding-inline: 0.85rem;
  }

  .mail-icon {
    display: none;
  }
}

@media (max-height: 720px) and (min-width: 641px) {
  .hero {
    padding-top: 1.5rem;
    padding-bottom: 7.5rem;
  }

  .brand {
    width: 22rem;
    height: 6.5rem;
    margin-bottom: 1rem;
  }

  h1 {
    font-size: 3.45rem;
  }

  .tagline {
    margin-top: 0.65rem;
  }

  .ornament {
    margin-block: 0.7rem;
  }

  .arrival {
    margin-block: 0.7rem 1rem;
  }
}

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