/* ===========================================================
   AZURA OUED LAOU — LAYOUT
   =========================================================== */

/* ---------- Nav ----------
   Fixed hairline bar: hamburger (opens the full link drawer) —
   centered wordmark — season toggle + Reserve. On the homepage it
   starts transparent over the hero video and turns solid on scroll. */
.mv-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 5.9rem;
  padding: 1.1rem var(--mv-gutter);
  background: var(--mv-snow);
  color: var(--mv-navy);
  border-bottom: 0;
  transition: min-height var(--mv-dur) var(--mv-ease),
              padding var(--mv-dur) var(--mv-ease),
              background var(--mv-dur) var(--mv-ease),
              color var(--mv-dur) var(--mv-ease);
}
.mv-nav.is-scrolled { min-height: 5rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }

/* Bottom hairline — drawn as its own layer so it can sweep in from the
   left 3s after the page loads. */
.mv-nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--mv-line);
  transform: scaleX(0);
  transform-origin: left center;
  animation: mv-nav-underline 1.1s var(--mv-ease) 3s forwards;
  transition: background-color var(--mv-dur) var(--mv-ease);
}
@keyframes mv-nav-underline {
  to { transform: scaleX(1); }
}

/* Soft dark scrim bleeding down from the top — only on the homepage's
   transparent header, so the white logo / links read over the video. */
.mv-nav::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 260%;
  background: linear-gradient(to bottom, rgba(8, 17, 24, 0.55) 0%, rgba(8, 17, 24, 0) 100%);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transition: opacity var(--mv-dur) var(--mv-ease);
}
.mv-home .mv-nav:not(.is-scrolled)::before { opacity: 1; }

/* Homepage: transparent header over the hero until scrolled — only the
   white bottom hairline stays. */
.mv-home .mv-nav:not(.is-scrolled) {
  background: transparent;
  color: var(--mv-snow);
}
.mv-home .mv-nav:not(.is-scrolled)::after { background: rgba(255, 255, 255, 0.4); }

.mv-nav__start { display: flex; align-items: center; gap: 1rem; }

.mv-nav__toggle {
  background: none; border: none; color: inherit;
  line-height: 1; cursor: pointer;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.35rem 0;
}
/* Stage holds the 3-line icon and the "E X P L O R E" word. The word is
   the in-flow sizer; the icon overlays it. They swap with a vertical
   flip — JS types the word out then flips back, once every 10s. */
.mv-nav__toggle-stage {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 34px;
  min-height: 16px;
  perspective: 500px;
}
.mv-nav__toggle-icon {
  position: absolute;
  left: 0;
  top: 50%;
  width: 34px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  fill: none;
  transform: translateY(-50%) rotateX(0);
  transition: transform 0.45s var(--mv-ease), opacity 0.3s linear;
}
.mv-nav__toggle-word {
  display: inline-block;
  white-space: nowrap;
  font-size: var(--mv-size-small);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  transform: rotateX(-90deg);
  transform-origin: center;
  transition: transform 0.45s var(--mv-ease), opacity 0.3s linear;
}
.mv-nav__toggle.is-explore .mv-nav__toggle-icon {
  opacity: 0;
  transform: translateY(-50%) rotateX(90deg);
}
.mv-nav__toggle.is-explore .mv-nav__toggle-word {
  opacity: 1;
  transform: rotateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .mv-nav__toggle-icon, .mv-nav__toggle-word { transition: none; }
}
.mv-nav__toggle-label {
  font-size: var(--mv-size-small);
  letter-spacing: var(--mv-tracking-wide);
  text-transform: uppercase;
}

.mv-nav__season {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: none; border: none; cursor: pointer;
  font-size: var(--mv-size-small);
  letter-spacing: var(--mv-tracking-wide);
  text-transform: uppercase;
  color: inherit;
  opacity: 0.55;
}
.mv-nav__season.is-active { opacity: 1; color: var(--mv-brass); font-weight: 700; }

