/* MUSE DE MAI / FINAL LOOKBOOK LAYER
   This file loads last and is the single visual authority for the header,
   homepage carousel, collection archive and product lookbook. */
:root {
  --muse-paper: #f7f4ee;
  --muse-paper-deep: #e9e3d9;
  --muse-ink: #24221f;
  --muse-muted: #716c64;
  --muse-line: rgba(46, 42, 37, .16);
  --muse-serif: 'Italiana', Georgia, serif;
  --muse-sans: 'DM Sans', Arial, sans-serif;
}

/* Header */
.site-header {
  height: 80px;
  padding: 0 4vw;
  align-items: center;
  justify-content: space-between;
}
.site-header.header-solid {
  background: rgba(247, 244, 238, .96);
  color: var(--muse-ink);
  border-bottom: 1px solid var(--muse-line);
  backdrop-filter: blur(14px);
}
.site-header .header-left,
.site-header .header-right {
  min-width: 33.333%;
  gap: clamp(20px, 2.6vw, 38px);
}
.site-header .header-right { justify-content: flex-end; }
.site-header .header-link {
  padding: 11px 0;
  font: 500 11px/1.4 var(--muse-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-header .header-link[href="#home"]::after { transform: scaleX(0); }
.site-header .header-link[aria-current="page"]::after,
.site-header .header-link:hover::after,
.site-header .header-link:focus-visible::after { transform: scaleX(1); }
.site-header .wordmark img {
  width: clamp(126px, 12vw, 160px);
  max-height: 42px;
}
.site-header .currency-btn {
  padding: 8px 0;
  font: 500 10px/1.4 var(--muse-sans);
  letter-spacing: .1em;
}

/* Compact editorial dropdown */
.site-header .nav-dropdown-menu {
  top: calc(100% + 3px);
  left: -18px;
  min-width: 238px;
  padding: 9px 18px 12px;
  border: 1px solid var(--muse-line);
  background: rgba(250, 248, 244, .98);
  color: var(--muse-ink);
  box-shadow: 0 18px 45px rgba(28, 25, 21, .09);
}
.site-header .nav-dropdown-menu a,
.site-header .nav-dropdown-menu button {
  min-height: 39px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(46, 42, 37, .09);
  font: 500 10px/1.4 var(--muse-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: opacity .2s ease, padding-left .2s ease;
}
.site-header .nav-dropdown-menu > :last-child { border-bottom: 0; }
.site-header .nav-dropdown-menu a:hover,
.site-header .nav-dropdown-menu button:hover,
.site-header .nav-dropdown-menu a:focus-visible,
.site-header .nav-dropdown-menu button:focus-visible {
  padding-left: 7px;
  opacity: .58;
}
.site-header .nav-dropdown-menu .nav-dropdown__all {
  margin-bottom: 4px;
  color: #8d877f;
  font-size: 9px;
}
.site-header .nav-dropdown-menu span { color: #9b958d; }

/* Homepage hero: image and header only. Left/right halves are controls. */
.hero {
  height: 100svh;
  min-height: 560px;
  isolation: isolate;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 18, 16, .38) 0%, transparent 26%);
}
.hero-copy { display: none !important; }
.hero-navigation {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  pointer-events: none;
}
.hero-navigation__center { display: none !important; }
.hero-navigation__arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: transparent;
  opacity: 0;
  pointer-events: auto;
}
#heroPrev { left: 0; cursor: w-resize; }
#heroNext { right: 0; cursor: e-resize; }
.hero-navigation__arrow:focus-visible {
  opacity: 1;
  color: #fff;
  outline: 1px solid rgba(255, 255, 255, .75);
  outline-offset: -10px;
}

/* Collections archive */
.collections-page {
  min-height: 100svh;
  padding: 80px 0 130px;
  overflow: hidden;
  background: var(--muse-paper);
  color: var(--muse-ink);
}
.collections-page .collection-index__inner {
  width: 100%;
  max-width: none;
}
.collections-page .collection-index__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  width: min(100%, 1540px);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 145px) 5vw clamp(58px, 7vw, 105px);
  border: 0;
}
.collections-page .collection-eyebrow {
  display: block;
  color: var(--muse-muted);
  font: 500 10px/1.5 var(--muse-sans);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.collections-page .collection-index__header h1 {
  margin: 18px 0 18px;
  font: 400 clamp(76px, 10.5vw, 164px)/.87 var(--muse-serif);
  letter-spacing: -.045em;
}
.collections-page .collection-index__header p:not(.collection-index__count) {
  max-width: 440px;
  margin: 0;
  color: var(--muse-muted);
  font: 400 14px/1.8 var(--muse-sans);
}
.collections-page .collection-index__count {
  width: auto;
  margin: 0 0 8px;
  color: #918b83;
  font: 500 10px/1.5 var(--muse-sans);
  letter-spacing: .18em;
  text-align: right;
}
.collections-page .collection-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(72px, 9vw, 145px) clamp(24px, 3.6vw, 62px);
  width: min(100%, 1540px);
  margin: 0 auto;
  padding: 0 5vw;
}
.collections-page .collection-card,
.collections-page .collection-card--reverse {
  grid-column: 1 / span 7;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0 !important;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  transform: none !important;
}
.collections-page .collection-card:nth-child(even) {
  grid-column: 8 / -1;
  margin-top: clamp(65px, 9vw, 140px);
}
.collections-page .collection-card__media {
  position: relative;
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ded8ce;
}
.collections-page .collection-card:nth-child(even) .collection-card__media { aspect-ratio: 3 / 4; }
.collections-page .collection-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  filter: saturate(.9);
  transition: transform .8s cubic-bezier(.2, .65, .3, 1), filter .8s ease;
}
.collections-page .collection-card:hover .collection-card__media img,
.collections-page .collection-card:focus-visible .collection-card__media img {
  transform: scale(1.025);
  filter: saturate(1);
}
.collection-card__number {
  position: absolute;
  top: 22px;
  left: 24px;
  color: #fff;
  font: 500 10px/1.4 var(--muse-sans);
  letter-spacing: .16em;
  text-shadow: 0 1px 9px rgba(0, 0, 0, .45);
}
.collections-page .collection-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  min-height: 0;
  padding: 22px 0 14px;
  border-bottom: 1px solid var(--muse-line);
}
.collections-page .collection-card__name {
  font: 400 clamp(34px, 4vw, 58px)/1.05 var(--muse-serif);
  letter-spacing: -.02em;
}
.collections-page .collection-card__link {
  flex: 0 0 auto;
  color: var(--muse-muted);
  font: 500 10px/1.4 var(--muse-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.collections-page .collection-card__description {
  display: block;
  max-width: 440px;
  margin: 0;
  padding: 14px 0 0;
  color: var(--muse-muted);
  font: 400 13px/1.75 var(--muse-sans);
}
.collection-card:focus-visible,
.product-card:focus-visible { outline: 1px solid var(--muse-ink); outline-offset: 7px; }

/* Single collection */
.collection-products {
  padding: 80px 0 0;
  background: var(--muse-paper);
  color: var(--muse-ink);
}
.collection-products .collection-detail__inner {
  width: 100%;
  max-width: none;
  margin: 0;
}
.collection-products .collection-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 1540px);
  min-height: 58px;
  margin: 0 auto;
  padding: 0 5vw;
  border: 0;
}
.collection-products .collection-breadcrumb .back-link,
.collection-products .collection-breadcrumb > span {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--muse-muted);
  font: 500 10px/1.4 var(--muse-sans);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.collection-products .collection-breadcrumb .back-link:hover { color: var(--muse-ink); }
