/* Palette officielle : voir PALETTE.md. Commune aux 16 pages du site. */
html:root {
  --mushei-oxblood: #5a1f24;
  --mushei-taupe: #a48f7b;
  --mushei-tabac: #7e5e45;
  --mushei-ivoire: #f3ebdd;
  --mushei-noir: #0a0a0a;
  --color-red: var(--mushei-oxblood);
  --color-black: var(--mushei-noir);
  --color-cream: var(--mushei-ivoire);
  --color-white: var(--mushei-ivoire);
  --color-neutral-100: #f3ebdd;
  --color-neutral-200: #e3d7c8;
  --color-neutral-300: #c9b9a7;
  --color-neutral-400: var(--mushei-taupe);
  --color-neutral-500: var(--mushei-tabac);
  --color-neutral-600: #6b4f3b;
  --color-neutral-700: #49392d;
  --color-neutral-800: #2c241e;
  --color-neutral-900: #1b1714;
  --cursor-color: var(--mushei-oxblood);
}

/* Remplacer aussi les teintes codées directement dans les classes d'origine. */
html [class~="bg-[#d2cac3]"] { background-color: var(--mushei-taupe); }
html [class~="text-[#ede4dd]"] { color: var(--mushei-ivoire); }
html [class~="text-[#5A5A5A]"] { color: var(--mushei-tabac); }
html [class~="shadow-[inset_0_0_0_0.05em_#ff0001]"] {
  --tw-shadow: inset 0 0 0 .05em var(--mushei-oxblood);
}
html [class~="shadow-[inset_0_0_0_0.05em_#ede4dd]"] {
  --tw-shadow: inset 0 0 0 .05em var(--mushei-ivoire);
}
html[data-theme="dark"] [class~="bg-[#d2cac3]"] { background-color: var(--color-neutral-800); }
html[data-theme="dark"] [class~="text-[#5A5A5A]"] { color: var(--mushei-taupe); }
html[data-theme="red"] [class~="red:text-[oklab(0.73_-0.14_-0.1)]"],
html[data-theme="red"].has-menu-open #header > div { color: var(--mushei-ivoire); }