/* Pinned to the exact horizontal + vertical centre of the viewport,
   independent of the (uneven) hamburger / actions columns beside it. */
.mv-nav__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  line-height: 0;
}
.mv-nav__logo {
  display: block;
  height: 5.4rem;
  width: auto;
  transition: height var(--mv-dur) var(--mv-ease),
              opacity var(--mv-dur) var(--mv-ease);
}
.mv-nav.is-scrolled .mv-nav__logo { height: 4.4rem; }
@media (max-width: 640px) { .mv-nav__logo { height: 4rem; } }

/* Cross-fade the two logos instead of hard-swapping them: the colour
   logo defines the box, the white one overlays it and fades in/out. */
.mv-nav__logo--dark { opacity: 1; }
.mv-nav__logo--light {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.mv-home .mv-nav:not(.is-scrolled) .mv-nav__logo--dark  { opacity: 0; }
.mv-home .mv-nav:not(.is-scrolled) .mv-nav__logo--light { opacity: 1; }

.mv-nav__end { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; }

/* BOOK button — a solid block welded into the nav's top-right corner:
   flush with the top, the right edge, and the bottom hairline. */
.mv-nav__cta {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 101;
  height: 5.9rem;
  padding: 0 clamp(1.4rem, 3.2vw, 2.4rem);
  border: 0;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0.16em;
  transition: height var(--mv-dur) var(--mv-ease),
              background var(--mv-dur) var(--mv-ease);
}
.mv-nav.is-scrolled .mv-nav__cta { height: 5rem; }
@media (max-width: 640px) {
  .mv-nav__cta { padding: 0 1.2rem; }
}

/* Full-screen mega-menu drawer, opened by the hamburger:
   left column of big links, right grid of info panels. */
.mv-drawer {
  position: fixed; inset: 0;
  z-index: 101;
  background: var(--mv-navy);
  color: var(--mv-snow);
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  padding: clamp(5rem, 10vw, 7rem) var(--mv-gutter) 3rem;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--mv-dur) var(--mv-ease), transform var(--mv-dur) var(--mv-ease);
}
.mv-drawer.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }

.mv-drawer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: var(--mv-font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  align-self: center;
}
.mv-drawer__links a {
  position: relative;
  display: inline-block;
}
.mv-drawer__links a span { color: var(--mv-brass); margin-right: 0.35em; }
.mv-drawer__links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -4px;
  height: 1px; background: var(--mv-brass);
  transition: right var(--mv-dur) var(--mv-ease);
}
.mv-drawer__links a:hover::after,
.mv-drawer__links a[aria-current="page"]::after { right: 0; }

.mv-drawer__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid var(--mv-line-dark);
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
  align-self: center;
  gap: 2.5rem 2rem;
}
.mv-drawer__panel p { margin-top: 0.35rem; font-size: 0.95rem; color: var(--mv-glacier); }
.mv-drawer__panel p a:hover { color: var(--mv-brass-soft); }
.mv-drawer__label {
  display: block;
  font-size: var(--mv-size-eyebrow);
  letter-spacing: var(--mv-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--mv-brass-soft);
}
.mv-drawer__big { font-family: var(--mv-font-display); font-size: 1.75rem; margin-top: 0.35rem; }

.mv-nav__links-close {
  position: absolute; top: 1.5rem; right: var(--mv-gutter);
  background: none; border: none; color: var(--mv-snow);
  font-size: 1.75rem; cursor: pointer;
  z-index: 1;
}

@media (max-width: 780px) {
  .mv-drawer { grid-template-columns: 1fr; gap: 2.5rem; }
  .mv-drawer__info { border-left: none; padding-left: 0; grid-template-columns: 1fr 1fr; }
}