.collection-products .collection-breadcrumb__sep { opacity: .45; }
.collection-detail__overview {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, .75fr);
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: none;
  min-height: clamp(570px, calc(100svh - 138px), 820px);
  margin: 0;
  background: var(--muse-paper-deep);
  text-align: left;
}
.collection-detail__cover {
  order: 1;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 570px;
  padding: 0;
  aspect-ratio: auto;
  overflow: hidden;
  background: #8e887f;
}
.collection-detail__cover img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  filter: saturate(.88);
}
.collection-detail__copy {
  order: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(55px, 7vw, 125px);
}
.collection-detail__copy .collection-eyebrow {
  color: #817a71;
  font: 500 9px/1.5 var(--muse-sans);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.collection-detail__copy h1 {
  margin: 27px 0 29px;
  font: 400 clamp(66px, 7vw, 124px)/.92 var(--muse-serif);
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.collection-detail__copy p {
  max-width: 420px;
  margin: 0;
  color: #625d56;
  font: 400 14px/1.85 var(--muse-sans);
}
.collection-detail__count {
  width: 100%;
  margin: 34px 0 0;
  padding: 17px 0 0;
  border-top: 1px solid rgba(46, 42, 37, .18);
  color: #817a71;
  font: 500 9px/1.4 var(--muse-sans);
  letter-spacing: .18em;
}
.collection-detail__overview.no-cover {
  display: block;
  min-height: 0;
  padding: clamp(80px, 12vw, 180px) 5vw;
}
.collection-detail__overview.no-cover .collection-detail__copy {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

/* Product lookbook */
.collection-catalogue {
  width: min(100%, 1540px);
  max-width: none;
  margin: 0 auto;
  padding: clamp(95px, 10vw, 150px) 5vw clamp(105px, 12vw, 175px);
}
.collection-catalogue__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin: 0 0 clamp(45px, 6vw, 78px);
  padding: 0 0 22px;
  border-bottom: 1px solid var(--muse-line);
}
.collection-catalogue__intro h2 {
  margin: 0;
  font: 400 clamp(52px, 6.5vw, 96px)/.95 var(--muse-serif);
  letter-spacing: -.035em;
}
.collection-catalogue__intro > span {
  padding-bottom: 7px;
  color: var(--muse-muted);
  font: 500 10px/1.5 var(--muse-sans);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.collection-catalogue .product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(58px, 7vw, 105px) clamp(18px, 2.5vw, 42px);
  width: 100%;
  min-height: 0;
}
.collection-catalogue .product-grid:has(> .product-card:first-child:nth-last-child(1)) {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}
.collection-catalogue .product-grid:has(> .product-card:first-child:nth-last-child(2)) {
  grid-template-columns: repeat(2, minmax(0, 500px));
  justify-content: center;
  column-gap: clamp(25px, 5vw, 72px);
}
.collection-catalogue .product-card,
.collection-catalogue .product-card:nth-child(even) {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  transform: none !important;
}
.collection-catalogue .product-image,
.collection-catalogue .product-card:nth-child(even) .product-image {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #ded8ce;
}
.collection-catalogue .product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  filter: saturate(.92);
  transition: transform .7s cubic-bezier(.2, .65, .3, 1), opacity .35s ease;
}
.collection-catalogue .product-image img.lookbook-card__alternate {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.collection-catalogue .product-card__details {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 18px 0 0;
  border: 0;
}
.collection-catalogue .product-label {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.collection-catalogue .product-label strong {
  display: block;
  font: 400 clamp(25px, 2.6vw, 39px)/1.08 var(--muse-serif);
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}
.collection-catalogue .product-card__pricing {
  flex: 0 0 auto;
  padding-top: 5px;
  text-align: right;
}
.collection-catalogue .product-price {
  display: block;
  color: #514c45;
  font: 500 11px/1.45 var(--muse-sans);
  letter-spacing: .02em;
  white-space: nowrap;
}
.collection-catalogue .product-price-note { display: none; }
@media (hover: hover) and (pointer: fine) {
  .collection-catalogue .product-card:hover .product-image img:not(.lookbook-card__alternate) { transform: scale(1.025); }
  .collection-catalogue .product-card:hover .product-image img.lookbook-card__alternate { opacity: 1; }
}

/* Campaign and collection closing callout */
.collection-campaign {
  width: min(100%, 1540px);
  margin: 0 auto;
  padding: 0 5vw clamp(100px, 12vw, 180px);
}
.collection-campaign h2 {
  margin: 0 0 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--muse-line);
  font: 400 clamp(42px, 5vw, 76px)/1 var(--muse-serif);
}
.collection-campaign__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 28px);
}
.collection-campaign__grid .media-frame {
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 5;
}
.collection-tail {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
  max-width: none;
  min-height: clamp(310px, 38vw, 520px);
  margin: 0;
  padding: clamp(72px, 9vw, 140px) 7vw;
  border: 0;
  background: #25231f;
  color: #f6f1e8;
}
.collection-tail > span {
  max-width: 850px;
  color: inherit;
  font: 400 clamp(48px, 7vw, 112px)/.98 var(--muse-serif);
  letter-spacing: -.035em;
}
.collection-tail__cta {
  flex: 0 0 auto;
  margin: 0 0 11px;
  padding: 0 0 10px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font: 500 10px/1.4 var(--muse-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Product detail polish */
.product-page {
  padding-top: 80px;
  background: var(--muse-paper);
}
.product-page .product-page-top {
  width: min(90%, 1420px);
  min-height: 64px;
  margin: 0 auto;
  padding: 14px 0;
  border-bottom: 1px solid var(--muse-line);
}
.product-dialog-body {
  width: min(90%, 1320px);
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(45px, 6vw, 92px) 0 clamp(75px, 9vw, 130px);
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(45px, 7vw, 105px);
}
.product-page .detail-photo { max-height: 760px; background: #ded8ce; }
.product-page .product-details { padding: clamp(12px, 4vw, 55px) 0; }
.product-details h1 { font-size: clamp(50px, 6vw, 92px); }
.product-page .detail-price { font: 500 15px/1.5 var(--muse-sans); }
.product-subtitle { color: var(--muse-muted); }
.product-specs { font-family: var(--muse-sans); }

@media (max-width: 980px) {
  .collections-page .collection-index__header { padding-inline: 6vw; }
  .collections-page .collection-grid { padding-inline: 6vw; }
  .collection-detail__overview { grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr); }
  .collection-detail__copy { padding: clamp(42px, 6vw, 72px); }
  .collection-catalogue .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header {
    height: 96px;
    padding: 8px 5vw 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
  }
  .site-header .wordmark {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
  }
  .site-header .wordmark img { width: 112px; max-height: 34px; }
  .site-header .header-left,
  .site-header .header-right {
    min-width: 0;
    width: auto;
    gap: 10px;
  }
  .site-header .header-left { grid-column: 1 / 3; }
  .site-header .header-right { grid-column: 3; }
  .site-header .header-link { padding: 7px 0; font-size: 9px; letter-spacing: .07em; }
  .site-header .currency { gap: 4px; }
  .site-header .currency-btn { font-size: 9px; letter-spacing: .04em; }
  .site-header .nav-dropdown-menu {
    top: calc(100% + 4px);
    left: -8px;
    min-width: 205px;
    padding-inline: 14px;
  }
  .hero { min-height: 520px; }

  .collections-page { padding: 96px 0 90px; }
  .collections-page .collection-index__header {
    display: block;
    padding: 62px 6vw 52px;
  }
  .collections-page .collection-index__header h1 {
    margin: 16px 0 15px;
    font-size: clamp(66px, 20vw, 108px);
  }
  .collections-page .collection-index__header p:not(.collection-index__count) { font-size: 12px; }
  .collections-page .collection-index__count { margin-top: 25px; text-align: left; }
  .collections-page .collection-grid {
    grid-template-columns: 1fr;
    gap: 68px;
    padding: 0 6vw;
  }
  .collections-page .collection-card,
  .collections-page .collection-card--reverse,
  .collections-page .collection-card:nth-child(even) {
    grid-column: 1;
    margin-top: 0;
  }
  .collections-page .collection-card__media,
  .collections-page .collection-card:nth-child(even) .collection-card__media { aspect-ratio: 4 / 5; }
  .collections-page .collection-card__meta { padding-top: 17px; }
  .collections-page .collection-card__name { font-size: clamp(31px, 10vw, 45px); }
  .collections-page .collection-card__link { font-size: 9px; }
  .collections-page .collection-card__description { font-size: 12px; }

  .collection-products { padding-top: 96px; }
  .collection-products .collection-breadcrumb {
    min-height: 52px;
    padding: 0 5.5vw;
  }
  .collection-products .collection-breadcrumb > span { font-size: 9px; }
  .collection-detail__overview {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .collection-detail__cover {
    order: 1;
    height: 58svh;
    min-height: 420px;
    max-height: 680px;
  }
  .collection-detail__copy {
    order: 2;
    padding: 58px 7vw 68px;
  }
  .collection-detail__copy h1 {
    margin: 21px 0 22px;
    font-size: clamp(61px, 18vw, 102px);
  }
  .collection-detail__copy p { font-size: 12px; }
  .collection-catalogue {
    padding: 76px 5.5vw 105px;
  }
  .collection-catalogue__intro {
    align-items: flex-end;
    margin-bottom: 36px;
    padding-bottom: 16px;
  }
  .collection-catalogue__intro h2 { font-size: clamp(43px, 13vw, 63px); }
  .collection-catalogue__intro > span {
    max-width: 110px;
    padding-bottom: 2px;
    font-size: 8px;
    text-align: right;
  }
  .collection-catalogue .product-grid,
  .collection-catalogue .product-grid:has(> .product-card:first-child:nth-last-child(1)),
  .collection-catalogue .product-grid:has(> .product-card:first-child:nth-last-child(2)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 38px 13px;
  }
  .collection-catalogue .product-card__details {
    display: block;
    padding-top: 12px;
  }
  .collection-catalogue .product-label strong { font-size: clamp(21px, 6vw, 30px); }
  .collection-catalogue .product-card__pricing { padding-top: 7px; text-align: left; }
  .collection-catalogue .product-price { font-size: 10px; white-space: normal; }
  .collection-campaign { padding-inline: 5.5vw; }
  .collection-campaign__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-tail {
    display: block;
    min-height: 0;
    padding: 78px 7vw 86px;
  }
  .collection-tail > span {
    display: block;
    font-size: clamp(48px, 14vw, 76px);
  }
  .collection-tail__cta { margin-top: 42px; }

  .product-page { padding-top: 96px; }
  .product-page .product-page-top { width: 89%; }
  .product-dialog-body {
    width: 89%;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 35px;
  }
  .product-page .product-details { padding: 10px 0 0; }
}

@media (max-width: 390px) {
  .site-header .header-left { gap: 7px; }
  .site-header .header-link { font-size: 8px; letter-spacing: .045em; }
  .site-header .currency-btn { font-size: 8px; }
  .site-header .wordmark img { width: 102px; }
  .collection-card__number { top: 16px; left: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .collections-page .collection-card__media img,
  .collection-catalogue .product-image img { transition: none; }
}