/* L'ivoire reste lisible sur les aplats oxblood, y compris en thème sombre. */
html .bg-red { color: var(--mushei-ivoire); }
html ::selection { background: var(--mushei-oxblood); color: var(--mushei-ivoire); }
html :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--mushei-oxblood);
  outline-offset: 4px;
  --tw-ring-color: var(--mushei-oxblood);
}
html[data-theme="dark"] :is(a, button, input, select, textarea):focus-visible {
  outline-color: var(--mushei-taupe);
  --tw-ring-color: var(--mushei-taupe);
}
html #hero-subtitle { color: var(--mushei-tabac); }
html[data-theme="dark"] #hero-subtitle { color: var(--mushei-taupe); }
/* Wordmark beside the header monogram, added in CSS so React hydration keeps it. */
html #header a[href="/"]:has(> [data-mushei-logo]) {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  text-decoration: none;
}
html #header a[href="/"]:has(> [data-mushei-logo])::after {
  content: "MUSHEI";
  font: inherit;
  font-size: 1.05em;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1;
  white-space: nowrap;
}
/* Mushei footer: manifesto, social cards and a peeled label. */
html footer.mushei-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  padding: clamp(36px, 4vw, 64px) clamp(16px, 2vw, 32px) max(calc(15vw + 16px), calc(clamp(150px, 14vw, 220px) + 56px));
  border-top: 1px solid var(--mushei-taupe);
  color: var(--mushei-noir);
}
/* Outlined hero wordmark as a faint watermark, cropped by the page edge. */
html footer.mushei-footer::after {
  content: "";
  position: absolute;
  left: clamp(16px, 2vw, 32px);
  right: clamp(16px, 2vw, 32px);
  bottom: -3vw;
  z-index: -1;
  aspect-ratio: 1086 / 206;
  background: currentColor;
  -webkit-mask: url(/mushei-display-wordmark.svg) center / contain no-repeat;
  mask: url(/mushei-display-wordmark.svg) center / contain no-repeat;
  opacity: .2;
  pointer-events: none;
}
.mf-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "manifest cards" "signoff cards";
  column-gap: clamp(32px, 5vw, 80px);
  row-gap: 32px;
}
.mf-left { display: contents; }
.mf-manifesto {
  grid-area: manifest;
  align-self: start;
  margin: 0;
  font-size: clamp(32px, 3.8vw, 64px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
.mf-manifesto span { display: block; }
.mf-signoff { grid-area: signoff; align-self: end; padding-top: 24px; }
.mf-origin { display: block; margin-top: 8px; font: 800 10px/1.5 var(--font-mushei-brand, Arial), sans-serif; letter-spacing: .12em; }
.mf-sticker {
  /* Anchored to the footer's bottom edge so it can sit over the watermark. */
  position: absolute;
  left: clamp(24px, 4vw, 72px);
  bottom: clamp(16px, 2.5vw, 40px);
  z-index: 1;
  display: block;
  width: clamp(150px, 14vw, 220px);
  transform: rotate(-12deg);
  transform-origin: center;
  transition: transform 240ms cubic-bezier(.22, 1, .36, 1);
  filter: drop-shadow(0 4px 4px #0a0a0a1a);
}
.mf-sticker img { display: block; width: 100%; height: auto; }
.mf-copyright { margin: 28px 0 0; color: var(--mushei-tabac); font-size: 11px; line-height: 1.5; letter-spacing: .035em; }
.mf-right { grid-area: cards; min-width: 0; }
.mf-cards { display: grid; grid-template-columns: repeat(3, clamp(104px, 9vw, 132px)); gap: 8px; }
.mf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  aspect-ratio: 1;
  min-width: 0;
  padding: 12px 8px;
  border: 1px solid var(--mushei-oxblood);
  border-radius: 18px;
  background: var(--mushei-oxblood);
  color: var(--mushei-ivoire);
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms cubic-bezier(.22, 1, .36, 1);
}
.mf-card-icon {
  display: block;
  flex: 0 0 auto;
  width: clamp(32px, 2.8vw, 42px);
  height: clamp(32px, 2.8vw, 42px);
  background: currentColor;
  -webkit-mask: var(--footer-icon) center / contain no-repeat;
  mask: var(--footer-icon) center / contain no-repeat;
}
/* Icons alone: each card's aria-label still names the network and handle. */
.mf-card-label, .mf-card-value { display: none; }
.mf-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  margin-top: 8px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--mushei-taupe);
  color: inherit;
  font-size: 13px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
html[data-theme="dark"] footer.mushei-footer { color: var(--mushei-ivoire); }
html[data-theme="dark"] .mf-copyright { color: var(--mushei-taupe); }
@media (hover: hover) and (pointer: fine) {
  /* Already oxblood at rest: hover deepens the red and lifts the card. */
  .mf-card:hover { background: #451619; border-color: #451619; color: var(--mushei-ivoire); transform: translateY(-3px); }
  .mf-sticker:hover { transform: rotate(-5deg) translateY(-3px); }
  .mf-email:hover { color: var(--mushei-tabac); }
}
@media (max-width: 767px) {
  .mf-main { grid-template-columns: minmax(0, 1fr); grid-template-areas: "manifest" "cards" "signoff"; row-gap: 28px; }
  .mf-manifesto { font-size: clamp(30px, 8vw, 48px); }
  .mf-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mf-signoff { padding-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .mf-card, .mf-sticker { transition: none; }
  .mf-card:hover { transform: none; }
  .mf-sticker:hover { transform: rotate(-12deg); }
}
.mushei-enquiry { border-top: 1px solid var(--mushei-taupe); padding-top: 24px; }
.mushei-contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid var(--mushei-oxblood);
  border-radius: 999px;
  background: var(--mushei-oxblood);
  color: var(--mushei-ivoire);
  font-size: 14px;
  text-decoration: none;
}
.mushei-boutique a { text-underline-offset: 4px; }
/* Compact invitation beneath the small photos, in the first grid's open space. */
.mushei-editorial-first { position: relative; }
.mushei-discover {
  position: relative;
  display: grid;
  place-items: center;
  grid-column: 1 / -1;
  width: min(70vw, 240px);
  aspect-ratio: 2 / 1;
  margin: 24px auto;
  color: var(--mushei-tabac);
  text-decoration: none;
  isolation: isolate;
}
.mushei-discover-type { display: block; width: 72%; height: auto; fill: currentColor; fill-rule: evenodd; pointer-events: none; }
@media (min-width: 768px) {
  .mushei-editorial-first > .mushei-discover {
    position: absolute;
    left: 25%;
    top: 75%;
    width: clamp(180px, 14vw, 280px);
    margin: 0;
    transform: translate(-50%, -50%);
  }
}
.mushei-discover-circle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: var(--mushei-oxblood);
  pointer-events: none;
}
.mushei-discover-circle path {
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition: opacity 160ms ease, stroke-dashoffset 160ms ease, stroke-width 160ms ease;
}
.mushei-discover-type,
.mushei-discover-circle { transition: transform 220ms ease, color 220ms ease; }
@media (hover: hover) and (pointer: fine) {
  /* A quick, confident pen flick: the oval snaps in with a little spring. */
  .mushei-discover:hover .mushei-discover-circle path {
    stroke-dashoffset: 0;
    stroke-width: 3.2;
    opacity: 1;
    transition: opacity 60ms ease, stroke-dashoffset 420ms cubic-bezier(.2, .9, .25, 1), stroke-width 420ms ease;
  }
  .mushei-discover:hover .mushei-discover-type { color: var(--mushei-oxblood); }
  html[data-theme="dark"] .mushei-discover:hover .mushei-discover-type { color: var(--mushei-ivoire); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .mushei-discover:hover .mushei-discover-circle {
    animation: mushei-discover-pop 560ms cubic-bezier(.34, 1.56, .64, 1) both;
  }
  .mushei-discover:hover .mushei-discover-type {
    transform: scale(1.06) rotate(-2deg);
    transition: transform 420ms cubic-bezier(.34, 1.56, .64, 1), color 200ms ease;
  }
  .mushei-discover:active .mushei-discover-type { transform: scale(.97) rotate(-1deg); transition-duration: 120ms; }
}
@keyframes mushei-discover-pop {
  0% { transform: scale(.86) rotate(-6deg); }
  60% { transform: scale(1.05) rotate(1.5deg); }
  100% { transform: scale(1) rotate(0); }
}
.mushei-discover:focus-visible { outline: 1px solid var(--mushei-oxblood); outline-offset: 8px; }
html[data-theme="dark"] .mushei-discover { color: var(--mushei-taupe); }
html[data-theme="dark"] .mushei-discover-circle { color: var(--mushei-taupe); }
@media (prefers-reduced-motion: reduce) {
  .mushei-discover .mushei-discover-circle path,
  .mushei-discover .mushei-discover-type { transition: none; }
}
/* Scroll cue: a pen arrow curls in from the left, then the oval rings the words. */
.mushei-discover-arrow {
  position: absolute;
  right: 92%;
  bottom: 30%;
  width: 62%;
  height: auto;
  overflow: visible;
  color: var(--mushei-oxblood);
  pointer-events: none;
}
.mushei-discover-arrow path {
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
/* 3.4s loop: the shaft draws, the head flicks, a short hold, then the pen lifts it away. */
.mushei-discover.is-looping .mda-shaft { animation: mushei-arrow-shaft 3.4s cubic-bezier(.55, 0, .25, 1) infinite; }
.mushei-discover.is-looping .mda-head { animation: mushei-arrow-head 3.4s cubic-bezier(.3, 0, .2, 1) infinite; }
@keyframes mushei-arrow-shaft {
  0% { stroke-dashoffset: 1; }
  26%, 62% { stroke-dashoffset: 0; }
  80%, 100% { stroke-dashoffset: -1; }
}
@keyframes mushei-arrow-head {
  0%, 25% { stroke-dashoffset: 1; }
  33%, 66% { stroke-dashoffset: 0; }
  80%, 100% { stroke-dashoffset: -1; }
}
.mushei-discover.is-pointed .mushei-discover-circle path {
  animation: mushei-pen-ring 520ms 1100ms cubic-bezier(.2, .9, .25, 1) forwards;
}
@keyframes mushei-pen-ring { from { opacity: 1; } to { opacity: 1; stroke-dashoffset: 0; } }
html[data-theme="dark"] .mushei-discover-arrow { color: var(--mushei-taupe); }
@media (max-width: 767px) {
  .mushei-discover-arrow { right: 86%; width: 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .mushei-discover-arrow path { stroke-dashoffset: 0; }
  .mushei-discover.is-looping .mushei-discover-arrow path,
  .mushei-discover.is-pointed .mushei-discover-circle path { animation: none; }
  .mushei-discover.is-pointed .mushei-discover-circle path { opacity: 1; stroke-dashoffset: 0; }
}
/* "Zoom sur la collection — CINERARIA" (.mz-puzzle, pieces added by mushei-lookbook-more.js):
   a collage of large prints laid on a table — cream border, soft shadow, a few tilted by 2–3°,
   slightly overlapping. Hovering a print straightens it and brings it to the front. The real
   Cineraria foliage (assets/cineraria.jpeg, engraved and tinted) sits behind as a watermark, and
   "Street change everything" stands above the section heading.
   Placement on a 12 × 20 grid whose height follows the band width (--pz-cw):
     La Racine (hero) 1–5 × 1–13 · Le Vent 5–9 × 1–8 (−3°) · La Résilience 9–13 × 1–10
     La Douceur 1–5 × 13–21 (−2°) · Le Rêve 5–9 × 8–21 (+1.5°) · La Création 9–13 × 10–17 (+2.5°)
     note 9–13 × 17–21 (−2°) */
@media (min-width: 768px) {
  main .mushei-editorial-last.mz-puzzle {
    --pz-cw: min(calc(100vw - 48px), 1680px);
    --sd-line: -44px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(20, minmax(0, 1fr));
    gap: 0 clamp(10px, 1.1vw, 18px);
    height: calc(var(--pz-cw) * 1.02);
    padding-inline: calc((100% - var(--pz-cw)) / 2);
    aspect-ratio: auto;
  }
  /* Prints */
  .mz-puzzle > div:not(.mz-text) {
    --rot: 0deg;
    position: relative;
    z-index: 2;
    min-height: 0;
    height: 100%;
    margin: 0;
    padding: clamp(8px, .8vw, 12px) clamp(8px, .8vw, 12px) 0;
    background: #fbf7f0;
    box-shadow: 0 1px 2px rgba(58, 36, 22, .08), 0 14px 34px -12px rgba(58, 36, 22, .35);
    transform: rotate(var(--rot));
    transition: transform 420ms cubic-bezier(.2, .8, .2, 1), box-shadow 420ms ease;
  }
  .mz-puzzle > div:not(.mz-text):hover {
    z-index: 10;
    transform: rotate(0deg) translateY(-6px) scale(1.02);
    box-shadow: 0 2px 4px rgba(58, 36, 22, .1), 0 26px 50px -16px rgba(58, 36, 22, .45);
  }
  .mz-puzzle > div > figure { display: flex; flex-direction: column; height: 100%; }
  .mz-puzzle > div > figure > div:first-child { flex: 1 1 0; min-height: 0; }
  main .mz-puzzle > div img[data-image="front"] { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
  main .mz-puzzle > div:nth-of-type(1) { grid-area: 1 / 1 / 13 / 5; }
  main .mz-puzzle > div:nth-of-type(2) { grid-area: 1 / 5 / 8 / 9; --rot: -3deg; z-index: 3; }
  main .mz-puzzle > div:nth-of-type(3) { grid-area: 1 / 9 / 10 / 13; }
  main .mz-puzzle > .mz-douceur { grid-area: 13 / 1 / 21 / 5; --rot: -2deg; z-index: 3; }
  main .mz-puzzle > .mz-reve { grid-area: 8 / 5 / 21 / 9; --rot: 1.5deg; z-index: 4; }
  main .mz-puzzle > .mz-creation { grid-area: 10 / 9 / 17 / 13; --rot: 2.5deg; z-index: 3; }
  main .mz-puzzle > .mz-text {
    grid-area: 17 / 9 / 21 / 13;
    position: relative;
    z-index: 5;
    justify-content: center;
    padding: 0 0 0 clamp(16px, 2vw, 32px);
    transform: rotate(-2deg);
  }
  /* The slogan leaves the grid: centred above the section heading. */
  main .mushei-editorial-last.mz-puzzle > .mushei-street-slogan {
    position: absolute;
    left: 50%;
    top: auto;
    bottom: calc(100% + 200px);
    width: clamp(320px, 38vw, 640px);
    margin: 0;
    transform: translateX(-50%);
  }
  main[data-page="home"] .mushei-editorial-first + div:has(+ .mz-puzzle) { margin-bottom: 330px; }
  /* Cineraria foliage watermark (white background, multiplied away on the cream page). */
  main .mushei-editorial-last.mz-puzzle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(1100px, calc(100vw - 48px));
    height: auto;
    aspect-ratio: 3 / 4;
    transform: translate(-50%, -50%);
    background: url("/assets/collections/cineraria/filigrane-cineraria.jpg") center / contain no-repeat;
    mix-blend-mode: multiply;
    opacity: .45;
    z-index: 0;
    pointer-events: none;
  }
  html[data-theme="dark"] main .mushei-editorial-last.mz-puzzle::after { filter: invert(1); mix-blend-mode: screen; opacity: .18; }
  html[data-theme="dark"] .mz-puzzle > div:not(.mz-text) { background: #2a1d17; }
  /* Captions inside the print: the look's name, its subtitle underneath (no price). */
  html main[data-page="home"] .mz-puzzle figure > div + div {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin: 0;
    padding: 8px 2px 10px;
    font-size: clamp(15px, 1.15vw, 19px);
    line-height: 1.2;
  }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .mz-puzzle > div:not(.mz-text) { transition: none; }
}
/* "Zoom sur la collection" on a Mushei red (oxblood) band, edge to edge, from above the slogan down
   past the collage. The band is a border image painted outside the box (no layout, no scroll
   overflow) and melts into the cream page at both ends instead of starting on a hard edge. */
main .mushei-editorial-last.mz-puzzle {
  --pz-bg: var(--mushei-oxblood);
  /* --pz-after: room under the collage; the band stops 110px before the next section, ahead of its divider. */
  --pz-after: 260px;
  --pz-band-top: 220px;
  --pz-band-bottom: calc(var(--pz-after) - 110px);
  --pz-fade: 130px;
  --pz-fade-bottom: 150px;
  margin-bottom: var(--pz-after);
  --pz-light: var(--mushei-ivoire);
  --pz-accent: #e8c9a6;
  /* Eased (sine in-out) fades: many stops so the cream → red ramp has no visible band. */
  border-image: linear-gradient(to bottom,
      color-mix(in srgb, var(--pz-bg) 0.0%, transparent) calc(var(--pz-fade) * 0.000),
      color-mix(in srgb, var(--pz-bg) 1.7%, transparent) calc(var(--pz-fade) * 0.083),
      color-mix(in srgb, var(--pz-bg) 6.7%, transparent) calc(var(--pz-fade) * 0.167),
      color-mix(in srgb, var(--pz-bg) 14.6%, transparent) calc(var(--pz-fade) * 0.250),
      color-mix(in srgb, var(--pz-bg) 25.0%, transparent) calc(var(--pz-fade) * 0.333),
      color-mix(in srgb, var(--pz-bg) 37.1%, transparent) calc(var(--pz-fade) * 0.417),
      color-mix(in srgb, var(--pz-bg) 50.0%, transparent) calc(var(--pz-fade) * 0.500),
      color-mix(in srgb, var(--pz-bg) 62.9%, transparent) calc(var(--pz-fade) * 0.583),
      color-mix(in srgb, var(--pz-bg) 75.0%, transparent) calc(var(--pz-fade) * 0.667),
      color-mix(in srgb, var(--pz-bg) 85.4%, transparent) calc(var(--pz-fade) * 0.750),
      color-mix(in srgb, var(--pz-bg) 93.3%, transparent) calc(var(--pz-fade) * 0.833),
      color-mix(in srgb, var(--pz-bg) 98.3%, transparent) calc(var(--pz-fade) * 0.917),
      color-mix(in srgb, var(--pz-bg) 100.0%, transparent) calc(var(--pz-fade) * 1.000),
      color-mix(in srgb, var(--pz-bg) 100.0%, transparent) calc(100% - var(--pz-fade-bottom) * 1.000),
      color-mix(in srgb, var(--pz-bg) 98.3%, transparent) calc(100% - var(--pz-fade-bottom) * 0.917),
      color-mix(in srgb, var(--pz-bg) 93.3%, transparent) calc(100% - var(--pz-fade-bottom) * 0.833),
      color-mix(in srgb, var(--pz-bg) 85.4%, transparent) calc(100% - var(--pz-fade-bottom) * 0.750),
      color-mix(in srgb, var(--pz-bg) 75.0%, transparent) calc(100% - var(--pz-fade-bottom) * 0.667),
      color-mix(in srgb, var(--pz-bg) 62.9%, transparent) calc(100% - var(--pz-fade-bottom) * 0.583),
      color-mix(in srgb, var(--pz-bg) 50.0%, transparent) calc(100% - var(--pz-fade-bottom) * 0.500),
      color-mix(in srgb, var(--pz-bg) 37.1%, transparent) calc(100% - var(--pz-fade-bottom) * 0.417),
      color-mix(in srgb, var(--pz-bg) 25.0%, transparent) calc(100% - var(--pz-fade-bottom) * 0.333),
      color-mix(in srgb, var(--pz-bg) 14.6%, transparent) calc(100% - var(--pz-fade-bottom) * 0.250),
      color-mix(in srgb, var(--pz-bg) 6.7%, transparent) calc(100% - var(--pz-fade-bottom) * 0.167),
      color-mix(in srgb, var(--pz-bg) 1.7%, transparent) calc(100% - var(--pz-fade-bottom) * 0.083),
      color-mix(in srgb, var(--pz-bg) 0.0%, transparent) calc(100% - var(--pz-fade-bottom) * 0.000))
    fill 0 / 0 / var(--pz-band-top) 100vmax var(--pz-band-bottom);
}
@media (min-width: 768px) {
  main .mushei-editorial-last.mz-puzzle { --pz-after: 420px; --pz-band-top: 560px; --pz-fade: 300px; --pz-fade-bottom: 300px; }
  main[data-page="home"] .mushei-editorial-first + div:has(+ .mz-puzzle) { margin-bottom: 520px; }
  /* Light foliage on the dark band. */
  html main .mushei-editorial-last.mz-puzzle::after { filter: invert(1); mix-blend-mode: screen; opacity: .26; }
  .mz-puzzle > div:not(.mz-text) { box-shadow: 0 1px 2px rgba(20, 4, 6, .25), 0 16px 36px -12px rgba(20, 4, 6, .6); }
}
html main .mz-puzzle::before { --sd-fade: linear-gradient(90deg, transparent, var(--pz-accent) 14%, var(--pz-light) 50%, var(--pz-accent) 86%, transparent); }
html main .mz-puzzle .mushei-section-head,
html main .mz-puzzle .mushei-section-head .msh-name { color: var(--pz-light); }
html main .mz-puzzle .mushei-section-head .msh-name:hover { color: var(--pz-accent); }
html main .mz-puzzle .mushei-street-slogan { color: var(--pz-light); }
html main .mz-puzzle .mushei-street-slogan:hover .mushei-street-step { color: var(--pz-accent); }
html main .mz-puzzle .mz-note { color: var(--pz-light); }
html main .mz-puzzle .mz-note em { color: var(--pz-accent); }
html main .mz-puzzle .mz-x { color: color-mix(in srgb, var(--pz-light) 55%, transparent); }
html main .mz-puzzle .mz-x::after { background: var(--pz-accent); box-shadow: 2px 5px 0 -.5px var(--pz-accent); }
/* Look subtitle under its name (Zoom sur la collection). */
.mz-sub { margin: 0; font-size: .78em; font-style: italic; line-height: 1.3; color: var(--mushei-taupe); white-space: normal; }
html[data-theme="dark"] .mz-sub { color: var(--mushei-taupe); }
/* Phones: the slogan opens the section, before the photos. */
@media (max-width: 767px) {
  .mz-puzzle > .mushei-street-slogan { order: -1; }
}
/* Collection text closing the right column: a handwritten note (Reenie Beanie), ending on the
   bottom line shared with the other columns. Words are written in turn once in view (.is-written),
   struck words get crossed out right after. */
.mz-text { display: flex; flex-direction: column; justify-content: flex-end; }
.mz-note {
  margin: 0;
  font-family: "Reenie Beanie", "Bradley Hand", cursive;
  font-size: clamp(20px, 1.75vw, 28px);
  line-height: 1.08;
  color: var(--mushei-tabac);
  -webkit-text-stroke: .5px currentColor; /* a felt pen rather than a fine liner */
  transform: rotate(-1.2deg);
  transform-origin: 0 100%;
}
.mz-note em { font-style: normal; letter-spacing: .03em; color: var(--mushei-oxblood); }
.mz-w {
  display: inline-block;
  clip-path: inset(-20% 100% -20% 0);
  transition: clip-path 320ms cubic-bezier(.3, .7, .4, 1) calc(var(--i) * 75ms);
}
.mz-text.is-written .mz-w { clip-path: inset(-20% -10% -20% 0); }
.mz-x { position: relative; color: color-mix(in srgb, var(--mushei-tabac) 60%, transparent); }
.mz-x::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  top: 50%;
  height: 2px;
  border-radius: 2px;
  background: var(--mushei-oxblood);
  box-shadow: 2px 5px 0 -.5px var(--mushei-oxblood);
  transform: rotate(-4deg) scaleX(0);
  transform-origin: 0 50%;
  transition: transform 240ms ease-out calc(var(--i) * 75ms + 300ms);
}
.mz-text.is-written .mz-x::after { transform: rotate(-4deg) scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .mz-w { clip-path: none; transition: none; }
  .mz-x::after { transform: rotate(-4deg); transition: none; }
}
html[data-theme="dark"] .mz-note { color: var(--mushei-taupe); }
html[data-theme="dark"] .mz-note em { color: var(--mushei-ivoire); }
@media (max-width: 767px) {
  .mz-puzzle > .mz-text { grid-column: 1 / -1; }
  /* Phones: six prints of the same size, two per row, all cropped to the same portrait frame. */
  main .mushei-editorial-last.mz-puzzle > div:not(.mz-text) { grid-column: span 4; margin: 0; align-self: start; }
  main .mz-puzzle > div:not(.mz-text) img[data-image="front"] { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
  /* Captions read on the red band: ivory name, light sand subtitle. */
  html main .mz-puzzle figure > div + div { gap: 4px; margin-top: 10px; }
  html main .mz-puzzle figure > div + div > p:first-child { color: var(--pz-light); font-size: 18px; line-height: 1.15; }
  html main .mz-puzzle .mz-sub { color: var(--pz-accent); font-size: 14px; line-height: 1.35; opacity: 1; }
}
/* Élégance carousel: the centre slot is the largest, the others step down to the edges. */
.mushei-elegance {
  position: relative;
  grid-column: 1 / -1;
  margin: 0 auto 136px;
  padding-top: 24px;
  /* Centre = "Courtside" (3 of 16 columns, 24px gutters) scaled by 1.33. */
  container-type: inline-size;
  --me-centre: calc(((100cqw - 360px) * 3 / 16 + 48px) * 1.33);
  --me-gap: clamp(24px, 3.2vw, 56px);
  overflow: hidden;
  outline: none;
}
.mushei-elegance .me-heading { margin: 0 auto 40px; color: var(--mushei-tabac); }
.mushei-elegance .me-heading-type { display: block; width: clamp(200px, 20vw, 300px); height: auto; margin: 0 auto; }
html[data-theme="dark"] .mushei-elegance .me-heading { color: var(--mushei-taupe); }
.mushei-elegance .me-probe { position: absolute; width: var(--me-centre); height: 0; visibility: hidden; }
.mushei-elegance .me-probe-gap { position: absolute; width: var(--me-gap); height: 0; visibility: hidden; }
.mushei-elegance .me-stage { position: relative; margin: 0; padding: 0; list-style: none; touch-action: pan-y; }
.mushei-elegance .me-look {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform-origin: 50% 100%;
  /* Long, gentle ease: a calm glide between looks, never a snap. */
  transition: transform 1000ms cubic-bezier(.45, 0, .15, 1), opacity 600ms ease;
  will-change: transform;
  backface-visibility: hidden;
}
.mushei-elegance .me-look[data-slot="hidden"] { opacity: 0; pointer-events: none; }
.mushei-elegance .me-look a { display: block; width: 100%; height: 100%; overflow: hidden; background: var(--mushei-taupe); }
.mushei-elegance .me-look img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 700ms cubic-bezier(.22, 1, .36, 1);
}
.mushei-elegance .me-look:not([data-slot="0"]) a { cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  .mushei-elegance .me-look a:hover img { transform: scale(1.04); }
}
.mushei-elegance .me-look a:focus-visible { outline: 1px solid var(--mushei-oxblood); outline-offset: 6px; }
.mushei-elegance .me-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.mushei-elegance .me-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--mushei-taupe);
  border-radius: 999px;
  background: transparent;
  color: var(--mushei-tabac);
  cursor: pointer;
  transition: color 180ms ease-out, border-color 180ms ease-out, transform 160ms ease-out;
}
.mushei-elegance .me-btn svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .mushei-elegance .me-btn:hover { color: var(--mushei-oxblood); border-color: var(--mushei-oxblood); }
}
.mushei-elegance .me-btn:active { transform: scale(.94); }
.mushei-elegance .me-btn:focus-visible { outline: 1px solid var(--mushei-oxblood); outline-offset: 4px; }
html[data-theme="dark"] .mushei-elegance .me-btn { color: var(--mushei-taupe); }
@media (max-width: 767px) {
  .mushei-elegance { margin-bottom: 96px; --me-centre: 52vw; --me-gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mushei-elegance .me-look { transition: opacity 200ms ease; }
}

/* Visite en 3D: frame on the left edge, lettering centred, two small frames overlapping on the right. */
.mushei-visit {
  position: relative;
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
}
.mushei-visit .mv-frame { position: relative; margin: 0; overflow: hidden; background: var(--mushei-taupe); }
.mushei-visit .mv-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.22, 1, .36, 1); }
.mushei-visit .mv-main { grid-column: 2 / 7; aspect-ratio: 4 / 5; }
.mushei-visit .mv-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--mushei-oxblood);
  color: var(--mushei-ivoire);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mushei-visit .mv-copy { grid-column: 7 / 12; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
/* Wolof words on a band between the lookbook row and the 3D section. Hover zooms a word toward the viewer. */
.mushei-visit-words {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
  margin: 0 0 128px;
  padding: 0 4%;
  flex-wrap: nowrap;
}
.mushei-visit-words .mv-word {
  position: relative;
  display: block;
  width: clamp(160px, 22vw, 360px);
  color: var(--mushei-tabac);
  transition: color 220ms ease, scale 520ms cubic-bezier(.34, 1.56, .64, 1), filter 520ms ease;
}
.mushei-visit-words .mv-word svg { display: block; width: 100%; height: auto; overflow: visible; }
/* Linear layout: the three words sit on one straight line. */
@media (hover: hover) and (pointer: fine) {
  .mushei-visit-words .mv-word:hover {
    z-index: 6;
    color: var(--mushei-oxblood);
    scale: 1.35;
    filter: drop-shadow(0 22px 26px rgba(10, 10, 10, .28));
  }
}
@media (prefers-reduced-motion: reduce) {
  .mushei-visit-words .mv-word { transition: color 220ms ease; }
  .mushei-visit-words .mv-word:hover { scale: 1; filter: none; }
}
html[data-theme="dark"] .mushei-visit-words .mv-word { color: var(--mushei-taupe); }
@media (max-width: 767px) {
  .mushei-visit-words { flex-direction: column; justify-content: center; gap: 18px; margin: 0 0 80px; padding: 0; }
  .mushei-visit-words .mv-word { width: 72vw; }
}
/* The title uses the "Voir la boutique" component (block letters, pen oval, looping arrow). */
.mushei-visit .mv-discover { width: clamp(200px, 17vw, 260px); margin: 0 auto 20px; font: inherit; }
.mushei-visit .mv-discover .mushei-discover-arrow { width: 52%; }
.mushei-visit .mv-discover .mushei-discover-type { width: 62%; }
.mushei-visit .mv-lead { margin: 0 0 6px; max-width: 30ch; font-size: 16px; line-height: 1.3; color: var(--mushei-noir); }
/* The three looks circle the lettering: main frame left, one above-right, a smaller one below. */
.mushei-visit .mv-stack { position: absolute; inset: 0; pointer-events: none; }
.mushei-visit .mv-stack .mv-frame { position: absolute; aspect-ratio: 4 / 5; pointer-events: auto; }
.mushei-visit .mv-back { top: -4%; left: 69%; width: 17%; }
.mushei-visit .mv-front { top: max(74%, calc(50% + var(--mv-copy-half, 128px) + 20px)); left: 61%; width: 12%; z-index: 1; box-shadow: 0 0 0 6px var(--color-neutral-100, #f3ebdd); }
@media (min-width: 768px) {
  /* Room for the lower frame, which hangs below the main one. */
  .mushei-visit { margin-bottom: calc(var(--spacing, .25rem) * 34 + 9vw); }
}
@media (hover: hover) and (pointer: fine) {
  .mushei-visit .mv-frame:hover img { transform: scale(1.04); }
}
html[data-theme="dark"] .mushei-visit .mv-lead { color: var(--mushei-ivoire); }
@media (max-width: 767px) {
  .mushei-visit { grid-template-columns: repeat(8, minmax(0, 1fr)); row-gap: 10px; }
  .mushei-visit .mv-main { grid-column: 1 / 6; grid-row: 1; }
  .mushei-visit .mv-stack { position: relative; inset: auto; grid-column: 5 / 9; grid-row: 1; align-self: end; z-index: 1; margin-bottom: -24px; aspect-ratio: 4 / 5.6; }
  .mushei-visit .mv-stack .mv-frame { width: 66%; }
  .mushei-visit .mv-back { top: 0; left: auto; right: 0; }
  .mushei-visit .mv-front { top: auto; left: 0; bottom: 0; }
  .mushei-visit .mv-copy { grid-column: 1 / -1; grid-row: 2; padding-top: 32px; }
}
/* Home looks open their collection: the whole figure is the link. */
#mushei-looks figure { position: relative; }
/* Collection names: larger and bold. */
#mushei-looks figure p { font-size: clamp(20px, 1.9vw, 30px); font-weight: 700; line-height: 1.1; letter-spacing: .01em; margin-top: 12px; }
#mushei-looks .ml-link { position: absolute; inset: 0; z-index: 2; }
#mushei-looks .ml-link:focus-visible { outline: 1px solid var(--mushei-oxblood); outline-offset: 6px; }
@media (hover: hover) and (pointer: fine) {
  #mushei-looks figure:hover p { color: var(--mushei-oxblood); }
}
/* The original outlines stay visible while each letter reveals a Mushei look. */
svg[data-mushei-hover="true"] [data-letter] {
  fill-opacity: 0;
  pointer-events: all;
  transition: fill-opacity 320ms cubic-bezier(.22, 1, .36, 1);
}
@media (hover: hover) and (pointer: fine) {
  svg[data-mushei-hover="true"] [data-letter]:hover {
    fill-opacity: 1;
    transition-duration: 180ms;
  }
}
svg[data-mushei-hover="true"]:focus-visible [data-letter] { fill-opacity: 1; transition: none; }
@media (hover: none) {
  svg[data-mushei-hover="true"]:focus [data-letter] { fill-opacity: 1; }
}
svg[data-mushei-hover="true"]:focus-visible {
  outline: 1px solid var(--mushei-oxblood);
  outline-offset: 6px;
}
@media (prefers-reduced-motion: reduce) {
  svg[data-mushei-hover="true"] [data-letter] { transition: none; }
}
@media (hover: hover) {
  html :is(main, footer) a.link-hover:hover,
  html a[data-product]:hover > div + div > p:first-child { color: var(--mushei-oxblood); }
  html[data-theme="dark"] :is(main, footer) a.link-hover:hover,
  html[data-theme="dark"] a[data-product]:hover > div + div > p:first-child { color: var(--mushei-taupe); }
}
/* Shared vector lettering: three words step diagonally across the open space. */
.mushei-editorial-last { position: relative; }
.mushei-street-slogan { display: block; grid-column: 1/-1; width: min(86vw,400px); margin: 32px auto; color: var(--mushei-tabac); }
.mushei-street-step { display: block; background: currentColor; mask: var(--word-mask) center / contain no-repeat; transform-origin: 20% 70%; transition: transform 420ms cubic-bezier(.34,1.56,.64,1), color 180ms ease-out; }
.mushei-street-step:nth-child(1) { width: 47%; margin-left: 0; }
.mushei-street-step:nth-child(2) { width: 47%; margin-left: 13%; margin-top: 4px; transition-delay: 35ms; }
.mushei-street-step:nth-child(3) { width: 74%; margin-left: 26%; margin-top: 4px; transition-delay: 70ms; }
.mushei-street-step img { display: block; width: 100%; height: auto; opacity: 0; }
@media(min-width:768px) {
 .mushei-editorial-last > .mushei-street-slogan { position: absolute; left: 53%; top: 82%; width: clamp(240px,32vw,560px); margin: 0; transform: translate(-50%,-50%); }
}
@media(hover:hover) and (pointer:fine) {
 :is(.mushei-street-slogan,.mg-street-title):hover .mushei-street-step { color: var(--mushei-oxblood); }
 :is(.mushei-street-slogan,.mg-street-title):hover .mushei-street-step:nth-child(1) { transform: translate(5px,-7px) rotate(-4deg) scale(1.045); }
 :is(.mushei-street-slogan,.mg-street-title):hover .mushei-street-step:nth-child(2) { transform: translate(12px,-3px) rotate(2deg) scale(1.04); }
 :is(.mushei-street-slogan,.mg-street-title):hover .mushei-street-step:nth-child(3) { transform: translate(16px,3px) rotate(-1.5deg) scale(1.03); }
}
html[data-theme="dark"] .mushei-street-slogan { color: var(--mushei-taupe); }
.mushei-hero-copy { display: block; width: 100%; margin: 0 0 40px; }
#hero-content.mushei-hero-copy #hero-paragraph { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: none; margin: 0; text-align: center; }
#hero-paragraph .mh-kicker { font-family: var(--font-mushei-brand); font-weight: 800; font-size: clamp(12px, 1vw, 16px); line-height: 1; letter-spacing: .22em; text-transform: uppercase; }
#hero-paragraph .mh-title { font-family: var(--font-mushei-serif); font-style: italic; font-weight: 400; font-size: clamp(44px, 5vw, 84px); line-height: .95; letter-spacing: -.01em; margin-top: .08em; }
@media(prefers-reduced-motion:reduce) {
 .mushei-street-step { transition: color 100ms linear; }
 :is(.mushei-street-slogan,.mg-street-title):hover .mushei-street-step { transform: none !important; }
}
/* Home silhouettes are editorial images, with a decorative Mushei cursor sticker. */
figure[data-product] { margin: 0; }
.mushei-sticker-cursor { width: 126px !important; height: 126px !important; margin-top: -63px !important; margin-left: -63px !important; border: 0 !important; border-radius: 0 !important; background: transparent url('/mushei-footer-sticker.svg') center / contain no-repeat !important; rotate: -10deg; }
.mushei-sticker-cursor::after, .mushei-sticker-cursor::before { content: none !important; display: none !important; }
@media(prefers-reduced-motion:reduce) { .mushei-sticker-cursor { transition: none; } }

/* Small, readable studio credit at the bottom of the shared footer. */
html footer.mushei-footer { padding-bottom: max(calc(15vw + 48px), calc(clamp(150px, 14vw, 220px) + 88px)); }
html footer.mushei-footer::after { bottom: calc(28px - 3vw); }
.mf-sticker { bottom: calc(clamp(16px, 2.5vw, 40px) + 28px); }
.mf-credit { position: absolute; right: clamp(16px, 2vw, 32px); bottom: 12px; z-index: 2; margin: 0; color: var(--mushei-tabac); font-size: 15px; line-height: 1.5; letter-spacing: 0; }
.mf-credit a { color: var(--mushei-noir); text-decoration: underline; text-underline-offset: 3px; }
.mf-credit strong { font-weight: 700; font-size: 22px; letter-spacing: .01em; }
.mf-credit a:hover { color: var(--mushei-oxblood); }
.mf-credit a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
html[data-theme="dark"] .mf-credit { color: var(--mushei-taupe); }
html[data-theme="dark"] .mf-credit a { color: var(--mushei-ivoire); }

/* Black curtain between pages; retain the light Mushei wordmark. */
html #layer { background-color: var(--mushei-noir); color: var(--mushei-ivoire); }

/* Section dividers (brand chart): a double rule fading out at both ends, oxblood at the centre,
   with a numbered label in the Mushei brand font. Pseudo-elements only, so React's DOM is untouched.
   The rule sits 56px above each section, in the 136px gap left by the previous one. */
:is(.mushei-visit-words, .mushei-editorial-first, .mushei-editorial-last, .mushei-elegance) { position: relative; --sd-line: -56px; }
:is(.mushei-visit-words, .mushei-editorial-first, .mushei-editorial-last, .mushei-elegance)::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: var(--sd-line);
  height: 5px;
  pointer-events: none;
  --sd-fade: linear-gradient(90deg, transparent, var(--mushei-taupe) 14%, var(--mushei-oxblood) 50%, var(--mushei-taupe) 86%, transparent);
  background: var(--sd-fade) top / 100% 2px no-repeat, var(--sd-fade) bottom / 100% 1px no-repeat;
  opacity: .85;
}
:is(.mushei-visit-words, .mushei-editorial-first, .mushei-editorial-last, .mushei-elegance)::after {
  content: var(--sd-label);
  position: absolute;
  left: 50%;
  top: calc(var(--sd-line) - 14px);
  transform: translate(-50%, -100%);
  white-space: nowrap;
  pointer-events: none;
  font-family: var(--font-mushei-brand);
  font-weight: 800;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--mushei-oxblood);
}
.mushei-visit-words { --sd-label: "Mushei Store"; }
.mushei-editorial-first { --sd-label: "Nouveauté"; }
/* "Nouveauté" takes the "Nos collections" kicker style (hero, #hero-paragraph .mh-kicker). */
/* Section labels take the "Nos collections" kicker style, a little larger. */
html :is(.mushei-visit-words, .mushei-editorial-first)::after { font-size: clamp(13px, 1.2vw, 19px); letter-spacing: .22em; top: calc(var(--sd-line) - 16px); }
/* "Zoom sur la collection — CINERARIA" (mushei-zoom.js): a real heading above the street rows,
   whose frames show Cineraria pieces. More room above it than the other section labels. */
.mushei-editorial-first + div { margin-bottom: 200px; }
.mushei-editorial-last { --sd-line: -72px; }
.mushei-section-head {
  position: absolute;
  left: 50%;
  top: calc(var(--sd-line) - 16px);
  transform: translate(-50%, -100%);
  z-index: 2;
  width: max-content;
  max-width: calc(100vw - 32px);
  margin: 0;
  text-align: center;
  font-family: var(--font-mushei-brand);
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--mushei-tabac);
}
.mushei-section-head .msh-name {
  font-family: var(--font-mushei-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--mushei-oxblood);
  text-decoration: none;
  transition: color 180ms ease;
}
.mushei-section-head .msh-name:hover { color: var(--mushei-tabac); }
.mushei-section-head .msh-name:focus-visible { outline: 1px solid var(--mushei-oxblood); outline-offset: 4px; }
html[data-theme="dark"] .mushei-section-head { color: var(--mushei-taupe); }
html[data-theme="dark"] .mushei-section-head .msh-name { color: var(--mushei-ivoire); }
/* Each Cineraria frame opens the collection page. */
:is(.mushei-editorial-first, .mushei-editorial-last) figure { position: relative; }
figure:has(> .mz-link) { position: relative; }
.mz-link { position: absolute; inset: 0; z-index: 2; }
.mz-link:focus-visible { outline: 1px solid var(--mushei-oxblood); outline-offset: 6px; }
/* "Rejoins la famille" clips its overflow: draw its divider inside the top padding instead. */
.mushei-elegance { --sd-line: 36px; margin-top: -92px; padding-top: 92px; }
html[data-theme="dark"] :is(.mushei-visit-words, .mushei-editorial-first, .mushei-editorial-last, .mushei-elegance)::after { color: var(--mushei-taupe); }
@media (max-width: 767px) {
  :is(.mushei-visit-words, .mushei-editorial-first, .mushei-editorial-last, .mushei-elegance) { --sd-line: -44px; }
  .mushei-elegance { --sd-line: 36px; }
  :is(.mushei-visit-words, .mushei-editorial-first, .mushei-editorial-last, .mushei-elegance)::after { font-size: 10px; letter-spacing: .22em; }
}
/* Prices of the pieces in every lookbook row (mushei-zoom.js), one style for all. */
:is(.mushei-editorial-first, .mushei-editorial-first + div, .mushei-editorial-last, .mushei-editorial-more) .mz-price { margin: 0; white-space: nowrap; font-weight: 700; font-variant-numeric: lining-nums tabular-nums; color: var(--mushei-oxblood); }
:is(.mushei-editorial-first, .mushei-editorial-first + div, .mushei-editorial-last, .mushei-editorial-more) .mz-price s { margin-left: 6px; font-weight: 400; color: var(--mushei-taupe); }
html[data-theme="dark"] :is(.mushei-editorial-first, .mushei-editorial-first + div, .mushei-editorial-last, .mushei-editorial-more) .mz-price { color: var(--mushei-taupe); }
/* Lookbook captions (name + price) a little larger, like the collection names above. */
main[data-page="home"] :is(.mushei-editorial-first, .mushei-editorial-first + div, .mushei-editorial-last, .mushei-editorial-more) figure > div + div {
  font-size: clamp(21px, 1.8vw, 28px);
  line-height: 1.15;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 4px;
}
/* KALSOM card (square frame): keep the face in view. */
#mushei-looks img[src*="kalsom-djellaba"] { object-position: 50% 18%; }
/* MBËKK MI card: Mame Coumba Bang, cropped from the top so her hair stays whole. */
#mushei-looks img[src*="mbekk-mi/page"] { object-position: 50% 0%; }