/* ---------- Hero (homepage only — interior pages use .mv-page-title) ---------- */
.mv-hero {
  position: relative;
  margin-top: 0; /* video runs to the very top, behind the transparent nav */
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--mv-snow);
  background: var(--mv-navy); /* shows if no video/poster loads */
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.mv-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--mv-gutter) 5rem;
}

/* One background video, shared by every slide. JS swaps its source as
   the slider advances and fades it while the clip loads; the section's
   own background-image shows through in the gap. */
.mv-hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.mv-hero__video.is-ready {
  opacity: 1;
  animation: mv-hero-zoom 12s ease-out both;
}
@keyframes mv-hero-zoom { from { transform: scale(1.005); } to { transform: scale(1.06); } }
.mv-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12,27,38,0.35) 0%, rgba(12,27,38,0.15) 40%, rgba(12,27,38,0.75) 100%);
}
.mv-hero__eyebrow { color: var(--mv-logo-sun); }

/* Headline slides — stacked in one grid cell so the block sizes to the
   tallest and the CTA never jumps; only one is shown, cross-fading with
   the matching background video. */
.mv-hero__slides { display: grid; margin-top: 1rem; }
.mv-hero__slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--mv-ease), transform 0.9s var(--mv-ease);
  pointer-events: none;
}
.mv-hero__slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.mv-hero__slide .mv-hero__title { margin-top: 0; }

.mv-hero__title {
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  max-width: 16ch;
  margin-top: 1rem;
  color: #fff;
  text-shadow: 0 1px 24px rgba(8, 17, 24, 0.35);
}
.mv-hero__sub {
  max-width: 42ch;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  text-shadow: 0 1px 16px rgba(8, 17, 24, 0.3);
}
.mv-hero__cta { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Slider dots */
.mv-hero__dots { margin-top: 2.25rem; display: flex; gap: 0.6rem; }
.mv-hero__dot {
  width: 34px; height: 3px;
  border: 0; padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background var(--mv-dur) var(--mv-ease);
}
.mv-hero__dot:hover { background: rgba(255, 255, 255, 0.6); }
.mv-hero__dot.is-active { background: var(--mv-logo-sun); }

.mv-hero--page { min-height: 60vh; }
.mv-hero--page .mv-hero__inner { padding-bottom: 3.5rem; }

/* ---------- Page title band ----------
   Cream section under the nav: icon sub-nav + oversized italic
   headline, used in place of a photo hero on content pages. */
.mv-page-title {
  padding: clamp(6.5rem, 12vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--mv-snow);
  text-align: center;
}
.mv-subnav {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.mv-subnav__item {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: var(--mv-size-small);
  letter-spacing: var(--mv-tracking-wide);
  color: var(--mv-glacier);
  opacity: 0.75;
}
.mv-subnav__item.is-current { color: var(--mv-brass); opacity: 1; font-weight: 700; }
.mv-subnav__item svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.mv-page-title__eyebrow { justify-content: center; margin-bottom: 1.25rem; }
.mv-page-title__sub {
  max-width: 46ch; margin: 1.5rem auto 0;
  text-align: center; color: var(--mv-charcoal); opacity: 0.75;
}

/* ---------- Teaser tiles (full-bleed image/video panels with
   centered italic overlay text) ---------- */
.mv-teaser-row {
  display: grid;
  grid-template-columns: repeat(var(--mv-teaser-cols, 2), 1fr);
  text-align: center;
  
}
.mv-teaser {
  position: relative;
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 3rem;
  background-size: cover;
  background-position: 50% calc(50% + var(--mv-par, 0px));
  color: var(--mv-snow);
  overflow: hidden;
}
.mv-teaser::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12,27,38,0.15) 0%, rgba(12,27,38,0.55) 100%);
}
.mv-teaser__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mv-teaser__title,
.mv-teaser__link { position: relative; z-index: 2; }
.mv-teaser__title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  text-align: center;
  margin-bottom: auto;
  margin-top: 25%;
}
.mv-teaser__title1,
.mv-teaser__link { position: relative; z-index: 2; }
.mv-teaser__title1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  text-align: center;
  margin-bottom: auto;
  margin-top: 15%;
}


