/* =========================================================
   BEAUTY VIBES — Cosmetics & Makeup
   Black & red editorial luxury storefront
   ========================================================= */

:root {
  --black: #050505;
  --black-2: #0B0B0B;
  --gray: #151515;
  --line: #1f1f1f;
  --red: #E50914;
  --red-bright: #FF0A16;
  --burgundy: #7A0710;
  --white: #F5F3F0;
  --silver: #BDBDBD;

  --glow: 0 0 22px rgba(229, 9, 20, .55);
  --glow-sm: 0 0 12px rgba(229, 9, 20, .45);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --script: "Pinyon Script", "Brush Script MT", cursive;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1320px;
  --gutter: clamp(16px, 3vw, 40px);
  --radius: 14px;
}

@property --ang {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }
[id] { scroll-margin-top: 150px; }
@media (max-width: 900px) { [id] { scroll-margin-top: 90px; } }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.ico { width: 18px; height: 18px; flex: none; }
.ico--lg { width: 24px; height: 24px; }
.ico--xs { width: 13px; height: 13px; }

/* ---------- Image treatments ----------
   .duo      → red/black editorial duotone (campaign, category)
   .duo--soft→ natural colour graded red (models)
   .spot     → spotlight: natural centre, burgundy/black edges (products) */
.duo, .spot { position: relative; display: block; overflow: hidden; isolation: isolate; }
.duo img, .spot img { width: 100%; height: 100%; object-fit: cover; }
.duo img { filter: grayscale(1) contrast(1.2) brightness(.95); }
.duo::after, .spot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  mix-blend-mode: multiply;
}
.duo::after { background: radial-gradient(circle at 55% 40%, var(--red-bright) 0%, var(--red) 30%, var(--burgundy) 62%, #120102 100%); }
.duo--soft img { filter: grayscale(.6) sepia(.25) saturate(1.1) contrast(1.15) brightness(.85); }
.duo--soft::after { background: linear-gradient(115deg, rgba(122, 7, 16, .8), rgba(229, 9, 20, .5) 45%, rgba(40, 2, 4, .75)); }
.duo--soft::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(circle at 88% 28%, rgba(255, 10, 22, .32), transparent 48%);
  mix-blend-mode: screen;
}
.duo--dim { opacity: .22; }
/* .tone → softer: natural product colour, dark edges with a hint of burgundy */
.tone { position: relative; display: block; overflow: hidden; isolation: isolate; background: var(--black); }
.tone img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.12) brightness(.66); }
.tone::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: multiply;
  background: radial-gradient(circle at 50% 45%, #e6e1e1 0 24%, #8a7676 50%, #2e0507 80%, #070101 100%);
}
.spot img { filter: contrast(1.08) brightness(.9) saturate(.95); }
.spot::after { background: radial-gradient(circle at 50% 44%, #fff 0 26%, #c9a3a3 42%, var(--burgundy) 72%, #0a0101 100%); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font: 600 12px/1 var(--sans);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.title {
  font: 600 clamp(28px, 3.3vw, 44px)/1.15 var(--serif);
  letter-spacing: -.005em;
}
.title--sm { font-size: clamp(22px, 2vw, 28px); }
.script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--red);
  font-size: 1.45em;
  line-height: .8;
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(229, 9, 20, .35);
}
.title .script { margin-left: .12em; vertical-align: -.08em; }
.heart { color: var(--red-bright); }

.section { position: relative; padding: clamp(64px, 8vw, 104px) 0; }
.section::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(70%, 900px); height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(229, 9, 20, .7), transparent);
  box-shadow: 0 0 14px rgba(229, 9, 20, .5);
}
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head--center { justify-content: center; text-align: center; }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .7em;
  padding: 14px 30px;
  border-radius: 999px;
  font: 500 15px/1 var(--sans);
  letter-spacing: .02em;
  white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .4s var(--ease), background-position .6s var(--ease), border-color .4s;
}
.btn .ico { transition: transform .4s var(--ease); }
.btn:hover .ico, a:hover > .btn .ico, .promo:hover .btn .ico { transform: translateX(5px); }
.btn:hover { transform: scale(1.04); }
.btn--outline { border: 1.5px solid var(--red); background: rgba(5, 5, 5, .35); }
.btn--outline:hover { background: var(--red); box-shadow: var(--glow); }
.btn--solid {
  background: linear-gradient(120deg, var(--red-bright), var(--red) 45%, var(--burgundy) 100%);
  background-size: 220% 100%;
  box-shadow: 0 6px 20px rgba(229, 9, 20, .25);
}
.btn--solid:hover { background-position: 100% 0; box-shadow: var(--glow), 0 8px 26px rgba(229, 9, 20, .35); }
.btn--sm { padding: 11px 22px; font-size: 13.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--white);
  position: relative; white-space: nowrap;
}
.link-arrow .ico { transition: transform .35s var(--ease); color: var(--red); }
.link-arrow:hover { color: var(--red-bright); }
.link-arrow:hover .ico { transform: translateX(5px); }

.icon-link { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--white); transition: color .3s, transform .3s var(--ease), filter .3s; }
.icon-link:hover { color: var(--red-bright); transform: scale(1.15); filter: drop-shadow(0 0 6px rgba(255, 10, 22, .8)); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; transition: color .3s, background .3s; }
.icon-btn:hover { color: var(--red-bright); background: rgba(229, 9, 20, .1); }

.round-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1.5px solid rgba(229, 9, 20, .8);
  background: rgba(5, 5, 5, .5);
  transition: background .35s, box-shadow .35s, transform .35s var(--ease);
}
.round-btn:hover { background: var(--red); box-shadow: var(--glow); transform: scale(1.08); }
.carousel-nav { display: flex; gap: 12px; }

/* =========================================================
   LOADER + CURTAIN
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; align-content: center; gap: 26px;
  background: var(--black);
  transition: opacity .8s var(--ease), visibility 0s .8s;
}
.loader__glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 9, 20, .35), transparent 65%);
  animation: pulse 2.2s ease-in-out infinite;
}
.loader__logo { position: relative; width: 220px; height: 220px; border-radius: 50%; mix-blend-mode: screen; animation: logoGlow 2.2s ease-in-out infinite; }
.loader__bar { position: relative; width: 160px; height: 2px; background: var(--gray); overflow: hidden; border-radius: 2px; }
.loader__bar span { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--red-bright), transparent); animation: loadbar 1.4s ease-in-out infinite; }
body.is-loaded .loader { opacity: 0; visibility: hidden; }

@keyframes pulse { 0%, 100% { transform: scale(.9); opacity: .6; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes logoGlow { 0%, 100% { filter: drop-shadow(0 0 8px rgba(229, 9, 20, .4)); } 50% { filter: drop-shadow(0 0 28px rgba(255, 10, 22, .85)); } }
@keyframes loadbar { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.curtain {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background: var(--black);
  opacity: 0; transform: translateY(30px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.curtain::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--red), transparent); box-shadow: var(--glow); }
body.is-leaving .curtain { opacity: 1; transform: none; pointer-events: all; }
body.is-loaded main, body.is-loaded .footer { animation: pageIn .8s var(--ease-out) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* =========================================================
   1. UTILITY BAR
   ========================================================= */
