/* =========================================================
   Zelune Mongolia
   Palette comes from the logo: blush ground, plum-brown ink.
   ========================================================= */

:root {
  --blush: #F8DADD;      /* logo ground */
  --petal: #FDF1F1;      /* page */
  --milk: #FFFAFA;       /* fields, raised surfaces */
  --plum: #3A1820;       /* logo ink, text */
  --mauve: #7A4852;      /* secondary text (5.6:1 on blush) */
  --rose: #B4707C;       /* hairlines, ornaments only */
  --rose-soft: #E8B9C0;  /* text on plum */
  --sale: #A0303F;       /* sale price, errors */
  --line: rgba(58, 24, 32, .14);
  --field-line: #8F6A73; /* 4.7:1 on milk, meets 3:1 for controls */
  --shade: #EFE3E4;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Commissioner", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 1.3rem + .8vw, 1.875rem);
  --step-3: clamp(2.1rem, 1.5rem + 2.4vw, 3.25rem);
  --step-4: clamp(2.5rem, 1.3rem + 3.3vw, 4.6rem);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);
  --header-h: 68px;

  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.33, 0, .15, 1);
  --ease-in: cubic-bezier(.4, 0, 1, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--petal);
  color: var(--plum);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--plum); color: var(--petal); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; transition: top .2s var(--ease-out);
}
.skip:focus { top: 12px; }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: 1.08;
  letter-spacing: -.005em;
  max-width: 16ch;
  text-wrap: balance;
}

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--plum);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--petal);
  font-family: var(--sans); font-weight: 500; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease-out), transform .2s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --btn-bg: #50242F; }
.btn:active { transform: scale(.98); }
.btn-block { width: 100%; }
.btn-small { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn-ghost { --btn-bg: transparent; color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
.btn-ghost:hover { --btn-bg: rgba(58, 24, 32, .06); }
.btn[disabled] { opacity: .6; cursor: progress; }

.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 6px; text-decoration-color: var(--rose);
  transition: text-decoration-color .2s;
}
.text-link:hover { text-decoration-color: var(--plum); }

.text-btn {
  background: none; border: 0; padding: 8px 0; min-height: 44px;
  font-size: var(--step--1); color: var(--mauve);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line);
}
.text-btn:hover { color: var(--plum); text-decoration-color: currentColor; }

.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: transparent; color: var(--plum);
}
.icon-btn:hover { background: rgba(58, 24, 32, .06); }

/* ---------- Top bars ---------- */
.demo-bar {
  background: var(--milk); color: var(--mauve);
  font-size: .8125rem; line-height: 1.4; text-align: center;
  padding: 8px var(--gutter); border-bottom: 1px solid var(--line);
}
.sale-bar {
  background: var(--plum); color: var(--blush);
  text-align: center; font-size: .9375rem; line-height: 1.3;
  padding: 10px var(--gutter);
  transition: opacity .6s var(--ease-out);
}
.sale-bar.is-ending, .sale-inline.is-ending { opacity: 0; }
.sale-clock {
  display: inline-block; min-width: 8.2ch;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum";
  font-weight: 600; letter-spacing: .02em; color: var(--petal);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--blush);
  transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.site-header.is-scrolled { background: var(--petal); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; margin-right: auto; }
.logo-img { height: 26px; width: auto; }

.nav { display: none; gap: 32px; }
.nav a {
  font-size: .9375rem; text-decoration: none; padding: 10px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s var(--ease-out);
}
.nav a:hover { background-size: 100% 1px; }

.header-actions { display: flex; align-items: center; gap: 4px; }