.mv-teaser__link {
  font-size: var(--mv-size-small);
  letter-spacing: var(--mv-tracking-wide);
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  align-self: flex-start;
}
@media (max-width: 860px) {
  .mv-teaser-row { grid-template-columns: 1fr; }
  .mv-teaser { min-height: 50vh; }
}

/* ---------- Press / recognition strip ---------- */
.mv-press {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--mv-snow);
}
.mv-press__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.mv-press__badge {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: var(--mv-glacier);
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  max-width: 130px;
}
.mv-press__badge strong {
  display: block;
  font-family: var(--mv-font-display);
  font-size: 1.1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mv-navy);
}

/* ---------- Newsletter band ---------- */
.mv-newsletter {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--mv-snow);
  text-align: center;
  border-top: 1px solid var(--mv-line);
}
.mv-newsletter__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  color: var(--mv-navy);
}
.mv-newsletter__pill {
  margin-top: 2rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
  border: 1px solid var(--mv-navy);
  border-radius: 999px;
  padding: 0.9em 1.75em;
  font-size: var(--mv-size-small);
  letter-spacing: var(--mv-tracking-wide);
  text-transform: uppercase;
  color: var(--mv-navy);
  transition: background var(--mv-dur) var(--mv-ease), color var(--mv-dur) var(--mv-ease);
}
.mv-newsletter__pill:hover { background: var(--mv-navy); color: var(--mv-snow); }
.mv-newsletter__pill svg { width: 16px; height: 16px; }

.mv-card__media { position: relative; }

/* ---------- Section heads ---------- */
.mv-section__head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.mv-section__head h2 { margin-top: 0.75rem; }
.mv-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Grids ---------- */
.mv-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.mv-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mv-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .mv-grid--3 { grid-template-columns: 1fr; }
  .mv-grid--2 { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */
.mv-card { display: flex; flex-direction: column; }
.mv-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--mv-glacier);
  overflow: hidden;
}
.mv-card__media > a { display: block; width: 100%; height: 100%; }
.mv-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--mv-ease); }
.mv-card:hover .mv-card__media img { transform: scale(1.05); }
.mv-card__title a { color: inherit; text-decoration: none; }
.mv-card__title a:hover { color: var(--mv-brass); }
.mv-card__body { padding-top: 1.25rem; }
.mv-card__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: var(--mv-size-small); color: var(--mv-glacier);
  margin-top: 0.4rem;
}
.mv-card__title { font-size: var(--mv-size-h3); margin-top: 0.4rem; }
.mv-card__text { margin-top: 0.6rem; font-size: 0.95rem; color: var(--mv-charcoal); opacity: 0.85; }
.mv-section--navy .mv-card__text { color: var(--mv-glacier); opacity: 1; }

/* Asymmetric room feature row */
.mv-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.mv-feature:nth-child(even) .mv-feature__media { order: 2; }
.mv-feature__media { aspect-ratio: 5 / 4; overflow: hidden; background: var(--mv-glacier); }
.mv-feature__media > a { display: block; width: 100%; height: 100%; }
.mv-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.mv-feature__text h2 a { color: inherit; text-decoration: none; }
.mv-feature__text h2 a:hover { color: var(--mv-brass); }
.mv-feature__text .mv-eyebrow { margin-bottom: 1rem; }
.mv-feature__facts {
  list-style: none; margin-top: 1.75rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem;
  font-size: var(--mv-size-small); color: var(--mv-glacier);
}
.mv-feature + .mv-feature { margin-top: clamp(3rem, 7vw, 6rem); }
@media (max-width: 780px) {
  .mv-feature { grid-template-columns: 1fr; }
  .mv-feature:nth-child(even) .mv-feature__media { order: 0; }
}

