/* =========================================================
   AVENOIR — design system & components
   ========================================================= */
:root {
  --espresso: #4a1d2a;
  --espresso-2: #5a2534;
  --mocha: #7a4a56;
  --taupe: #9a7480;
  --sand: #d9b8bb;
  --linen: #f2e3e3;
  --cream: #f9efee;
  --ivory: #fdf8f7;
  --white: #fff;
  --gold: #c08a72;
  --gold-soft: #e8c0aa;
  --ink: #2a1218;
  --muted: #866870;
  --line: rgba(74, 29, 42, .12);
  --line-light: rgba(255, 255, 255, .22);

  --serif: 'Bodoni Moda', 'Didot', 'Playfair Display', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -18px rgba(74, 29, 42, .28);
  --shadow-soft: 0 10px 30px -12px rgba(74, 29, 42, .18);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
::selection { background: var(--espresso); color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 999; background: var(--espresso); color: var(--cream); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }

/* ---------- Eyebrow & section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .78rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before, .eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--left::before { display: none; }
.eyebrow--dark { color: var(--espresso); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(2.2rem, 5.2vw, 4rem); margin: 14px 0 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head--split { display: flex; justify-content: space-between; align-items: end; gap: 24px; text-align: left; max-width: none; flex-wrap: wrap; }
.section-head--split h2 { margin-bottom: 0; }
.italic { font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--espresso); --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--gold);
  transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(74, 29, 42, .5); }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { --bg: var(--cream); --fg: var(--espresso); }
.btn--ghost { --bg: transparent; --fg: currentColor; border: 1px solid currentColor; }
.btn--ghost:hover { --fg: var(--cream); color: var(--cream); border-color: var(--gold); }
.btn--dark { --bg: var(--espresso); }
.btn--block { width: 100%; }
.btn--sm { height: 42px; padding: 0 20px; font-size: .72rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; }
.link-arrow span.circle { width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s; }
.link-arrow:hover span.circle { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.link-arrow svg { width: 18px; height: 18px; }
.link-btn { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Preloader & page curtain ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--espresso); color: var(--cream);
  display: grid; place-items: center; transition: opacity .7s var(--ease) .1s, visibility .7s;
}
.preloader__inner { display: grid; justify-items: center; gap: 14px; }
.preloader__mark { width: 64px; height: 64px; color: var(--gold-soft); animation: spinIn 1.4s var(--ease) both; }
.preloader__word { font-family: var(--serif); font-size: clamp(2.6rem, 9vw, 5rem); letter-spacing: .08em; animation: rise 1s var(--ease) .15s both; }
.preloader__bar { width: 160px; height: 1px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--gold-soft); animation: load 1.2s var(--ease) forwards; transform-origin: left; }
.is-loaded .preloader, .no-preload .preloader { opacity: 0; visibility: hidden; }
.no-preload .preloader { transition: none; }
html:not(.js) .preloader { display: none; }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes spinIn { from { opacity: 0; transform: rotate(-120deg) scale(.6); } to { opacity: 1; transform: none; } }

.curtain {
  position: fixed; inset: 0; z-index: 990; background: var(--espresso); pointer-events: none;
  transform: translateY(100%); transition: transform .55s var(--ease);
}
.curtain.is-leaving { transform: translateY(0); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: var(--espresso);
  transition: background .4s, color .4s, box-shadow .4s, transform .5s var(--ease);
}
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 var(--gutter); max-width: 1440px; margin: 0 auto; }
.has-dark-hero .header:not(.is-solid) { color: var(--cream); }
.header.is-solid { background: rgba(253, 248, 247, .86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 34px; height: 34px; stroke: none; transition: transform .8s var(--ease); }
.logo:hover .logo__mark { transform: rotate(360deg); }
.logo__word { font-family: var(--serif); font-size: 1.55rem; letter-spacing: .02em; }
.logo--light { color: var(--cream); }
.nav { display: flex; gap: clamp(18px, 2.6vw, 38px); }
.nav a { position: relative; font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: background .3s; }
.icon-btn:hover { background: rgba(122, 74, 86, .14); }
.badge { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #fff; font-size: .66rem; font-weight: 600; display: grid; place-items: center; }
.badge[hidden] { display: none; }
.badge.pop { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.5); } }
.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 20px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--espresso); color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 30px) var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 40px) 38px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
.menu-open .header { color: var(--cream) !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none; }
.mobile-menu__nav { display: grid; gap: 6px; }
.mobile-menu__nav a { font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.15; opacity: 0; transform: translateY(40px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.15s + var(--i) * .06s); }
.menu-open .mobile-menu__nav a { opacity: 1; transform: none; }
.mobile-menu__foot { display: flex; justify-content: space-between; font-size: .9rem; opacity: .7; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: max(640px, 100svh); color: var(--cream); overflow: hidden;
  background: radial-gradient(120% 90% at 70% 10%, #a06a78 0%, #73344a 38%, #5a2534 100%);
  border-radius: 0 0 clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px);
  display: flex; flex-direction: column; justify-content: center; isolation: isolate;
}
.hero__light { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 222, 222, .16) 48%, transparent 60%); animation: beam 9s ease-in-out infinite alternate; }
@keyframes beam { from { transform: translateX(-8%); } to { transform: translateX(8%); } }
.hero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__canvas.is-ready { opacity: .9; }
.hero__stage { --mw: clamp(230px, 25vw, 370px); --mh: calc(var(--mw) * 1.42); --top: calc(var(--header-h) + 22px); position: relative; width: 100%; max-width: 1400px; margin: 0 auto; height: calc(var(--top) + var(--mh)); perspective: 1200px; }
.hero__word { position: absolute; left: 0; right: 0; top: calc(var(--top) + var(--mh) * .3); display: flex; justify-content: center; font-family: var(--serif); font-weight: 500; font-size: clamp(5.2rem, 20vw, 20rem); line-height: .8; letter-spacing: -.02em; user-select: none; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.hero__word span { display: inline-block; transform-style: preserve-3d; translate: 0 0 calc(var(--z, 0) * 1px); }
.hero__word--solid span { color: #fcf0ef; }
.hero__word--outline { z-index: 3; pointer-events: none; }
.hero__word--outline span { color: transparent; -webkit-text-stroke: 1.2px rgba(253, 244, 243, .85); }
.hero__word--solid span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px rgba(253, 244, 243, .7); }
.hero__word--outline span:nth-child(1), .hero__word--outline span:nth-child(5) { -webkit-text-stroke-color: transparent; }
.js .hero__word span { opacity: 0; transform: translateY(60%) rotateX(-80deg); }
.is-loaded .hero__word span { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.4s var(--ease); transition-delay: calc(var(--i) * .08s + .2s); }
.hero__model {
  position: absolute; z-index: 2; left: 50%; top: var(--top); width: var(--mw); height: var(--mh); margin: 0;
  transform: translateX(calc(-26% + 40px)); border-radius: 220px 220px 24px 24px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(30, 8, 14, .65);
}
.hero__model img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: sepia(.35) saturate(.85) brightness(.97); transform: scale(1.12); transition: transform 1.8s var(--ease); }
.is-loaded .hero__model img { transform: scale(1); }
.hero__model::before { content: ''; position: absolute; inset: 0; z-index: 1; background: #7c3c4c; mix-blend-mode: color; opacity: .28; pointer-events: none; }
.hero__model::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(74, 29, 42, .6)); }
.hero__quote { position: absolute; z-index: 4; right: var(--gutter); top: 48%; max-width: 170px; font-family: var(--serif); font-style: italic; font-size: .98rem; line-height: 1.6; opacity: .85; }
.hero__intro { position: relative; z-index: 4; display: flex; gap: 20px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; max-width: 1400px; width: 100%; margin: 34px auto 0; padding: 0 var(--gutter); }
.hero__intro p { max-width: 380px; font-size: 1.02rem; opacity: .85; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__features {
  position: relative; z-index: 4; margin: 34px auto 40px; width: calc(100% - 2 * var(--gutter)); max-width: 1220px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  padding: 22px 28px; border-radius: 22px; border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, .07); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.feature { display: flex; align-items: center; gap: 14px; }
.feature__icon { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; flex-shrink: 0; }
.feature__icon svg { width: 20px; height: 20px; }
.feature strong { display: block; font-weight: 500; font-size: .92rem; }
.feature span { font-size: .78rem; opacity: .7; }
.scroll-badge { position: absolute; z-index: 5; right: clamp(16px, 4vw, 60px); top: calc(var(--header-h) + 22px + clamp(230px, 25vw, 370px) * 1.42 - 130px); width: 120px; height: 120px; display: grid; place-items: center; color: var(--cream); }
.scroll-badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; stroke: none; fill: currentColor; }
.scroll-badge .dot { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--espresso); display: grid; place-items: center; transition: transform .4s var(--ease); }
.scroll-badge:hover .dot { transform: scale(1.12); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(50px, 8vw, 110px)) 0 clamp(50px, 7vw, 90px); text-align: center; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 6.4rem); margin: 16px 0; }
.page-hero p { max-width: 560px; margin: 0 auto; color: var(--muted); font-size: 1.05rem; }
.page-hero--dark { color: var(--cream); background: radial-gradient(120% 90% at 70% 10%, #a06a78 0%, #622a3b 45%, var(--espresso) 100%); border-radius: 0 0 clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px); }
.page-hero--dark p { color: rgba(249, 239, 238, .75); }
.page-hero__img { position: absolute; inset: 0; z-index: -2; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image { isolation: isolate; color: var(--cream); min-height: 72svh; display: grid; align-items: center; border-radius: 0 0 clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px); }
.page-hero--image::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(74, 29, 42, .55), rgba(74, 29, 42, .82)); }
.page-hero--image p { color: rgba(249, 239, 238, .82); }
.breadcrumb { display: flex; gap: 10px; justify-content: center; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }

/* ---------- Category cards (3D tilt) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); perspective: 1400px; }
.cat-card { position: relative; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s var(--ease); will-change: transform; }
.cat-card__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--linen); }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-card:hover .cat-card__img img { transform: scale(1.07); }
.cat-card__label { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; font-family: var(--serif); font-size: 1.5rem; transform: translateZ(40px); }
.cat-card__label svg { transition: transform .4s var(--ease); }
.cat-card:hover .cat-card__label svg { transform: translateX(6px); }
.cat-card__count { position: absolute; top: 16px; left: 16px; transform: translateZ(60px); padding: 6px 12px; border-radius: 999px; background: rgba(253, 248, 247, .9); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.tilt-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .45), transparent 45%); opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light; }
.tilt:hover .tilt-glare { opacity: 1; }

/* ---------- Welcome / story band ---------- */
.welcome { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; border-radius: clamp(24px, 3vw, 40px); overflow: hidden; background: linear-gradient(135deg, #65293b, #4a1d2a 70%); color: var(--cream); min-height: 520px; }
.welcome__img { position: relative; overflow: hidden; }
.welcome__img img { width: 100%; height: 118%; object-fit: cover; position: absolute; top: -9%; will-change: transform; }
.welcome__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, #5a2534); }
.welcome__body { padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 70px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.welcome__body h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin: 18px 0 14px; }
.welcome__body > p { opacity: .8; }
.welcome__rule { width: 48px; height: 1px; background: var(--gold); margin: 26px auto; }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
.promise { padding: 0 12px; display: grid; justify-items: center; gap: 8px; }
.promise + .promise { border-left: 1px solid rgba(255, 255, 255, .14); }
.promise__icon { width: 66px; height: 66px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold-soft); transition: transform .8s var(--ease), background .4s; transform-style: preserve-3d; }
.promise:hover .promise__icon { transform: rotateY(180deg); background: rgba(192, 138, 114, .15); }
.promise__icon svg { width: 28px; height: 28px; }
.promise strong { font-weight: 500; font-size: .95rem; }
.promise span { font-size: .78rem; opacity: .65; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: clamp(30px, 5vw, 60px) 0; user-select: none; }
.marquee__row { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__row--rev { animation-direction: reverse; animation-duration: 46s; }
.marquee__row span { font-family: var(--serif); font-size: clamp(3.4rem, 10vw, 9rem); line-height: 1.05; padding-right: .35em; display: inline-flex; align-items: center; gap: .35em; white-space: nowrap; color: var(--espresso); }
.marquee__row--rev span { color: transparent; -webkit-text-stroke: 1px var(--sand); }
.marquee__row span i { font-style: normal; color: var(--gold); font-size: .5em; -webkit-text-stroke: 0; }
.marquee__skew { transition: transform .3s ease-out; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px) clamp(12px, 1.6vw, 22px); }
.p-card { position: relative; display: flex; flex-direction: column; }
.p-card__media { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--linen); transform-style: preserve-3d; }
.p-card__link { position: absolute; inset: 0; }
.p-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
.p-card__media img.alt { opacity: 0; transform: scale(1.06); }
.p-card:hover .p-card__media img.alt { opacity: 1; transform: none; }
.p-card:hover .p-card__media img.main { transform: scale(1.04); }
.p-card__tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 2; }
.tag { padding: 5px 10px; border-radius: 999px; background: rgba(253, 248, 247, .92); font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.tag--sale { background: var(--espresso); color: var(--cream); }
.p-card__wish { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(253, 248, 247, .92); display: grid; place-items: center; transition: transform .3s var(--ease); }
.p-card__wish svg { width: 18px; height: 18px; }
.p-card__wish:hover { transform: scale(1.1); }
.p-card__wish.is-on svg, .wish-btn.is-on svg { fill: #b3192f; stroke: #b3192f; animation: pop .5s var(--ease); }
.p-card__actions { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: flex; gap: 8px; transform: translateY(130%); transition: transform .5s var(--ease); }
.p-card:hover .p-card__actions, .p-card:focus-within .p-card__actions { transform: none; }
.p-card__actions .btn { flex: 1; height: 44px; font-size: .68rem; padding: 0 12px; }
.p-card__actions .btn--light { flex: 0 0 44px; padding: 0; }
.p-card__info { padding: 14px 4px 0; display: grid; gap: 4px; }
.p-card__meta { display: flex; justify-content: space-between; gap: 10px; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.p-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.p-card__name { font-family: var(--serif); font-size: 1.12rem; line-height: 1.3; }
.price { font-weight: 500; white-space: nowrap; }
.price s { color: var(--muted); font-weight: 400; margin-left: 6px; font-size: .88em; }
.swatches { display: flex; gap: 7px; margin-top: 6px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ivory); box-shadow: 0 0 0 1px var(--line); }

/* Horizontal 3D carousel */
.rail { position: relative; }
.rail__track { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px var(--gutter) 30px; scrollbar-width: none; perspective: 1600px; cursor: grab; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail__track > * { flex: 0 0 clamp(240px, 24vw, 320px); scroll-snap-align: start; transition: transform .25s linear; }
.rail__progress { margin: 6px var(--gutter) 0; height: 1px; background: var(--line); position: relative; }
.rail__progress span { position: absolute; left: 0; top: -1px; height: 3px; background: var(--espresso); width: 20%; border-radius: 3px; transition: transform .2s; }
.rail__nav { display: flex; gap: 10px; }
.round-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.round-btn:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

/* ---------- Style quiz ---------- */
.quiz { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.quiz__intro h2 { font-size: clamp(2.3rem, 5vw, 4rem); margin: 16px 0; }
.quiz__intro p { color: var(--muted); max-width: 440px; }
.quiz__card { background: var(--white); border-radius: clamp(22px, 3vw, 32px); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); min-height: 420px; position: relative; overflow: hidden; }
.quiz__steps { display: flex; gap: 6px; margin-bottom: 26px; }
.quiz__steps span { flex: 1; height: 3px; border-radius: 3px; background: var(--linen); transition: background .4s; }
.quiz__steps span.on { background: var(--gold); }
.quiz__q { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 22px; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__opt { text-align: left; padding: 18px; border-radius: 16px; border: 1px solid var(--line); transition: border-color .3s, background .3s, transform .3s var(--ease); display: grid; gap: 4px; }
.quiz__opt:hover { border-color: var(--gold); background: var(--cream); transform: translateY(-3px); }
.quiz__opt strong { font-weight: 500; }
.quiz__opt span { font-size: .82rem; color: var(--muted); }
.quiz__pane { animation: paneIn .6s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateX(30px); } }
.quiz__result h3 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 8px 0 10px; }
.quiz__picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.quiz__picks a { display: grid; gap: 6px; font-size: .82rem; }
.quiz__picks img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }

/* ---------- 3D Lookbook ring ---------- */
.ring-wrap { position: relative; height: clamp(440px, 60vw, 640px); perspective: 1800px; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; cursor: grab; }
.ring-wrap.is-dragging { cursor: grabbing; }
.ring { position: relative; width: clamp(190px, 21vw, 280px); aspect-ratio: 3 / 4.2; transform-style: preserve-3d; }
.ring__item { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; backface-visibility: hidden; box-shadow: 0 30px 60px -30px rgba(42, 18, 24, .6); background: var(--linen); }
.ring__item img { width: 100%; height: 100%; object-fit: cover; }
.ring__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(42, 18, 24, .75)); color: var(--cream); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.ring-hint { text-align: center; font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.ring-floor { position: absolute; bottom: 8%; left: 50%; width: 70%; height: 60px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(74, 29, 42, .25), transparent); filter: blur(6px); }

