/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

/* ---------- Base ---------- */
:root {
  --color-bg: #3a2d1f;
  --color-gold: #e5a93d;
  --color-gold-soft: rgba(229, 169, 61, 0.85);
  --color-cream: #d8c8a8;
  --color-cream-soft: rgba(216, 200, 168, 0.7);
  --color-cream-dim: rgba(216, 200, 168, 0.35);
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--color-cream);
  background-color: var(--color-bg);
  background-image: url("img/bg.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ---------- Layout ---------- */
.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  min-height: 100vh;
}

.top-bar {
  width: 100%;
  display: flex;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-cream-soft);
}

.brand-name {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(0.75rem, 1.4vw, 0.95rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-cream-soft);
  margin-bottom: -0.5rem;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  max-width: 720px;
  width: 100%;
}

/* ---------- Logo ---------- */
.logo {
  width: clamp(200px, 36vw, 360px);
  height: auto;
  /* The logo SVG uses black fills — recolor to brand gold (#e5a93d) on the dark background */
  filter: brightness(0) saturate(100%) invert(72%) sepia(45%) saturate(640%)
    hue-rotate(2deg) brightness(95%) contrast(92%);
}

/* ---------- Tagline ---------- */
.tagline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  letter-spacing: 0.04em;
  color: var(--color-cream);
  max-width: 28ch;
  line-height: 1.4;
}

.divider {
  width: 60px;
  height: 1px;
  background-color: var(--color-gold-soft);
  margin: 0 auto;
}

/* ---------- Notify-me form ---------- */
.notify {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.notify__title {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 400;
  color: var(--color-cream);
  letter-spacing: 0.02em;
}

.notify__form {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--color-cream-dim);
  border-radius: 999px;
  padding: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notify__form:focus-within {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(229, 169, 61, 0.15);
}

.notify__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-cream);
  letter-spacing: 0.01em;
}

.notify__input::placeholder {
  color: var(--color-cream-dim);
}

.notify__button {
  border: none;
  cursor: pointer;
  background-color: var(--color-gold);
  color: var(--color-bg);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.notify__button:hover {
  background-color: #f0b94a;
}

.notify__button:active {
  transform: scale(0.98);
}

.notify__message {
  min-height: 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--color-cream-soft);
  font-style: italic;
}

.notify__message--success {
  color: var(--color-gold);
}

.notify__message--error {
  color: #e8a08a;
}

/* ---------- Footer ---------- */
.footer {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  width: 100%;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-cream-dim);
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 480px) {
  body {
    background-size: cover;
    background-position: center;
  }

  .notify__form {
    flex-direction: column;
    border-radius: 24px;
    padding: 8px;
    gap: 6px;
  }

  .notify__input {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
  }

  .notify__button {
    width: 100%;
    padding: 0.75rem 1.25rem;
  }

  .top-bar,
  .footer {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
  }
}
