:root {
  color-scheme: light;
  --muse-ink: #322e29;
  --muse-cream: #f1f0e5;
  --muse-gold: #766b5d;
  --muse-gold-dark: #4a4238;
  --muse-espresso: #26221e;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: rgba(118, 107, 93, 0.2);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 2px solid var(--muse-gold);
  outline-offset: 4px;
}

button:active,
a[style*="padding: 14px 28px"]:active {
  transform: translateY(1px) scale(0.985);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: 4px;
  background: var(--muse-cream);
  color: var(--muse-ink);
  padding: 12px 16px;
  font: 600 0.8rem/1 "Outfit", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-link:focus {
  transform: translateY(0);
}

@keyframes home-muse-glint {
  0%,
  78%,
  100% {
    color: #e7bd6e;
    text-shadow: 0 1px 0 rgba(20, 17, 15, 0.08);
  }

  85% {
    color: #f0d189;
    text-shadow: 0 0 10px rgba(236, 212, 154, 0.4);
  }

  89% {
    color: #f8e6b4;
    text-shadow: 0 0 16px rgba(236, 212, 154, 0.55);
  }

  94% {
    color: #d8ac5c;
    text-shadow: 0 0 4px rgba(236, 212, 154, 0.25);
  }
}

.home-muse-accent {
  display: inline-block;
  padding-inline: 0.06em 0.02em;
  color: #e7bd6e !important;
  font-size: 1.08em !important;
  text-shadow: 0 1px 0 rgba(20, 17, 15, 0.08);
  animation: home-muse-glint 5.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@media (max-width: 960px) {
  nav[style*="max-width: 1200px"] {
    padding-inline: 24px !important;
  }

  nav > div[style*="gap: 28px"] {
    gap: 18px !important;
    font-size: 11px !important;
  }

  section[data-screen-label="The Space"] > div[style*="grid-template-columns"],
  section[data-screen-label="Philosophy"] > div[style*="grid-template-columns"],
  section[data-screen-label="Story"] > div[style*="grid-template-columns"],
  section[data-screen-label="Contact Body"] > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 56px !important;
  }

  section[data-screen-label="Services"] div[style*="grid-template-columns: repeat(3, 1fr)"],
  section[data-screen-label="Team Grid"] div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  section[data-screen-label="The Space"] div[style*="grid-template-columns: repeat(3, 1fr)"],
  section[data-screen-label="Values"] div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  footer div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  nav[style*="height: 120px"] {
    position: relative;
    height: 92px !important;
    padding: 0 16px !important;
  }

  nav > a[aria-label="Muse Beauty Bar, home"] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  nav > a[aria-label="Muse Beauty Bar, home"] img {
    height: 66px !important;
  }

  /* stacked desktop link rows collapse into the hamburger drawer */
  nav > div[style*="text-transform: uppercase"] {
    display: none !important;
  }

  section[data-screen-label="Hero"] {
    /* shorter hero = wider slice of the landscape photo (zoomed out) */
    min-height: 72svh !important;
  }

  section[data-screen-label="Hero"] > div[style*="left: 24px"] {
    inset: 10px 10px 14px !important;
  }

  section[data-screen-label="Hero"] div[style*="padding: 160px 40px 0"] {
    display: none !important;
  }

  section[data-screen-label="Hero"] h1 {
    font-size: clamp(2.6rem, 13vw, 4.4rem) !important;
  }

  /* portrait crops the wide group photo's sides; bias left so the
     far-left stylist isn't cut (home hero only) */
  section[data-screen-label="Hero"] > img {
    object-position: 32% 28% !important;
  }

  /* desktop face-clearing offset is too much on the shorter mobile hero */
  section[data-screen-label="Hero"] div[style*="margin-top: 21vh"] {
    margin-top: 5vh !important;
  }

  /* relocated "voted best" badge: keep it tight under the buttons so it
     clears the scroll cue */
  section[data-screen-label="Hero"] div[data-hero-fade] + span[data-hero-fade] {
    margin-top: 18px !important;
    font-size: 9px !important;
    letter-spacing: 0.16em !important;
  }

  /* scroll cue: shorter line + lower so nothing overlaps the badge */
  section[data-screen-label="Hero"] div[style*="bottom: 28px"] {
    bottom: 10px !important;
    gap: 5px !important;
  }
  section[data-screen-label="Hero"] div[style*="bottom: 28px"] span[style*="height: 40px"] {
    height: 20px !important;
  }

  /* brand strip wraps instead of pushing "Moroccan Oil" off-screen.
     NB: the template reserializes #e4dace -> rgb(), so match on gap/padding */
  div[style*="gap: 28px"][style*="padding-top: 40px"] {
    flex-wrap: wrap !important;
    gap: 10px 14px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  div[style*="gap: 28px"][style*="padding-top: 40px"] > span[style*="letter-spacing: 0.32em"] {
    letter-spacing: 0.14em !important;
    font-size: 0.9rem !important;
  }

  section[id="main-content"][data-screen-label$="Header"] {
    padding: 196px 0 64px !important;
  }

  /* shorter team header = wider slice of the landscape photo */
  section[data-screen-label="Team Header"] {
    min-height: 42svh !important;
    padding: 150px 0 56px !important;
  }
}

/* desktop: cover fills by width here, so a TALLER header reveals
   more of the photo vertically — same "zoom out", opposite lever */
@media (min-width: 701px) {
  section[data-screen-label="Team Header"] {
    min-height: 74vh !important;
  }
}

@media (max-width: 700px) {
  section:not([data-screen-label="Hero"])[style*="padding: 144px"],
  section[style*="padding: 128px"],
  section[style*="padding: 120px"],
  section[style*="padding: 112px"],
  section[style*="padding: 96px"],
  section[style*="padding: 80px"] {
    padding-top: 76px !important;
    padding-bottom: 82px !important;
  }

  section > div[style*="padding: 0 40px"],
  footer > div[style*="padding: 96px 40px"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  section[data-screen-label="The Space"] > div[style*="grid-template-columns"],
  section[data-screen-label="Philosophy"] > div[style*="grid-template-columns"],
  section[data-screen-label="Story"] > div[style*="grid-template-columns"],
  section[data-screen-label="Contact Body"] > div[style*="grid-template-columns"] {
    gap: 44px !important;
  }

  section[data-screen-label="Services"] div[style*="grid-template-columns: repeat(3, 1fr)"],
  section[data-screen-label="Team Grid"] div[style*="grid-template-columns: repeat(3, 1fr)"],
  section[data-screen-label="The Space"] div[style*="grid-template-columns: repeat(3, 1fr)"],
  section[data-screen-label="Values"] div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  section[data-screen-label="Gallery"] div[style*="grid-template-columns: repeat(4, 1fr)"],
  section[data-screen-label="Gallery Grid"] div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  section[data-screen-label="Credentials"] div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    row-gap: 44px;
  }

  section[data-screen-label="Credentials"] div[style*="grid-template-columns: repeat(4, 1fr)"] > div:nth-child(odd) {
    border-left: 0 !important;
  }

  section[data-screen-label="Feature Service"] > div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 48px !important;
  }

  section[data-screen-label="Feature Service"] > div > a[style*="flex-basis: 52%"] {
    max-width: 480px;
    flex-basis: auto !important;
  }

  section[data-screen-label="Everyday Menu"] div[style*="grid-template-columns: 1fr 1fr"],
  section[data-screen-label="Contact Body"] form div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  section[data-screen-label="Contact Body"] > div > div:last-child {
    padding-top: 8px;
  }

  footer > div[style*="padding: 96px 40px"] {
    padding-top: 76px !important;
    padding-bottom: 56px !important;
  }

  footer div[style*="height: 320px"] {
    height: 240px !important;
  }

  footer div[style*="justify-content: space-between"][style*="border-top"] {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}

@media (max-width: 480px) {
  nav > div[style*="text-transform: uppercase"] {
    gap: 15px !important;
  }

  section[data-screen-label="Hero"] span[data-hero-fade] {
    max-width: 28ch;
    gap: 8px !important;
    font-size: 10px !important;
    letter-spacing: 0.18em !important;
  }

  section[data-screen-label="Hero"] div[data-hero-fade] {
    align-items: stretch !important;
    flex-direction: column !important;
    width: min(100%, 300px);
  }

  section[data-screen-label="Gallery"] div[style*="grid-template-columns: repeat(4, 1fr)"],
  section[data-screen-label="Gallery Grid"] div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  section[data-screen-label="Credentials"] div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  section[data-screen-label="Credentials"] div[style*="grid-template-columns: repeat(4, 1fr)"] > div {
    border-left: 0 !important;
  }

  footer div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  footer div[style*="grid-template-columns: repeat(4, 1fr)"] > div {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .home-muse-accent {
    animation: none !important;
  }
}

/* ============================================================
   MOBILE NAV — hamburger + slide-in drawer (mobile only)
   ============================================================ */
.luxe-nav-toggle {
  display: none;
}

.luxe-nav-drawer[hidden] {
  display: none !important;
}

.luxe-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  background: rgba(20, 17, 15, 0);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  transition:
    background 380ms cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.luxe-nav-drawer.is-open {
  background: rgba(20, 17, 15, 0.52);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.luxe-nav-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: min(82vw, 340px);
  height: 100%;
  padding: 116px 34px 40px;
  background:
    radial-gradient(ellipse 120% 55% at 0% 100%, rgba(126, 132, 115, 0.16), transparent 62%),
    linear-gradient(160deg, #1c1815 0%, #14110f 60%);
  border-left: 1px solid rgba(212, 199, 175, 0.3);
  box-shadow: -24px 0 60px rgba(20, 17, 15, 0.45);
  transform: translateX(100%);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.luxe-nav-drawer.is-open .luxe-nav-panel {
  transform: translateX(0);
}

.luxe-nav-brand {
  position: absolute;
  top: 40px;
  left: 34px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ecd49a;
  background: linear-gradient(180deg, #f8e6b4 0%, #e7bd6e 46%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 12px rgba(183, 146, 83, 0.35);
}

.luxe-nav-brand::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, #b79253, #ecd49a);
}

.luxe-nav-close {
  position: absolute;
  top: 30px;
  right: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(244, 239, 232, 0.16);
  border-radius: 999px;
  background: transparent;
  color: #f4efe8;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 200ms ease, color 200ms ease;
}

.luxe-nav-close:active {
  border-color: rgba(212, 199, 175, 0.6);
  color: #d4c7af;
}

.luxe-nav-eyebrow {
  display: block;
  margin-bottom: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #aab89c;
}

.luxe-nav-link {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid rgba(170, 184, 156, 0.16);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.62rem;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.01em;
  color: #f4efe8 !important;
  opacity: 0;
  transform: translateX(14px);
  transition: color 200ms ease;
}

.luxe-nav-drawer.is-open .luxe-nav-link {
  animation: luxe-nav-in 460ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(140ms + var(--luxe-nav-i) * 55ms);
}

.luxe-nav-link:active {
  color: #eadfca !important;
}

/* current page: small sage diamond, champagne stays the interaction color */
.luxe-nav-link.is-current::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 14px;
  background: #aab89c;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.luxe-nav-book {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 28px;
  border: 1px solid rgba(234, 223, 202, 0.6);
  border-radius: 4px;
  background: rgba(212, 199, 175, 0.14);
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f4efe8 !important;
  opacity: 0;
  transform: translateX(14px);
}

.luxe-nav-drawer.is-open .luxe-nav-book {
  animation: luxe-nav-in 460ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 480ms;
}

.luxe-nav-book:active {
  background: rgba(212, 199, 175, 0.24);
}

/* sage script signature filling the panel's quiet bottom space */
.luxe-nav-flourish {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
  padding-top: 40px;
  opacity: 0;
  transform: translateX(14px);
}

.luxe-nav-drawer.is-open .luxe-nav-flourish {
  animation: luxe-nav-in 560ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 620ms;
}

.luxe-nav-flourish small {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(170, 184, 156, 0.75);
}

/* sand tick before the location line — sage and sand shake hands */
.luxe-nav-flourish small::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, #d4c7af, #eadfca);
}

@keyframes luxe-nav-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

html.luxe-nav-open,
html.luxe-nav-open body {
  overflow: hidden;
}

@media (max-width: 700px) {
  .luxe-nav-toggle {
    position: absolute;
    color: inherit;
    right: 12px;
    top: 50%;
    /* translateZ forces an own compositor layer: the hero's view()-timeline
       parallax otherwise swallows compositor hit-tests at this spot and
       taps die in Chrome (Safari ignores view() and never saw the bug) */
    transform: translateY(-50%) translateZ(0);
    will-change: transform;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .luxe-nav-bars {
    position: relative;
    display: block;
    width: 26px;
    height: 16px;
  }

  /* staggered hairlines, anchored right — editorial asymmetry */
  .luxe-nav-bars i {
    position: absolute;
    right: 0;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    transition:
      width 340ms cubic-bezier(0.16, 1, 0.3, 1),
      transform 340ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 200ms ease,
      background 200ms ease;
  }

  .luxe-nav-bars i:nth-child(1) { top: 0; width: 100%; }

  /* signature bar: animated champagne sheen, same DNA as the active underline */
  .luxe-nav-bars i:nth-child(2) {
    top: 50%;
    width: 62%;
    transform: translateY(-50%);
    background: linear-gradient(90deg, #d4c7af, #eadfca 45%, #f4ecd9 50%, #eadfca 55%, #d4c7af);
    background-size: 220% 100%;
    animation: luxe-burger-sheen 3.4s ease-in-out infinite;
  }

  .luxe-nav-bars i:nth-child(3) { bottom: 0; width: 81%; }

  /* press: hairlines draw out to full width */
  .luxe-nav-toggle:hover .luxe-nav-bars i,
  .luxe-nav-toggle:active .luxe-nav-bars i {
    width: 100%;
  }

  .luxe-nav-toggle.is-open .luxe-nav-bars i:nth-child(1) {
    top: 50%;
    width: 100%;
    transform: translateY(-50%) rotate(45deg);
    background: #eadfca;
  }

  .luxe-nav-toggle.is-open .luxe-nav-bars i:nth-child(2) {
    opacity: 0;
  }

  .luxe-nav-toggle.is-open .luxe-nav-bars i:nth-child(3) {
    bottom: auto;
    top: 50%;
    width: 100%;
    transform: translateY(-50%) rotate(-45deg);
    background: #eadfca;
  }
}

@keyframes luxe-burger-sheen {
  0% { background-position: 200% 0; }
  55% { background-position: -20% 0; }
  100% { background-position: -20% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .luxe-nav-bars i:nth-child(2) { animation: none; }
}

/* ============================================================
   HOMEPAGE "the services" header — stack heading + button on mobile
   ============================================================ */
@media (max-width: 700px) {
  section[data-screen-label="Services"] div[style*="align-items: flex-end"][style*="justify-content: space-between"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 30px !important;
  }

  section[data-screen-label="Services"] div[style*="align-items: flex-end"][style*="justify-content: space-between"] > a[href="services.html"] {
    width: 100% !important;
    justify-content: center !important;
    min-height: 52px !important;
  }
}

/* ============================================================
   PHOTO-HEADER PARALLAX — image drifts down as the section scrolls
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  section[data-screen-label$="Header"] > img,
  section[data-screen-label="Hero"] > img {
    animation: header-parallax linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
    will-change: transform;
    /* decorative; without this the composited view() layer steals
       compositor hit-tests from the fixed header (dead hamburger in Chrome) */
    pointer-events: none;
  }
}

@keyframes header-parallax {
  from { transform: translateY(-9%) scale(1.18); }
  to   { transform: translateY(9%) scale(1.18); }
}

/* ============================================================
   LUX STICKY NAV — frosted cream bar slides down after the header
   ============================================================ */
header.luxe-nav-stuck {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120 !important;
  color: #322e29 !important;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.92)) !important;
  -webkit-backdrop-filter: blur(26px) saturate(1.7);
  backdrop-filter: blur(26px) saturate(1.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 246, 0.9),
    0 22px 48px rgba(28, 26, 24, 0.1);
  animation: luxe-nav-drop 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* gradient sand hairline base, like the footer rule */
header.luxe-nav-stuck::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4c7af 16%, #eadfca 50%, #d4c7af 84%, transparent);
}

/* links draw an espresso underline on hover */
header.luxe-nav-stuck nav a:not([aria-label]) {
  position: relative;
}

header.luxe-nav-stuck nav a:not([aria-label])::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: #322e29;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 340ms cubic-bezier(0.16, 1, 0.3, 1);
}

header.luxe-nav-stuck nav a:not([aria-label]):hover::after {
  transform: scaleX(1);
}

/* hairline flourishes flanking the logo */
header.luxe-nav-stuck nav > a[aria-label] {
  position: relative;
}

header.luxe-nav-stuck nav > a[aria-label]::before,
header.luxe-nav-stuck nav > a[aria-label]::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(118, 107, 93, 0.6));
  transform: translateY(-50%);
}

header.luxe-nav-stuck nav > a[aria-label]::before {
  left: -48px;
}

header.luxe-nav-stuck nav > a[aria-label]::after {
  right: -48px;
  transform: translateY(-50%) rotate(180deg);
}

@media (max-width: 700px) {
  header.luxe-nav-stuck nav > a[aria-label]::before,
  header.luxe-nav-stuck nav > a[aria-label]::after {
    display: none;
  }
}

header.luxe-nav-stuck nav a {
  transition: color 220ms cubic-bezier(0.16, 1, 0.3, 1), letter-spacing 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

header.luxe-nav-stuck nav a:hover {
  color: #766b5d !important;
}

header.luxe-nav-stuck nav {
  height: 84px !important;
  transition: height 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

header.luxe-nav-stuck nav img {
  height: 62px !important;
  transition: height 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

header.luxe-nav-stuck a {
  color: #322e29 !important;
}

/* keep the active page link taupe in the stuck bar */
header.luxe-nav-stuck a[style*="eadfca"],
header.luxe-nav-stuck a[style*="234, 223, 202"] {
  color: #766b5d !important;
}

@keyframes luxe-nav-drop {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@media (max-width: 700px) {
  header.luxe-nav-stuck nav {
    height: 80px !important;
  }

  /* the flourish rule above forces position:relative, which breaks the
     mobile absolute-centering and clips "BEAUTY BAR" below the bar edge */
  header.luxe-nav-stuck nav > a[aria-label] {
    position: absolute;
  }

  header.luxe-nav-stuck nav img {
    height: 60px !important;
    /* stacked hairline shadows fatten the thin script strokes */
    filter:
      drop-shadow(0 0 0.4px rgba(50, 46, 41, 0.9))
      drop-shadow(0 0 0.4px rgba(50, 46, 41, 0.7));
  }
}

@media (prefers-reduced-motion: reduce) {
  header.luxe-nav-stuck {
    animation: none;
  }
}


/* ============================================================
   ACTIVE PAGE TAB — champagne with sheen underline
   (active links carry inline color #eadfca)
   ============================================================ */
header nav a[style*="eadfca"],
header nav a[style*="234, 223, 202"] {
  position: relative;
  font-weight: 600 !important;
  text-shadow: 0 0 16px rgba(234, 223, 202, 0.4);
}

header nav a[style*="eadfca"]::before,
header nav a[style*="234, 223, 202"]::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1.5px;
  background-image: linear-gradient(90deg, #d4c7af 0%, #d4c7af 35%, #eadfca 50%, #d4c7af 65%, #d4c7af 100%);
  background-size: 200% 100%;
  animation: gold-sheen 6.5s linear infinite;
}

/* stuck white bar: deep taupe, keep the underline */
header.luxe-nav-stuck nav a[style*="eadfca"],
header.luxe-nav-stuck nav a[style*="234, 223, 202"] {
  color: #766b5d !important;
}
