/**
 * OFF MARKET header + footer chrome (from offmarket/src CinematicChrome + Footer)
 * Scoped to .mv-chrome and .mv-footer — does not affect page sections.
 */

:root {
  --mv-font-label: 'Tenor Sans', system-ui, sans-serif;
  --mv-font-body: 'Questrial', system-ui, sans-serif;
  --mv-font-editorial: 'Cormorant Garamond', Georgia, serif;
  --mv-stone: #f1ebeb;
  --mv-dark-red: #565449;
  --mv-deep-red: #565449;
  --mv-champagne: #b88a5a;
  --mv-champagne-light: #c49a6c;
  --mv-graphite: #2e3430;
  --mv-dark-red-rgb: 86, 84, 73;
  --mv-deep-red-rgb: 86, 84, 73;
  --mv-stone-rgb: 241, 235, 235;
  --mv-champagne-rgb: 184, 138, 90;
  --mv-border-soft: rgba(var(--mv-stone-rgb), 0.14);
  --mv-glass-dark: rgba(var(--mv-dark-red-rgb), 0.56);
  --mv-glass-dark-strong: rgba(var(--mv-dark-red-rgb), 0.72);
  --mv-overlay-backdrop: rgba(var(--mv-dark-red-rgb), 0.35);
  --mv-overlay-backdrop-open: rgba(var(--mv-dark-red-rgb), 0.55);
  --mv-ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --om-floating-nav-top: 22px;
  --om-floating-nav-bar-height: 70px;
  --om-header-height: calc(
    var(--om-floating-nav-top) + var(--om-floating-nav-bar-height) + 10px
  );
}

/* Hide legacy header/footer/menu */
.header.js-header,
footer.footer,
#menu,
#menu-picker {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ── Chrome shell ── */
.mv-chrome {
  position: relative;
  z-index: 1000;
  font-family: var(--mv-font-body);
  -webkit-font-smoothing: antialiased;
}

.mv-chrome.is-preloader-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.mv-chrome.is-mounted .om-header__bar {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mv-chrome.is-mounted .om-header__logo {
  opacity: 1;
}

/* ── Backdrop ── */
.cinematic-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--mv-overlay-backdrop);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.52s var(--mv-ease-editorial),
    backdrop-filter 0.55s var(--mv-ease-editorial);
}

.cinematic-menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
  background: var(--mv-overlay-backdrop-open);
  -webkit-backdrop-filter: blur(18px) saturate(0.85);
  backdrop-filter: blur(18px) saturate(0.85);
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

/* ── Mobile nav ── */
.mv-chrome__nav-mobile {
  position: fixed;
  inset: 0 0 auto;
  z-index: 53;
  pointer-events: none;
}

@media (min-width: 768px) {
  .mv-chrome__nav-mobile {
    display: none;
  }
}

.mv-chrome__gradient {
  pointer-events: none;
  position: absolute;
  inset: 0 0 auto;
  height: 6rem;
  background: linear-gradient(to bottom, rgba(var(--mv-dark-red-rgb), 0.5), rgba(var(--mv-dark-red-rgb), 0.2), transparent);
  transition: opacity 0.3s ease;
}

.mv-chrome--hero .mv-chrome__gradient,
.mv-chrome--light .mv-chrome__gradient {
  background: linear-gradient(to bottom, rgba(var(--mv-dark-red-rgb), 0.5), rgba(var(--mv-dark-red-rgb), 0.2), transparent);
}

.mv-chrome--page-light .mv-chrome__gradient,
.mv-chrome:not(.mv-chrome--hero):not(.mv-chrome--light) .mv-chrome__gradient {
  background: linear-gradient(to bottom, rgba(var(--mv-stone-rgb), 0.7), rgba(var(--mv-stone-rgb), 0.3), transparent);
}

.mv-chrome.is-menu-open .mv-chrome__gradient,
.mv-chrome.is-menu-open .mv-chrome__logo-mobile-wrap {
  opacity: 0;
}

.mv-chrome__logo-mobile-wrap {
  pointer-events: auto;
  padding: max(0.75rem, env(safe-area-inset-top, 0px)) 1rem 0;
  transition: opacity 0.3s ease, transform 0.5s var(--mv-ease-editorial), opacity 0.5s;
  opacity: 0;
  transform: translateY(-0.5rem);
}