/* Wide variant: the photo bleeds to a viewport edge and runs past the
   centre; the copy takes the other half. Photo sits left by default;
   it moves right on every even row inside a shared container, OR on any
   row explicitly marked .mv-feature--flip. */
.mv-feature--wide {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.mv-feature--wide:nth-child(even),
.mv-feature--wide.mv-feature--flip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
}
.mv-feature--wide:nth-child(even) .mv-feature__media,
.mv-feature--wide.mv-feature--flip .mv-feature__media { order: 2; }

.mv-feature--wide .mv-feature__media {
  aspect-ratio: auto;
  min-height: 78vh;
  height: 100%;
}
.mv-feature--wide .mv-feature__text {
  max-width: 56ch;
  padding-right: clamp(1.25rem, 5vw, 5.5rem);
}
.mv-feature--wide:nth-child(even) .mv-feature__text,
.mv-feature--wide.mv-feature--flip .mv-feature__text {
  padding-right: 0;
  padding-left: clamp(1.25rem, 5vw, 5.5rem);
  justify-self: end;
}
@media (max-width: 900px) {
  .mv-feature--wide,
  .mv-feature--wide:nth-child(even),
  .mv-feature--wide.mv-feature--flip { grid-template-columns: 1fr; }
  .mv-feature--wide:nth-child(even) .mv-feature__media,
  .mv-feature--wide.mv-feature--flip .mv-feature__media { order: 0; }
  .mv-feature--wide .mv-feature__media { min-height: 54vh; }
  .mv-feature--wide .mv-feature__text,
  .mv-feature--wide:nth-child(even) .mv-feature__text,
  .mv-feature--wide.mv-feature--flip .mv-feature__text {
    padding: 2rem var(--mv-gutter) 0;
    max-width: none;
    justify-self: auto;
  }
}

/* ---------- Gallery ---------- */
.mv-gallery {
  columns: 3 220px;
  column-gap: 1rem;
}
.mv-gallery__item {
  break-inside: avoid;
  margin-bottom: 1rem;
  cursor: zoom-in;
  overflow: hidden;
}
.mv-gallery__item img { width: 100%; transition: transform 0.6s var(--mv-ease); }
.mv-gallery__item:hover img { transform: scale(1.04); }

/* Room detail: fewer, much larger images instead of the masonry columns. */
.mv-gallery--room {
  columns: unset;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.mv-gallery--room .mv-gallery__item {
  margin: 0;
  aspect-ratio: 4 / 3;
}
.mv-gallery--room .mv-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv-lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12,27,38,0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: var(--mv-gutter);
}
.mv-lightbox.is-open { display: flex; }
.mv-lightbox img { max-height: 88vh; max-width: 100%; }
.mv-lightbox__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: 1px solid var(--mv-glacier); color: var(--mv-snow);
  width: 44px; height: 44px; font-size: 1.25rem; cursor: pointer;
}