/* Two full-width rows form one bento. The middle cards leave a symmetric
   pocket around the shop link, centred on the seam between the rows. */
@media (min-width: 768px) {
  main[data-page="home"] :is(.mushei-editorial-first, .mushei-editorial-first + div) {
    --bento-gap: clamp(12px, 1.2vw, 20px);
    --bento-row: clamp(330px, 36vw, 740px);
    --bento-pocket: clamp(150px, 13vw, 250px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1fr);
    grid-template-rows: var(--bento-row);
    column-gap: var(--bento-gap);
    row-gap: 0;
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }
  main[data-page="home"] .mushei-editorial-first {
    container-type: inline-size;
    margin-bottom: var(--bento-gap);
  }
  main[data-page="home"] :is(.mushei-editorial-first, .mushei-editorial-first + div) > div {
    grid-column: auto;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    height: 100%;
  }
  main[data-page="home"] :is(.mushei-editorial-first, .mushei-editorial-first + div) > div:nth-child(2) {
    height: calc(100% - var(--bento-pocket) / 2);
  }
  main[data-page="home"] .mushei-editorial-first + div > div:nth-child(2) { align-self: end; }
  main[data-page="home"] :is(.mushei-editorial-first, .mushei-editorial-first + div) figure {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }
  main[data-page="home"] :is(.mushei-editorial-first, .mushei-editorial-first + div) figure > div:first-child {
    flex: 1;
    min-height: 0;
    aspect-ratio: auto;
  }
  main[data-page="home"] :is(.mushei-editorial-first, .mushei-editorial-first + div) figure > div:first-child img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 30%;
  }
  main[data-page="home"] :is(.mushei-editorial-first, .mushei-editorial-first + div) figure > div + div {
    flex: none;
    font-size: clamp(18px, 1.6vw, 28px);
    column-gap: 10px;
  }
  main[data-page="home"] .mushei-editorial-first > .mushei-discover {
    left: 50%;
    top: calc(100% + var(--bento-gap) / 2);
    width: min(20cqw, 310px);
    z-index: 3;
  }
  main[data-page="home"] .mushei-editorial-first > .mushei-discover .mushei-discover-arrow {
    width: 36%;
    bottom: 22%;
  }
}
/* On small screens, keep full image tiles and a centred invitation between rows. */
@media (max-width: 767px) {
  main[data-page="home"] :is(.mushei-editorial-first, .mushei-editorial-first + div) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }
  main[data-page="home"] :is(.mushei-editorial-first, .mushei-editorial-first + div) > div {
    grid-column: auto;
    min-width: 0;
  }
  main[data-page="home"] .mushei-editorial-first > div:nth-child(3),
  main[data-page="home"] .mushei-editorial-first + div > div:nth-child(3) { grid-column: 1 / -1; }
  main[data-page="home"] :is(.mushei-editorial-first, .mushei-editorial-first + div) figure > div:first-child { aspect-ratio: 4 / 5; }
  main[data-page="home"] :is(.mushei-editorial-first, .mushei-editorial-first + div) > div:nth-child(3) figure > div:first-child { aspect-ratio: 5 / 4; }
  main[data-page="home"] :is(.mushei-editorial-first, .mushei-editorial-first + div) figure > div:first-child img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 30%;
  }
  main[data-page="home"] :is(.mushei-editorial-first, .mushei-editorial-first + div) figure > div + div { font-size: clamp(17px, 4.3vw, 23px); }
  main[data-page="home"] .mushei-editorial-first { margin-bottom: 20px; }
  main[data-page="home"] .mushei-editorial-first > .mushei-discover { margin: 8px auto; }
}

/* Native links keep the visit separate from the home page's rendering work. */
.mushei-visit .mv-visit-link { display: grid; place-items: center; position: relative; width: 100%; height: 100%; color: inherit; text-decoration: none; }
.mushei-visit a:focus-visible { outline: 3px solid var(--mushei-oxblood, #5a1f24); outline-offset: 6px; }

[data-home-slot][hidden] { display: none !important; }
[data-home-empty-zoom="true"] { min-height: 0 !important; height: 0; margin: 0 !important; visibility: hidden; }
.mushei-home-photo-placeholder { aspect-ratio: 4 / 5; background: #ded5c7; }