.mv-chrome__logo-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.mv-chrome__logo {
  display: block;
  height: 1.75rem;
  width: auto;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .mv-chrome__logo {
    height: 2.25rem;
  }
}

.mv-chrome__logo--light {
  filter: brightness(0) invert(1) drop-shadow(0 2px 16px rgba(0, 0, 0, 0.55));
}

.mv-chrome__logo--rouge,
.mv-chrome__logo--dark {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.14));
  opacity: 1;
}

.mv-chrome--hero .mv-chrome__logo--rouge,
.mv-chrome--hero .mv-chrome__logo--dark {
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.18));
}

.mv-chrome--page-light .mv-chrome__logo:not(.mv-chrome__logo--dark):not(.mv-chrome__logo--rouge),
.mv-chrome:not(.mv-chrome--hero):not(.mv-chrome--light) .mv-chrome__logo:not(.mv-chrome__logo--dark):not(.mv-chrome__logo--rouge) {
  filter: brightness(0) drop-shadow(0 2px 12px rgba(241, 235, 235, 0.45));
}

/* Mobile pill */
.mobile-chrome-pill {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 1rem);
  right: clamp(1rem, 5vw, 1.5rem);
  z-index: 53;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  height: 70px;
  padding: 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--mv-border-soft);
  background: var(--mv-glass-dark-strong);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition: opacity 0.52s var(--mv-ease-editorial), transform 0.52s var(--mv-ease-editorial);
}

.mobile-chrome-pill__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--mv-champagne);
  color: var(--mv-dark-red);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.mobile-chrome-pill__phone:hover {
  background: var(--mv-champagne-light);
}

.mobile-chrome-pill__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--mv-stone);
  cursor: pointer;
  padding: 0;
}

.mv-menu-toggle-icon {
  position: relative;
  display: block;
  width: 1rem;
  height: 1rem;
}

.mv-menu-toggle-icon__bar {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 1rem;
  height: 1px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform 0.48s var(--mv-ease-editorial);
}

.mv-menu-toggle-icon__bar--top {
  transform: translate(-50%, -3px);
}

.mv-menu-toggle-icon__bar--bottom {
  transform: translate(-50%, 3px);
}

.mv-chrome.is-menu-open .mv-menu-toggle-icon__bar--top {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mv-chrome.is-menu-open .mv-menu-toggle-icon__bar--bottom {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ── Desktop nav ── */
.mv-chrome__nav-desktop {
  display: none;
  position: fixed;
  inset: 0 0 auto;
  z-index: 52;
  pointer-events: none;
  padding: 1.75rem 2.5rem 0;
}

@media (min-width: 768px) {
  .mv-chrome__nav-desktop {
    display: block;
  }
}

.mv-chrome__gradient--desktop {
  height: 7rem;
}

.mv-chrome__desktop-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.mv-chrome__desktop-left {
  display: flex;
  justify-content: flex-start;
}

.mv-chrome__logo-desktop {
  justify-self: center;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition: opacity 0.5s, transform 0.5s var(--mv-ease-editorial);
}

.mv-chrome__desktop-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 0.5s;
}

.mv-chrome__header-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(var(--mv-stone-rgb), 0.2);
  background: rgba(var(--mv-dark-red-rgb), 0.48);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(-0.5rem);
  transition: all 0.5s var(--mv-ease-editorial);
}

.mv-chrome--hero .mv-chrome__header-pill,
.mv-chrome--light .mv-chrome__header-pill {
  border-color: rgba(var(--mv-stone-rgb), 0.2);
  background: rgba(var(--mv-dark-red-rgb), 0.48);
}

.mv-chrome--page-light .mv-chrome__header-pill,
.mv-chrome:not(.mv-chrome--hero):not(.mv-chrome--light) .mv-chrome__header-pill {
  border-color: rgba(var(--mv-dark-red-rgb), 0.12);
  background: rgba(var(--mv-stone-rgb), 0.88);
}

.mv-chrome.is-menu-open .mv-chrome__header-pill {
  border-color: rgba(var(--mv-stone-rgb), 0.2);
  background: rgba(var(--mv-dark-red-rgb), 0.5);
}

