/* =========================
   Base
========================= */

:root {
  --sand: #e7caa1;
  --light-sand: #f7ead8;
  --warm-white: #fffaf2;
  --dark-brown: #1f1712;
  --deep-brown: #120d0a;
  --glass: rgba(27, 18, 12, 0.52);
  --line: rgba(255, 250, 242, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--deep-brown);
  color: var(--warm-white);
  font-family: "Manrope", sans-serif;
}

button,
input {
  font: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

/* =========================
   Page background
========================= */

.coming-soon {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(
      90deg,
      rgba(17, 11, 8, 0.88) 0%,
      rgba(17, 11, 8, 0.63) 45%,
      rgba(17, 11, 8, 0.22) 100%
    ),
    /* url("https://images.unsplash.com/photo-1509316785289-025f5b846b35?auto=format&fit=crop&w=2200&q=90") 
      center / cover no-repeat;*/
  url("./merzouga-desert.jpg") center / cover no-repeat;
      
}

.coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 75% 24%,
      rgba(245, 196, 120, 0.22),
      transparent 32%
    ),
    linear-gradient(
      to top,
      rgba(12, 8, 6, 0.83),
      transparent 48%
    );
}

.overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.018) 1px,
    transparent 1px
  );
  background-size: 100% 5px;
  opacity: 0.3;
}

/* =========================
   Header
========================= */

.site-header,
.hero,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.brand-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: var(--sand);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text span {
  margin-top: 5px;
  color: var(--sand);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact-link {
  position: relative;
  color: var(--light-sand);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.contact-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--sand);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 180ms ease;
}

.contact-link:hover::after,
.contact-link:focus-visible::after {
  transform: scaleX(1);
}

/* =========================
   Hero
========================= */

.hero {
  align-self: center;
  padding-block: 50px  54px;
  padding-bottom: 10px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: var(--sand);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 42px;
  height: 1px;
  background: currentColor;
}

h1 {
  max-width: 810px;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 8vw, 5.3rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 span {
  display: block;
  margin-top: 0.045em;
  color: var(--sand);
}
h1 em {
  display: block;
  margin-top: 13px;
  color: var(--sand);
  font-weight: 500;
}

.hero-copy {
  max-width: 620px;
  
  color: rgba(255, 250, 242, 0.78);
  font-size: clamp(1rem, 1.7vw, 1.13rem);
  line-height: 1.8;
}

.hero-contact {
  max-width: 620px;
  margin: 15px 0 0;
  color: rgba(255, 250, 242, 0.78);
  font-size: clamp(1rem, 1.7vw, 1.13rem);
  line-height: 1.8;
    color: var(--sand);

}

.launch-card {
  width: min(620px, 100%);
  margin-top: 38px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.launch-label {
  margin: 0 0 13px;
  color: var(--light-sand);
  font-size: 0.89rem;
  font-weight: 600;
}

.notify-form {
  display: flex;
  gap: 10px;
}

.notify-form input {
  min-width: 0;
  flex: 1;
  height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--warm-white);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.notify-form input::placeholder {
  color: rgba(255, 250, 242, 0.48);
}

.notify-form input:focus {
  border-color: rgba(231, 202, 161, 0.78);
  background: rgba(255, 255, 255, 0.12);
}

.notify-form button {
  height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  background: var(--sand);
  color: var(--dark-brown);
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.notify-form button:hover {
  transform: translateY(-2px);
  background: var(--light-sand);
}

.notify-form button:active {
  transform: translateY(0);
}

.privacy-note {
  margin: 12px 0 0;
  color: rgba(255, 250, 242, 0.52);
  font-size: 0.73rem;
}

/* =========================
   Footer
========================= */

.site-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 26px;
  color: rgba(255, 250, 242, 0.56);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.footer-divider {
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

/* =========================
   Responsive
========================= */

@media (max-width: 720px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    padding-top: 20px;
  }

  .brand-icon {
    width: 43px;
    height: 43px;
  }

  .brand-text strong {
    font-size: 1.45rem;
  }

  .contact-link {
    font-size: 0.79rem;
  }

  .hero {
    padding-block: 30px 40px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 0.65rem;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 5.2rem);
    line-height: 0.93;
  }

  .hero-copy {
    margin-top: 25px;
    line-height: 1.68;
  }

  .launch-card {
    margin-top: 29px;
    padding: 17px;
  }

  .notify-form {
    flex-direction: column;
  }

  .notify-form button {
    width: 100%;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding-bottom: 18px;
    line-height: 1.5;
  }

  .footer-divider {
    display: none;
  }

  .site-footer p {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 420px) {
  .brand-text span {
    font-size: 0.57rem;
    letter-spacing: 0.15em;
  }

  .contact-link {
    display: none;
  }
}

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


@media (max-width: 768px) {
  .coming-soon {
    background-image:
      linear-gradient(
        180deg,
        rgba(17, 11, 8, 0.35) 0%,
        rgba(17, 11, 8, 0.65) 55%,
        rgba(17, 11, 8, 0.9) 100%
      ),
      url("./merzouga-desert.jpg");

    background-size: cover;
    background-position: 60% center;
    background-repeat: no-repeat;
  }
}