.utility { background: var(--black); border-bottom: 1px solid var(--gray); font-size: 12.5px; color: var(--silver); }
body.is-loaded .utility { animation: dropIn .7s var(--ease-out) .1s both; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.utility__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 38px; gap: 16px; }
.utility__ship { display: flex; align-items: center; gap: 10px; color: var(--white); }
.utility__ship .ico { color: var(--red); }
.utility__points { display: flex; gap: 22px; }
.utility__points li { display: flex; align-items: center; gap: 22px; }
.utility__points li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--red); box-shadow: var(--glow-sm); }
.utility__right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.utility__currency { display: inline-flex; align-items: center; gap: 4px; margin-right: 12px; font-weight: 600; color: var(--white); font-size: 12.5px; }
.utility__currency:hover { color: var(--red-bright); }

/* =========================================================
   2–3. HEADER + NAV
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, var(--black) 0%, rgba(5, 5, 5, .92) 100%);
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.header.is-scrolled {
  background: rgba(5, 5, 5, .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: rgba(229, 9, 20, .55);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .6);
}
.header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding-block: 14px 6px;
  transition: padding .5s var(--ease);
}
.header.is-scrolled .header__inner { padding-block: 6px 0; }
.header__burger, .header__search-toggle { display: none; }
.header__logo { justify-self: center; display: block; }
.header__logo img {
  width: 110px; height: 110px; border-radius: 50%;
  mix-blend-mode: screen;
  transition: width .5s var(--ease), height .5s var(--ease), filter .5s;
}
.header__logo:hover img { filter: drop-shadow(0 0 14px rgba(229, 9, 20, .6)); }
.header.is-scrolled .header__logo img { width: 70px; height: 70px; }

.search { position: relative; max-width: 340px; width: 100%; }
.search input {
  width: 100%; height: 48px; padding: 0 58px 0 22px;
  background: rgba(21, 21, 21, .6);
  border: 1px solid rgba(229, 9, 20, .55);
  border-radius: 999px; outline: none; font-size: 13px;
  transition: border-color .35s, box-shadow .35s, background .35s;
}
.search input::placeholder { color: #8a8a8a; }
.search input:focus { border-color: var(--red-bright); box-shadow: var(--glow-sm); background: rgba(21, 21, 21, .9); }
.search button {
  position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red);
  transition: box-shadow .35s, transform .35s var(--ease);
}
.search button:hover { box-shadow: var(--glow); transform: scale(1.06); }

.header__actions { justify-self: end; display: flex; align-items: center; gap: 30px; }
.action {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 12px; color: var(--white); transition: color .3s;
}
.action .ico { transition: transform .35s var(--ease), filter .35s; }
.action:hover { color: var(--red-bright); }
.action:hover .ico { transform: scale(1.12); filter: drop-shadow(0 0 8px rgba(255, 10, 22, .7)); }
.action span em { font-style: normal; }
.count {
  position: absolute; top: -6px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--red); color: var(--white);
  font: 600 10.5px/18px var(--sans); text-align: center;
  transform: scale(0); transition: transform .35s var(--ease-out);
}
.count.has-items { transform: scale(1); }
.count--mobile { display: none; }
.action--cart.bump .ico { animation: bump .6s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.35) rotate(-8deg); } 60% { transform: scale(.95) rotate(4deg); } 100% { transform: scale(1); } }

.nav__list { display: flex; justify-content: center; gap: clamp(22px, 3.4vw, 54px); padding-block: 10px 14px; }
.nav a {
  position: relative; display: inline-block; padding: 6px 0;
  font-size: 15px; font-weight: 500; letter-spacing: .01em;
  transition: color .35s var(--ease), text-shadow .35s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--red-bright); box-shadow: var(--glow-sm);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--red-bright); text-shadow: 0 0 14px rgba(255, 10, 22, .45); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.mobile-search { display: none; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
.drawer.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px);
  display: flex; flex-direction: column; padding: 18px 24px 28px;
  background: linear-gradient(180deg, var(--black-2), var(--black));
  border-right: 1px solid rgba(229, 9, 20, .5);
  transform: translateX(-100%); transition: transform .5s var(--ease-out);
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer__head img { mix-blend-mode: screen; border-radius: 50%; }
.drawer__list li { border-bottom: 1px solid var(--gray); opacity: 0; transform: translateX(-20px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.drawer.is-open .drawer__list li { opacity: 1; transform: none; }
.drawer.is-open .drawer__list li:nth-child(n) { transition-delay: calc(var(--n, 0) * 50ms + 150ms); }
.drawer__list a { display: flex; justify-content: space-between; padding: 15px 0; font: 500 18px var(--serif); transition: color .3s, padding .3s; }
.drawer__list a:hover { color: var(--red-bright); padding-left: 6px; }
.drawer__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 14px; }
.drawer__foot .action { flex-direction: row; font-size: 14px; gap: 12px; }
.drawer__social { display: flex; gap: 8px; }

/* =========================================================
   4. HERO SLIDER
   ========================================================= */
.hero { position: relative; height: clamp(560px, 82vh, 760px); overflow: hidden; background: var(--black); border-top: 1px solid rgba(229, 9, 20, .35); }
.hero__slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; overflow: hidden;
  opacity: 0; visibility: hidden; transform: scale(1.05);
  transition: opacity 1.2s var(--ease), transform 1.6s var(--ease), visibility 0s 1.2s;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; z-index: 2; transition-delay: 0s; }