.mv-chrome__pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border: none;
  background: transparent;
  font-family: var(--mv-font-label);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mv-stone);
  cursor: pointer;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.mv-chrome--page-light .mv-chrome__pill-btn,
.mv-chrome:not(.mv-chrome--hero):not(.mv-chrome--light) .mv-chrome__pill-btn {
  color: var(--mv-dark-red);
  text-shadow: none;
}

.mv-chrome__pill-close {
  font-size: 1.125rem;
  line-height: 1;
}

.mv-chrome__pill-cta {
  display: flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  background: var(--mv-champagne);
  color: var(--mv-dark-red);
  font-family: var(--mv-font-label);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.mv-chrome__pill-cta:hover {
  background: var(--mv-champagne-light);
}

/* ── Menu panel ── */
.cinematic-menu-panel {
  position: fixed;
  z-index: 51;
  left: 16px;
  right: 16px;
  top: max(16px, env(safe-area-inset-top, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  border-radius: 34px;
  border: 1px solid var(--mv-border-soft);
  background: var(--mv-glass-dark);
  -webkit-backdrop-filter: blur(24px) saturate(1.05);
  backdrop-filter: blur(24px) saturate(1.05);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  transform-origin: center top;
  will-change: transform, opacity;
}

.cinematic-menu-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0.5rem 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cinematic-menu-scroll::-webkit-scrollbar {
  display: none;
}

.mv-chrome__menu-mobile-spacer {
  flex-shrink: 0;
  padding-top: calc(env(safe-area-inset-top, 0px) + 4.75rem);
}

.mv-chrome__menu-desktop-spacer {
  display: none;
}

.mv-chrome__menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cinematic-menu-item {
  border-bottom: 1px solid rgba(var(--mv-stone-rgb), 0.08);
  padding: 1.25rem 0;
}

.cinematic-menu-item:last-child {
  border-bottom: none;
}

.mv-chrome__menu-item-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.cinematic-menu-link {
  flex: 1;
  font-family: var(--mv-font-label);
  text-transform: none;
  color: var(--mv-stone);
  text-decoration: none;
  font-size: clamp(2.4rem, 11vw, 4.4rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
  transition: opacity 0.3s ease;
}

.cinematic-menu-link:hover {
  opacity: 1;
}

.cinematic-menu-sublink {
  display: block;
  font-family: var(--mv-font-label);
  text-transform: uppercase;
  color: rgba(var(--mv-stone-rgb), 0.8);
  text-decoration: none;
  font-size: clamp(0.625rem, 1.6vw, 0.75rem);
  letter-spacing: 0.18em;
  line-height: 1.35;
  transition: color 0.3s ease;
}

.cinematic-menu-sublink:hover {
  color: var(--mv-stone);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.mv-chrome__expand-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-top: 0.25rem;
  border: none;
  background: transparent;
  color: rgba(var(--mv-stone-rgb), 0.75);
  cursor: pointer;
}

.mv-chrome__expand-icon {
  position: relative;
  display: block;
  width: 0.75rem;
  height: 0.75rem;
}

.mv-chrome__expand-icon span:first-child {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}

.mv-chrome__expand-icon span:last-child {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mv-chrome__menu-item.is-expanded .mv-chrome__expand-icon span:last-child {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.mv-chrome__submenu {
  overflow: hidden;
  height: 0;
  opacity: 0;
}

.mv-chrome__submenu ul {
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mv-chrome__menu-footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(var(--mv-stone-rgb), 0.1);
  padding: 1.5rem;
}

.mv-chrome__menu-brand {
  margin: 0;
  font-family: var(--mv-font-label);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(var(--mv-stone-rgb), 0.9);
}

.mv-chrome__menu-tagline {
  margin: 0.5rem 0 0;
  font-family: var(--mv-font-body);
  font-size: 0.875rem;
  color: rgba(var(--mv-stone-rgb), 0.55);
}

/* Language switcher */
.mv-lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mv-font-label);
  font-size: 11px;
}

.mv-lang-switcher--mobile-only {
  display: flex;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .mv-lang-switcher--mobile-only {
    display: none;
  }
}

.mv-lang-switcher__btn {
  position: relative;
  display: inline-flex;
  border: none;
  background: transparent;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.4s var(--mv-ease-editorial);
}

.mv-lang-switcher--on-light .mv-lang-switcher__btn.is-active {
  color: var(--mv-dark-red);
}

.mv-lang-switcher--on-light .mv-lang-switcher__btn:not(.is-active) {
  color: rgba(46, 52, 48, 0.7);
}

.mv-lang-switcher--on-light .mv-lang-switcher__btn:not(.is-active):hover {
  color: var(--mv-dark-red);
}

.mv-lang-switcher--on-light .mv-lang-switcher__sep {
  color: rgba(46, 52, 48, 0.35);
}

.mv-lang-switcher--on-dark .mv-lang-switcher__btn.is-active {
  color: var(--mv-champagne);
}

.mv-lang-switcher--on-dark .mv-lang-switcher__btn:not(.is-active) {
  color: rgba(var(--mv-stone-rgb), 0.55);
}

.mv-lang-switcher--on-dark .mv-lang-switcher__btn:not(.is-active):hover {
  color: var(--mv-champagne-light);
}

.mv-lang-switcher--on-dark .mv-lang-switcher__sep {
  color: rgba(var(--mv-stone-rgb), 0.35);
}

.mv-lang-switcher__btn.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.25rem;
  height: 1px;
  background: var(--mv-champagne);
  opacity: 0.8;
}

/* Desktop menu panel */
@media (min-width: 768px) {
  .cinematic-menu-backdrop.is-open {
    background: rgba(var(--mv-dark-red-rgb), 0.58);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .cinematic-menu-panel {
    left: 32px;
    right: auto;
    width: min(38vw, 620px);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(var(--mv-deep-red-rgb), 0.78), rgba(var(--mv-dark-red-rgb), 0.9));
    transform-origin: left center;
  }

  .mv-chrome__menu-mobile-spacer {
    display: none;
  }

  .mv-chrome__menu-desktop-spacer {
    display: block;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(var(--mv-stone-rgb), 0.1);
    padding: calc(22px + 62px + 1.25rem) 2rem 1.25rem;
  }

  .cinematic-menu-scroll {
    padding: 1rem 2rem;
  }

  .cinematic-menu-link {
    font-size: clamp(2.4rem, 5vw, 4rem);
    letter-spacing: -0.06em;
    line-height: 0.95;
    text-transform: none;
  }

  body.menu-open {
    touch-action: auto;
  }

  .mobile-chrome-pill {
    display: none;
  }
}

/* ── Footer ── */
.mv-footer {
  position: relative;
  overflow: hidden;
  background: #111111;
  color: var(--mv-stone);
  font-family: var(--mv-font-body);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mv-footer__transition {
  pointer-events: none;
  height: 10vh;
  min-height: 64px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.52) 44%,
    #111111 100%
  );
}

@media (min-width: 768px) {
  .mv-footer__transition {
    height: 12vh;
    min-height: 88px;
  }
}

.container-editorial {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container-editorial {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .container-editorial {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.mv-footer__content {
  padding-top: 3.5rem;
  padding-bottom: max(5rem, calc(3rem + env(safe-area-inset-bottom, 0px)));
}

@media (min-width: 768px) {
  .mv-footer__content {
    padding-top: 4rem;
  }
}

.mv-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .mv-footer__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
  }

  .mv-footer__col--brand {
    grid-column: span 4;
  }

  .mv-footer__col:nth-child(2) {
    grid-column: span 3;
  }

  .mv-footer__col:nth-child(3),
  .mv-footer__col:nth-child(4),
  .mv-footer__col:nth-child(5) {
    grid-column: span 2;
  }
}

.mv-footer__eyebrow {
  margin: 0;
  font-family: var(--mv-font-label);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(var(--mv-champagne-rgb), 0.8);
}

.mv-footer__col--brand .mv-footer__eyebrow {
  color: rgba(var(--mv-champagne-rgb), 0.85);
  letter-spacing: 0.28em;
}

.mv-footer__tagline {
  margin: 1rem 0 0;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(var(--mv-stone-rgb), 0.9);
}

.mv-footer__links {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(var(--mv-stone-rgb), 0.9);
}

.mv-footer__links li + li {
  margin-top: 0.5rem;
}

.mv-footer__links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.4s var(--mv-ease-editorial);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.mv-footer__links a:hover {
  color: var(--mv-champagne);
}

.mv-footer__watermark {
  pointer-events: none;
  user-select: none;
  position: relative;
  z-index: 0;
  padding: 0 1rem 1.5rem;
  text-align: center;
}

.mv-footer__watermark span {
  display: block;
  font-family: var(--mv-font-label);
  text-transform: uppercase;
  color: var(--mv-champagne);
  font-size: clamp(3.5rem, 20vw, 18rem);
  letter-spacing: 0.12em;
  line-height: 0.85;
  opacity: 0.16;
}

.mv-footer__bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(var(--mv-champagne-rgb), 0.15);
}

.mv-footer__bar-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 0;
  font-family: var(--mv-font-label);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(var(--mv-stone-rgb), 0.75);
}

@media (min-width: 768px) {
  .mv-footer__bar-inner {
    flex-direction: row;
    align-items: center;
  }
}

.mv-footer__bar-inner a {
  color: inherit;
  text-decoration: none;
  transition: color 0.4s var(--mv-ease-editorial);
}

.mv-footer__bar-inner a:hover {
  color: var(--mv-champagne);
}

.mv-footer__bar-inner p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .mv-chrome *,
  .mv-chrome *::before,
  .mv-chrome *::after,
  .mv-footer *,
  .mv-footer *::before,
  .mv-footer *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── Glass floating header (om-header) ── */
.om-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 53;
  pointer-events: none;
}