/* Music toggle: four bars that sway while music plays. */
.music-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; height: 44px; padding: 0 10px;
  border: 0; border-radius: 999px; background: none;
  color: var(--mauve); font-size: .8125rem;
  transition: color .3s var(--ease-out), background-color .2s;
}
.music-btn:hover { background: rgba(58, 24, 32, .06); }
.music-btn[aria-pressed="true"] { color: var(--plum); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { display: block; width: 2px; height: 14px; border-radius: 1px; background: currentColor; transform-origin: 50% 100%; transform: scaleY(.28); transition: transform .5s var(--ease-out); }
.eq i:nth-child(2) { transform: scaleY(.5); }
.eq i:nth-child(3) { transform: scaleY(.36); }
.eq i:nth-child(4) { transform: scaleY(.22); }
.music-btn[aria-pressed="true"] .eq i { animation: eq 1.2s ease-in-out infinite alternate; }
.music-btn[aria-pressed="true"] .eq i:nth-child(2) { animation-duration: .9s; animation-delay: -.3s; }
.music-btn[aria-pressed="true"] .eq i:nth-child(3) { animation-duration: 1.4s; animation-delay: -.7s; }
.music-btn[aria-pressed="true"] .eq i:nth-child(4) { animation-duration: 1.05s; animation-delay: -.2s; }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@media (max-width: 879px) {
  .music-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.lang { display: flex; align-items: center; }
.lang button {
  min-width: 40px; height: 44px; padding: 0 6px;
  border: 0; background: none; font-size: .8125rem; letter-spacing: .04em; color: var(--mauve);
}
.lang button[aria-pressed="true"] { color: var(--plum); font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--rose); }
.cart-btn {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent;
}
.cart-btn:hover { background: rgba(58, 24, 32, .06); }
.cart-count {
  position: absolute; top: 3px; right: 1px;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--plum); color: var(--petal);
  font-size: .6875rem; font-weight: 600; line-height: 19px; text-align: center;
}
.cart-count.is-bumped { animation: bump .5s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* Wordmark redrawn from the logo: the U carries the brow-hair flick. */
.wordmark {
  display: inline-block;
  font-family: var(--serif); font-weight: 500;
  font-size: 1.55rem; line-height: 1; letter-spacing: .3em;
  margin-right: -.3em; color: var(--plum);
}
.wm { display: inline-block; white-space: nowrap; }
.wm-u { position: relative; display: inline-block; }
.wm-flick {
  position: absolute; left: .565em; bottom: .6em;
  width: .3em; height: .5em; overflow: visible;
  fill: currentColor;
}
.js .wm-flick { clip-path: inset(100% 0 0 0); }
.is-in .wm-flick { clip-path: inset(0 0 0 0); transition: clip-path .8s var(--ease-out) 1.5s; }

/* ---------- Hero ---------- */
.hero { background: var(--blush); padding: clamp(20px, 4vw, 48px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(20px, 4vw, 40px); align-items: center; }
.hero-art { position: relative; width: min(100%, 620px); justify-self: center; }
.brow { width: 100%; height: auto; overflow: visible; }
.hair { fill: none; stroke: var(--plum); stroke-linecap: round; opacity: var(--o); }
.hair-soft { stroke: var(--mauve); }
.hero-tube {
  position: absolute; width: clamp(46px, 9vw, 78px); height: auto;
  left: 60%; top: 44%;
  transform: rotate(62deg);
  filter: drop-shadow(0 16px 20px rgba(58, 24, 32, .16));
}
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: var(--step-4); line-height: 1.02; letter-spacing: -.01em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { margin-top: 20px; max-width: 42ch; font-size: 1.125rem; color: var(--mauve); }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* Hero entrance — one orchestrated sequence. */
.js .brow-hero .hair { stroke-dasharray: 1 1.02; stroke-dashoffset: 1; opacity: 0; }
.is-in .brow-hero .hair { animation: hair-draw .8s var(--ease-out) var(--d) forwards; }
@keyframes hair-draw {
  0% { stroke-dashoffset: 1; opacity: 0; }
  12% { opacity: var(--o); }
  100% { stroke-dashoffset: 0; opacity: var(--o); }
}
.js .hero-title .line > span { transform: translateY(108%); }
.is-in .hero-title .line > span { transform: none; transition: transform 1.05s var(--ease-out) .5s; }
.is-in .hero-title .line + .line > span { transition-delay: .6s; }
.js .hero-sub, .js .hero-cta { opacity: 0; transform: translateY(10px); }
.is-in .hero-sub, .is-in .hero-cta { opacity: 1; transform: none; transition: opacity .9s var(--ease-out) 1.05s, transform .9s var(--ease-out) 1.05s; }
.is-in .hero-cta { transition-delay: 1.2s; }
.js .hero-tube { opacity: 0; transform: translate(60px, 24px) rotate(70deg); }
.is-in .hero-tube { opacity: 1; transform: rotate(62deg); transition: opacity 1s var(--ease-out) 1.25s, transform 1.4s var(--ease-soft) 1.25s; }

/* ---------- Product ---------- */
.product { padding: var(--section) 0; }
.product-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.product-media {
  position: relative; aspect-ratio: 4 / 5; width: 100%;
  border-radius: 24px; overflow: hidden; background: var(--blush);
}
.illus { position: absolute; inset: 0; }
.smear { position: absolute; width: 74%; left: 4%; bottom: 10%; height: auto; }
.smear-gel { fill: var(--shade); transition: fill .6s var(--ease-out); }
.product-tube {
  position: absolute; height: 76%; width: auto; left: 50%; top: 50%;
  transform: translate(-46%, -52%) rotate(14deg);
  filter: drop-shadow(0 24px 30px rgba(58, 24, 32, .16));
}
.is-switching .product-tube { animation: tube-tilt .8s var(--ease-out); }
@keyframes tube-tilt {
  0% { transform: translate(-46%, -52%) rotate(14deg); }
  40% { transform: translate(-46%, -54%) rotate(8deg); }
  100% { transform: translate(-46%, -52%) rotate(14deg); }
}
.has-photos { background: var(--milk); }
.photo-main { width: 100%; height: 100%; object-fit: cover; }
.photo-tag {
  position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 250, 250, .94); color: var(--plum); font-size: .8125rem; font-weight: 500;
}
.photo-thumbs { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }
.photo-thumb { width: 56px; height: 70px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.photo-thumb[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--plum); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-name { font-family: var(--serif); font-weight: 500; font-size: var(--step-3); line-height: 1.05; max-width: 14ch; }
.price { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.price-now { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; }
.price.is-sale .price-now { color: var(--sale); }
.price-was { color: var(--mauve); font-size: 1.0625rem; text-decoration-thickness: 1px; }
.price-size { color: var(--mauve); font-size: .9375rem; }
.sale-inline {
  margin-top: 14px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--blush); color: var(--plum); font-size: .9375rem;
  transition: opacity .6s var(--ease-out);
}
.sale-inline .sale-clock { color: var(--sale); }
.product-desc { margin-top: 20px; max-width: 46ch; color: var(--mauve); }

.shades { margin-top: 28px; }
.shades legend { padding: 0; font-weight: 500; font-size: .9375rem; }
.shade-current { font-weight: 400; color: var(--mauve); }
.swatches { display: flex; gap: 14px; margin-top: 12px; }
.swatch { position: relative; width: 44px; height: 44px; }
.swatch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.swatch-dot {
  display: block; width: 100%; height: 100%; border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(58, 24, 32, .2);
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
  pointer-events: none;
}
.swatch input:hover + .swatch-dot { transform: scale(1.06); }
.swatch input:checked + .swatch-dot { box-shadow: inset 0 0 0 1px rgba(58, 24, 32, .2), 0 0 0 3px var(--petal), 0 0 0 4.5px var(--plum); }
.swatch input:focus-visible + .swatch-dot { outline: 2px solid var(--plum); outline-offset: 7px; }
.shade-note { margin-top: 10px; font-size: var(--step--1); color: var(--mauve); }

.buy-row { margin-top: 28px; display: flex; gap: 12px; }
.qty {
  display: inline-flex; align-items: center; flex: none;
  height: 52px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--field-line);
  background: var(--milk);
}
.qty-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; }
.qty-btn:hover { background: rgba(58, 24, 32, .06); }
.qty-input {
  width: 3ch; height: 44px; padding: 0; border: 0; background: none; text-align: center; font-weight: 500;
  -moz-appearance: textfield; appearance: textfield;
}
.qty-input::-webkit-inner-spin-button, .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.btn-add { position: relative; flex: 1; overflow: hidden; }
.btn-add .btn-label, .btn-add .btn-done { transition: opacity .3s var(--ease-out), transform .4s var(--ease-out); }
.btn-add .btn-done { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(8px); }
.btn-add.is-done .btn-label { opacity: 0; transform: translateY(-8px); }
.btn-add.is-done .btn-done { opacity: 1; transform: none; }