.slide__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 78% 45%, rgba(229, 9, 20, .45), transparent 70%),
    radial-gradient(ellipse 35% 70% at 15% 60%, rgba(122, 7, 16, .7), transparent 70%),
    linear-gradient(180deg, #0a0101, var(--black));
}
.slide__model, .slide__products { position: absolute; top: 0; bottom: 0; z-index: 1; }
.slide__model {
  left: 0; width: 48%;
  -webkit-mask-image: linear-gradient(90deg, #000 50%, transparent 98%);
  mask-image: linear-gradient(90deg, #000 50%, transparent 98%);
  opacity: 0; transform: translateX(-70px);
  transition: opacity 1s var(--ease) .15s, transform 1.2s var(--ease-out) .15s;
}
.slide__products {
  right: 0; width: 40%;
  -webkit-mask-image: linear-gradient(270deg, #000 45%, transparent 98%);
  mask-image: linear-gradient(270deg, #000 45%, transparent 98%);
  opacity: 0; transform: translateX(70px);
  transition: opacity 1s var(--ease) .35s, transform 1.2s var(--ease-out) .35s;
}
.slide__model img { object-position: 50% 22%; }
.slide.is-active .slide__model, .slide.is-active .slide__products { opacity: 1; transform: none; }
.slide.is-active .slide__model img, .slide.is-active .slide__products img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }

.slide::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(0deg, rgba(5, 5, 5, .85), transparent 30%), radial-gradient(ellipse 50% 70% at 50% 50%, rgba(5, 5, 5, .55), transparent 75%);
}
.slide__content { position: absolute; z-index: 4; left: 41%; top: 50%; transform: translateY(-50%); width: min(460px, 34%); }
.slide__eyebrow { font: 500 clamp(15px, 1.4vw, 19px)/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; margin-bottom: 6px; overflow: hidden; padding-bottom: 4px; }
.slide__eyebrow .w { display: inline-block; margin-right: .32em; opacity: 0; transform: translateY(110%); }
.slide.is-active .slide__eyebrow .w { animation: wordUp .8s var(--ease-out) forwards; animation-delay: calc(.45s + var(--w) * .14s); }
@keyframes wordUp { to { opacity: 1; transform: none; } }
.slide__script {
  font: 400 clamp(56px, 7vw, 104px)/1.05 var(--script);
  color: var(--red-bright);
  text-shadow: 0 0 30px rgba(229, 9, 20, .55);
  padding: .05em .15em .12em 0; margin-left: -.05em;
  clip-path: inset(-20% 100% -20% -5%);
  transition: clip-path 1.4s var(--ease) .75s;
  white-space: nowrap;
}
.slide.is-active .slide__script { clip-path: inset(-20% -10% -20% -5%); }
.slide__text, .slide__content .btn { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.slide__text { margin: 18px 0 30px; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55; color: var(--white); }
.slide.is-active .slide__text { opacity: 1; transform: none; transition-delay: 1.15s; }
.slide.is-active .slide__content .btn { opacity: 1; transform: none; transition-delay: 1.35s, 1.35s; }
.slide.is-active .slide__content .btn:hover { transform: scale(1.04); transition-delay: 0s; }

/* red light streaks (shared) */
.streaks { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; mix-blend-mode: screen; }
.streaks i {
  position: absolute; left: -25%; width: 150%; height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(255, 10, 22, .95) 45%, rgba(255, 120, 120, .9) 50%, rgba(255, 10, 22, .95) 55%, transparent 95%);
  box-shadow: 0 0 18px 3px rgba(229, 9, 20, .5);
  transform: rotate(-16deg); opacity: .5;
  animation: streak 10s ease-in-out infinite alternate;
}
.streaks i:nth-child(1) { top: 28%; height: 70px; filter: blur(26px); background: linear-gradient(90deg, transparent, rgba(229, 9, 20, .5), transparent); box-shadow: none; animation-duration: 13s; }
.streaks i:nth-child(2) { top: 58%; transform: rotate(-11deg); animation-duration: 9s; animation-delay: -3s; }
.streaks i:nth-child(3) { top: 80%; transform: rotate(-20deg); height: 1px; animation-duration: 11s; animation-delay: -6s; }
.streaks i:nth-child(4) { top: 42%; transform: rotate(-8deg); animation-duration: 15s; animation-delay: -8s; }
@keyframes streak {
  0% { translate: -10% 0; opacity: .25; }
  50% { opacity: .75; }
  100% { translate: 10% -20px; opacity: .35; }
}

.hero__arrow {
  position: absolute; z-index: 5; bottom: 28px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(245, 243, 240, .5); background: rgba(5, 5, 5, .45);
  transition: background .35s, border-color .35s, box-shadow .35s, transform .35s var(--ease);
}
.hero__arrow:hover { background: var(--red); border-color: var(--red); box-shadow: var(--glow); transform: scale(1.08); }
.hero__arrow--prev { left: var(--gutter); }
.hero__arrow--next { right: var(--gutter); }
.hero__dots { position: absolute; z-index: 5; bottom: 44px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; }
.hero__dots button { width: 9px; height: 9px; border-radius: 9px; background: rgba(245, 243, 240, .45); transition: width .5s var(--ease), background .4s, box-shadow .4s; }
.hero__dots button[aria-selected="true"] { width: 28px; background: var(--red-bright); box-shadow: var(--glow-sm); }
.hero__progress { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .06); }
.hero__progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--red); box-shadow: var(--glow-sm); }
.hero__progress span.run { animation: progress var(--dur, 7s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

/* =========================================================
   5. TRUST
   ========================================================= */
.trust { background: var(--black-2); border-block: 1px solid var(--gray); }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 28px 12px; }
.trust__item + .trust__item { border-left: 1px solid var(--gray); }
.trust__icon {
  width: 54px; height: 54px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: var(--red);
  border: 1.5px solid rgba(229, 9, 20, .6);
  background: radial-gradient(circle, rgba(229, 9, 20, .15), transparent 70%);
  transition: transform .45s var(--ease), box-shadow .45s, color .3s;
}
.trust__icon .ico { width: 24px; height: 24px; }
.trust__item:hover .trust__icon { transform: scale(1.12); box-shadow: var(--glow); color: var(--red-bright); }
.trust__item strong { display: block; font: 600 15px/1.3 var(--sans); }
.trust__item span:not(.trust__icon) { font-size: 13px; color: var(--silver); }

/* =========================================================
   6. CATEGORIES
   ========================================================= */
.categories { overflow: hidden; }
.categories__bg { position: absolute; inset: -18% 0; z-index: 0; pointer-events: none; }
.categories__bg img { will-change: transform; }
.categories::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, var(--black) 0%, rgba(5, 5, 5, .55) 40%, rgba(5, 5, 5, .7) 70%, var(--black) 100%); }
.categories .container { position: relative; z-index: 1; }
.cat-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2.4vw, 36px); }
.cat { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 8px 10px; border-radius: 20px; }
.cat::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: radial-gradient(circle at 50% 38%, rgba(229, 9, 20, .18), transparent 62%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.cat__ring {
  position: relative; width: min(190px, 100%); aspect-ratio: 1; border-radius: 50%; padding: 6px;
  border: 1.5px solid rgba(229, 9, 20, .85);
  box-shadow: 0 0 16px rgba(229, 9, 20, .3), inset 0 0 12px rgba(229, 9, 20, .18);
  transition: transform .7s var(--ease), box-shadow .5s var(--ease);
}
.cat__ring::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px dashed rgba(229, 9, 20, .45);
  transition: transform 1.2s var(--ease), border-color .5s;
}
.cat__img { width: 100%; height: 100%; border-radius: 50%; }
.cat__img img { transition: transform .9s var(--ease); }
.cat__title { margin-top: 22px; font: 500 16px/1.3 var(--sans); transition: transform .5s var(--ease), color .35s; }
.cat__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--red-bright); opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.cat:hover::before, .cat:focus-visible::before { opacity: 1; }
.cat:hover .cat__ring, .cat:focus-visible .cat__ring { transform: rotate(-6deg) scale(1.03); box-shadow: 0 0 34px rgba(255, 10, 22, .75), inset 0 0 26px rgba(229, 9, 20, .55); }
.cat:hover .cat__ring::before { transform: rotate(80deg); border-color: rgba(255, 10, 22, .8); }
.cat:hover .cat__img img { transform: scale(1.14) rotate(6deg); }
.cat:hover .cat__title { transform: translateY(-6px); }
.cat:hover .cat__cta, .cat:focus-visible .cat__cta { opacity: 1; transform: none; }
@media (hover: none) { .cat__cta { opacity: 1; transform: none; } }