.mv-chrome__nav-mobile.om-header,
.mv-chrome__nav-desktop.om-header {
  background: none;
  padding: 0;
}

@media (min-width: 768px) {
  .mv-chrome__nav-desktop.om-header {
    display: block;
  }
}

.om-header__bar {
  position: fixed;
  top: 22px;
  left: 50%;
  right: auto;
  z-index: 54;
  width: min(86vw, 1320px);
  min-height: 68px;
  border-radius: 999px;
  padding: 0 22px 0 28px;
  pointer-events: auto;
  opacity: 0;
  transform: translate(-50%, -0.5rem);
  transition:
    opacity 0.52s var(--mv-ease-editorial),
    transform 0.52s var(--mv-ease-editorial),
    background 520ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 520ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 520ms cubic-bezier(0.22, 1, 0.36, 1),
    -webkit-backdrop-filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  .mv-chrome__nav-desktop .om-header__bar {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto minmax(220px, 1fr);
    align-items: center;
    gap: 18px;
  }
}

@media (min-width: 1280px) {
  .mv-chrome__nav-desktop .om-header__bar {
    min-height: 70px;
    padding-inline: 30px 24px;
  }
}

@media (min-width: 1440px) {
  .mv-chrome__nav-desktop .om-header__bar {
    width: min(84vw, 1360px);
  }
}

