:root {
  --parchment: #F5EFE0;
  --parchment-warm: #EDE4D0;
  --green: #214025;
  --green-deep: #1B3520;
  --burgundy: #551829;
  --earth: #5A4B30;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--green);
  color: var(--parchment);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--green);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Hairline frame */
.frame {
  position: fixed;
  inset: 22px;
  border: 1px solid rgba(245,239,224,0.10);
  pointer-events: none;
  z-index: 2;
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(245,239,224,0.30);
}
.frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.frame::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* Top bar */
.top-bar {
  position: relative;
  z-index: 3;
  padding: 38px 56px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,239,224,0.55);
}
.contact-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-link:hover { color: var(--parchment); }

.top-bar .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px 2px;
  background: var(--burgundy);
  border-radius: 50%;
  vertical-align: middle;
}

/* Main */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 32px 40px;
  position: relative;
  z-index: 1;
}

/* Botanical mark */
.mark {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--green);
  border: 1.5px solid var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 56px;
  position: relative;
  flex-shrink: 0;
}
.mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(245,239,224,0.08);
}
.mark svg {
  width: 58px;
  height: 78px;
  display: block;
}

/* Wordmark */
.wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  color: var(--parchment);
  text-align: center;
  line-height: 1.05;
  font-size: clamp(32px, 6.2vw, 76px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.wordmark .row { display: block; }
.wordmark .row + .row { margin-top: 6px; }

/* Rule */
.rule {
  width: 56px;
  height: 1px;
  background: rgba(245,239,224,0.55);
  margin: 38px 0 32px;
  flex-shrink: 0;
}

/* Tagline */
.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  color: rgba(245,239,224,0.86);
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 36ch;
  line-height: 1.45;
}

/* Teaser */
.teaser {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 13.5px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: rgba(245,239,224,0.62);
  text-align: center;
  max-width: 46ch;
  margin-top: 72px;
}

/* Divider */
.divider {
  margin: 56px 0 36px;
  width: 96px;
  height: 1px;
  background: rgba(245,239,224,0.55);
  flex-shrink: 0;
}

/* Form wrapper */
.notify {
  width: 100%;
  max-width: 460px;
  text-align: center;
}

.notify-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(245,239,224,0.5);
  margin-bottom: 18px;
}

form.notify-form {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(245,239,224,0.28);
  transition: border-color 0.25s ease;
}
form.notify-form:focus-within {
  border-color: rgba(245,239,224,0.7);
}
form.notify-form.error {
  border-color: rgba(85,24,41,0.9);
}

form.notify-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--parchment);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 14px 4px;
  min-width: 0;
}
form.notify-form input::placeholder {
  color: rgba(245,239,224,0.35);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.02em;
}

form.notify-form button {
  background: transparent;
  border: none;
  color: var(--parchment);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 0 4px 0 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
form.notify-form button:hover { color: #fff; }
form.notify-form button:disabled {
  opacity: 0.55;
  cursor: default;
}

/* Arrow on submit button */
form.notify-form button .arrow {
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
form.notify-form button .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
form.notify-form button:hover .arrow { transform: translateX(4px); }

/* Confirmation */
.confirmation {
  display: none;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--parchment);
  padding: 14px 0;
}
.confirmation .ampersand { color: var(--burgundy); font-style: normal; }

/* Error message */
.form-error {
  display: none;
  margin-top: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(245,239,224,0.55);
}

/* Entry animations */
.fade {
  opacity: 0;
  transform: translateY(8px);
  animation: rise 1.2s cubic-bezier(.2,.7,.2,1) forwards;
}
.fade.d1 { animation-delay: 0.05s; }
.fade.d2 { animation-delay: 0.25s; }
.fade.d3 { animation-delay: 0.45s; }
.fade.d4 { animation-delay: 0.65s; }
.fade.d5 { animation-delay: 0.85s; }
.fade.d6 { animation-delay: 1.05s; }
.fade.d7 { animation-delay: 1.25s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 600px) {
  .frame { inset: 12px; }

  .top-bar {
    padding: 24px 24px 0;
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  main {
    padding: 36px 24px 28px;
  }

  .mark {
    width: 100px;
    height: 100px;
    margin-bottom: 40px;
  }
  .mark svg {
    width: 44px;
    height: 60px;
  }

  .wordmark {
    font-size: clamp(28px, 8vw, 48px);
    letter-spacing: 0.10em;
  }

  .rule { margin: 28px 0 24px; }

  .teaser { margin-top: 48px; font-size: 13px; }

  .divider { margin: 44px 0 24px; }

  .notify { max-width: 100%; }

  form.notify-form button {
    font-size: 10px;
    letter-spacing: 0.20em;
    padding: 0 0 0 12px;
  }
}

@media (max-width: 380px) {
  .top-bar { display: none; }
  .wordmark { letter-spacing: 0.06em; }
}