/* =========================================================
   7–8. PROMOS
   ========================================================= */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: clamp(64px, 7vw, 96px); }
.promo {
  position: relative; min-height: 280px; overflow: hidden; border-radius: var(--radius);
  display: flex; align-items: center;
  border: 1px solid rgba(229, 9, 20, .55);
  background: linear-gradient(90deg, #120203, var(--black) 70%);
  box-shadow: 0 0 0 rgba(229, 9, 20, 0);
  transition: box-shadow .5s var(--ease), border-color .5s;
}
.promo:hover { border-color: var(--red-bright); box-shadow: 0 0 34px rgba(229, 9, 20, .35); }
.promo__media { position: absolute; left: 0; top: 0; bottom: 0; width: 60%; -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent); mask-image: linear-gradient(90deg, #000 45%, transparent); }
.promo__media img { animation: slowZoom 16s ease-in-out infinite alternate; transition: transform 1.2s var(--ease); }
.promo__media img.float { animation: floatUp 7s ease-in-out infinite; }
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes floatUp { 0%, 100% { transform: scale(1.08) translateY(6px); } 50% { transform: scale(1.08) translateY(-10px); } }
.promo__content { position: relative; z-index: 3; margin-left: 52%; padding: 28px 28px 28px 0; display: flex; flex-direction: column; align-items: flex-start; }
.promo__kicker { font: 600 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--red-bright); }
.promo__title { margin-top: 10px; font: 500 clamp(26px, 2.6vw, 36px)/1.1 var(--serif); text-transform: uppercase; letter-spacing: .03em; }
.promo__script { margin: 6px 0 20px; font: 400 clamp(20px, 1.8vw, 26px)/1.2 var(--script); color: var(--red); white-space: nowrap; }

.light-sweep {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 10, 22, .32) 48%, rgba(255, 170, 170, .15) 50%, rgba(255, 10, 22, .32) 52%, transparent 65%);
  background-size: 300% 100%;
  animation: sweep 7s ease-in-out infinite;
}
@keyframes sweep { 0% { background-position: 120% 0; } 60%, 100% { background-position: -40% 0; } }

/* Particles (generated by JS) */
.particles { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.particles i {
  position: absolute; bottom: -10px; left: var(--x);
  width: var(--s); height: var(--s); border-radius: 50%;
  background: var(--red-bright); box-shadow: 0 0 8px 2px rgba(255, 10, 22, .7);
  opacity: 0;
  animation: rise var(--t) linear var(--dl) infinite;
}
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; }
  12% { opacity: var(--o, .8); }
  85% { opacity: var(--o, .8); }
  100% { transform: translate(var(--dx), calc(var(--rise, 500px) * -1)); opacity: 0; }
}

/* =========================================================
   9. BRANDS
   ========================================================= */