@media (max-width: 1180px) and (min-width: 768px) {
  .mv-chrome__nav-desktop .om-header__bar {
    width: calc(100vw - 48px);
    grid-template-columns: minmax(130px, 1fr) auto minmax(180px, 1fr);
    gap: 14px;
    padding-inline: 18px 20px;
  }
}

/* ── Navbar: unified glass bar (all pages / variants) ── */

.mv-chrome .om-header__bar,
.mv-chrome--hero .om-header__bar,
.mv-chrome--light .om-header__bar,
.mv-chrome--page-light .om-header__bar,
.mv-chrome.is-on-light .om-header__bar,
.mv-chrome.is-scrolled .om-header__bar {
  background: rgba(245, 244, 242, 0.72);
  border: 1px solid rgba(86, 84, 73, 0.1);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
}

.om-header__logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 150px;
  flex-shrink: 0;
  font-size: clamp(1rem, 1.15vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  opacity: 1;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .mv-chrome__nav-desktop .om-header__logo {
    justify-self: start;
  }
}

.om-header__logo .mv-chrome__logo,
.om-header__logo img,
.om-header__logo svg {
  display: block;
  width: clamp(112px, 8vw, 136px);
  height: auto;
  transform: translateY(0);
}

.om-header__logo .mv-chrome__logo--rouge,
.om-header__logo .mv-chrome__logo--dark {
  width: auto;
  height: clamp(1.65rem, 2.8vw, 2.35rem);
  max-width: min(46vw, 220px);
}

