@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..700;1,6..96,400..700&family=Hanken+Grotesk:wght@400..700&display=swap");
/* RANG · matte lipstick launch (root .vxs-rang, prefix rg-). Desktop first; phone rules at the end.
   --sh and --soft are the current shade; the script tweens them when the shade changes. */
.vxs-rang, .kui-rang {
  --bg: #f6ebe6; --paper: #fbf5f2; --ink: #2a0e13; --mu: #7d5f60; --line: rgba(42, 14, 19, 0.16); --sh: #9b1b30; --soft: #f3dcdc; --gold: #b08d57;
  --serif: "Bodoni Moda", "Didot", Georgia, serif; --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(16px, 3cqw, 52px);
}
.kui-rang {
  --k-bg: #fbf5f2; --k-ink: #2a0e13; --k-mu: #7d5f60; --k-line: rgba(42, 14, 19, 0.14); --k-soft: #f3e6e0; --k-ac: #9b1b30; --k-ac-ink: #fff; --k-star: #b08d57;
  --k-font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif; --k-disp: "Bodoni Moda", Georgia, serif; --k-rad: 14px; --k-btn-rad: 99px;
  & .k-cart h3, & .k-done h4 { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
}
.vxs-rang {
  font: 400 15.5px/1.55 var(--sans); color: var(--ink); background: var(--bg);
  & h1, & h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.035em; line-height: 0.98; }
  & h2 { font-size: clamp(34px, 5.2cqw, 88px); }
  & h1 em, & h2 em { font-style: italic; color: var(--sh); }
  & .rg-k { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 11.5px; line-height: 1; letter-spacing: 0.18em; text-transform: uppercase; }
  & .rg-k i { width: 26px; height: 1px; background: currentColor; }
  & .rg-lead { font-size: clamp(15.5px, 1.3cqw, 19px); line-height: 1.5; color: #5a3a3d; max-width: 27em; }
  & .rg-btn { display: inline-flex; align-items: center; gap: 18px; height: 58px; padding: 0 9px 0 28px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px; letter-spacing: 0.02em; white-space: nowrap; }
  & .rg-btn i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sh); transition: transform 0.6s var(--ke); }
  & .rg-btn i svg { width: 16px; height: 16px; }
  & .rg-btn:hover i { transform: rotate(-45deg) scale(1.08); }
  & .rg-ul { font-weight: 600; font-size: 14px; padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }

  /* header */
  & .rg-hd { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; margin-bottom: -68px; padding: 0 var(--pad); transition: background 0.4s, box-shadow 0.4s; }
  &.is-scrolled .rg-hd { background: rgba(251, 245, 242, 0.84); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
  & .rg-hd nav { display: flex; gap: clamp(14px, 2.2cqw, 32px); font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
  & .rg-hd nav a { opacity: 0.7; transition: opacity 0.2s; }
  & .rg-hd nav a:hover { opacity: 1; }
  & .rg-logo { font: italic 500 34px/1 var(--serif); letter-spacing: -0.03em; }
  & .rg-hd-r { justify-self: end; display: flex; align-items: center; gap: 18px; font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
  & .rg-bag { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 16px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--ink); }
  & .rg-bag sup { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: 0; }

  /* hero */
  & .rg-hero { position: relative; height: 100cqh; min-height: 580px; overflow: clip; }
  & .rg-hero-t { position: absolute; z-index: 3; left: var(--pad); top: 68px; bottom: 0; width: min(37cqw, 580px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  & .rg-hero h1 { margin-top: clamp(16px, 2.4cqw, 32px); font-size: clamp(44px, 6.6cqw, 112px); line-height: 0.94; }
  & .rg-hero .rg-lead { margin-top: clamp(16px, 2cqw, 28px); }
  & .rg-pick { margin-top: clamp(20px, 2.6cqw, 36px); display: flex; align-items: center; gap: 22px; padding: 10px 12px 10px 20px; border-radius: 99px; background: rgba(255, 255, 255, 0.6); box-shadow: inset 0 0 0 1px var(--line); }
  & .rg-pick p { display: grid; min-width: 9.5em; overflow: hidden; }
  & .rg-pick p span { font-weight: 600; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mu); }
  & .rg-pick p b { font: italic 500 21px/1.2 var(--serif); letter-spacing: -0.02em; }
  & .rg-pick div, & .rg-slot div { display: flex; gap: 7px; }
  & .rg-pick button, & .rg-slot button { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset -4px -5px 8px rgba(0, 0, 0, 0.2), inset 3px 3px 6px rgba(255, 255, 255, 0.3); transition: box-shadow 0.3s, transform 0.4s var(--ke); }
  & .rg-pick button:hover, & .rg-slot button:hover { transform: scale(1.1); }
  & .rg-pick button[aria-pressed="true"], & .rg-slot button[aria-pressed="true"] { box-shadow: inset -4px -5px 8px rgba(0, 0, 0, 0.2), inset 3px 3px 6px rgba(255, 255, 255, 0.3), 0 0 0 3px var(--paper), 0 0 0 4.5px var(--ink); }
  & .rg-cta { margin-top: clamp(18px, 2.2cqw, 30px); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
  & .rg-arch { position: absolute; bottom: 0; }
  & .rg-arch.is-a { left: 42.5cqw; width: min(21cqw, 40cqh); height: 74cqh; z-index: 2; }
  & .rg-arch.is-a > i { position: absolute; inset: 0; border-radius: 999px 999px 0 0; background: radial-gradient(80% 60% at 50% 30%, color-mix(in srgb, var(--sh) 82%, #fff), var(--sh)); }
  & .rg-bullets { position: absolute; inset: 14% 0 5%; display: grid; grid-template: 100% / 100%; place-items: end center; }
  & .rg-bullets img { grid-area: 1 / 1; height: 100%; width: auto; max-width: none; filter: drop-shadow(0 26px 26px rgba(0, 0, 0, 0.36)); }
  & .rg-arch-n { position: absolute; left: 0; right: 0; top: 5%; text-align: center; font: italic 400 clamp(14px, 1.4cqw, 20px)/1 var(--serif); color: rgba(255, 255, 255, 0.86); }
  & .rg-arch-n b { font-weight: 400; margin-left: 2px; }
  & .rg-arch.is-b { right: var(--pad); width: min(31cqw, 62cqh); height: 86cqh; border-radius: 999px 999px 0 0; overflow: hidden; background: #fff; }
  & .rg-arch.is-b img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 44% 16%; opacity: 0; transition: opacity 0.7s ease; }
  & .rg-arch.is-b img.on { opacity: 1; }
  & .rg-worn { position: absolute; left: 50%; bottom: 20px; width: max-content; margin-left: -80px; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12.5px; font-weight: 500; }
  & .rg-worn i { width: 16px; height: 16px; border-radius: 50%; background: var(--sh); }

  /* strip */
  & .rg-strip { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); }
  & .rg-strip > div { display: flex; width: max-content; animation: k-mq 40s linear infinite; }
  & .rg-strip span { padding: 16px 0 16px 34px; font: italic 400 clamp(20px, 2.2cqw, 32px)/1 var(--serif); letter-spacing: -0.02em; white-space: nowrap; }
  & .rg-strip span::after { content: "✦"; margin-left: 34px; font-style: normal; font-size: 0.5em; vertical-align: 0.3em; color: var(--sh); }

  /* twist */
  & .rg-twist { position: relative; height: 400cqh; }
  & .rg-tw { position: sticky; top: 0; height: 100cqh; overflow: hidden; background: var(--soft); }
  & .rg-tw-halo { position: absolute; inset: 0; margin: auto; width: 96cqh; height: 96cqh; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--sh) 34%, transparent), transparent); }
  & .rg-tw-v { position: absolute; inset: 0; margin: auto; height: 82cqh; aspect-ratio: 1; max-width: 96cqw; mix-blend-mode: multiply; }
  & .rg-tw-v video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
  & .rg-tw-v video.on { opacity: 1; }
  & .rg-beat { position: absolute; z-index: 2; top: 68px; bottom: 60px; left: clamp(20px, 6cqw, 100px); width: 37cqw; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  & .rg-beat.is-r { left: auto; right: clamp(20px, 6cqw, 100px); }
  & .rg-beat:not([data-i="0"]) { visibility: hidden; }
  & .rg-beat h2 { margin-top: 20px; font-size: clamp(36px, 5.4cqw, 92px); }
  & .rg-beat h2 em { display: block; }
  & .rg-beat .rg-lead { margin-top: 18px; max-width: 22em; }
  & .rg-stroke { position: absolute; z-index: 1; left: clamp(14px, 5.4cqw, 90px); top: calc(50% + 3cqw); width: 32cqw; height: clamp(40px, 5cqw, 80px); mix-blend-mode: multiply; }
  & .rg-stroke path { stroke: var(--sh); opacity: 0.32; }
  & .rg-tw-p { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  & .rg-tw-p li { display: flex; align-items: center; gap: 12px; font: italic 400 14px/1 var(--serif); }
  & .rg-tw-p i { flex: 1; height: 1px; background: var(--line); }
  & .rg-tw-p b { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; }

  /* shades */
  & .rg-shades { padding: clamp(64px, 9cqw, 150px) var(--pad); background: var(--paper); }
  & .rg-sh-h h2 { margin-top: 20px; }
  & .rg-sh-row { margin-top: clamp(30px, 4.4cqw, 70px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.8cqw, 28px); }
  & .rg-card-v { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4.1; border-radius: 999px 999px 16px 16px; overflow: hidden; background: #fff; }
  & .rg-card-v img { width: 100%; height: 100%; object-fit: cover; object-position: 44% 30%; transform: scale(2.7); transform-origin: 35% 52.5%; transition: transform 1.4s var(--ke); }
  & .rg-card:hover .rg-card-v img { transform: scale(1.02); }
  & .rg-card-v span { position: absolute; left: 50%; bottom: 14px; width: 112px; margin-left: -56px; height: 34px; border-radius: 99px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.86); font-weight: 600; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: opacity 0.4s, transform 0.6s var(--ke); }
  & .rg-card:hover .rg-card-v span { opacity: 1; transform: none; }
  & .rg-card-no { margin-top: 18px; display: flex; align-items: center; gap: 10px; font: italic 400 14px/1 var(--serif); color: var(--mu); }
  & .rg-card-no i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
  & .rg-card h3 { margin-top: 8px; font: italic 400 clamp(24px, 2.6cqw, 40px)/1 var(--serif); letter-spacing: -0.03em; }
  & .rg-card h3 + p { margin-top: 6px; font-size: 14.5px; color: var(--mu); }
  & .rg-add { margin-top: 16px; width: 100%; display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 18px 0 20px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; font-size: 13.5px; transition: background 0.35s, color 0.35s, box-shadow 0.35s; }
  & .rg-add svg { width: 15px; height: 15px; }
  & .rg-add:hover { background: var(--c); color: #fff; box-shadow: none; }

  /* worn */
  & .rg-worn-s { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5cqw, 90px); align-items: center; padding: clamp(64px, 9cqw, 150px) var(--pad); }
  & .rg-cmp { position: relative; aspect-ratio: 4 / 4.6; max-height: 86cqh; justify-self: center; width: 100%; border-radius: 24px; overflow: hidden; background: #fff; cursor: ew-resize; user-select: none; }
  & .rg-cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 44% 22%; pointer-events: none; }
  & .rg-cmp-top { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
  & .rg-cmp-l, & .rg-cmp-r { position: absolute; bottom: 18px; display: grid; gap: 2px; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.84); font: italic 500 17px/1.1 var(--serif); pointer-events: none; }
  & .rg-cmp-l span, & .rg-cmp-r span { font: 600 10px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mu); }
  & .rg-cmp-l { left: 18px; } & .rg-cmp-r { right: 18px; text-align: right; }
  & .rg-cmp-h { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.3); pointer-events: none; }
  & .rg-cmp-h b { position: absolute; top: 50%; left: -25px; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 2px; background: #fff; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); transition: transform 0.4s var(--ke); }
  & .rg-cmp.is-drag .rg-cmp-h b { transform: scale(0.88); }
  & .rg-cmp-h svg { width: 15px; height: 15px; }
  & .rg-worn-t h2 { margin-top: 20px; }
  & .rg-worn-t .rg-lead { margin-top: 20px; }
  & .rg-facts { margin-top: clamp(24px, 3.4cqw, 52px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  & .rg-facts li { padding-top: 14px; border-top: 1px solid var(--ink); font-size: 13.5px; color: var(--mu); }
  & .rg-facts b { display: block; margin-bottom: 8px; font: 400 clamp(44px, 5.6cqw, 92px)/0.9 var(--serif); letter-spacing: -0.04em; color: var(--ink); }
  & .rg-facts small { font-size: 0.4em; font-style: italic; margin-left: 2px; }

  /* inside */
  & .rg-inside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5cqw, 90px); align-items: center; padding: clamp(48px, 7cqw, 120px) var(--pad); background: var(--ink); color: #f9ece7; }
  & .rg-inside h2 { margin-top: 20px; }
  & .rg-inside h2 em { color: #e8b9a9; }
  & .rg-inside .rg-lead { margin-top: 20px; color: rgba(249, 236, 231, 0.74); }
  & .rg-list { margin-top: clamp(22px, 3cqw, 44px); }
  & .rg-list li { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; padding: 14px 0; border-top: 1px solid rgba(249, 236, 231, 0.2); }
  & .rg-list b { font: italic 400 clamp(26px, 2.8cqw, 42px)/1 var(--serif); color: #e8b9a9; }
  & .rg-in-v { aspect-ratio: 1; max-height: 76cqh; justify-self: center; width: 100%; border-radius: 50%; background: radial-gradient(closest-side, #f6e4dc, #ecd2c7); display: grid; place-items: center; overflow: hidden; }
  & .rg-in-v img { width: 78%; }

  /* duo */
  & .rg-duo { padding: clamp(64px, 9cqw, 150px) var(--pad); display: grid; justify-items: center; text-align: center; background: var(--soft); }
  & .rg-duo h2 { margin-top: 20px; }
  & .rg-duo-row { margin-top: clamp(28px, 4cqw, 64px); display: flex; align-items: center; gap: clamp(10px, 2cqw, 30px); }
  & .rg-slot { width: min(30cqw, 340px); padding: 14px 14px 20px; border-radius: 26px; background: #fff; display: grid; justify-items: center; gap: 12px; box-shadow: 0 40px 70px -50px rgba(42, 14, 19, 0.6); }
  & .rg-slot img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
  & .rg-slot p { display: grid; font-weight: 600; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mu); }
  & .rg-slot p b { font: italic 500 clamp(19px, 2cqw, 28px)/1.2 var(--serif); letter-spacing: -0.02em; text-transform: none; color: var(--ink); }
  & .rg-slot button { width: 28px; height: 28px; }
  & .rg-plus { font: italic 400 clamp(34px, 4cqw, 60px)/1 var(--serif); }
  & .rg-duo-buy { margin-top: clamp(24px, 3cqw, 44px); display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: center; }
  & .rg-duo-buy b { font: 400 clamp(34px, 3.8cqw, 58px)/1 var(--serif); letter-spacing: -0.03em; }
  & .rg-duo-buy s { margin-left: 10px; color: var(--mu); text-decoration: line-through; }

  /* footer */
  & .rg-foot { padding: clamp(20px, 3cqw, 50px) var(--pad) 22px; background: var(--ink); color: #f9ece7; overflow: hidden; }
  & .rg-word { font: italic 400 39cqw/0.9 var(--serif); letter-spacing: -0.05em; text-align: center; white-space: nowrap; color: #e8b9a9; }
  & .rg-foot > div { padding-top: 16px; border-top: 1px solid rgba(249, 236, 231, 0.2); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-weight: 500; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
}

@container site (max-width: 719px) {
  .vxs-rang {
    & .rg-hd { grid-template-columns: 1fr auto; height: 58px; margin-bottom: -58px; }
    & .rg-hd nav, & .rg-link { display: none; }
    & .rg-logo { font-size: 30px; }
    & .rg-hero-t { top: 58px; bottom: auto; width: auto; right: var(--pad); padding-top: 18px; }
    & .rg-hero h1 { font-size: clamp(40px, 12cqw, 60px); margin-top: 12px; }
    & .rg-hero .rg-lead { display: none; }
    & .rg-pick { margin-top: 16px; gap: 12px; padding: 8px 10px 8px 16px; }
    & .rg-pick p { min-width: 8em; }
    & .rg-pick button { width: 30px; height: 30px; }
    & .rg-cta { margin-top: 14px; }
    & .rg-cta .rg-ul { display: none; }
    & .rg-btn { height: 52px; }
    & .rg-arch.is-a { left: 5cqw; width: 34cqw; height: 37cqh; }
    & .rg-arch.is-b { right: 5cqw; width: 52cqw; height: 44cqh; }
    & .rg-worn { display: none; }
    & .rg-tw-v { inset: 10cqh 0 auto; height: auto; width: 86cqw; }
    & .rg-beat, & .rg-beat.is-r { top: auto; bottom: 62px; left: var(--pad); right: var(--pad); width: auto; }
    & .rg-beat h2 { font-size: 36px; margin-top: 12px; }
    & .rg-beat .rg-lead { margin-top: 10px; font-size: 14.5px; }
    & .rg-stroke { display: none; }
    & .rg-sh-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
    & .rg-card h3 { font-size: 22px; }
    & .rg-card h3 + p { font-size: 13px; }
    & .rg-add { height: 44px; padding: 0 14px; font-size: 12.5px; }
    & .rg-worn-s, & .rg-inside { grid-template-columns: 1fr; }
    & .rg-facts b { font-size: 44px; }
    & .rg-slot { width: 40cqw; padding: 8px 8px 14px; border-radius: 18px; }
    & .rg-slot div { gap: 5px; }
    & .rg-slot button { width: 22px; height: 22px; }
  }
}
@media (prefers-reduced-motion: reduce) { .vxs-rang .rg-strip > div { animation: none; } }
