/* ==========================================================
   MAISON EXOTIC — homepage sections
   ========================================================== */

/* ---------- SECTION 1 · HERO (canvas scrub) ---------- */

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero__canvas,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__canvas { display: block; }
.hero__video { display: none; }

/* mobile / fallback: plain video, no scrub */
.hero.is-video-fallback .hero__canvas { display: none; }
.hero.is-video-fallback .hero__video { display: block; }

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 11, 8, 0.5) 0%, transparent 30%, transparent 55%, rgba(13, 11, 8, 0.82) 100%);
  pointer-events: none;
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--gutter);
  z-index: var(--z-raise);
}

.hero__maison {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(3.4rem, 11vw, 10.5rem);
  letter-spacing: 0.22em;
  text-indent: 0.22em; /* optically recenter tracked caps */
  line-height: 0.95;
}

.hero__exotic {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3.6rem, 12vw, 11.5rem);
  line-height: 1;
  color: var(--accent);
  margin-top: -0.06em;
}

.hero__tag {
  margin-top: 2.2rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.hero__intro {
  position: absolute;
  left: 50%;
  bottom: 20vh;
  transform: translateX(-50%);
  max-width: 34em;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.6;
  color: var(--ink);
  opacity: 0;
  padding: 0 var(--gutter);
  width: 100%;
  text-align: center;
}

.hero__cta {
  position: absolute;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: max-content;
  bottom: 9vh;
  opacity: 0;
}

/* fallback (mobile / no-scrub): everything shows at once, so keep it clear */
.hero.is-video-fallback .hero__content {
  padding-bottom: 20vh;
}

.hero.is-video-fallback .hero__intro {
  bottom: 15vh;
}

.hero.is-video-fallback .hero__cta {
  bottom: 6vh;
}

.hero.is-video-fallback .hero__scroll-hint {
  display: none;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 3vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.hero__scroll-hint::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: hint-drop 2.2s var(--ease-inout-c) infinite;
}

@keyframes hint-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- SECTION 2 · THE HOUSE ---------- */

.house {
  overflow: hidden;
}

.house .video-bg video {
  opacity: 0.34;
}

.house__inner {
  max-width: 1160px;
}

.house h2 {
  font-size: clamp(2.9rem, 6.5vw, 6.2rem);
  max-width: 11em;
  margin: var(--space-3) 0 var(--space-4);
}

.house__body p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 44ch;
}

.house__body p + p {
  margin-top: 2.4rem;
}

.house__body em {
  font-style: italic;
  color: var(--ink);
}

.house__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
  border-top: 1px solid var(--line);
  padding-top: var(--space-4);
}

.stat__value {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat__value .plus { color: var(--accent); }

.stat__key {
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- SECTION 3 · FINE FOOD (split) ---------- */

.food {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-deep);
}

.food__media {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.food__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.food__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--bg-deep) 100%);
}

.food__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-5) clamp(2rem, 6vw, 7rem);
}

.food__panel h2 {
  font-size: clamp(2.5rem, 4.2vw, 4.4rem);
  margin: var(--space-3) 0;
  max-width: 12em;
}

.food__panel .body-copy + .body-copy {
  margin-top: 1.6rem;
}

.food__panel .u-serif-i {
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  color: var(--ink);
}

.food__panel .cta-line {
  margin-top: var(--space-4);
  align-self: flex-start;
}

/* ---------- SECTION 4 · FRAGRANCE ---------- */

.fragrance {
  min-height: 130vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.fragrance .video-bg::after {
  background:
    linear-gradient(180deg, var(--bg-deep) 0%, transparent 25%, transparent 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(13, 11, 8, 0.72) 0%, rgba(13, 11, 8, 0.2) 65%);
}

.fragrance__inner {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

.fragrance h2 {
  font-size: clamp(3rem, 7vw, 6.8rem);
  margin: var(--space-3) 0 var(--space-4);
  max-width: 9em;
}

.fragrance h2 .ch { opacity: 0; }

.fragrance__body p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.75;
  color: var(--ink-dim);
  max-width: 46ch;
}

.fragrance__body p + p {
  margin-top: 2rem;
  color: var(--ink);
  font-style: italic;
}

/* ---------- SECTION 5 · ARTISAN (scrub) ---------- */

.artisan {
  position: relative;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  overflow: hidden;
  background: var(--bg-deep);
}

.artisan__canvas,
.artisan__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artisan__video { display: none; }

.artisan.is-video-fallback .artisan__canvas { display: none; }
.artisan.is-video-fallback .artisan__video { display: block; }

.artisan__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(13, 11, 8, 0.88) 0%, rgba(13, 11, 8, 0.45) 45%, transparent 75%);
}

.artisan__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 var(--gutter);
  z-index: var(--z-raise);
}

.artisan__panel {
  width: min(46%, 620px);
}

.artisan__panel h2 {
  font-size: clamp(2.6rem, 4.5vw, 4.8rem);
  margin: var(--space-3) 0;
}

.artisan__panel .body-copy + .body-copy {
  margin-top: 1.5rem;
}

/* ---------- SECTION 7 · ENQUIRE ---------- */

.enquire {
  background: var(--bg-deep);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

.enquire__inner {
  max-width: 1160px;
}

.enquire h2 {
  font-size: clamp(3rem, 8vw, 7.5rem);
  margin-bottom: var(--space-3);
}

.enquire__note {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  color: var(--ink-dim);
  max-width: 40ch;
  margin-bottom: var(--space-4);
}

.enquire__small {
  margin-top: var(--space-4);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.8rem;
}

.enquire__small a {
  color: var(--ink-dim);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.enquire__small a:hover { color: var(--accent); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero__intro { bottom: 24vh; }
  .hero__cta { bottom: 12vh; }

  .house__stats {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .food {
    grid-template-columns: 1fr;
  }

  .food__media {
    min-height: 62vh;
  }

  .food__media::after {
    background: linear-gradient(180deg, transparent 55%, var(--bg-deep) 100%);
  }

  .food__panel {
    padding: var(--space-4) var(--gutter) var(--space-5);
  }

  .fragrance {
    min-height: 100vh;
  }

  .artisan {
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .artisan__content {
    position: relative;
    inset: auto;
    align-items: flex-end;
    padding: var(--space-4) var(--gutter);
    margin-top: 52vh;
  }

  .artisan__shade {
    background: linear-gradient(180deg, transparent 30%, rgba(13, 11, 8, 0.92) 65%);
  }

  .artisan__panel {
    width: 100%;
  }
}