.om-header__logo .mv-chrome__logo--light,
.om-header__logo .mv-chrome__logo--rouge,
.om-header__logo .mv-chrome__logo--dark {
  opacity: 1;
}

.mv-chrome .om-header__logo .mv-chrome__logo--light {
  filter: brightness(0) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.12));
  opacity: 1;
}

.mv-chrome .om-header__logo .mv-chrome__logo--rouge,
.mv-chrome .om-header__logo .mv-chrome__logo--dark {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.12));
  opacity: 1;
}

.om-header__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  border-radius: 999px;
}

@media (min-width: 768px) {
  .mv-chrome__nav-desktop .om-header__nav {
    position: static;
    left: auto;
    transform: none;
    justify-self: center;
  }
}

.om-header__nav > a,
.om-header__nav .om-nav-dropdown__trigger,
.mav-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  outline: none;
  text-decoration: none;
  font-family: var(--om-font-body, var(--font-body, sans-serif));
  font-size: 16px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: rgba(86, 84, 73, 0.72);
  transition:
    color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease,
    transform 360ms cubic-bezier(0.19, 1, 0.22, 1);
}

.mv-chrome .om-header__nav > a:hover,
.mv-chrome .om-header__nav .om-nav-dropdown__trigger:hover,
.mv-chrome .om-header__nav .om-nav-dropdown.is-open .om-nav-dropdown__trigger,
.mv-chrome .mav-nav__link:hover {
  color: #565449;
  background: rgba(86, 84, 73, 0.06);
}

.mv-chrome .om-header__nav .om-nav-dropdown__trigger {
  gap: 0;
  padding-inline: 0;
}

.mv-chrome .om-header__nav .om-nav-dropdown__label-link,
.mv-chrome .om-header__nav .om-nav-dropdown__toggle {
  color: inherit;
}

.mv-chrome .om-header__nav .om-nav-dropdown__toggle:focus:not(:focus-visible) {
  outline: none;
}

.mv-chrome .om-header__nav .om-nav-dropdown__toggle:focus-visible {
  outline: 2px solid rgba(79, 208, 138, 0.55);
  outline-offset: 2px;
}

.mv-chrome .om-header__nav .om-nav-dropdown__chevron {
  flex: 0 0 auto;
}

.om-header__nav > a:focus,
.om-header__nav .om-nav-dropdown__trigger:focus,
.mav-nav__link:focus {
  outline: none;
}

.om-header__nav > a:focus:not(:focus-visible),
.om-header__nav .om-nav-dropdown__trigger:focus:not(:focus-visible),
.mav-nav__link:focus:not(:focus-visible) {
  outline: none;
}

.om-header__nav > a:focus-visible,
.om-header__nav .om-nav-dropdown__trigger:focus-visible,
.mav-nav__link:focus-visible {
  outline: 2px solid rgba(79, 208, 138, 0.55);
  outline-offset: 4px;
}

/* Active nav — unified */
.mv-chrome .om-header__nav > a.is-active,
.mv-chrome .om-header__nav > a[aria-current='page'],
.mv-chrome .om-header__nav .om-nav-dropdown.is-active .om-nav-dropdown__trigger,
.mv-chrome .mav-nav__link.is-active,
.mv-chrome .mav-nav__link[aria-current='page'] {
  min-width: 64px;
  padding: 0 1.1rem;
  color: #565449;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  outline: none;
  box-shadow: 0 10px 24px rgba(86, 84, 73, 0.1);
}

.om-header__nav > a.is-active:focus:not(:focus-visible),
.om-header__nav > a[aria-current='page']:focus:not(:focus-visible),
.om-header__nav .om-nav-dropdown__trigger:focus:not(:focus-visible) {
  outline: none;
}