.brands { position: relative; background: linear-gradient(90deg, var(--black-2), #0d0203 60%, var(--black-2)); border-block: 1px solid var(--gray); overflow: hidden; }
.brands::after { content: ""; position: absolute; right: -60px; top: -40px; width: 340px; height: 2px; transform: rotate(-24deg); background: linear-gradient(90deg, transparent, var(--red-bright)); box-shadow: var(--glow); }
.brands__inner { display: flex; align-items: center; gap: 36px; padding-block: 30px; }
.brands__head { flex: none; }
.brands__head .eyebrow { margin-bottom: 8px; }
.marquee {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 64px; width: max-content; padding-block: 12px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand {
  flex: none; color: var(--silver); cursor: pointer; line-height: 1; white-space: nowrap;
  transition: color .35s, transform .35s var(--ease), text-shadow .35s;
}
.brand:hover { color: var(--red-bright); transform: scale(1.05); text-shadow: 0 0 16px rgba(255, 10, 22, .7); }
.brand small, .brand b { display: block; }
.brand--mac { font: 700 32px var(--sans); letter-spacing: .28em; }
.brand--nars { font: 300 38px var(--sans); letter-spacing: .04em; transform-origin: center; }
.brand--huda { font: 500 18px var(--sans); letter-spacing: .12em; display: flex; gap: 4px; }
.brand--huda b { display: inline; font-weight: 300; }
.brand--ordinary { font: 600 24px var(--sans); letter-spacing: -.01em; }
.brand--ordinary small { font-size: 11px; font-weight: 600; margin-bottom: 1px; }
.brand--ysl { font: 700 italic 38px var(--serif); letter-spacing: -.04em; }
.brand--lancome { font: 400 22px var(--serif); letter-spacing: .14em; text-align: center; }
.brand--lancome small { font: 500 8px var(--sans); letter-spacing: .5em; margin-top: 4px; }
.brand--estee { font: 400 18px var(--serif); letter-spacing: .24em; }
.brand--clinique { font: 400 20px var(--sans); letter-spacing: .32em; }
.brands__all { flex: none; }

/* =========================================================
   10. PRODUCTS
   ========================================================= */
.products, .review-track {
  display: grid; grid-auto-flow: column; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 14px 4px 30px; margin: -14px -4px -30px;
}
.products::-webkit-scrollbar, .review-track::-webkit-scrollbar { display: none; }
.products { grid-auto-columns: calc((100% - 4 * 20px) / 5); }

.card {
  position: relative; scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #121212, var(--black-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 62%, var(--red-bright) 80%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s;
}
.card:hover { transform: translateY(-9px); border-color: rgba(229, 9, 20, .45); box-shadow: 0 22px 44px rgba(0, 0, 0, .65), 0 0 30px rgba(229, 9, 20, .22); }
.card:hover::before { opacity: 1; animation: spin 3.2s linear infinite; }
@keyframes spin { to { --ang: 360deg; } }

.card__media { position: relative; padding: 14px 14px 30px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(229, 9, 20, .16), transparent 70%); }
.card__img {
  aspect-ratio: 1; border-radius: 10px;
  -webkit-box-reflect: below 4px linear-gradient(transparent 80%, rgba(255, 255, 255, .16));
  transition: transform .7s var(--ease);
}
.card__img img { transition: transform .8s var(--ease); }
.card:hover .card__img { transform: translateY(-6px) scale(1.02); }
.card:hover .card__img img { transform: scale(1.08); }
.badge { position: absolute; z-index: 3; top: 24px; left: 24px; padding: 4px 10px; border-radius: 999px; background: var(--red); font: 600 11px/1.4 var(--sans); box-shadow: var(--glow-sm); }
.badge--new { background: var(--black); border: 1px solid var(--red-bright); color: var(--red-bright); box-shadow: none; }
.wish {
  position: absolute; z-index: 3; top: 22px; right: 22px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(5, 5, 5, .65); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: color .3s, border-color .3s, transform .35s var(--ease), box-shadow .3s;
}
.wish:hover, .card:hover .wish { color: var(--red-bright); border-color: rgba(229, 9, 20, .6); }
.wish.is-on { color: var(--red-bright); --heart-fill: var(--red-bright); border-color: var(--red); box-shadow: var(--glow-sm); }
.wish.pop { animation: heartPop .6s var(--ease-out); }
@keyframes heartPop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 65% { transform: scale(.9); } 100% { transform: scale(1); } }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 4px 16px 16px; }
.card__brand { font: 600 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--silver); }
.card__name { margin: 6px 0 8px; font: 500 14.5px/1.35 var(--sans); min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rating { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #8f8f8f; }
.stars {
  font-size: 14px; letter-spacing: 2px;
  background: linear-gradient(90deg, var(--red-bright) calc(var(--r) / 5 * 100%), #3a3a3a 0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 10px 0 14px; }
.price strong { font: 600 17px var(--sans); }
.price s { font-size: 12.5px; color: #8a8a8a; }
.btn-cart {
  margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; border-radius: 9px; background: var(--red); font: 500 13.5px var(--sans);
  transition: background .35s, box-shadow .35s, letter-spacing .4s var(--ease), transform .4s var(--ease);
}
.btn-cart:hover, .card:hover .btn-cart { background: var(--red-bright); box-shadow: var(--glow); letter-spacing: .05em; }
.btn-cart:active { transform: scale(.97); }
.btn-cart.is-added { background: var(--gray); box-shadow: inset 0 0 0 1px var(--red); color: var(--white); }

/* =========================================================
   11. EDITORIAL
   ========================================================= */
.editorial {
  position: relative; display: grid; grid-template-columns: 44% 56%; align-items: center;
  min-height: clamp(520px, 72vh, 700px); overflow: hidden;
  background: radial-gradient(ellipse 50% 70% at 20% 50%, rgba(122, 7, 16, .45), transparent 70%), var(--black);
  border-block: 1px solid rgba(229, 9, 20, .3);
}
.editorial__text { position: relative; z-index: 3; padding: 60px var(--gutter) 60px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.editorial__title { font: 600 clamp(40px, 5vw, 76px)/1.02 var(--serif); letter-spacing: -.01em; }
.editorial__quote { margin: 24px 0 36px; font: italic 400 clamp(18px, 1.6vw, 22px)/1.5 var(--serif); color: var(--silver); max-width: 26ch; }
.editorial__quote .script { font-style: normal; font-size: 1.5em; display: inline-block; }
.editorial__visual { position: relative; align-self: stretch; }
.editorial__img {
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
  mask-image: linear-gradient(90deg, transparent, #000 30%);
}
.editorial__img img, .campaign--look .campaign__media img { transform: scale(var(--s, 1)); transition: transform .2s linear; }
.satin { position: absolute; left: -12%; right: 30%; bottom: -8%; height: 55%; z-index: 2; pointer-events: none; mix-blend-mode: screen; }
.satin span {
  position: absolute; inset: 0; border-radius: 50%;
  background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(229, 9, 20, .35) 34px, rgba(255, 80, 80, .5) 38px, rgba(122, 7, 16, .4) 46px, transparent 64px);
  filter: blur(14px);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 60%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 60%, #000 30%, transparent 75%);
  animation: satin 12s ease-in-out infinite alternate;
}
.satin span:nth-child(2) { animation-duration: 16s; animation-delay: -5s; opacity: .7; transform: rotate(8deg); }
.satin span:nth-child(3) { animation-duration: 20s; animation-delay: -9s; opacity: .5; }
@keyframes satin {
  0% { transform: skewY(-5deg) translateX(-4%) rotate(-2deg); }
  100% { transform: skewY(5deg) translateX(4%) rotate(3deg); }
}

/* =========================================================
   12. SPLIT SKINCARE
   ========================================================= */
.split { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: clamp(460px, 70vh, 640px); border-bottom: 1px solid rgba(229, 9, 20, .35); }
.split__half { position: relative; overflow: hidden; }
.split__half > span { position: absolute; inset: 0; }
.split__half img { transition: transform 1.4s var(--ease); }
.split__half:hover img { transform: scale(1.07); }
.split__half::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: screen; }
.split__half--model::after { background: linear-gradient(270deg, rgba(255, 10, 22, .55), transparent 14%), linear-gradient(0deg, rgba(5, 5, 5, .7), transparent 40%); }
.split__half--products::after { background: linear-gradient(90deg, rgba(255, 10, 22, .55), transparent 14%), linear-gradient(0deg, rgba(5, 5, 5, .7), transparent 40%); }
.split__content {
  position: absolute; z-index: 4; left: 50%; top: 50%; translate: -50% -50%;
  width: min(420px, 88%); padding: 40px 36px; text-align: center;
  background: rgba(5, 5, 5, .62); border: 1px solid rgba(229, 9, 20, .55); border-radius: 18px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 0 50px rgba(229, 9, 20, .25);
}
.split__title { font: 600 clamp(38px, 4.4vw, 60px)/1 var(--serif); letter-spacing: .06em; text-transform: uppercase; }
.split__script { font-size: clamp(30px, 3vw, 42px); margin: 10px 0 26px; }

/* =========================================================
   13–15. CAMPAIGNS
   ========================================================= */
.campaign { position: relative; display: flex; align-items: center; min-height: clamp(480px, 74vh, 700px); overflow: hidden; border-bottom: 1px solid rgba(229, 9, 20, .3); }
.campaign__media { position: absolute; inset: -10% 0; z-index: 0; }
.campaign__media img { will-change: transform; }
.campaign::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(5, 5, 5, .95) 0%, rgba(5, 5, 5, .7) 32%, rgba(5, 5, 5, .1) 70%), linear-gradient(0deg, rgba(5, 5, 5, .6), transparent 30%); }
.campaign__content { position: relative; z-index: 4; }
.campaign__content > * { max-width: 520px; }
.campaign__content--right { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.campaign__title { font: 600 clamp(40px, 5.4vw, 78px)/1 var(--serif); text-transform: uppercase; letter-spacing: .03em; }
.campaign__script { font-size: clamp(34px, 3.6vw, 52px); margin: 10px 0 18px; display: block; }
.campaign__text { margin: 16px 0 32px; font-size: clamp(15px, 1.3vw, 18px); color: var(--silver); }

.campaign--fragrance .campaign__media img { object-position: 70% 50%; }
.spotlight {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(ellipse 22% 70% at 70% -5%, rgba(255, 235, 235, .22), transparent 70%);
  animation: flicker 6s ease-in-out infinite;
}
@keyframes flicker { 0%, 100% { opacity: .85; } 50% { opacity: 1; } 70% { opacity: .75; } }

.campaign--hair::before { background: linear-gradient(270deg, rgba(5, 5, 5, .95) 0%, rgba(5, 5, 5, .7) 32%, rgba(5, 5, 5, .1) 70%), linear-gradient(0deg, rgba(5, 5, 5, .6), transparent 30%); }
.campaign--hair .campaign__media img { object-position: 30% 50%; }
.hair-lights { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.hair-lights path {
  fill: none; stroke: var(--red-bright); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 380 1400; opacity: .7;
  filter: drop-shadow(0 0 6px rgba(255, 10, 22, .9));
  animation: hairFlow 9s linear infinite;
}
.hair-lights path:nth-child(2) { animation-duration: 12s; animation-delay: -4s; opacity: .45; stroke-width: 1.2; }
.hair-lights path:nth-child(3) { animation-duration: 10s; animation-delay: -7s; opacity: .55; }
.hair-lights path:nth-child(4) { animation-duration: 14s; animation-delay: -2s; opacity: .35; stroke-width: 1; }
@keyframes hairFlow { from { stroke-dashoffset: 1780; } to { stroke-dashoffset: 0; } }

.campaign--look { min-height: clamp(520px, 86vh, 820px); }
.campaign--look .campaign__media { inset: 0; }
.campaign--look .campaign__media img { object-position: 60% 30%; }
.look__title { font: 700 clamp(48px, 8.4vw, 132px)/.95 var(--serif); text-transform: uppercase; letter-spacing: -.01em; }
.look__title span { display: block; }
.look__title span + span { color: var(--red-bright); text-shadow: 0 0 40px rgba(229, 9, 20, .5); }
.campaign--look .campaign__text { font: italic 400 clamp(18px, 1.8vw, 24px) var(--serif); color: var(--white); }
.streaks--slow i { animation-duration: 18s; }

/* =========================================================
   16. SHOWCASE
   ========================================================= */
.showcase { overflow: hidden; background: radial-gradient(ellipse 50% 50% at 50% 55%, rgba(122, 7, 16, .35), transparent 70%), var(--black); }
.showcase__stage { position: relative; height: 640px; max-width: 1000px; margin: 0 auto; }
.showcase__halo { position: absolute; left: 50%; top: 46%; width: 520px; height: 520px; translate: -50% -50%; border-radius: 50%; border: 1px dashed rgba(229, 9, 20, .35); animation: rotate 60s linear infinite; }
.showcase__halo::before { content: ""; position: absolute; inset: 60px; border-radius: 50%; border: 1px solid rgba(229, 9, 20, .2); }
.showcase__halo::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--red-bright); box-shadow: var(--glow); }
@keyframes rotate { to { transform: rotate(360deg); } }
.showcase__center {
  position: absolute; left: 50%; top: 46%; width: 300px; height: 300px; translate: -50% -50%;
  border-radius: 50%; border: 2px solid var(--red);
  box-shadow: 0 0 60px rgba(229, 9, 20, .45), inset 0 0 30px rgba(229, 9, 20, .4);
  animation: floaty 7s ease-in-out infinite;
}
.showcase__center.duo, .showcase__center { overflow: visible; }
.showcase__center img { border-radius: 50%; }
.showcase__center::after { border-radius: 50%; }
.showcase__label { position: absolute; z-index: 3; left: 50%; bottom: -54px; translate: -50% 0; font: 400 38px/1 var(--script); color: var(--red-bright); white-space: nowrap; text-shadow: var(--glow); }

.orbit { position: absolute; left: var(--x); top: var(--y); width: 132px; margin: -66px 0 0 -66px; z-index: 5; animation: floaty 6s ease-in-out infinite var(--d); outline: none; }
.orbit--1 { --x: 14%; --y: 16%; }
.orbit--2 { --x: 86%; --y: 14%; }
.orbit--3 { --x: 92%; --y: 64%; }
.orbit--4 { --x: 8%; --y: 66%; }
.orbit--5 { --x: 50%; --y: 92%; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.orbit__img {
  width: 132px; height: 132px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .6);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.orbit:hover .orbit__img, .orbit:focus-within .orbit__img { transform: scale(1.14); border-color: var(--red-bright); box-shadow: 0 0 0 2px var(--red-bright), 0 0 36px rgba(255, 10, 22, .65); }
.tip {
  position: absolute; left: 50%; bottom: calc(100% + 14px); width: 190px; padding: 14px 16px;
  translate: -50% 8px; opacity: 0; visibility: hidden;
  text-align: center; border-radius: 12px;
  background: rgba(11, 11, 11, .9); border: 1px solid rgba(229, 9, 20, .6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .6), var(--glow-sm);
  transition: opacity .35s var(--ease), translate .35s var(--ease), visibility 0s .35s;
}
.tip::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }
.tip strong { display: block; font: 600 14px var(--sans); }
.tip span { display: block; margin: 2px 0 10px; color: var(--red-bright); font-weight: 600; font-size: 14px; }
.tip__btn { width: 100%; padding: 8px 0; border-radius: 8px; background: var(--red); font-size: 12.5px; font-weight: 500; transition: background .3s, box-shadow .3s; }
.tip__btn:hover { background: var(--red-bright); box-shadow: var(--glow-sm); }
.tip__btn.is-added { background: var(--gray); box-shadow: inset 0 0 0 1px var(--red); }
.orbit:hover .tip, .orbit:focus-within .tip { opacity: 1; visibility: visible; translate: -50% 0; transition-delay: 0s; }
.orbit:hover, .orbit:focus-within { z-index: 8; animation-play-state: paused; }

/* =========================================================
   17. REVIEWS
   ========================================================= */
.review-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
.review {
  position: relative; scroll-snap-align: start; padding: 34px 30px 28px;
  background: linear-gradient(160deg, #130304, var(--black-2) 45%);
  border: 1px solid var(--line); border-radius: 18px;
  transition: border-color .4s, box-shadow .4s, transform .5s var(--ease);
}
.review:hover { border-color: rgba(229, 9, 20, .5); box-shadow: 0 0 30px rgba(229, 9, 20, .18); transform: translateY(-6px); }
.review__quote { position: absolute; top: 24px; right: 26px; width: 42px; height: 42px; color: rgba(229, 9, 20, .25); }
.review__stars { display: flex; gap: 4px; margin-bottom: 16px; font-size: 18px; color: var(--red-bright); }
.review__stars i { font-style: normal; display: inline-block; opacity: 0; transform: scale(.2) rotate(-40deg); }
.review__stars i.off { color: #3a3a3a; }
.review.is-visible .review__stars i, .no-reveal .review__stars i { animation: starPop .5s var(--ease-out) forwards; }
.review__stars i:nth-child(1) { animation-delay: .35s; }
.review__stars i:nth-child(2) { animation-delay: .45s; }
.review__stars i:nth-child(3) { animation-delay: .55s; }
.review__stars i:nth-child(4) { animation-delay: .65s; }
.review__stars i:nth-child(5) { animation-delay: .75s; }
@keyframes starPop { to { opacity: 1; transform: none; } }
.review p { font: italic 400 16px/1.7 var(--serif); color: #e2dfdb; min-height: 7em; }
.review footer { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--gray); }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 600 14px var(--sans); background: linear-gradient(135deg, var(--red-bright), var(--burgundy)); box-shadow: var(--glow-sm); }
.review footer strong { display: block; font-size: 14.5px; font-weight: 600; }
.review footer small { color: #8f8f8f; font-size: 12px; }

/* =========================================================
   18. NEWSLETTER
   ========================================================= */
.newsletter {
  position: relative; overflow: hidden; padding: clamp(72px, 9vw, 120px) 0;
  background: radial-gradient(ellipse 60% 90% at 50% 100%, rgba(229, 9, 20, .55), transparent 70%), linear-gradient(180deg, var(--black), #1a0205 60%, var(--burgundy));
  border-block: 1px solid rgba(229, 9, 20, .6);
}
.newsletter__inner { position: relative; z-index: 3; text-align: center; }
.newsletter__text { margin: 14px auto 34px; max-width: 520px; color: #dcd6d0; font-size: 16px; }
.subscribe { display: flex; max-width: 560px; margin: 0 auto; padding: 6px; border-radius: 999px; background: rgba(5, 5, 5, .7); border: 1px solid rgba(229, 9, 20, .6); transition: box-shadow .35s, border-color .35s; }
.subscribe:focus-within { border-color: var(--red-bright); box-shadow: var(--glow); }
.subscribe input { flex: 1; min-width: 0; padding: 0 22px; background: none; border: 0; outline: none; }
.subscribe input::placeholder { color: #8f8f8f; }

/* =========================================================
   19. FOOTER
   ========================================================= */
.footer { background: linear-gradient(180deg, var(--black), var(--black-2)); padding-top: 70px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.5fr; gap: 36px; padding-bottom: 50px; }
.footer__brand img { width: 170px; height: 170px; border-radius: 50%; mix-blend-mode: screen; margin: -18px 0 8px -14px; }
.footer__brand p { color: var(--silver); font-size: 13.5px; max-width: 30ch; }
.footer__brand .script { display: block; font-size: 30px; margin-top: 10px; line-height: 1.2; }
.footer h3 { font: 600 15px var(--sans); margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { position: relative; font-size: 13.5px; color: var(--silver); transition: color .3s, padding .35s var(--ease); }
.footer__col a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--red-bright); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.footer__col a:hover { color: var(--red-bright); padding-left: 4px; }
.footer__col a:hover::after { transform: scaleX(1); }
.footer__news p { font-size: 13.5px; color: var(--silver); margin-bottom: 16px; }
.mini-subscribe { position: relative; margin-bottom: 20px; }
.mini-subscribe input { width: 100%; height: 48px; padding: 0 56px 0 20px; border-radius: 999px; background: var(--gray); border: 1px solid #262626; outline: none; font-size: 13px; transition: border-color .3s, box-shadow .3s; }
.mini-subscribe input:focus { border-color: var(--red); box-shadow: var(--glow-sm); }
.mini-subscribe button { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--red); transition: box-shadow .3s, transform .3s var(--ease); }
.mini-subscribe button:hover { box-shadow: var(--glow); transform: translateX(3px); }
.footer__social { display: flex; gap: 10px; }
.footer__social .icon-link { width: 38px; height: 38px; border: 1px solid #262626; }
.footer__social .icon-link:hover { border-color: var(--red); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--gray); font-size: 12.5px; color: #8f8f8f; }
.footer__tags i { font-style: normal; color: var(--red); margin: 0 6px; }

/* Back to top + toast */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); box-shadow: var(--glow);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .4s, transform .4s var(--ease), visibility 0s .4s;
}
.to-top .ico { transform: rotate(-90deg); }
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--red-bright); transform: translateY(-3px); }
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 120;
  display: flex; align-items: center; gap: 10px; padding: 13px 22px;
  border-radius: 999px; background: rgba(11, 11, 11, .95); border: 1px solid var(--red);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .6), var(--glow-sm); font-size: 14px;
  translate: -50% 30px; opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), translate .4s var(--ease), visibility 0s .4s;
}
.toast .ico { color: var(--red-bright); }
.toast.is-shown { translate: -50% 0; opacity: 1; visibility: visible; transition-delay: 0s; }

/* =========================================================
   REVEAL SYSTEM (IntersectionObserver)
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transition: opacity .8s var(--ease), transform .9s var(--ease-out), filter .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}
[data-reveal="up"] { transform: translateY(44px); }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="scale"] { transform: scale(.9); }
[data-reveal="blur"] { filter: blur(16px); transform: scale(1.04); }
[data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

/* pause looping animations in off-screen sections */
.zone:not(.in-view) *, .zone:not(.in-view)::before, .zone:not(.in-view)::after { animation-play-state: paused !important; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .products { grid-auto-columns: calc((100% - 3 * 20px) / 4); }
  .brands__all { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand, .footer__news { grid-column: span 3; }
  .footer__news { max-width: 460px; }
}

@media (max-width: 1024px) {
  .header__actions { gap: 20px; }
  .nav__list { gap: 24px; }
  .slide__content { left: 38%; width: 40%; }
  .products { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .review-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .brands__inner { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; }
  .editorial { grid-template-columns: 1fr; }
  .editorial__text { padding: 70px var(--gutter) 40px; order: 1; text-align: center; }
  .editorial__quote { margin-inline: auto; }
  .editorial__visual { height: 460px; }
  .editorial__img { -webkit-mask-image: linear-gradient(0deg, #000 70%, transparent); mask-image: linear-gradient(0deg, #000 70%, transparent); }
  .showcase__stage { height: 600px; }
  .orbit--1 { --x: 12%; } .orbit--2 { --x: 88%; }
}

@media (max-width: 900px) {
  .utility__points, .utility__right { display: none; }
  .utility__inner { grid-template-columns: 1fr; justify-items: center; min-height: 34px; }

  .header__inner { grid-template-columns: auto 1fr auto; padding-block: 8px; gap: 8px; }
  .header.is-scrolled .header__inner { padding-block: 4px; }
  .header__burger, .header__search-toggle { display: inline-grid; }
  .header > .header__inner > .search { display: none; }
  .header__logo img, .header.is-scrolled .header__logo img { width: 66px; height: 66px; }
  .header__actions { gap: 2px; }
  .header__actions .action:not(.action--cart) { display: none; }
  .action--cart { width: 42px; height: 42px; justify-content: center; }
  .action--cart span { display: none; }
  .count--mobile { display: block; top: 0; right: 0; }
  .nav { display: none; }
  .mobile-search { display: block; max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
  .header.search-open .mobile-search { max-height: 80px; }
  .search--mobile { max-width: none; padding: 4px var(--gutter) 14px; }
  .search--mobile button { right: calc(var(--gutter) + 4px); }

  .hero { height: clamp(600px, 86svh, 820px); }
  .slide__model { width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 88%); mask-image: linear-gradient(180deg, #000 45%, transparent 88%); }
  .slide__products { width: 58%; top: auto; height: 46%; -webkit-mask-image: radial-gradient(ellipse at 75% 70%, #000 35%, transparent 72%); mask-image: radial-gradient(ellipse at 75% 70%, #000 35%, transparent 72%); }
  .slide::after { background: linear-gradient(0deg, rgba(5, 5, 5, .95) 8%, rgba(5, 5, 5, .5) 45%, transparent 70%); }
  .slide__content { left: var(--gutter); right: var(--gutter); top: auto; bottom: 92px; width: auto; transform: none; }
  .slide__text { margin: 10px 0 22px; }
  .hero__arrow { display: none; }
  .hero__dots { bottom: 40px; }

  .trust__list { grid-template-columns: 1fr 1fr; }
  .trust__item { justify-content: flex-start; padding: 20px 8px; gap: 12px; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n + 3) { border-top: 1px solid var(--gray); }
  .trust__icon { width: 44px; height: 44px; }

  .cat-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .cat-list::-webkit-scrollbar { display: none; }
  .cat-list li { flex: 0 0 min(40%, 170px); scroll-snap-align: start; }

  .promos { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr 1fr; height: auto; }
  .split__half { height: 300px; }
  .split__content { position: relative; left: auto; top: auto; translate: none; grid-column: span 2; width: auto; margin: -70px var(--gutter) 40px; }

  .campaign::before, .campaign--hair::before { background: linear-gradient(0deg, rgba(5, 5, 5, .96) 10%, rgba(5, 5, 5, .55) 55%, rgba(5, 5, 5, .15)); }
  .campaign { align-items: flex-end; padding-bottom: 56px; }
  .campaign__content--right { align-items: flex-start; text-align: left; }

  .showcase__stage { height: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 12px; padding-top: 10px; }
  .showcase__halo { display: none; }
  .showcase__center { position: relative; left: auto; top: auto; translate: none; grid-column: 1 / -1; justify-self: center; width: min(260px, 70vw); height: auto; aspect-ratio: 1; margin-bottom: 50px; }
  .orbit { position: relative; left: auto; top: auto; margin: 0; width: auto; display: flex; flex-direction: column; align-items: center; animation: none; }
  .orbit__img { width: min(104px, 26vw); height: min(104px, 26vw); }
  .tip { position: static; translate: none; opacity: 1; visibility: visible; width: 100%; margin-top: 12px; padding: 10px 8px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tip strong { font-size: 13px; }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .section-head { align-items: flex-start; }
  .bestsellers .carousel-nav { display: none; }
  .products { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; gap: 12px; overflow: visible; padding: 0; margin: 0; }
  .card__media { padding: 10px 10px 22px; }
  .badge { top: 18px; left: 18px; font-size: 10px; }
  .wish { top: 16px; right: 16px; width: 32px; height: 32px; }
  .card__body { padding: 2px 10px 12px; }
  .card__name { font-size: 13px; }
  .rating span:last-child { display: none; }
  .price strong { font-size: 15px; }
  .btn-cart { height: 40px; font-size: 12.5px; }
  .review-track { grid-auto-columns: 88%; }
  .promo { min-height: 240px; }
  .promo__media { width: 72%; }
  .promo__content { margin-left: 44%; padding: 22px 18px 22px 0; }
  .promo__script { white-space: normal; }
  .brands .marquee__track { gap: 44px; animation-duration: 28s; }
  .btn { padding: 13px 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer__brand, .footer__news { grid-column: span 2; }
  .footer__bottom { justify-content: center; text-align: center; }
  .showcase__stage { grid-template-columns: 1fr 1fr; }
  .orbit--5 { grid-column: 1 / -1; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .streaks, .particles, .light-sweep, .hair-lights, .satin { display: none; }
  .marquee__track { animation: none !important; flex-wrap: wrap; justify-content: center; width: auto; }
  .review__stars i { opacity: 1; transform: none; }
}
