/* =========================================================
   ÉTERNELLE WELCOME PAGE
   ========================================================= */

:root {
  --cream: #f8f3ed;
  --white: #ffffff;
  --ink: #1d1a18;
  --soft-white: rgba(255, 255, 255, 0.82);
  --line: rgba(255, 255, 255, 0.35);
  --gold: #d4b16f;
  --gold-dark: #b38c47;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background: var(--ink);
  color: var(--white);
}

button,
input,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

.welcome-page,
.hero {
  min-height: 100vh;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  background:
    url("../images/eternelle.png")
    center center / cover no-repeat;
}

/*
  This overlay slightly darkens the entire image.
  Increase 0.38 to 0.45 if you want the image darker.
  Reduce it to 0.30 if you want it lighter.
*/
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(10, 14, 20, 0.52) 0%,
      rgba(10, 14, 20, 0.32) 46%,
      rgba(10, 14, 20, 0.16) 100%
    ),
    rgba(8, 12, 18, 0.05);
}

.site-header,
.hero-content,
.site-footer {
  position: relative;
  z-index: 2;
}

/* =========================================================
   HEADER AND LOGO
   ========================================================= */

.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 24px 0;
}

.brand {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.brand-logo {
  display: block;
  width: 210px;
  max-width: 78vw;
  height: auto;
  object-fit: contain;
}

/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  padding: 60px 0 80px;
}

.eyebrow,
.modal-eyebrow {
  margin-bottom: 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-content h1 {
  max-width: 760px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 500;
  line-height: 0.93;
  letter-spacing: -0.035em;
}

.hero-text {
  max-width: 570px;
  margin-top: 28px;
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--soft-white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  min-width: 150px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.primary-button {
  background: var(--gold);
  color: var(--ink);
}

.primary-button:hover {
  background: #e2c587;
  transform: translateY(-2px);
}

.secondary-button {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
}

.secondary-button:hover {
  border-color: var(--gold);
  background: rgba(212, 177, 111, 0.12);
  transform: translateY(-2px);
}

.launch-note {
  margin-top: 26px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 22px 24px;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

/* =========================================================
   MODAL
   ========================================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  padding: 42px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

.modal-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
}

.modal-card > p:not(.modal-eyebrow) {
  margin-top: 12px;
  line-height: 1.7;
  color: #625b55;
}

.modal-card form {
  margin-top: 26px;
}

.modal-card label {
  display: inline-block;
  margin-bottom: 9px;
  font-size: 0.78rem;
  font-weight: 600;
}

.form-row {
  display: flex;
}

.form-row input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #d7cec4;
  border-right: 0;
  outline: none;
  background: var(--white);
}

.form-row input:focus {
  border-color: var(--gold-dark);
}

.form-row button {
  min-width: 120px;
  border: 0;
  padding: 0 18px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-message {
  min-height: 24px;
  margin-top: 10px;
  font-size: 0.8rem;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
  .hero {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(8, 12, 18, 0.32) 0%,
        rgba(8, 12, 18, 0.58) 48%,
        rgba(8, 12, 18, 0.86) 100%
      );
  }

  .site-header {
    padding: 18px 16px 0;
  }

  .brand-logo {
    width: 180px;
    max-width: 72vw;
  }

  .hero-content {
    width: min(100% - 32px, 1180px);
    margin-top: auto;
    margin-bottom: 0;
    padding: 90px 0 42px;
  }

  .hero-content h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .hero-text {
    margin-top: 22px;
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .site-footer {
    padding: 18px 16px;
  }

  .modal-card {
    padding: 36px 22px 28px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-row input {
    border-right: 1px solid #d7cec4;
  }

  .form-row button {
    min-height: 50px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

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