/* ---------- Testimonials ---------- */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { margin: 0; background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-soft); display: grid; gap: 18px; align-content: start; transition: transform .5s var(--ease); }
.testi:hover { transform: translateY(-6px) rotate(-.5deg); }
.stars { color: var(--gold); letter-spacing: 3px; }
.testi blockquote { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; }
.testi footer { display: flex; align-items: center; gap: 12px; font-size: .88rem; }
.testi footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi footer span { display: block; color: var(--muted); font-size: .78rem; }

/* ---------- Social grid ---------- */
.ugc { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ugc a { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; }
.ugc img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ugc a::after { content: '@avenoir'; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(74, 29, 42, .55); color: var(--cream); font-size: .8rem; letter-spacing: .16em; opacity: 0; transition: opacity .4s; }
.ugc a:hover::after { opacity: 1; }
.ugc a:hover img { transform: scale(1.08); }

/* ---------- Newsletter band ---------- */
.cta-band { position: relative; border-radius: clamp(24px, 3vw, 40px); overflow: hidden; color: var(--cream); text-align: center; padding: clamp(60px, 9vw, 110px) var(--gutter); isolation: isolate; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(52, 20, 30, .62); }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 16px 0; }
.cta-band p { max-width: 520px; margin: 0 auto 26px; opacity: .85; }
.cta-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; background: rgba(255, 255, 255, .12); border: 1px solid var(--line-light); padding: 6px; border-radius: 999px; backdrop-filter: blur(10px); }
.cta-form input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 0 18px; color: var(--cream); }
.cta-form input::placeholder { color: rgba(249, 239, 238, .65); }