/* ---------- Forms ---------- */
.mv-form { display: grid; gap: 1.25rem; }
.mv-form__row { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .mv-form__row { grid-template-columns: 1fr; } }
.mv-field { display: flex; flex-direction: column; gap: 0.5rem; }
.mv-field label {
  font-size: var(--mv-size-eyebrow);
  letter-spacing: var(--mv-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--mv-glacier);
}
.mv-field input, .mv-field select, .mv-field textarea {
  font-family: var(--mv-font-body);
  font-size: 1rem;
  padding: 0.8em 1em;
  background: transparent;
  border: 2px solid rgba(247, 245, 241, 0.35);
  color: inherit;
}
.mv-section--snow .mv-field input,
.mv-section--snow .mv-field select,
.mv-section--snow .mv-field textarea { border-color: rgba(20, 43, 61, 0.3); }
.mv-field input:focus, .mv-field select:focus, .mv-field textarea:focus {
  outline: none; border-color: var(--mv-brass);
}
.mv-field textarea { resize: vertical; min-height: 120px; }
.mv-form__error {
  font-size: var(--mv-size-small); color: #C97B63; display: none;
}
.mv-field.has-error input,
.mv-field.has-error select,
.mv-field.has-error textarea { border-color: #C97B63; }
.mv-field.has-error .mv-form__error { display: block; }

.mv-notice {
  padding: 1em 1.25em;
  border: 1px solid var(--mv-brass);
  color: var(--mv-navy);
  background: rgba(169,131,75,0.08);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ---------- Footer ---------- */
.mv-footer {
  background: var(--mv-navy-deep);
  color: var(--mv-glacier);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.mv-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (max-width: 780px) { .mv-footer__grid { grid-template-columns: 1fr 1fr; } }
.mv-footer__mark { font-family: var(--mv-font-display); font-size: 1.5rem; color: var(--mv-snow); }
.mv-footer__mark span { color: var(--mv-brass); }
.mv-footer__logo {
  display: block;
  height: 6.75rem;
  width: auto;
  margin-left: -1rem;
}
.mv-footer__tag { margin-top: 1rem; font-size: 0.9rem; max-width: 32ch; }
.mv-footer h4 {
  font-family: var(--mv-font-body); font-size: var(--mv-size-eyebrow);
  letter-spacing: var(--mv-tracking-eyebrow); text-transform: uppercase;
  color: var(--mv-snow); margin-bottom: 1rem; font-weight: 600;
}
.mv-footer ul { list-style: none; display: grid; gap: 0.6rem; font-size: 0.92rem; }
.mv-footer ul a:hover { color: var(--mv-brass-soft); }
.mv-footer__bottom {
  border-top: 1px solid var(--mv-line-dark);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
  font-size: 0.8rem;
}

/* ---------- Utility page wrapper ---------- */
.mv-main { padding-top: 0; }

/* ---------- Long-form legal / policy text ---------- */
.mv-legal { line-height: 1.75; }
.mv-legal h2 {
  font-family: var(--mv-font-display);
  font-size: 1.5rem;
  margin: 2.5rem 0 0.75rem;
}
.mv-legal h2:first-of-type { margin-top: 1.5rem; }
.mv-legal p { margin: 0 0 1rem; }
.mv-legal ul { margin: 0 0 1.25rem 1.25rem; padding: 0; }
.mv-legal li { margin-bottom: 0.5rem; }
.mv-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ===========================================================
   MOTION LAYER — Lenis smooth scroll + scroll reveals + parallax.
   Purely cosmetic: opacity/transform only, no layout shift.
   Hidden state applies only when JS adds .has-reveal to <html>,
   so content stays visible if JS fails or motion is reduced.
   =========================================================== */
html { scroll-behavior: smooth; }

/* Lenis (smooth scroll) — recommended base styles. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Feature photos drift within their (overflow-hidden) frame. */
.mv-feature__media img {
  transform: translate3d(0, var(--mv-py, 0px), 0) scale(1.16);
  will-change: transform;
}

.has-reveal [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.9s var(--mv-ease), transform 0.9s var(--mv-ease);
  transition-delay: calc(var(--i, 0) * 80ms);
  will-change: opacity, transform;
}
.has-reveal [data-reveal].is-inview {
  opacity: 1;
  transform: none;
}

/* Hero copy drifts up + fades as you leave the hero (JS sets --sc 0→1). */
.mv-hero__inner {
  will-change: transform, opacity;
  transform: translate3d(0, calc(var(--sc, 0) * -40px), 0);
  opacity: calc(1 - var(--sc, 0) * 0.85);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .has-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
  .mv-hero__inner { transform: none; opacity: 1; }
  .mv-hero__video.is-ready { animation: none; transform: none; }
  .mv-hero__slide { transition: opacity 0.4s linear; transform: none; }
  .mv-feature__media img { transform: none; }
  .mv-teaser { background-position: center; }
  .mv-nav::after { animation: none; transform: scaleX(1); }
}