.om-header__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 220px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .mv-chrome__nav-desktop .om-header__actions {
    justify-self: end;
    margin-left: 0;
  }

  /* Profile/menu icon replaced by access CTA on desktop */
  .mv-chrome__nav-desktop .om-header__actions > .om-header__icon-btn {
    display: none;
  }
}

/* ── Language dropdown (desktop navbar) ── */

.om-language-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.om-language-dropdown__trigger {
  min-height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(86, 84, 73, 0.1);
  background: rgba(255, 255, 255, 0.46);
  color: #565449;
  font-family: var(--om-font-body, sans-serif);
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    background 220ms ease,
    border-color 220ms ease;
}

.om-language-dropdown__trigger:hover {
  background: rgba(255, 255, 255, 0.72);
}

.om-language-dropdown__trigger:focus {
  outline: none;
}

.om-language-dropdown__trigger:focus-visible {
  outline: 2px solid rgba(86, 84, 73, 0.45);
  outline-offset: 3px;
}

.om-language-dropdown__chevron {
  font-size: 11px;
  line-height: 1;
  opacity: 0.72;
  transition: transform 180ms ease;
}

.om-language-dropdown.is-open .om-language-dropdown__chevron {
  transform: rotate(180deg);
}

.om-language-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 96px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(86, 84, 73, 0.1);
  background: rgba(245, 244, 242, 0.96);
  box-shadow: 0 18px 50px rgba(86, 84, 73, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
  z-index: 60;
}

.om-language-dropdown.is-open .om-language-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.om-language-dropdown__option {
  min-height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  color: rgba(86, 84, 73, 0.62);
  font-family: var(--om-font-body, sans-serif);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.om-language-dropdown__option:hover,
.om-language-dropdown__option.is-active {
  background: rgba(86, 84, 73, 0.08);
  color: #565449;
}

.om-language-dropdown__option:focus-visible {
  outline: 2px solid rgba(86, 84, 73, 0.45);
  outline-offset: 2px;
}

/* ── Language dropdown — mobile navbar variant ── */

.om-language-dropdown--mobile {
  display: inline-flex;
}

.om-language-dropdown--mobile .om-language-dropdown__trigger {
  min-height: 44px;
  min-width: 44px;
  padding: 0 10px;
  gap: 5px;
  font-size: 14px;
}

.om-language-dropdown__menu--mobile {
  top: calc(100% + 12px);
  right: 0;
  min-width: 184px;
  max-width: min(72vw, 240px);
}

.om-language-dropdown__menu--mobile .om-language-dropdown__option {
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  font-size: 15px;
}

.om-language-dropdown__option-name {
  white-space: nowrap;
}

.om-language-dropdown__option-code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.6;
}

.mv-lang-switcher--glass {
  display: none;
}