/* ---------- Footer ---------- */
.footer { padding: 0 clamp(10px, 1.6vw, 22px) clamp(10px, 1.6vw, 22px); margin-top: clamp(40px, 6vw, 80px); }
.footer__card { position: relative; overflow: hidden; background: var(--espresso); color: rgba(249, 239, 238, .78); border-radius: clamp(22px, 3vw, 36px); padding: clamp(46px, 6vw, 80px) clamp(22px, 5vw, 70px) 26px; }
.footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand p { margin: 18px 0 24px; font-size: .92rem; max-width: 340px; }
.footer h4 { font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--cream); margin-bottom: 20px; }
.footer ul { display: grid; gap: 12px; font-size: .9rem; }
.footer ul a { position: relative; transition: color .3s; }
.footer ul a:hover { color: var(--gold-soft); }
.newsletter { display: flex; border-bottom: 1px solid rgba(255, 255, 255, .25); max-width: 340px; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 12px 0; color: var(--cream); font-size: .88rem; }
.newsletter input::placeholder { color: rgba(249, 239, 238, .5); }
.newsletter button { color: var(--gold-soft); padding: 0 6px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; transition: background .3s, color .3s; }
.socials a:hover { background: var(--gold); color: var(--espresso); border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; }
.footer__watermark { font-family: var(--serif); font-size: clamp(4.6rem, 19vw, 17rem); line-height: .8; text-align: center; color: rgba(255, 255, 255, .045); margin: 30px 0 10px; letter-spacing: .02em; user-select: none; }
.footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }

/* ---------- Drawers, modal, search, toast ---------- */
.scrim { position: fixed; inset: 0; z-index: 200; background: rgba(42, 18, 24, .45); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.scrim.is-on { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 210; width: min(440px, 100%); background: var(--ivory); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .6s var(--ease); visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 1.6rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__total { display: flex; justify-content: space-between; font-size: 1.05rem; }
.ship-progress { padding: 14px 24px; background: var(--cream); font-size: .84rem; }
.ship-progress__bar { height: 4px; background: var(--linen); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.ship-progress__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--espresso)); width: 0; transition: width .6s var(--ease); }
.line-item { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); animation: paneIn .5s var(--ease); }
.line-item img { width: 84px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.line-item h4 { font-size: 1.05rem; }
.line-item__meta { font-size: .78rem; color: var(--muted); margin: 2px 0 10px; }
.line-item__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 36px; }
.qty button { width: 34px; height: 100%; font-size: 1.1rem; }
.qty span { min-width: 22px; text-align: center; font-size: .9rem; }
.remove { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.empty { text-align: center; padding: 60px 10px; color: var(--muted); display: grid; gap: 16px; justify-items: center; }
.empty svg { width: 46px; height: 46px; stroke-width: 1; color: var(--sand); }

.search { position: fixed; inset: 0 0 auto; z-index: 220; background: var(--ivory); transform: translateY(-100%); transition: transform .6s var(--ease); max-height: 100svh; overflow-y: auto; visibility: hidden; box-shadow: var(--shadow); }
.search.is-open { transform: none; visibility: visible; }
.search__inner { max-width: 1100px; margin: 0 auto; padding: 26px var(--gutter) 40px; }
.search__bar { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--espresso); padding: 10px 0; }
.search__bar input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 2.4rem); }
.search__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0; font-size: .82rem; color: var(--muted); }
.search__tags button { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); transition: background .3s; }
.search__tags button:hover { background: var(--linen); }
.search__results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-card { display: grid; gap: 8px; font-size: .88rem; }
.mini-card img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.mini-card strong { font-family: var(--serif); font-weight: 400; font-size: 1rem; }

.modal { position: fixed; inset: 0; z-index: 230; display: grid; place-items: center; padding: 16px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__card { position: relative; width: min(980px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; background: var(--ivory); border-radius: var(--radius); opacity: 0; transform: perspective(1200px) rotateX(12deg) translateY(40px) scale(.96); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.modal.is-open .modal__card { opacity: 1; transform: none; }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv__img img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.qv__body { padding: clamp(24px, 4vw, 44px); display: grid; gap: 16px; align-content: center; }
.qv__body h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; background: var(--ivory); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 140%); background: var(--espresso); color: var(--cream); padding: 14px 22px; border-radius: 999px; font-size: .88rem; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); transition: transform .5s var(--ease), opacity .4s, visibility .5s; max-width: calc(100% - 32px); opacity: 0; visibility: hidden; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast svg { color: var(--gold-soft); width: 18px; height: 18px; }

/* ---------- Custom cursor (fine pointers only) ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 400; pointer-events: none; display: none; }
.cursor span { position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid var(--gold); border-radius: 50%; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s; }
.cursor.is-hover span { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(192, 138, 114, .14); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal="flip"] { transform: perspective(1000px) rotateX(18deg) translateY(50px); transform-origin: 50% 100%; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }
html:not(.js) .split-line > span { transform: none; }

/* =========================================================
   SHOP
   ========================================================= */
.shop { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 4vw, 50px); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 28px; }
.filters h4 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 12px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .82rem; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--espresso); }
.chip.is-on { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.color-dots { display: flex; flex-wrap: wrap; gap: 10px; }
.color-dot { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--ivory); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s; }
.color-dot.is-on { box-shadow: 0 0 0 2px var(--espresso); }
.range { width: 100%; accent-color: var(--espresso); }
.range-val { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.toolbar__count { color: var(--muted); font-size: .9rem; }
.toolbar__right { display: flex; gap: 10px; align-items: center; }
.select { height: 44px; padding: 0 40px 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a1d2a' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; appearance: none; font-size: .85rem; cursor: pointer; }
.filter-toggle { display: none; }
.shop .p-grid { grid-template-columns: repeat(3, 1fr); }
.no-results { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--muted); }
.cat-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.p-grid.is-swapping .p-card { animation: cardIn .7s var(--ease) both; animation-delay: calc(var(--n, 0) * .05s); }
@keyframes cardIn { from { opacity: 0; transform: perspective(900px) rotateY(-14deg) translateY(30px); } }

/* Drop countdown */
.drop { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: clamp(24px, 3vw, 40px); overflow: hidden; background: var(--espresso); color: var(--cream); }
.drop__img { position: relative; min-height: 380px; }
.drop__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop__body { padding: clamp(36px, 5vw, 70px); display: grid; gap: 18px; align-content: center; }
.drop__body h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.countdown { display: flex; gap: 12px; }
.countdown div { min-width: 72px; padding: 14px 10px; border: 1px solid var(--line-light); border-radius: 16px; text-align: center; }
.countdown b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1; }
.countdown span { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }

/* =========================================================
   PRODUCT
   ========================================================= */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 70px); padding-top: calc(var(--header-h) + 30px); }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-self: start; }
.gallery__thumbs { display: grid; gap: 10px; align-content: start; }
.gallery__thumbs button { border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; opacity: .55; transition: opacity .3s, box-shadow .3s; }
.gallery__thumbs button.is-on { opacity: 1; box-shadow: 0 0 0 1.5px var(--espresso); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.stage3d { position: relative; perspective: 1600px; }
.stage3d__card { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--linen); transform-style: preserve-3d; transition: transform .8s var(--ease); cursor: zoom-in; }
.stage3d__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out, opacity .4s; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.stage3d__card.is-zoom img { transform: scale(2); }
.stage3d__badge { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; background: rgba(253, 248, 247, .92); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(6px); }
.pill svg { width: 16px; height: 16px; }
.pdp__info { display: grid; gap: 22px; align-content: start; }
.pdp__info h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.pdp__price { font-size: 1.4rem; }
.rating { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted); }
.opt-label { display: flex; justify-content: space-between; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.opt-label button { text-decoration: underline; text-underline-offset: 3px; letter-spacing: .1em; }
.size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn { min-width: 52px; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; transition: all .3s; font-size: .9rem; }
.size-btn:hover { border-color: var(--espresso); }
.size-btn.is-on { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.color-row { display: flex; gap: 10px; }
.buy-row { display: flex; gap: 10px; }
.buy-row .btn { flex: 1; }
.wish-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.perks div { display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: 14px; background: var(--cream); font-size: .82rem; }
.perks svg { color: var(--gold); width: 20px; height: 20px; }
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 1.3rem; font-weight: 300; transition: transform .4s var(--ease); }
.acc[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 0 20px; color: var(--muted); font-size: .94rem; }
.acc__body li { padding: 3px 0; }

/* Fabric lab (WebGL) */
.fabric-lab { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: clamp(24px, 3vw, 40px); overflow: hidden; background: radial-gradient(120% 120% at 20% 0%, #73344a, #4a1d2a 70%); color: var(--cream); }
.fabric-lab__canvas { position: relative; min-height: 420px; }
.fabric-lab__canvas canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.fabric-lab__body { padding: clamp(32px, 5vw, 64px); display: grid; gap: 18px; align-content: center; }
.fabric-lab__body h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.fabric-lab__body p { opacity: .8; }
.fabric-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.fabric-opts .chip { border-color: var(--line-light); }
.fabric-opts .chip.is-on { background: var(--cream); color: var(--espresso); }
.fabric-note { font-size: .88rem; opacity: .75; min-height: 3em; }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: rgba(253, 248, 247, .95); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 12px var(--gutter); display: none; align-items: center; gap: 12px; transform: translateY(100%); transition: transform .5s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy img { width: 44px; height: 56px; border-radius: 8px; object-fit: cover; }
.sticky-buy div { flex: 1; min-width: 0; font-size: .86rem; }
.sticky-buy strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Size finder modal */
.sf { padding: clamp(28px, 4vw, 44px); display: grid; gap: 18px; }
.sf h3 { font-size: 2rem; }
.field { display: grid; gap: 6px; }
.field label { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.field input, .field select, .field textarea { height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); outline: 0; transition: border-color .3s, box-shadow .3s; width: 100%; }
.field textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(192, 138, 114, .15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sf__result { padding: 18px; border-radius: 16px; background: var(--cream); text-align: center; }
.sf__result b { font-family: var(--serif); font-size: 2.6rem; font-weight: 400; display: block; }

/* =========================================================
   COLLECTIONS
   ========================================================= */
.coll { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(40px, 6vw, 70px) 0; }
.coll:nth-child(even) .coll__media { order: 2; }
.coll__media { position: relative; perspective: 1400px; }
.coll__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px var(--radius) var(--radius); overflow: hidden; transform-style: preserve-3d; box-shadow: var(--shadow); }
.coll__frame img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.coll__float { position: absolute; width: 38%; aspect-ratio: 3 / 4; right: -6%; bottom: -8%; border-radius: 18px; overflow: hidden; border: 6px solid var(--ivory); box-shadow: var(--shadow); transform: translateZ(80px); }
.coll:nth-child(even) .coll__float { right: auto; left: -6%; }
.coll__float img { width: 100%; height: 100%; object-fit: cover; }
.coll__num { font-family: var(--serif); font-size: clamp(4rem, 9vw, 7rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--sand); }
.coll__body h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin: 10px 0 16px; }
.coll__body p { color: var(--muted); max-width: 460px; margin-bottom: 26px; }
.coll__thumbs { display: flex; gap: 10px; margin-bottom: 28px; }
.coll__thumbs a { width: 72px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; transition: transform .4s var(--ease); }
.coll__thumbs a:hover { transform: translateY(-6px) rotate(-3deg); }
.coll__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   ABOUT
   ========================================================= */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.story__imgs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.story__imgs img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.story__imgs img:nth-child(2) { margin-top: 60px; }
.story__body h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin: 16px 0 20px; }
.story__body p { color: var(--muted); margin-bottom: 16px; }
.big-quote { font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.35; text-align: center; max-width: 980px; margin: 0 auto; }
.big-quote em { color: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--espresso); }
.stat span { font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.flip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flip { perspective: 1200px; aspect-ratio: 3 / 4; }
.flip__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.flip:hover .flip__inner, .flip:focus-within .flip__inner, .flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip__face img { width: 100%; height: 100%; object-fit: cover; }
.flip__front::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(42, 18, 24, .8)); }
.flip__front h3 { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; color: var(--cream); font-size: 1.7rem; }
.flip__back { transform: rotateY(180deg); background: var(--espresso); color: var(--cream); padding: 28px; display: grid; align-content: center; gap: 14px; }
.flip__back h3 { font-size: 1.6rem; }
.flip__back p { opacity: .8; font-size: .94rem; }
.flip__back svg { width: 36px; height: 36px; color: var(--gold-soft); }
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline__progress { position: absolute; left: 50%; top: 0; width: 1px; height: 0; background: var(--gold); }
.t-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 26px 0; }
.t-item::before { content: ''; position: absolute; left: 50%; top: 36px; width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--gold); }
.t-item:nth-child(odd) .t-item__body { grid-column: 1; text-align: right; }
.t-item:nth-child(even) .t-item__body { grid-column: 2; }
.t-item__body b { font-family: var(--serif); font-size: 2.2rem; font-weight: 400; color: var(--gold); }
.t-item__body h3 { font-size: 1.5rem; margin: 4px 0 8px; }
.t-item__body p { color: var(--muted); }

