/* ============================================
   liaminehermouche.com — Coming Soon
   Static · Bold · Minimal · No animations
   ============================================ */

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

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #111111;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Brand name — top left ── */
.site-header {
  position: fixed;
  top: 2.4rem;
  left: 2.8rem;
  z-index: 10;
}

.brand {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  text-transform: none;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__first {
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.brand__last {
  font-weight: 300;
  color: #888888;
  letter-spacing: 0.14em;
}

/* ── Hero — full screen, content centered ── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 8rem 2.8rem 4rem;
  overflow: hidden;
}

/* ── Background video ── */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* ── Dark overlay — keeps text readable ── */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  z-index: 1;
}

/* ── Inner content sits above video ── */
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  text-align: center;
}

/* ── Headline ── */
.headline {
  font-size: clamp(3.8rem, 8.5vw, 7rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 2.8rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  
  display: flex;
  justify-content: center;
  gap: 0.22em;
  flex-wrap: wrap;
}

.headline__word {
  display: inline-block;
  opacity: 0;
  will-change: transform, opacity;
}

.headline__word--1 {
  animation: animateWord1 6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.headline__word--2 {
  animation: animateWord2 6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes animateWord1 {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  15% { /* Enter complete around 0.9s */
    opacity: 1;
    transform: translateY(0);
  }
  75% { /* Start exit around 4.5s */
    opacity: 1;
    transform: translateY(0);
  }
  85% { /* Exit complete around 5.1s */
    opacity: 0;
    transform: translateY(-25px);
  }
  100% {
    opacity: 0;
    transform: translateY(25px);
  }
}

@keyframes animateWord2 {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  10% { /* Start entry around 0.6s */
    opacity: 0;
    transform: translateY(25px);
  }
  25% { /* Enter complete around 1.5s */
    opacity: 1;
    transform: translateY(0);
  }
  75% { /* Start exit around 4.5s */
    opacity: 1;
    transform: translateY(0);
  }
  90% { /* Exit complete around 5.4s */
    opacity: 0;
    transform: translateY(-25px);
  }
  100% {
    opacity: 0;
    transform: translateY(25px);
  }
}

/* ── Description ── */
.description {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 300;
  line-height: 1.8;
  color: #ffffff;
  max-width: 580px;
  margin: 0 auto 3.8rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.description strong {
  font-weight: 700;
}

/* ── Button ── */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #ffffff;
  background-color: #4fa1e4;
  padding: 0.95rem 2.2rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .site-header {
    top: 3.2rem;
    left: 2.6rem;
  }

  .hero {
    padding: 7rem 1.8rem 3rem;
    align-items: center;
  }

  .hero__video {
    object-fit: contain;
    transform: scale(1.1);
  }

  .description {
    max-width: 100%;
  }
}
