/* NINETTA — scroll storefront. White, black, Bodoni wordmark, quiet grotesk. */
:root {
  --bg: #fff;
  --ink: #000;
  --mute: #6b6b6b;
  --line: #d9d9d9;
  --sale: #b3261e;
  --sans: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --pad: clamp(16px, 2.2vw, 32px);
  --hdr: 72px;
  --ease: cubic-bezier(.6, 0, .2, 1);
  --g-ease: cubic-bezier(.5, 0, 0, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }   /* layers (menu, drawers) declare display:flex — hidden must still win */
body { background: var(--bg); color: var(--ink); font: 400 13px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
body.paged, body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body:not(.ready) .home { opacity: 0; }
.pre { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.cta { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.btn-pill { display: inline-block; padding: 13px 26px; background: #fff; color: #000; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; transition: background .4s var(--g-ease), color .4s var(--g-ease); }
.btn-pill.dark { background-color: #000; color: #fff; }

/* ── Header ─────────────────────────────────────────────────────────────────────────────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad); background: var(--bg); color: var(--ink); font-size: 12px; transition: background .8s var(--g-ease), color .8s var(--g-ease); }
.hdr[data-transparent="true"] { background: transparent; color: #fff; }
body.paged .hdr, body.menu-open .hdr { background: var(--bg); color: var(--ink); }
.hdr-contact span { font-size: 15px; margin-right: 4px; }
.hdr-right { justify-self: end; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
/* The big wordmark is scaled up over the hero; keep the links and buttons above it so they stay clickable. */
.hdr-contact, .hdr-right { position: relative; z-index: 2; }
.hdr-logo { position: relative; z-index: 1; }
.hdr-right a, .hdr-right button { padding: 6px 0; }
.hdr-menu { display: flex; align-items: center; gap: 8px; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; font-weight: 500; }
.hdr-menu i { width: 16px; height: 8px; display: flex; flex-direction: column; justify-content: space-between; }
.hdr-menu span { display: block; height: 1px; background: currentColor; transition: transform .45s ease-in-out; transform-origin: center; }
body.menu-open .hdr-menu span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .hdr-menu span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* The wordmark: page-wide over the hero, shrinking to the header
   size over the first 60 % of a screen of scroll. --big is set from JS (target width / natural width). */
.hdr-logo { justify-self: center; font: 500 26px/1 var(--serif); letter-spacing: .16em; margin-right: -.16em; transform-origin: 50% 0; will-change: transform; }
@keyframes logo-shrink { from { transform: translateY(var(--drop, 14px)) scale(var(--big, 1)); } to { transform: none; } }
@supports (animation-timeline: scroll()) {
  .hdr-logo { animation: logo-shrink linear both; animation-timeline: scroll(root); animation-range: 0 60svh; }
}
.no-tl .hdr-logo { transform: translateY(calc(var(--drop, 14px) * (1 - var(--shrink, 0)))) scale(calc(var(--big, 1) - (var(--big, 1) - 1) * var(--shrink, 0))); }
body.paged .hdr-logo, body.menu-open .hdr-logo { animation: none; transform: none; }

/* ── Home ───────────────────────────────────────────────────────────────────────────────────────────────────────── */
.home { transition: opacity .4s; }

/* Hero: sticky full-bleed, the content after it slides over. */
.hero { position: sticky; top: 0; z-index: 0; height: 100svh; overflow: hidden; background: #111; color: #fff; text-align: center; }
.hero-media { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; transform-origin: 50% 30%; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .35)); pointer-events: none; }
/* Design choice: the hero recedes (scale .94, darker) while the sheet covers it — the depth. */
@keyframes recede { to { transform: scale(.94); filter: brightness(.55); } }
@supports (animation-timeline: scroll()) {
  .hero-media { animation: recede linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
}
.no-tl .hero-media { transform: scale(calc(1 - .06 * var(--shrink, 0))); }
.hero-over { position: absolute; inset: auto 0 132px; z-index: 1; display: flex; justify-content: center; }
.hero-title > * { opacity: 0; transform: translateY(-24px); transition: opacity 1.2s var(--g-ease), transform 1.2s var(--g-ease); }
.hero-title h1 { font: 400 clamp(40px, 6.2vw, 96px)/1 var(--serif); letter-spacing: -.01em; margin-top: 10px; transition-delay: .2s; }
.hero-title[data-animate="true"] > * { opacity: 1; transform: none; }
.hero-sticky { position: absolute; inset: auto 0 0; z-index: 1; display: grid; justify-items: center; gap: 18px; padding-bottom: 28px; }
.hint { width: 1px; height: 26px; background: currentColor; animation: hint 3.5s var(--g-ease) infinite; }
@keyframes hint { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-.5rem); } }

/* The hero copy fades over the first 160 px of scroll. */
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@supports (animation-timeline: scroll()) {
  .fade { animation: fade-out linear both; animation-timeline: scroll(root); animation-range: 0 160px; }
}
.no-tl .fade { opacity: calc(1 - var(--fade, 0)); }

/* Blocks rise into place as they enter the screen. */
@keyframes rise { from { transform: translateY(25%); } to { transform: none; } }
@supports (animation-timeline: view()) {
  .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry -10% entry 90%; }
}
.no-tl .rise { transform: translateY(calc(25% * (1 - var(--rise, 1)))); }

/* The sheet that covers the hero (z 1 over the sticky z 0). */
.sheet { position: relative; z-index: 1; background: var(--bg); padding: 0 var(--pad); }
.intro { max-width: 620px; margin: 0 auto; padding: 40px 0 44px; text-align: center; font-size: 13px; color: #333; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-bottom: 96px; }
.tile { display: block; }
.tile-img { aspect-ratio: 3 / 4; overflow: hidden; background: #f2f2f2; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.6s var(--g-ease); }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-cap { display: grid; justify-items: center; gap: 6px; padding: 22px 0 0; text-align: center; }
.tile-cap h3 { font: 400 clamp(26px, 2.6vw, 40px)/1.05 var(--serif); }
.tile-cap p { color: var(--mute); }
.tile-cap .cta { margin-top: 6px; }

/* Campaign: a second sticky full-bleed block; the next sheet slides over it too. */
.campaign { position: sticky; top: 0; z-index: 0; height: 100svh; overflow: hidden; color: #fff; text-align: center; background: #111; }
.campaign-media { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.campaign-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.campaign::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .28); }
.campaign-copy { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 14px; }
.campaign-copy h2 { font: 400 clamp(44px, 8vw, 132px)/.95 var(--serif); letter-spacing: -.01em; }
.campaign-copy .btn-pill { margin-top: 14px; }

/* Best-sellers: horizontal carousel. */
.rail { padding: 96px 0 80px; }
.rail-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.rail-head h2, .feature-head h2, .foot-news h2 { font: 400 clamp(26px, 2.6vw, 40px)/1.05 var(--serif); }
.rail-list { list-style: none; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 14px; margin: 0 calc(-1 * var(--pad)); padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
.rail-list li { flex: none; width: clamp(200px, 22vw, 320px); scroll-snap-align: start; }
.rail-list a { display: grid; gap: 4px; }
.rail-img { aspect-ratio: 3 / 4; background: #f2f2f2; overflow: hidden; margin-bottom: 8px; }
.rail-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--g-ease); }
.rail-list a:hover img { transform: scale(1.04); }
.rail-name { font-size: 12px; }
.price { font-size: 12px; }
.price s { color: var(--mute); }
.price em { font-style: normal; color: var(--sale); }

/* Feature: sticky heading beside the pictures. */
.feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px 40px; padding: 40px 0 120px; }
.feature-head { position: sticky; top: calc(var(--hdr) + 32px); align-self: start; display: grid; gap: 12px; }
.feature-imgs { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-imgs a:first-child { grid-column: 1 / -1; }
.feature-imgs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; background: #f2f2f2; }
.feature-imgs a:first-child img { aspect-ratio: 4 / 5; }
.feature-imgs span { display: block; padding-top: 8px; font-size: 12px; }
.feature-cta { justify-self: start; margin-top: 12px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 24px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.foot-news { display: grid; gap: 12px; justify-items: start; align-content: start; }
.foot-news p { color: var(--mute); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-cols div { display: grid; gap: 8px; align-content: start; }
.foot-cols b { font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.foot-cols a { color: #333; }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-mark { grid-column: 1 / -1; font: 500 calc((100vw - 2 * var(--pad)) / 6.4)/.8 var(--serif); letter-spacing: .04em; text-align: center; margin-top: 24px; white-space: nowrap; overflow: hidden; }
.foot-legal { grid-column: 1 / -1; color: var(--mute); font-size: 11px; }

/* Pages, menu and drawers keep the template's uppercase micro type. */
.page, .menu, .drawer, .toast { font-size: 11px; letter-spacing: .02em; text-transform: uppercase; }

/* ── Pages over the home ────────────────────────────────────────────────────────────────────────────────────────── */
.page { position: fixed; inset: 0; z-index: 20; overflow-y: auto; background: var(--bg); padding-top: var(--hdr); opacity: 0; transform: translateY(24px); transition: opacity .4s, transform .5s var(--ease); }
.page.on { opacity: 1; transform: none; }
.pg { padding: 0 var(--pad) 64px; }

.col-bar { position: sticky; top: calc(-1 * var(--hdr)); z-index: 2; background: var(--bg); padding: 18px 0 14px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.col-tabs { display: flex; gap: 18px; flex-wrap: wrap; }
.col-tabs a { color: var(--mute); padding: 2px 0; }
.col-tabs a.on { color: var(--ink); border-bottom: 1px solid currentColor; }
.col-tools { display: flex; gap: 18px; align-items: center; color: var(--mute); }
.zoom { display: flex; gap: 10px; }
.zoom button { font-size: 8px; letter-spacing: 1px; color: var(--line); }
.zoom button.on { color: var(--ink); }

.grid { list-style: none; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 28px 4px; }
.card-img { position: relative; aspect-ratio: 3 / 4; background: #f2f2f2; overflow: hidden; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s; }
.card-img .alt { opacity: 0; }
.card a:hover .alt { opacity: 1; }
.tag { position: absolute; left: 8px; top: 8px; background: var(--bg); padding: 2px 6px; }
.card-info { display: flex; justify-content: space-between; gap: 8px; padding: 8px 2px 0; }
.price s { color: var(--mute); }
.price em { font-style: normal; color: var(--sale); }
.grid[style*="--cols:6"] .card-info { display: none; }

/* Product */
.pg-prod { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 0 clamp(24px, 4vw, 72px); padding-top: 12px; }
.prod-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.prod-gal img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #f2f2f2; }
.prod-dots { display: none; }
.prod-info { position: sticky; top: 24px; align-self: start; display: grid; gap: 16px; max-width: 420px; padding-top: 8px; }
.prod-col { color: var(--mute); }
.prod-info h1 { font: 400 14px/1.3 var(--sans); }
.prod-info .price { font-size: 13px; }
.prod-colors, .prod-sizes { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.prod-sizes:empty { display: none; }
.prod-colors button, .prod-sizes button { flex: 1 0 25%; padding: 12px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.prod-colors button[aria-pressed="true"], .prod-sizes button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.prod-sizes button:disabled { color: #b5b5b5; cursor: not-allowed; }
.prod-sizes button small { font-size: 9px; }
.prod-sizes.ask { animation: ask .5s; }
@keyframes ask { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.btn { display: block; width: 100%; padding: 15px; text-align: center; border: 1px solid var(--ink); transition: background .25s, color .25s; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:disabled { background: var(--line); border-color: var(--line); cursor: not-allowed; }
.prod-note { color: var(--mute); }
.prod-note a { border-bottom: 1px solid currentColor; }
.prod-text { display: grid; gap: 14px; text-transform: none; letter-spacing: 0; font-size: 13px; color: #333; border-top: 1px solid var(--line); padding-top: 16px; }
.prod-desc { line-height: 1.6; }
.prod-text dl { display: grid; gap: 10px; }
.prod-text dt { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 2px; }
.prod-text dd { font-size: 12px; }
.prod-src { color: var(--mute); border-bottom: 1px solid currentColor; justify-self: start; }
.related { padding-top: 72px; }
.related h2 { font: 400 11px var(--sans); margin-bottom: 16px; }

/* Search */
.search-box input { width: 100%; border: 0; border-bottom: 1px solid var(--ink); padding: 26px 0 10px; font: 400 clamp(18px, 2.4vw, 28px) var(--sans); text-transform: uppercase; letter-spacing: .02em; outline: 0; background: none; }
.search-n { color: var(--mute); margin: 18px 0; }

/* ── Drawers ────────────────────────────────────────────────────────────────────────────────────────────────────── */
.drawer { position: fixed; top: 0; bottom: 0; z-index: 41; width: min(440px, 100vw); background: var(--bg); padding: calc(var(--hdr) + 12px) var(--pad) 24px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; transition: transform .45s var(--ease); }
.drawer-right { right: 0; transform: translateX(100%); }
.drawer.on { transform: none; }
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .25); opacity: 0; transition: opacity .45s; }
.scrim.on { opacity: 1; }
.x { position: absolute; top: 22px; left: var(--pad); width: 22px; height: 22px; }
.drawer-right .x { left: auto; right: var(--pad); }
.x::before, .x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transform: rotate(45deg); }
.x::after { transform: rotate(-45deg); }
/* ── Menu: full-screen white layer, opacity 0 → 1 in 450 ms ease-in-out ──── */
.menu { position: fixed; inset: 0; z-index: 25; background: var(--bg); opacity: 0; transition: opacity .45s ease-in-out; display: flex; flex-direction: column; padding: calc(var(--hdr) + 4vh) var(--pad) 28px; }
.menu.on { opacity: 1; }
.menu-in { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(24px, 6vw, 120px); }
.menu-cols { overflow-y: auto; scrollbar-width: none; padding-right: 8px; }
/* Entrance: each line rises and fades in one after the other once the layer is visible. */
.mc { opacity: 0; transform: translateY(14px); transition: opacity .4s ease-in, transform .6s var(--ease); }
.menu.on .mc { opacity: 1; transform: none; transition-delay: calc(120ms + var(--i) * 45ms); }
.mc-head { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 10px; padding: 6px 0; text-align: left; text-transform: none; }
.mc-n { font: 400 10px var(--sans); color: var(--mute); font-variant-numeric: tabular-nums; }
.mc-t { font: 400 clamp(30px, 4.4vw, 58px)/1.02 var(--serif); letter-spacing: -.01em; transition: transform .45s var(--ease), color .3s; transform-origin: left center; }
.mc-c { font: 400 10px var(--sans); color: var(--mute); }
.mc-head:hover .mc-t, .mc.open .mc-t { transform: translateX(14px); font-style: italic; }
.menu-cols:hover .mc:not(:hover):not(.open) .mc-t { color: #b5b5b5; }
/* Accordion: grid rows 0fr → 1fr, 500 ms ease-in-out. */
.mc-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s ease-in-out; }
.mc.open .mc-sub { grid-template-rows: 1fr; }
.mc-sub > div { overflow: hidden; padding-left: 44px; }
.mc-sub ul { list-style: none; display: grid; gap: 2px; padding: 8px 0 6px; }
.mc-sub li a { display: flex; justify-content: space-between; gap: 16px; max-width: 420px; padding: 3px 0; }
.mc-sub li a:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.mc-sub li span:last-child { color: var(--mute); }
.mc-all { display: inline-block; margin: 4px 0 14px; border-bottom: 1px solid currentColor; }
/* Preview of the hovered collection: two stacked photos cross-fade, with a slow settle. */
.menu-media { position: relative; overflow: hidden; background: #f2f2f2; opacity: 0; transform: scale(.96); transition: opacity .6s ease-in-out .15s, transform 1.1s var(--ease) .15s; }
.menu.on .menu-media { opacity: 1; transform: none; }
.menu-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; opacity: 0; transform: scale(1.06); transition: opacity .6s ease-in-out, transform 1.4s var(--ease); }
.menu-media img.on { opacity: 1; transform: none; }
.menu-foot { display: flex; gap: 20px; color: var(--mute); padding-top: 18px; opacity: 0; transition: opacity .4s ease-in .4s; }
.menu.on .menu-foot { opacity: 1; }
.cart-h { font: 400 11px var(--sans); }
.cart-list { display: grid; gap: 16px; }
.cart-empty { color: var(--mute); }
.line { display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.line-img { display: block; aspect-ratio: 3 / 4; background: #f2f2f2; overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line > div { display: grid; gap: 4px; align-content: start; }
.line b { font-weight: 400; }
.qty { display: flex; gap: 14px; align-items: center; margin-top: 6px; }
.qty button { width: 22px; height: 22px; border: 1px solid var(--line); }
.cart-foot { margin-top: auto; display: grid; gap: 10px; }
.ship { color: var(--mute); display: grid; gap: 8px; }
.ship i { display: block; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.ship i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .6s var(--ease); }
.total { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 0; border-top: 1px solid var(--line); }
.total b { font-weight: 400; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: 12px 18px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ── Phones ─────────────────────────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  :root { --hdr: 56px; }
  .hdr-contact, .hdr-right a { display: none; }
  .hdr { grid-template-columns: auto 1fr auto; }
  /* Centred on the page (not in a grid cell) so the page-wide wordmark scales around the page centre. */
  .hdr-logo { position: absolute; left: 0; right: 0; top: 18px; width: max-content; margin: 0 auto; font-size: 20px; --drop: 46px; }
  .hdr-right { grid-column: 3; }
  /* Phone hero: the middle photo alone, full-bleed. */
  .hero-media { grid-template-columns: 1fr; }
  .hero-media img:not(:nth-child(2)) { display: none; }
  .hero-over { bottom: 120px; }
  .campaign-media { grid-template-columns: 1fr 1fr; }
  .campaign-media img:nth-child(3) { display: none; }
  .duo { grid-template-columns: 1fr; padding-bottom: 64px; gap: 48px; }
  .rail { padding: 64px 0; }
  .rail-list li { width: 62vw; }
  .feature { grid-template-columns: 1fr; padding-bottom: 72px; }
  .feature-head { position: static; }
  .feature-imgs { grid-column: 1; }
  .foot { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }

  .grid { --cols: 2 !important; gap: 22px 3px; }
  .col-tools .zoom { display: none; }
  .col-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .col-tabs a { white-space: nowrap; }
  .pg-prod { grid-template-columns: 1fr; padding: 0; margin: 0; }
  .page > .pg-prod { padding: 0; }
  .prod-gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; }
  .prod-gal > figure { flex: none; width: 100%; scroll-snap-align: start; }
  .prod-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 0; }
  .prod-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
  .prod-dots i.on { background: var(--ink); }
  .prod-info { position: static; max-width: none; padding: 16px var(--pad) 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .rise, .fade, .hero-media, .hdr-logo { animation: none !important; transform: none !important; }
}

/* ── Polish (v2) ────────────────────────────────────────────────────────────────────────────────────────────────── */
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; display: none; }
.hdr-cart, .hdr-search { display: inline-flex; align-items: center; gap: 0; }
.skip:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 99; background: #fff; padding: 8px 12px; }

/* 14: a soft shade behind the transparent header keeps it readable over light photos. */
.hdr::before { content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; background: linear-gradient(rgba(0, 0, 0, .38), rgba(0, 0, 0, 0)); opacity: 0; transition: opacity .6s var(--g-ease); pointer-events: none; }
.hdr[data-transparent="true"]::before { opacity: 1; }
body.paged .hdr::before, body.menu-open .hdr::before { opacity: 0; }

/* 5: images sit on a soft shimmer until decoded, then fade in. */
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.tile-img, .rail-img, .card-img, .line-img, .feature-imgs a, .prod-gal figure, .campaign-media, .menu-media {
  background: #efedea linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 70%) no-repeat;
  background-size: 200% 100%; animation: shimmer 1.6s linear infinite;
}
.feature-imgs a { display: block; background-size: 200% 100%; }
.feature-imgs a span { background: var(--bg); }
.tile-img img, .rail-img img, .card-img img:not(.alt), .line-img img, .feature-imgs img, .prod-gal img, .campaign-media img { opacity: 0; transition: opacity .6s ease, transform 1.6s var(--g-ease); }
img.ld { opacity: 1 !important; }
.card-img img.alt.ld, .rail-img img.alt.ld { opacity: 0 !important; }
.card a:hover .card-img img.alt.ld, .rail-list a:hover .rail-img img.alt.ld { opacity: 1 !important; }

/* 16: second photo on hover in the best-sellers rail (as in the grids). */
.rail-img { position: relative; }
.rail-img img { position: absolute; inset: 0; }
.rail-list a:hover img { transform: none; }

/* 16: product photos zoom 2× under the pointer on desktop. */
.prod-gal figure { position: relative; overflow: hidden; aspect-ratio: 3 / 4; }
.prod-gal figure:first-child { grid-column: 1 / -1; }
.prod-gal figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; background: none; }
@media (hover: hover) and (pointer: fine) {
  .prod-gal figure { cursor: zoom-in; }
  .prod-gal figure img { transform-origin: var(--zx, 50%) var(--zy, 50%); transition: opacity .6s ease, transform .5s var(--ease); }
  .prod-gal figure:hover img { transform: scale(2); }
}

/* 15: the sale headline — a heavier minus and number in the grotesk. */
.campaign-copy h2 .num { font: 400 .78em/1 var(--sans); letter-spacing: -.03em; white-space: nowrap; }
.campaign::after { background: linear-gradient(rgba(0, 0, 0, .18), rgba(0, 0, 0, .38)); }

/* 8: size guide. */
.prod-size-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: -10px; color: var(--mute); }
.prod-guide { border-bottom: 1px solid currentColor; padding: 0 0 1px; color: var(--ink); text-transform: uppercase; font-size: 11px; letter-spacing: .02em; }
.modal { z-index: 42; }
.sz { display: grid; gap: 20px; text-transform: none; letter-spacing: 0; font-size: 12px; }
.sz-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sz-table th { font-weight: 500; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; text-align: left; padding: 10px 6px 10px 0; border-bottom: 1px solid var(--ink); }
.sz-table td { padding: 11px 6px 11px 0; border-bottom: 1px solid var(--line); }
.sz-table td:first-child { font-weight: 500; }
.sz-note { color: var(--mute); line-height: 1.6; }
.sz-how { display: grid; gap: 6px; line-height: 1.5; }
.sz-how b, .sz-piece span { font-weight: 500; }
.sz-piece { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.sz-piece h3 { font: 400 20px/1.1 var(--serif); }
.sz-piece span { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 2px; }

/* 7: buy bar — fixed at the bottom on phones once the main button is off screen. */
.buybar { display: none; }

/* 17: footer — club + services. */
.foot-club { display: grid; gap: 8px; justify-items: start; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-club h3 { font: 400 22px/1.1 var(--serif); }
.foot-serv { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.foot-serv li { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.foot-serv svg { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 760px) {
  /* 1: phone header — burger | wordmark | search + bag icons; no text labels to collide with the logo. */
  .hdr-right a { display: inline-flex; }
  .hdr-right { gap: 16px; }
  .hdr-right .t, .hdr-menu b { display: none; }
  .ico { display: block; }
  .hdr-cart { position: relative; }
  .hdr-cart .cart-n { position: absolute; right: -7px; top: 1px; min-width: 15px; height: 15px; border-radius: 8px; background: currentColor; font-size: 9px; line-height: 15px; text-align: center; padding: 0 3px; }
  .hdr-cart .cart-n { color: var(--bg); }
  .hdr[data-transparent="true"] .hdr-cart .cart-n { color: #000; }
  .hdr-cart .cart-n:empty, .hdr-cart[data-n="0"] .cart-n { display: none; }
  .hdr-menu { padding: 10px 0 10px 4px; }
  .hdr-menu i { width: 20px; height: 9px; }

  .campaign-media { grid-template-columns: 1fr; }
  .campaign-media img:nth-child(n + 2) { display: none; }

  .prod-gal figure:first-child { grid-column: auto; }
  .prod-size-head { padding-top: 4px; }
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; align-items: center; gap: 12px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); transform: translateY(105%); transition: transform .4s var(--ease); }
  .buybar.on { transform: none; }
  .buybar-info { flex: 1; min-width: 0; display: grid; gap: 2px; }
  .buybar-info b { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar-btn { width: auto; flex: none; padding: 13px 18px; }
  .related { padding-bottom: 96px; }

  .foot-serv { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .foot-serv li { font-size: 10px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .tile-img, .rail-img, .card-img, .line-img, .feature-imgs a, .prod-gal figure, .campaign-media { animation: none; } }

/* ── Design pass 3 ──────────────────────────────────────────────────────────────────────────────────────────────── */
/* 4: intro — the wordmark rises letter by letter, a hairline draws, then the curtain lifts onto the hero. */
.splash { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 22px; background: #0e0c0b; color: #fff; clip-path: inset(0 0 0 0); transition: clip-path .95s cubic-bezier(.76, 0, .24, 1); cursor: pointer; }
.splash.out { clip-path: inset(0 0 100% 0); }
.splash-mark { display: flex; overflow: hidden; font: 500 clamp(46px, 11vw, 156px)/1 var(--serif); letter-spacing: .14em; margin-right: -.14em; padding-bottom: .04em; }
.splash-mark span { display: block; transform: translateY(105%); animation: intro-up .95s cubic-bezier(.2, .75, .1, 1) forwards; animation-delay: calc(.07s * var(--i) + .12s); }
.splash-line { display: block; width: min(320px, 50vw); height: 1px; background: currentColor; transform: scaleX(0); animation: intro-line .9s cubic-bezier(.65, 0, .35, 1) .65s forwards; opacity: .7; }
.splash.out .splash-mark span { transform: translateY(-30%); opacity: 0; transition: transform .7s cubic-bezier(.7, 0, .3, 1), opacity .5s; }
@keyframes intro-up { to { transform: none; } }
@keyframes intro-line { to { transform: scaleX(1); } }
html.has-splash, html.has-splash body { overflow: hidden; }

/* 5: photo curtain reveal (only for photos below the fold when the page loads). */
.rv { clip-path: inset(100% 0 0 0); }
.rv.in { clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.76, 0, .24, 1) var(--d, 0s); }
.rv.in img:not(.alt) { animation: rv-zoom 1.7s cubic-bezier(.2, .75, .1, 1) var(--d, 0s) backwards; }
@keyframes rv-zoom { from { transform: scale(1.14); } }

/* 6: card → product photo morph (View Transitions). */
.vt .page { transition: none; }
::view-transition-group(prod-photo) { animation-duration: .6s; animation-timing-function: cubic-bezier(.76, 0, .24, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
.prod-gal figure.lq { background-size: cover; background-position: center; animation: none; }

/* 7: micro-interactions — buttons fill from the left, the cart counter bumps, "Ajouté ✓" confirms. */
.btn, .btn-pill { background-repeat: no-repeat; background-position: left center; transition: background-size .5s cubic-bezier(.65, 0, .35, 1), color .35s, border-color .35s, transform .2s; }
.btn-line { background-image: linear-gradient(var(--ink), var(--ink)); background-size: 0% 100%; }
.btn-line:hover { background-color: transparent; background-size: 100% 100%; color: var(--bg); }
.btn-dark { background-image: linear-gradient(#3a3533, #3a3533); background-size: 0% 100%; }
.btn-dark:hover { background-color: var(--ink); background-size: 100% 100%; }
.btn-pill { background-image: linear-gradient(#000, #000); background-size: 0% 100%; }
.btn-pill:hover { background-color: #fff; background-size: 100% 100%; color: #fff; }
.btn-pill.dark { background-image: linear-gradient(#3a3533, #3a3533); }
.btn-pill.dark:hover { background-color: #000; }
.btn:active, .btn-pill:active { transform: scale(.985); }
.btn.done { animation: done .5s cubic-bezier(.2, .75, .1, 1); letter-spacing: .06em; }
@keyframes done { 0% { transform: scale(.97); } 60% { transform: scale(1.02); } 100% { transform: none; } }
.hdr-cart.bump { animation: bump .55s cubic-bezier(.2, .75, .1, 1); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.28); } 100% { transform: scale(1); } }
.cta { background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 100% 1px; border-bottom: 0; padding-bottom: 3px; transition: background-size .45s cubic-bezier(.65, 0, .35, 1); }
.cta:hover { background-size: 0% 1px; background-position: right bottom; }

/* 9: colour swatches. */
.dot { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); vertical-align: -1px; }
.prod-colors { display: grid; gap: 10px; border-top: 0; }
.prod-color { display: flex; align-items: center; gap: 8px; }
.prod-color b { font-weight: 500; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.prod-colors .swatch { flex: none; width: 34px; height: 34px; padding: 0; border: 1px solid transparent; border-radius: 50%; display: grid; place-items: center; background: none; transition: border-color .25s; }
.prod-colors .swatch .dot { width: 24px; height: 24px; }
.prod-colors .swatch:hover { border-color: var(--line); }
.prod-colors .swatch[aria-pressed="true"] { border-color: var(--ink); background: none; color: inherit; }
.card-dots { display: flex; gap: 5px; padding: 6px 2px 0; }
.card-dots .dot { width: 9px; height: 9px; }

/* 11: discount badges. */
.tag-off { background: var(--ink); color: var(--bg); letter-spacing: .04em; }
.rail-img .tag { z-index: 1; }
.price .off { display: inline-block; margin-left: 6px; padding: 2px 6px; background: var(--sale); color: #fff; font-weight: 500; font-size: 10px; letter-spacing: .04em; vertical-align: 1px; }

/* 8: filters. */
.filt-btn { display: inline-flex; align-items: center; gap: 2px; padding: 8px 14px; border: 1px solid var(--ink); color: var(--ink); text-transform: uppercase; font-size: 11px; letter-spacing: .04em; transition: background .3s, color .3s; }
.filt-btn:hover { background: var(--ink); color: var(--bg); }
.col-tools { color: var(--mute); }
.filt { display: grid; gap: 26px; text-transform: none; letter-spacing: 0; font-size: 12px; padding-bottom: 8px; }
.filt h3 { font: 500 10px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); font-size: 12px; transition: border-color .25s, background .25s, color .25s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip[aria-pressed="true"] .dot { box-shadow: 0 0 0 1px rgba(255, 255, 255, .6); }
.filt-foot { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; padding: 14px 0 4px; background: var(--bg); border-top: 1px solid var(--line); }
.col-empty { display: grid; justify-items: center; gap: 14px; padding: 80px 0; text-align: center; color: var(--mute); text-transform: none; font-size: 13px; }
@media (max-width: 760px) {
  .col-tools { width: 100%; justify-content: space-between; }
  .filt-btn { flex: 1; justify-content: center; padding: 11px 14px; }
}
@media (prefers-reduced-motion: reduce) { .rv { clip-path: none !important; } .splash { display: none !important; } }


/* ── Menu v4: a quiet drawer from the left; the page stays visible, dimmed, at right ───────────────────────────── */
.menu { inset: 0 auto 0 0; width: min(440px, 100vw); opacity: 1; transform: translateX(-102%); transition: transform .75s cubic-bezier(.76, 0, .24, 1);
  padding: var(--hdr) 0 0; background: #faf8f5; box-shadow: 30px 0 60px -40px rgba(30, 20, 10, .25); }
.menu.on { transform: none; }
.menu-in { height: 100%; display: block; }
.menu-nav { height: 100%; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; gap: 28px;
  padding-block: clamp(28px, 6vh, 56px) calc(24px + env(safe-area-inset-bottom, 0px)); padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: 28px; text-transform: none; letter-spacing: 0; }
.mc { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .7s var(--ease); }
.menu.on .mc { opacity: 1; transform: none; transition-delay: calc(260ms + var(--i) * 55ms); }
.mn-eyebrow { font: 500 9px var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--mute); }
.mn-list { list-style: none; display: grid; gap: 4px; margin-top: -10px; }
.mn-link { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid transparent; }
.mn-t { font: 400 26px/1.15 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -.01em; color: var(--ink); transition: color .3s, transform .5s var(--ease); }
.mn-c { font: 400 9px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.mn-link:hover .mn-t, .mn-link:focus-visible .mn-t { font-style: italic; transform: translateX(6px); }
.mn-link:hover .mn-c, .mn-link:focus-visible .mn-c { opacity: 1; }
.mn-list:hover .mn-link:not(:hover) .mn-t { color: #bdb5ab; }
.mn-sec { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 20px; border-top: 1px solid #e8e2da; }
.mn-sec a, .mn-foot a { font: 500 9px var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.mn-sec a { color: var(--ink); }
.mn-sec a:hover, .mn-foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.mn-foot { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: auto; padding-top: 18px; border-top: 1px solid #e8e2da; }
.mn-foot a { color: var(--mute); }

/* The gown vignette: a small arched window, like a boutique display, with its caption beside it. */
.menu-media { position: static; display: grid; grid-template-columns: 112px 1fr; align-items: end; gap: 18px; background: none; animation: none; overflow: visible; }
.menu.on .menu-media { transform: none; }
.menu-arch { position: relative; width: 112px; aspect-ratio: 3 / 4.2; overflow: hidden; border-radius: 56px 56px 2px 2px;
  background: radial-gradient(120% 90% at 50% 20%, #f4efe8 0%, #e6ded3 60%, #d8cec1 100%); box-shadow: inset 0 0 0 1px rgba(60, 45, 30, .08); }
.menu-arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; opacity: 1; transform: none; }
.menu-media.has-3d .menu-arch img, .menu-media.has-video .menu-arch img { display: none; }
.menu-media.has-video .menu-arch { background: #0e0c0b; }
.dress3d-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; touch-action: pan-y; }
.dress3d-canvas.grab { cursor: grabbing; }
.menu-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dress-cap { display: grid; gap: 6px; padding-bottom: 4px; text-transform: none; }
.dress-cap span { font: 400 italic 17px/1.1 var(--serif); color: var(--ink); }
.dress-cap small { font: 500 8.5px var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--mute); }
.dress-cap a { justify-self: start; margin-top: 6px; font: 500 9px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 100% 1px; padding-bottom: 3px; transition: background-size .45s cubic-bezier(.65, 0, .35, 1); }
.dress-cap a:hover { background-size: 0% 1px; background-position: right bottom; }
@media (max-width: 760px) {
  .menu { width: 100vw; box-shadow: none; }
  .menu-nav { padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: var(--pad); gap: 24px; }
  .mn-t { font-size: 25px; }
  .mn-c { display: none; }
  .menu-media { grid-template-columns: 96px 1fr; }
  .menu-arch { width: 96px; border-radius: 48px 48px 2px 2px; }
}
@media (max-width: 400px) {
  .hdr-logo { font-size: 18px; }
  .hdr-right { gap: 12px; }
}
body.menu-open .scrim { z-index: 24; }
@media (max-height: 700px) {
  .menu-nav { gap: 18px; padding-block: 20px calc(16px + env(safe-area-inset-bottom, 0px)); }
  .mn-link { padding: 4px 0; }
  .mn-t { font-size: 23px; }
  .menu-arch { width: 84px; border-radius: 42px 42px 2px 2px; }
  .menu-media { grid-template-columns: 84px 1fr; }
}