/* =========================================================
   CONTACT & CART
   ========================================================= */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.info-cards { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow-soft); transition: transform .4s var(--ease); }
.info-card:hover { transform: translateX(6px); }
.info-card__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--cream); color: var(--gold); display: grid; place-items: center; }
.info-card h4 { font-family: var(--sans); font-weight: 500; font-size: 1rem; }
.info-card p { color: var(--muted); font-size: .9rem; }
.form-card { background: var(--white); border-radius: clamp(22px, 3vw, 32px); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form-card h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.form-success { text-align: center; padding: 30px 0; display: grid; gap: 12px; justify-items: center; animation: paneIn .6s var(--ease); }
.form-success svg { width: 56px; height: 56px; color: var(--gold); }
.faq { max-width: 860px; margin: 0 auto; }
.faq .acc summary { font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.35rem); letter-spacing: 0; text-transform: none; font-weight: 400; }
.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.store { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; color: var(--cream); display: flex; align-items: flex-end; padding: 24px; isolation: isolate; }
.store img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.store::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 30%, rgba(42, 18, 24, .82)); }
.store:hover img { transform: scale(1.06); }
.store h3 { font-size: 1.7rem; }
.store p { font-size: .86rem; opacity: .8; }

.cart-page { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; padding-top: calc(var(--header-h) + 40px); }
.cart-page h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 20px; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-soft); display: grid; gap: 14px; }
.summary h3 { font-size: 1.6rem; }
.summary__row { display: flex; justify-content: space-between; font-size: .94rem; }
.summary__row.total { font-size: 1.15rem; font-weight: 500; border-top: 1px solid var(--line); padding-top: 14px; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); outline: 0; }
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-methods label { flex: 1; min-width: 110px; display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: .85rem; cursor: pointer; }
.pay-methods input { accent-color: var(--espresso); }
.cart-page .line-item { grid-template-columns: 110px 1fr; }
.cart-page .line-item img { width: 110px; }