.assurances { margin-top: 28px; display: grid; gap: 10px; font-size: .9375rem; color: var(--mauve); }
.assurances li { position: relative; padding-left: 26px; }
/* A single brushed-up hair as the bullet. */
.assurances li::before {
  content: ""; position: absolute; left: 2px; top: .3em; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 13C3 8 6 4 12 1' fill='none' stroke='%23B4707C' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Film ---------- */
.film { padding: 0 0 var(--section); }
.film-grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.film-frame {
  position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1;
  border-radius: 24px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.film-video { width: 100%; height: 100%; object-fit: cover; }
.film-toggle {
  position: absolute; right: 14px; bottom: 14px;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(255, 250, 250, .92); color: var(--plum);
  box-shadow: 0 4px 14px rgba(58, 24, 32, .12);
  transition: transform .2s var(--ease-out);
}
.film-toggle:hover { transform: scale(1.06); }
.film-toggle .i-pause, .film-toggle[data-state="playing"] .i-play { display: none; }
.film-toggle[data-state="playing"] .i-pause { display: block; }
.film-copy p { margin-top: 14px; max-width: 38ch; font-size: 1.125rem; color: var(--mauve); }
.film-copy .btn { margin-top: 28px; }

/* ---------- Benefits ---------- */
.benefits { padding: 0 0 var(--section); }
.benefit-list { margin-top: clamp(32px, 5vw, 56px); display: grid; gap: 0 clamp(32px, 5vw, 72px); }
.benefit { padding: 24px 0 28px; border-top: 1px solid var(--line); }
.benefit dt { font-family: var(--serif); font-size: var(--step-2); font-weight: 500; line-height: 1.15; }
.benefit dd { margin-top: 8px; color: var(--mauve); max-width: 40ch; }

/* ---------- How to use ---------- */
.how { background: var(--blush); padding: var(--section) 0; }
.how-grid { display: grid; gap: 8px 72px; }
.how-art-wrap {
  position: sticky; top: var(--header-h); z-index: 2;
  background: var(--blush); padding: 8px 0 4px; margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.how-art { width: min(100%, 560px); margin-inline: auto; }
.brow-how { overflow: hidden; }
.how-copy .section-title { margin-bottom: 8px; }
.steps { counter-reset: step; }
.step {
  position: relative; min-height: 38vh; padding: 28px 0 28px 64px;
  display: flex; flex-direction: column; justify-content: center;
  opacity: .72; transition: opacity .5s var(--ease-out);
}
.step.is-active { opacity: 1; }
.step-num {
  position: absolute; left: 0; top: 50%; transform: translateY(-58%);
  font-family: var(--serif); font-size: 2.75rem; line-height: 1; color: var(--rose);
  transition: color .5s var(--ease-out);
}
.step.is-active .step-num { color: var(--plum); }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: var(--step-2); line-height: 1.15; }
.step p { margin-top: 6px; color: var(--mauve); max-width: 38ch; }

.brow-how .hair {
  transform: rotate(0deg);
  transition: transform .75s var(--ease-out) calc(.12s + var(--t) * .85s), opacity .6s var(--ease-out);
}
[data-state="1"] .brow-how .hair { transform: rotate(var(--r)); transition-duration: .55s; transition-delay: calc(var(--t) * .2s); }
[data-state="3"] .brow-how .hair { opacity: 1; }
.wand { transform-box: view-box; transform-origin: 0 0; transition: transform .9s var(--ease-soft), opacity .5s var(--ease-out); }
.wand-core { fill: var(--plum); opacity: .22; }
.wand-bristles path { stroke: var(--plum); stroke-width: 1.3; stroke-linecap: round; opacity: .8; }
.wand-shaft { fill: var(--rose); }
[data-state="1"] .wand { transform: translate(452px, 58px) rotate(-24deg); }
[data-state="2"] .wand { animation: wand-sweep 1.25s var(--ease-soft) forwards; }
[data-state="3"] .wand { transform: translate(640px, 24px) rotate(-24deg); opacity: 0; }
@keyframes wand-sweep {
  0% { transform: translate(64px, 262px) rotate(-74deg); }
  45% { transform: translate(300px, 196px) rotate(-48deg); }
  100% { transform: translate(560px, 214px) rotate(-22deg); }
}
.sheen { transform-box: view-box; opacity: 0; }
[data-state="3"] .sheen { animation: sheen 1.6s var(--ease-soft) .3s both; }
@keyframes sheen {
  0% { transform: translateX(0); opacity: .9; }
  100% { transform: translateX(840px); opacity: .9; }
}

/* ---------- Precautions ---------- */
.care { padding: var(--section) 0 0; }
.care-grid { display: grid; gap: 20px 72px; align-items: start; }
.care-title { font-family: var(--serif); font-weight: 500; font-size: var(--step-2); line-height: 1.15; }
.care-list { border-top: 1px solid var(--line); }
.care-list li { position: relative; padding: 18px 0 18px 28px; border-bottom: 1px solid var(--line); max-width: 60ch; }
.care-list li::before {
  content: ""; position: absolute; left: 4px; top: calc(18px + .8em - 3.5px);
  width: 7px; height: 7px; border-radius: 50%; background: var(--rose);
}
@media (min-width: 880px) {
  .care-grid { grid-template-columns: 1fr 1.7fr; }
}

/* ---------- Reviews ---------- */
.reviews { padding: var(--section) 0 0; }
.reviews-note { margin-top: 12px; font-size: var(--step--1); color: var(--mauve); }
.review-list { margin-top: clamp(28px, 4vw, 48px); display: grid; gap: 36px clamp(32px, 4vw, 56px); }
.review { padding-top: 22px; border-top: 1px solid var(--rose); }
.review blockquote p { font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.4; }
.review-name { margin-top: 14px; font-size: .9375rem; color: var(--mauve); }

/* ---------- FAQ ---------- */
.faq { padding: var(--section) 0; }
.faq-grid { display: grid; gap: 28px 72px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 68px; padding: 14px 0; cursor: pointer; list-style: none;
  font-weight: 500; font-size: 1.0625rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa-icon { position: relative; flex: none; width: 14px; height: 14px; }
.qa-icon::before, .qa-icon::after {
  content: ""; position: absolute; left: 0; top: 6.25px; width: 14px; height: 1.5px; background: currentColor;
  transition: transform .35s var(--ease-out);
}
.qa-icon::after { transform: rotate(90deg); }
.qa[open] .qa-icon::after { transform: rotate(0deg); }
.qa-body { overflow: hidden; }
.qa-body p { padding-bottom: 22px; max-width: 60ch; color: var(--mauve); }

/* ---------- Closing ---------- */
.closing { background: var(--blush); padding: clamp(64px, 9vw, 120px) 0; }
.closing-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.closing-title { font-family: var(--serif); font-weight: 500; font-size: var(--step-3); line-height: 1.1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: var(--blush); padding: clamp(56px, 7vw, 88px) 0 28px; }
.site-footer :focus-visible { outline-color: var(--blush); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.wordmark-footer { color: var(--blush); font-size: 1.9rem; }
.footer-brand p { margin-top: 10px; font-size: .875rem; color: var(--rose-soft); letter-spacing: .02em; }
.footer-h { font-family: var(--sans); font-size: .875rem; font-weight: 600; color: var(--rose-soft); margin-bottom: 10px; }
.site-footer p { font-size: .9375rem; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-handle { font-weight: 600; margin-left: .4em; }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(248, 218, 221, .2); }
.footer-base p { font-size: .8125rem; color: var(--rose-soft); }

/* ---------- Mobile quick-order bar ---------- */
.buybar { display: none; }
@media (max-width: 759px) {
  .buybar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: rgba(255, 250, 250, .97); box-shadow: 0 -1px 0 var(--line), 0 -10px 30px rgba(58, 24, 32, .08);
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    transform: translateY(110%); transition: transform .45s var(--ease-out);
  }
  .buybar.is-visible { transform: none; }
  .buybar-inner { display: flex; align-items: center; gap: 12px; }
  .buybar-swatch { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--shade); box-shadow: inset 0 0 0 1px rgba(58, 24, 32, .2); transition: background-color .5s; }
  .buybar-text { flex: 1; display: grid; line-height: 1.25; min-width: 0; }
  .buybar-shade { font-size: .8125rem; color: var(--mauve); }
  .buybar-price { font-weight: 600; }
}

/* ---------- Cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(58, 24, 32, .38); opacity: 0; transition: opacity .38s var(--ease-out); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--petal);
  transform: translateX(100%); transition: transform .38s var(--ease-out);
  box-shadow: -20px 0 50px rgba(58, 24, 32, .12);
}
.drawer-panel:focus { outline: none; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--serif); font-weight: 500; font-size: 1.75rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.drawer-foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--milk); }
.drawer-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.0625rem; }
.drawer-row strong { font-weight: 600; }
.drawer-note { margin: 6px 0 16px; font-size: var(--step--1); color: var(--mauve); }
.cart-empty { padding: 48px 0; display: grid; gap: 20px; justify-items: start; color: var(--mauve); }

.cart-line { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line-swatch { width: 40px; height: 40px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(58, 24, 32, .2); }
.line-name { font-weight: 500; line-height: 1.35; }
.line-shade { font-size: var(--step--1); color: var(--mauve); }
.line-side { display: grid; justify-items: end; align-content: space-between; }
.line-total { font-weight: 600; }
.qty-sm { height: 40px; margin-top: 10px; }
.qty-sm .qty-btn { width: 40px; height: 40px; }
.qty-value { min-width: 2ch; text-align: center; font-weight: 500; }

/* =========================================================
   Checkout
   ========================================================= */
.checkout { padding: clamp(32px, 5vw, 64px) 0 var(--section); }
.checkout-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(24px, 4vw, 40px); }
.checkout-title { font-family: var(--serif); font-weight: 500; font-size: var(--step-3); line-height: 1.05; }
.checkout-grid { display: grid; gap: 32px clamp(32px, 5vw, 72px); align-items: start; }
.form-section { padding: 28px 0 8px; border-top: 1px solid var(--line); }
.form-section:first-child { border-top: 0; padding-top: 0; }
.form-section h2 { font-family: var(--serif); font-weight: 500; font-size: var(--step-2); margin-bottom: 18px; }
.form-row { display: grid; gap: 0 16px; }
.field { display: grid; gap: 6px; margin-bottom: 20px; }
.field label, .field .label { font-weight: 500; font-size: .9375rem; }
.input {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--field-line); border-radius: 12px;
  background: var(--milk); color: var(--plum);
  transition: border-color .2s, box-shadow .2s;
}
textarea.input { min-height: 96px; resize: vertical; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: var(--milk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233A1820' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px;
}
.input:hover { border-color: var(--plum); }
.input:focus-visible { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(58, 24, 32, .16); }
.input[aria-invalid="true"] { border-color: var(--sale); }
.input[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px rgba(160, 48, 63, .18); }
.static-field { min-height: 52px; display: flex; align-items: center; padding: 0 16px; border-radius: 12px; background: var(--blush); }
.hint { font-size: var(--step--1); color: var(--mauve); }
.error { display: flex; gap: 6px; align-items: flex-start; font-size: var(--step--1); color: var(--sale); font-weight: 500; }
.error[hidden] { display: none; }
.error::before {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: .25em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='6.2' fill='none' stroke='%23A0303F' stroke-width='1.3'/%3E%3Cpath d='M7 3.6v4.2M7 9.6v.8' stroke='%23A0303F' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.error-summary { margin-bottom: 20px; padding: 14px 18px; border-radius: 12px; background: #F9E1E4; color: var(--sale); font-weight: 500; }
.error-summary:focus { outline: 2px solid var(--sale); outline-offset: 2px; }

.field-phone { max-width: 360px; }

/* Ulaanbaatar / countryside switch */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg-option { position: relative; display: block; }
.seg-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg-option span {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 14px;
  border-radius: 12px; background: var(--milk); box-shadow: inset 0 0 0 1px var(--field-line);
  font-weight: 500; text-align: center; pointer-events: none;
  transition: box-shadow .25s var(--ease-out), background-color .25s;
}
.seg-option input:checked + span { background: #FCE7E9; box-shadow: inset 0 0 0 1.5px var(--plum); }
.seg-option input:focus-visible + span { outline: 2px solid var(--plum); outline-offset: 3px; }

.pay-options { display: grid; gap: 12px; }
.pay-option { position: relative; display: block; }
.pay-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pay-card {
  display: grid; grid-template-columns: 22px 1fr; gap: 2px 14px; align-items: start;
  padding: 18px; border-radius: 16px; background: var(--milk);
  box-shadow: inset 0 0 0 1px var(--field-line);
  transition: box-shadow .25s var(--ease-out), background-color .25s;
  pointer-events: none;
}
.pay-card::before {
  content: ""; grid-row: 1 / span 2; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--field-line); background: var(--milk);
  transition: box-shadow .25s var(--ease-out);
}
.pay-title { font-weight: 600; }
.pay-hint { font-size: var(--step--1); color: var(--mauve); }
.pay-option input:checked + .pay-card { background: #FCE7E9; box-shadow: inset 0 0 0 1.5px var(--plum); }
.pay-option input:checked + .pay-card::before { box-shadow: inset 0 0 0 6px var(--plum); }
.pay-option input:focus-visible + .pay-card { outline: 2px solid var(--plum); outline-offset: 3px; }

.summary { padding: clamp(20px, 3vw, 28px); border-radius: 20px; background: var(--blush); }
.summary-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.summary-head h2 { font-family: var(--serif); font-weight: 500; font-size: var(--step-2); }
.summary-line { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(58, 24, 32, .12); }
.summary-line .line-swatch { width: 36px; height: 36px; }
.summary-line p { line-height: 1.35; }
.summary-line small { display: block; font-size: var(--step--1); color: var(--mauve); }
.summary-rows { margin-top: 14px; display: grid; gap: 8px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; }
.summary-row .muted { color: var(--mauve); }
.summary-row s { color: var(--mauve); margin-right: 6px; }
.summary-total { margin-top: 10px; padding-top: 14px; border-top: 1px solid rgba(58, 24, 32, .2); display: flex; justify-content: space-between; align-items: baseline; }
.summary-total strong { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; }
.place { margin-top: 8px; }
/* While the order is being sent: keep the button solid and show a spinner. */
.place[disabled] { opacity: .9; }
.place[disabled]::after {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(253, 241, 241, .35); border-top-color: var(--petal);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.checkout-empty { padding: 48px 0; display: grid; gap: 20px; justify-items: start; }
.checkout-empty p { font-size: 1.125rem; color: var(--mauve); }

/* Confirmation */
.done { max-width: 720px; }
.done-title { font-family: var(--serif); font-weight: 500; font-size: var(--step-3); line-height: 1.05; }
.done-title:focus { outline: none; }
.done-number { margin-top: 18px; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 18px; border-radius: 999px; background: var(--blush); }
.done-number strong { font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.done-lead { margin-top: 18px; color: var(--mauve); max-width: 54ch; }
.pay-panel { margin-top: 32px; padding: clamp(20px, 4vw, 32px); border-radius: 20px; background: var(--milk); box-shadow: inset 0 0 0 1px var(--line); }
.pay-panel h2 { font-family: var(--serif); font-weight: 500; font-size: var(--step-2); }
.pay-panel > p { margin-top: 6px; color: var(--mauve); }
.qr-wrap { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }
.qr { position: relative; width: 196px; height: 196px; padding: 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.qr svg { width: 100%; height: 100%; }
.qr-real { width: 244px; height: 244px; }
.qr-real img { width: 100%; height: 100%; }
.qr-save { margin-top: 14px; }
.qr-mobile { margin-top: 16px; font-size: var(--step--1); color: var(--mauve); max-width: 52ch; }
.qr-demo-tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 4px 10px; border-radius: 6px; background: var(--plum); color: var(--petal); font-size: .75rem; font-weight: 600; letter-spacing: .06em; }
.qr-amount { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; line-height: 1; }
.demo-note { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--petal); font-size: var(--step--1); color: var(--mauve); }
.bank-list { margin-top: 18px; display: grid; }
.bank-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bank-row dt { font-size: var(--step--1); color: var(--mauve); }
.bank-row dd { font-weight: 600; font-variant-numeric: tabular-nums; word-break: break-word; }
.bank-row .copy { grid-row: 1 / span 2; grid-column: 2; }
.copy { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--blush); font-size: .875rem; font-weight: 500; transition: background-color .2s; }
.copy:hover { background: #F2C9CE; }
.copy.is-copied { background: var(--plum); color: var(--petal); }
.done-actions { margin-top: 32px; }

/* 404 page */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; background: var(--blush); padding: 48px 0; }
.notfound-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.notfound-inner .brand { margin: 0 0 24px; }
.notfound-title { font-family: var(--serif); font-weight: 500; font-size: var(--step-3); line-height: 1.1; }
.notfound-text { color: var(--mauve); max-width: 40ch; }
.notfound-inner .btn { margin-top: 16px; }

/* Checkout header extras */
.back-link { font-size: .9375rem; }

/* ---------- Larger screens ---------- */
@media (min-width: 560px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row-2 { grid-template-columns: 1fr 1fr; }
  .form-row-k { grid-template-columns: 1.4fr 1fr; }
}
@media (min-width: 720px) {
  .benefit-list { grid-template-columns: 1fr 1fr; }
  .review-list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 880px) {
  :root { --header-h: 76px; }
  .nav { display: flex; }
  .wordmark { font-size: 1.7rem; }
  .hero { padding-top: clamp(24px, 3vw, 40px); }
  .hero-grid { grid-template-columns: 1.12fr 1fr; grid-template-areas: "copy art"; min-height: min(78vh, 720px); }
  .hero-copy { grid-area: copy; }
  .hero-art { grid-area: art; }
  .product-grid { grid-template-columns: 1.05fr 1fr; }
  .film-grid { grid-template-columns: 1fr 1.05fr; grid-template-areas: "copy frame"; }
  .film-copy { grid-area: copy; }
  .film-frame { grid-area: frame; justify-self: end; }
  .how-grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .how-art-wrap { top: calc(var(--header-h) + 48px); margin: 0; padding: 0; background: none; }
  .how-copy { padding-top: 8px; }
  .step { min-height: 46vh; }
  .faq-grid { grid-template-columns: 1fr 1.7fr; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
  .checkout-grid { grid-template-columns: 1.35fr 1fr; }
  .summary { position: sticky; top: calc(var(--header-h) + 24px); }
}
@media (max-width: 879px) {
  .hero-art { margin: 8px 0 52px; }
  .hero-tube { left: 56%; top: 30%; width: 42px; }
  .checkout-grid > .summary { order: -1; }
  .how-art { width: min(100%, 420px); }
}
@media (max-width: 759px) {
  .site-footer { padding-bottom: 96px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  .js .brow-hero .hair { stroke-dashoffset: 0; opacity: var(--o); animation: none !important; }
  .js .hero-title .line > span, .js .hero-sub, .js .hero-cta { transform: none; opacity: 1; }
  .js .hero-tube { opacity: 1; transform: rotate(62deg); }
  .js .wm-flick { clip-path: none; }
  [data-state="2"] .wand { animation: none !important; transform: translate(560px, 214px) rotate(-22deg); }
  [data-state="3"] .sheen { animation: none !important; }
}