.om-header__access-btn {
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(86, 84, 73, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: #565449;
  font-family: var(--om-font-body, var(--font-main, sans-serif));
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.012em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(86, 84, 73, 0.1);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.om-header__access-btn:hover {
  transform: translateY(-1px);
  background: #ffffff;
  color: #565449;
  box-shadow: 0 16px 38px rgba(86, 84, 73, 0.14);
}

.om-header__access-btn:focus-visible {
  outline: 2px solid rgba(79, 208, 138, 0.55);
  outline-offset: 4px;
}

.om-header__access-btn--menu {
  display: none;
  width: 100%;
  min-height: 52px;
  padding: 0 24px;
  margin-bottom: 1.25rem;
}

.om-header__icon-btn,
.mav-profile-button {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #565449;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(86, 84, 73, 0.08);
  box-shadow: 0 12px 32px rgba(86, 84, 73, 0.1);
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  transition:
    transform 360ms cubic-bezier(0.19, 1, 0.22, 1),
    background 260ms ease,
    color 260ms ease,
    box-shadow 260ms ease;
}

.om-header__icon-btn:hover {
  transform: translateY(-1px);
  background: #ffffff;
}

.om-header__icon-btn:focus-visible {
  outline: 2px solid var(--om-focus-ring);
  outline-offset: 2px;
}

.om-header__icon-btn--ghost {
  min-width: 56px;
  min-height: 56px;
  width: 56px;
  height: 56px;
  color: #565449;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(86, 84, 73, 0.08);
  box-shadow: 0 12px 32px rgba(86, 84, 73, 0.1);
}

.mv-chrome .om-header__icon-btn--ghost:hover {
  transform: translateY(-1px);
  color: #565449;
  background: #ffffff;
}

.om-header__icon-btn--menu .mv-menu-toggle-icon__bar {
  background: currentColor;
}

.mv-chrome.is-menu-open .om-header__logo {
  opacity: 0;
}

@media (max-width: 1180px) and (min-width: 768px) {
  .om-header__access-btn {
    min-height: 42px;
    padding-inline: 18px;
    font-size: 14.5px;
  }

  .om-header__nav > a,
  .om-header__nav .om-nav-dropdown__trigger,
  .mav-nav__link {
    padding-inline: 12px;
    font-size: 15px;
    min-height: 42px;
  }
}

@media (max-width: 767px) {
  .mv-chrome__nav-mobile .om-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: max(12px, env(safe-area-inset-top, 0px));
    left: 50%;
    right: auto;
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    min-height: 62px;
    height: auto;
    padding-inline: 18px;
    transform: translate3d(-50%, -0.5rem, 0);
  }

  .mv-chrome__nav-mobile .om-header__logo {
    min-width: 0;
    font-size: 1rem;
  }

  .mv-chrome__nav-mobile .om-header__logo .mv-chrome__logo,
  .mv-chrome__nav-mobile .om-header__logo img {
    width: auto;
    max-width: 52vw;
    height: clamp(1.95rem, 7.4vw, 2.5rem);
  }

  .mv-chrome__nav-mobile .om-header__actions {
    display: inline-flex;
    min-width: 0;
    gap: 0.4rem;
  }

  .om-header__icon-btn:not(.om-header__icon-btn--ghost) {
    width: 44px;
    height: 44px;
  }

  .om-header__icon-btn--ghost,
  .om-header__icon-btn--menu {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
  }

  .om-header__access-btn:not(.om-header__access-btn--menu) {
    display: none;
  }

  .om-header__access-btn--menu {
    display: inline-flex;
  }
}

/* ── Navbar always visible (no hide-after-hero) ── */
.mv-chrome .om-header__bar {
  transition:
    opacity 0.24s ease,
    transform 0.32s ease,
    backdrop-filter 520ms cubic-bezier(0.22, 1, 0.36, 1),
    -webkit-backdrop-filter 520ms cubic-bezier(0.22, 1, 0.36, 1),
    background 520ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 520ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.mv-chrome.is-mounted.is-nav-hidden:not(.is-menu-open) .om-header__bar {
  transform: translate3d(-50%, calc(-100% - 56px), 0);
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 767px) {
  .mv-chrome.is-mounted.is-nav-hidden:not(.is-menu-open) .mv-chrome__nav-mobile .om-header__bar {
    transform: translate3d(
      -50%,
      calc(-100% - max(12px, env(safe-area-inset-top, 0px)) - 8px),
      0
    );
    opacity: 0;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mv-chrome .om-header__bar {
    transition:
      opacity 0.01ms linear,
      transform 0.01ms linear,
      backdrop-filter 520ms cubic-bezier(0.22, 1, 0.36, 1),
      -webkit-backdrop-filter 520ms cubic-bezier(0.22, 1, 0.36, 1),
      background 520ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 520ms cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1);
  }
}

.mv-chrome.is-mounted.navbar--hidden-after-hero .om-header__bar {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
}

@media (max-width: 767px) {
  .mv-chrome.is-mounted.navbar--hidden-after-hero .om-header__bar {
    transform: translate3d(-50%, -0.5rem, 0);
  }

  .mv-chrome {
    z-index: 1000;
  }

  .om-header__phone-placeholder,
  .om-header__phone-placeholder[hidden] {
    display: none !important;
  }

  .mav-hero,
  #accueil.mav-hero,
  #featured-projects.om-featured-projects,
  .om-featured-projects,
  #simulateur,
  #territories {
    scroll-margin-top: 7rem;
  }
}

/* ── Page arrival fade-in (replaces Barba.js page transition system) ── */
@keyframes om-arrive {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body {
  animation: om-arrive 0.14s ease-out both;
}

@media (max-width: 767px) {
  body {
    animation-duration: 0.08s;
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }
}