/* 404 */
.notfound { min-height: 80svh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.notfound b { font-family: var(--serif); font-weight: 400; font-size: clamp(7rem, 26vw, 16rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--sand); display: block; }

/* =========================================================
   CHATBOT
   ========================================================= */
.chat-fab { position: fixed; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); z-index: 150; width: 62px; height: 62px; border-radius: 50%; background: var(--espresso); color: var(--cream); display: grid; place-items: center; box-shadow: 0 16px 34px -10px rgba(42, 18, 24, .55); transition: transform .5s var(--ease); }
.chat-fab:hover { transform: scale(1.08) rotate(-8deg); }
.chat-fab svg { width: 26px; height: 26px; }
.chat-fab::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.4s var(--ease) infinite; }
.chat-fab .dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ivory); }
@keyframes ping { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.chat-open .chat-fab { transform: scale(0) rotate(90deg); }
.chat-teaser { position: fixed; right: clamp(14px, 3vw, 28px); bottom: calc(clamp(14px, 3vw, 28px) + 76px); z-index: 150; max-width: 240px; background: var(--white); padding: 14px 16px; border-radius: 18px 18px 4px 18px; box-shadow: var(--shadow); font-size: .86rem; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease); pointer-events: none; }
.chat-teaser.is-on { opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }
.chat { position: fixed; right: clamp(0px, 3vw, 28px); bottom: clamp(0px, 3vw, 28px); z-index: 160; width: min(400px, 100%); height: min(640px, calc(100svh - 40px)); background: var(--ivory); border-radius: 26px; box-shadow: 0 30px 80px -20px rgba(42, 18, 24, .5); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; transform: scale(.4) translateY(40px); opacity: 0; visibility: hidden; transition: transform .6s var(--ease), opacity .4s, visibility .6s; }
.chat-open .chat { transform: none; opacity: 1; visibility: visible; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 18px 18px; background: var(--espresso); color: var(--cream); }
.chat__avatar { position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--espresso); display: grid; place-items: center; }
.chat__avatar svg { width: 26px; height: 26px; stroke: none; }
.chat__avatar::after { content: ''; position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #6fcf97; border: 2px solid var(--espresso); }
.chat__head strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
.chat__head span { font-size: .74rem; opacity: .7; }
.chat__head .icon-btn { margin-left: auto; }
.chat__msgs { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: .9rem; line-height: 1.5; animation: msgIn .45s var(--ease); white-space: pre-line; }
.msg a { text-decoration: underline; text-underline-offset: 3px; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.msg--bot { align-self: flex-start; background: var(--white); border-bottom-left-radius: 4px; box-shadow: 0 4px 14px -8px rgba(42, 18, 24, .2); }
.msg--user { align-self: flex-end; background: var(--espresso); color: var(--cream); border-bottom-right-radius: 4px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--taupe); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat__products { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; padding-bottom: 4px; align-self: stretch; scrollbar-width: thin; animation: msgIn .45s var(--ease); }
.chat__products a { flex: 0 0 128px; background: var(--white); border-radius: 14px; overflow: hidden; font-size: .76rem; box-shadow: 0 4px 14px -8px rgba(42, 18, 24, .2); }
.chat__products img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.chat__products div { padding: 8px 10px; }
.chat__products strong { display: block; font-weight: 500; line-height: 1.3; }
.chat__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.chat__quick button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .78rem; transition: background .3s, color .3s; }
.chat__quick button:hover { background: var(--espresso); color: var(--cream); }
.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.chat__form input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); outline: 0; background: var(--ivory); font-size: 16px; }
.chat__form button { width: 46px; height: 46px; border-radius: 50%; background: var(--espresso); color: var(--cream); display: grid; place-items: center; }
.chat__form button svg { width: 18px; height: 18px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .nav a { font-size: .72rem; letter-spacing: .14em; }
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .flip-grid { grid-template-columns: repeat(2, 1fr); }
  .shop { grid-template-columns: 220px 1fr; }
  .shop .p-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .nav { display: none; }
  .burger { display: block; }
  .hide-sm { display: none; }
  .hero__stage { --mw: min(40vw, 300px); }
  .hero__model { transform: translateX(-50%); }
  .hero__word { top: calc(var(--top) + var(--mh) * .42); font-size: 19vw; }
  .hero__word span { translate: none; }
  .hero__quote { display: none; }
  .hero__intro { margin-top: 40px; }
  .hero__features { grid-template-columns: 1fr 1fr; gap: 18px; padding: 20px; }
  .scroll-badge { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .welcome { grid-template-columns: 1fr; }
  .welcome__img { min-height: 320px; }
  .welcome__img::after { background: linear-gradient(180deg, transparent 55%, #5a2534); }
  .quiz { grid-template-columns: 1fr; }
  .testis { grid-template-columns: 1fr; }
  .ugc { grid-template-columns: repeat(3, 1fr); }
  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; bottom: 0; left: 0; z-index: 210; width: min(340px, 88%); background: var(--ivory); padding: 26px 24px; overflow-y: auto; transform: translateX(-100%); transition: transform .6s var(--ease); align-content: start; visibility: hidden; }
  .filters.is-open { transform: none; visibility: visible; }
  .filter-toggle { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: relative; top: 0; grid-template-columns: 1fr; }
  .gallery__thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; overflow-x: auto; scrollbar-width: none; }
  .sticky-buy { display: flex; }
  .fabric-lab { grid-template-columns: 1fr; }
  .fabric-lab__canvas { min-height: 320px; }
  .coll { grid-template-columns: 1fr; }
  .coll:nth-child(even) .coll__media { order: 0; }
  .coll__media { max-width: 520px; margin: 0 auto 30px; width: 100%; }
  .story { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .contact { grid-template-columns: 1fr; }
  .stores { grid-template-columns: 1fr; }
  .cart-page { grid-template-columns: 1fr; }
  .summary { position: static; }
  .drop { grid-template-columns: 1fr; }
  .drop__img { min-height: 300px; }
  .qv { grid-template-columns: 1fr; }
  .qv__img img { min-height: 0; aspect-ratio: 4 / 3.6; }
  .search__results { grid-template-columns: repeat(2, 1fr); }
  .timeline::before, .timeline__progress { left: 7px; }
  .t-item { grid-template-columns: 1fr; gap: 0; padding-left: 36px; }
  .t-item::before { left: 7px; }
  .t-item:nth-child(odd) .t-item__body, .t-item:nth-child(even) .t-item__body { grid-column: 1; text-align: left; }
}

@media (max-width: 640px) {
  .hero__stage { --mw: min(54vw, 320px); }
  .hero__word { font-size: 22vw; }
  .p-grid, .shop .p-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .p-card__name { font-size: .98rem; }
  .p-card__meta > span:last-child { display: none; }
  .p-card__actions { transform: none; left: auto; right: 8px; bottom: 8px; }
  .p-card__actions .btn:not(.btn--light) span { display: none; }
  .p-card__actions .btn { height: 40px; width: 40px; flex: 0 0 40px; padding: 0; border-radius: 50%; }
  .p-card__actions { gap: 6px; }
  .p-card__row { flex-direction: column; gap: 2px; }
  .hero__features { grid-template-columns: 1fr; gap: 14px; }
  .hero__intro { flex-direction: column; align-items: flex-start; }
  .cat-card__label { font-size: 1.15rem; padding: 14px 16px; }
  .promises { grid-template-columns: 1fr; gap: 26px; }
  .promise + .promise { border-left: 0; }
  .quiz__opts { grid-template-columns: 1fr; }
  .quiz__picks { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; align-items: center; }
  .flip-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .flip__back { padding: 18px; }
  .flip__back p { font-size: .82rem; }
  .flip__front h3 { font-size: 1.3rem; left: 14px; bottom: 14px; }
  .flip__back h3 { font-size: 1.2rem; }
  .perks { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .rail__track > * { flex-basis: 70vw; }
  .countdown div { min-width: 0; flex: 1; }
  .chat { right: 0; bottom: 0; width: 100%; height: 100svh; border-radius: 0; }
  .section-head--split .rail__nav { display: none; }
  .story__imgs img:nth-child(2) { margin-top: 30px; }
  .ugc { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .ugc a { border-radius: 10px; }
  .coll__float { width: 34%; right: 2%; bottom: -6%; }
  .coll:nth-child(even) .coll__float { left: 2%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__row { animation: none; }
}

/* Grid children may shrink below their content width on small screens */
.coll > *, .drop > *, .cart-page > *, .line-item > *, .contact > *, .pdp > *, .story > *, .quiz > * { min-width: 0; }
.line-item h4 { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .coll__body .btn, .drop .btn { white-space: normal; height: auto; min-height: 52px; padding: 14px 24px; text-align: center; }
  .cta-form .btn { padding: 0 16px; }
}
.drop__body, .pdp__info, .fabric-lab__body, .qv__body, .summary, .form-card, .sf, .quiz__card { grid-template-columns: minmax(0, 1fr); }
.breadcrumb { flex-wrap: wrap; }
.line-item__row > * { min-width: 0; }
@media (max-width: 640px) {
  .countdown { gap: 6px; }
  .countdown div { padding: 10px 4px; }
  .countdown b { font-size: 1.6rem; }
  .countdown span { font-size: .58rem; letter-spacing: .12em; }
}
@media (max-width: 380px) {
  .header__inner { gap: 8px; }
  .logo__word { font-size: 1.3rem; }
  .logo__mark { width: 30px; height: 30px; }
  .icon-btn, .burger { width: 38px; height: 38px; }
  .burger span:first-child { top: 14px; }
  .burger span:last-child { top: 23px; }
  .menu-open .burger span { top: 18px !important; }
  .line-item, .cart-page .line-item { grid-template-columns: 76px 1fr; gap: 12px; }
  .cart-page .line-item img, .line-item img { width: 76px; }
  .cat-card__label { font-size: 1rem; padding: 12px; }
  .cat-card__label svg { display: none; }
  .toolbar__right { flex: 1; }
  .toolbar__right .select { flex: 1; min-width: 0; }
}

/* ---------- Colour swatches & colourway preview ---------- */
.swatch { position: relative; padding: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; }
.swatch::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; }
.swatch:hover { transform: scale(1.18); }
.swatch.is-on { box-shadow: 0 0 0 1.5px var(--espresso); transform: scale(1.12); }
.swatch--static { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; cursor: default; border-width: 1px; }
.swatch--static:hover { transform: none; }
.color-dot { cursor: pointer; transition: transform .25s var(--ease), box-shadow .3s; }
.color-dot:hover { transform: scale(1.1); }
[data-tint-box], .tint-box { isolation: isolate; }
.tint-box { position: relative; display: block; border-radius: 12px; overflow: hidden; align-self: start; }
[data-tint-box] img, .tint-box img { transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
.qv__img { position: relative; overflow: hidden; }
.gallery__thumbs button { position: relative; }
.stage3d__card img { transition: transform .3s ease-out, filter .5s var(--ease); }
/* Garment recolouring in progress (first time a colourway is built) */
.is-recolouring > img { animation: recolouring 1s ease-in-out infinite alternate; }
@keyframes recolouring { to { opacity: .55; } }
.stage3d__card.is-zoom img { transform-origin: var(--zx, 50%) var(--zy, 50%) !important; }

/* Light controls sitting on wine page heroes */
.page-hero--dark .chip { border-color: var(--line-light); color: var(--cream); }
.page-hero--dark .chip:hover { border-color: var(--cream); }
.page-hero--dark .chip.is-on { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.page-hero--dark .breadcrumb a:hover { color: var(--gold-soft); }
/* Keep the chat button above the mobile sticky add-to-bag bar */
.chat-fab, .chat-teaser { transition: transform .5s var(--ease), bottom .4s var(--ease), opacity .5s; }
@media (max-width: 900px) {
  .has-sticky-buy .chat-fab { bottom: 84px; }
  .has-sticky-buy .chat-teaser { bottom: 160px; }
}
.menu-open .chat-fab, .menu-open .chat-teaser { opacity: 0; pointer-events: none; }

/* =========================================================
   TOUCH DEVICES — motion that hover would normally trigger
   ========================================================= */
@keyframes heroSway { from { transform: rotateY(-9deg) rotateX(4deg); } to { transform: rotateY(9deg) rotateX(-3deg); } }
@keyframes heroFloat { from { translate: -6px 4px; } to { translate: 6px -8px; } }
@keyframes iconTurn { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }
@media (hover: none) {
  .is-loaded .hero--auto .hero__word { animation: heroSway 7s ease-in-out 1.8s infinite alternate both; }
  .hero--auto .hero__model { animation: heroFloat 6s ease-in-out infinite alternate; }
  .tilt .tilt-glare { opacity: .55; }
  .tilt.is-touched .tilt-glare { opacity: 1; }
  .p-card__media { transition: transform .35s ease-out; will-change: transform; }
  .cat-card { transition: transform .35s ease-out, box-shadow .6s var(--ease); }
  .welcome.is-in .promise__icon { animation: iconTurn 1.4s var(--ease) both; }
  .welcome.is-in .promise:nth-child(1) .promise__icon { animation-delay: .5s; }
  .welcome.is-in .promise:nth-child(2) .promise__icon { animation-delay: .75s; }
  .welcome.is-in .promise:nth-child(3) .promise__icon { animation-delay: 1s; }
  .promise__icon:active { transform: rotateY(180deg); }
  .testi:active { transform: translateY(-6px) rotate(-.5deg); }
  .ugc a:active img { transform: scale(1.08); }
  .ugc a:active::after { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--auto .hero__word, .hero--auto .hero__model, .welcome.is-in .promise__icon { animation: none !important; }
}
@media (hover: none) {
  .p-card__actions { transform: none; }
  .stage3d__card.is-zoom { cursor: zoom-out; }
}
.pill { white-space: nowrap; }
@media (max-width: 640px) {
  .stage3d__badge { left: 10px; bottom: 10px; gap: 6px; }
  .pill { height: 34px; padding: 0 12px; font-size: .64rem; letter-spacing: .08em; }
}

/* Phones/tablets: the model covers the middle letters, so draw every letter's outline in front */
@media (max-width: 900px) {
  .hero__word--outline span:nth-child(n) { -webkit-text-stroke-color: rgba(253, 244, 243, .85); }
}
