
:root {
  --cream: #f4eee7;
  --paper: #eee4db;
  --ink: #42352e;
  --line: rgba(66, 53, 46, .48);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
}

button, input { font: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(18px + env(safe-area-inset-top)) 22px 16px;
  pointer-events: none;
}

.site-header > * { pointer-events: auto; }

.monogram {
  border: 0;
  background: transparent;
  color: var(--cream);
  font-family: "Cormorant Garamond", serif;
  font-size: 50px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.menu-button {
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 0 7px;
  cursor: pointer;
}

.menu-button span {
  height: 1px;
  background: var(--cream);
  transition: transform .25s ease, opacity .25s ease;
}

.menu-button.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-button.open span:nth-child(2) { opacity: 0; }
.menu-button.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: rgba(58,46,39,.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.menu-close {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top));
  right: 22px;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 48px;
  font-weight: 300;
  cursor: pointer;
}

.menu-links {
  display: grid;
  gap: 26px;
  text-align: center;
}

.menu-links button,
.menu-links a {
  border: 0;
  background: transparent;
  color: var(--cream);
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 12vw, 84px);
  cursor: pointer;
}

.page {
  min-height: 100svh;
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;
}

.hero-page {
  display: grid;
  place-items: center;
  background: url("plates-background.jpg") center / cover no-repeat;
  color: var(--cream);
}

.food-peek {
  position: absolute;
  top: 7%;
  right: -2%;
  width: min(30vw, 340px);
  height: 70%;
  background: url("food-peek.png") right center / contain no-repeat;
  pointer-events: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, transparent 0 42%, rgba(36,27,23,.16) 100%),
    linear-gradient(to bottom, rgba(33,25,21,.03), rgba(33,25,21,.20));
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 90px 20px 120px;
}

h1, h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(76px, 22vw, 145px);
  line-height: .85;
  letter-spacing: .05em;
}

.hero-copy p,
.eyebrow,
footer p {
  text-transform: uppercase;
  letter-spacing: .28em;
}

.hero-copy p {
  margin: 26px 0 0;
  font-size: 10px;
}

.scroll-button {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  border: 0;
  background: transparent;
  color: var(--cream);
  display: grid;
  justify-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .28em;
  cursor: pointer;
}

.scroll-button i {
  width: 1px;
  height: 48px;
  background: var(--cream);
}

.signup-page {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.55), transparent 44%),
    linear-gradient(180deg, #f3ebe4, #e9ddd3);
  padding: calc(74px + env(safe-area-inset-top)) 24px calc(38px + env(safe-area-inset-bottom));
}

.signup-wrap {
  width: min(100%, 650px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 28px;
  font-size: 10px;
}

h2 {
  font-size: clamp(48px, 12vw, 76px);
  line-height: .95;
}

.description {
  margin: 32px auto 54px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(18px, 4vw, 23px);
  line-height: 1.45;
}

form {
  width: min(100%, 470px);
  margin: 0 auto;
  text-align: left;
}

.hidden {
  position: absolute;
  left: -9999px;
}

.field {
  position: relative;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}

.field input {
  width: 100%;
  height: 60px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 20px 0 4px;
  font-size: 18px;
}

.field label {
  position: absolute;
  top: 19px;
  left: 0;
  color: rgba(66,53,46,.78);
  transition: .2s ease;
  pointer-events: none;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  top: 2px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.notify {
  display: block;
  width: min(240px, 80%);
  min-height: 66px;
  margin: 0 auto;
  border: 1px solid rgba(66,53,46,.55);
  background: transparent;
  color: var(--ink);
  letter-spacing: .28em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.notify:hover,
.notify:focus-visible {
  background: var(--ink);
  color: var(--cream);
}

.status {
  min-height: 22px;
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
}

footer {
  margin-top: 82px;
}

.footer-logo {
  margin-bottom: 24px !important;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px !important;
  letter-spacing: .36em !important;
}

footer p {
  margin: 0 0 15px;
  font-size: 9px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .food-peek {
    top: 9%;
    right: -8%;
    width: 42vw;
    height: 60%;
  }

  .hero-copy {
    transform: translateY(4vh);
  }

  h1 {
    font-size: clamp(70px, 23vw, 102px);
  }

  .desktop-break {
    display: none;
  }

  .signup-page {
    min-height: 100svh;
    padding-left: 26px;
    padding-right: 26px;
  }

  h2 {
    font-size: clamp(46px, 13vw, 64px);
  }

  .description {
    max-width: 330px;
    margin-bottom: 48px;
  }

  footer {
    margin-top: 66px;
  }
}

@media (min-width: 900px) {
  .food-peek {
    width: min(26vw, 380px);
    right: 0;
  }

  .hero-copy {
    transform: translateX(-7vw);
  }

  .signup-page {
    padding-top: 95px;
    padding-bottom: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
