/* ==========================================================================
   Golden Rose — Skin Perfector CC Light
   One token layer, one frame, flat colour fields, real pictures.
   ========================================================================== */

/* --- tokens ------------------------------------------------------------- */
:root {
  /* surfaces */
  --alabaster: #faf6f0;
  --white: #ffffff;
  --obsidian: #1e1a16;
  --obsidian-soft: #2a251f;
  --nude: #e3c5bb;
  --nude-field: #efe3dc;
  --gold: #d4af37;

  /* ink */
  --ink: #1e1a16;
  --ink-soft: #6e655b;
  --ink-on-dark: #f4efe8;
  --ink-on-dark-soft: #a99f93;

  /* the six real swatches, sampled from the brand's printed shade chart */
  --s101: #d1ae95;
  --s102: #d0af99;
  --s103: #cba695;
  --s104: #c09470;
  --s105: #bc8964;
  --s106: #b68160;

  /* the live shade — set by the picker, defaults to 104 */
  --tint: var(--s104);
  --tint-ink: #1e1a16;

  /* type */
  --display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --text: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;

  --t-display: clamp(2.55rem, 7.6vw, 6.25rem);
  --t-h2: clamp(1.95rem, 4.4vw, 3.5rem);
  --t-h3: clamp(1.15rem, 1.7vw, 1.5rem);
  --t-statement: clamp(1.3rem, 2.4vw, 2.15rem);
  --t-body: clamp(1rem, 1.05vw, 1.0625rem);
  --t-small: 0.8125rem;

  /* frame */
  --gut: 20px;
  --section: clamp(84px, 11vw, 190px);
  --maxw: 1400px;
  --radius: 2px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur: 260ms;
  --dur-slow: 620ms;
}

@media (min-width: 768px) {
  :root { --gut: 34px; }
}
@media (min-width: 1200px) {
  :root { --gut: 46px; }
}

/* --- reset -------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--alabaster);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--t-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }

::selection { background: var(--gold); color: var(--obsidian); }

:focus-visible {
  outline: 2px solid var(--obsidian);
  outline-offset: 3px;
}
.on-dark :focus-visible,
.site-footer :focus-visible,
.drawer :focus-visible { outline-color: var(--gold); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--obsidian);
  color: var(--ink-on-dark);
  padding: 12px 18px;
  z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- layout ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.62); }

.field-white { background: var(--white); }
.field-nude { background: var(--nude-field); }
.field-dark { background: var(--obsidian); color: var(--ink-on-dark); }
.field-tint { background: var(--tint); }

.grid { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .grid { gap: 44px; }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

/* --- type --------------------------------------------------------------- */
.display {
  font-family: var(--display);
  font-size: var(--t-display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h2, .h2 {
  font-family: var(--display);
  font-size: var(--t-h2);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

h3, .h3 {
  font-family: var(--display);
  font-size: var(--t-h3);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.statement {
  font-size: var(--t-statement);
  line-height: 1.28;
  letter-spacing: -0.012em;
  max-width: 34ch;
}

.lede {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 46ch;
}

.muted { color: var(--ink-soft); }
.field-dark .muted { color: var(--ink-on-dark-soft); }

.small { font-size: var(--t-small); line-height: 1.5; }

.num { font-variant-numeric: tabular-nums; }

.rule-gold {
  width: 100%;
  height: 1px;
  background: var(--gold);
  border: 0;
}

/* --- actions ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  background: var(--obsidian);
  color: var(--ink-on-dark);
  transition: background-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
  will-change: transform;
}
.btn:hover { background: #332c25; }
.btn:active { transform: translateY(1px) scale(0.988); }

.btn--tint { background: var(--tint); color: var(--tint-ink); }
.btn--tint:hover { background: var(--tint); filter: brightness(0.94); }

.btn--light { background: var(--white); color: var(--obsidian); }
.btn--light:hover { background: #f2ece4; }

.btn--wide { width: 100%; }

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn.is-busy { pointer-events: none; }
.btn.is-busy .btn__label { opacity: 0.55; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  padding-block: 6px;
  border-bottom: 1px solid currentColor;
  transition: opacity var(--dur) var(--ease-out);
}
.link:hover { opacity: 0.62; }

.link--quiet { border-bottom-color: transparent; }
.link--quiet:hover { border-bottom-color: currentColor; opacity: 1; }

.link svg { transition: transform var(--dur) var(--ease-out); }
.link:hover svg { transform: translateX(3px); }

.actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }

/* --- header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--alabaster);
  transition: background-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.site-header.is-stuck { box-shadow: 0 1px 0 rgba(30, 26, 22, 0.12); }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}
@media (min-width: 900px) { .bar { min-height: 78px; } }

.wordmark {
  font-family: var(--display);
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  line-height: 1.05;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.wordmark span { font-size: var(--t-small); color: var(--ink-soft); letter-spacing: 0; }
.wordmark .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--tint);
  align-self: center;
  transition: background-color var(--dur-slow) var(--ease-out);
}

.nav { display: none; }
@media (min-width: 900px) {
  .nav {
    display: flex;
    gap: 30px;
    font-size: 0.9375rem;
  }
  .nav a { padding-block: 8px; position: relative; }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease-out);
  }
  .nav a:hover::after,
  .nav a[aria-current="page"]::after { transform: scaleX(1); }
}

.bar__actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color var(--dur) var(--ease-out);
}
.icon-btn:hover { background: rgba(30, 26, 22, 0.06); }
.icon-btn__count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--tint);
  color: var(--tint-ink);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--dur-slow) var(--ease-out);
}
.icon-btn__count[hidden] { display: none; }

.menu-btn { display: inline-flex; }
@media (min-width: 900px) { .menu-btn { display: none; } }

.drawer-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--alabaster);
  padding: 20px var(--gut) 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform var(--dur-slow) var(--ease-out), visibility var(--dur-slow);
}
.drawer-nav.is-open { transform: translateY(0); visibility: visible; }
.drawer-nav a {
  font-family: var(--display);
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  padding-block: 12px;
}
.drawer-nav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }

/* --- hero --------------------------------------------------------------- */
.hero { position: relative; padding-block: 34px 0; }
@media (min-width: 900px) { .hero { padding-block: 46px 0; } }

.hero__inner {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr);
    gap: 56px;
    min-height: min(78vh, 760px);
  }
}

.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
@media (min-width: 900px) { .hero__copy { gap: 28px; padding-block: 40px; } }

.hero__title { max-width: 15ch; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.hero__meta b { color: var(--ink); font-weight: 600; }

/* the light field: a real photograph, a flat shade wash, flat-filled waves */
.field {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 62vh;
  background: var(--nude-field);
}
@media (min-width: 900px) { .field { min-height: min(78vh, 760px); } }

.field__photo {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  transform: scale(1.04);
  will-change: transform;
}

.field__wash {
  position: absolute;
  inset: 0;
  background: var(--tint);
  mix-blend-mode: multiply;
  opacity: 0.42;
  transition: background-color var(--dur-slow) var(--ease-out);
}

.field__light {
  position: absolute;
  inset: 0;
  background: var(--alabaster);
  mix-blend-mode: soft-light;
  opacity: 0.5;
}

.field__tube {
  position: absolute;
  left: 50%;
  bottom: 8%;
  height: 74%;
  width: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 26px 34px rgba(30, 26, 22, 0.28));
  will-change: transform;
}
@media (min-width: 900px) { .field__tube { height: 82%; bottom: 6%; } }

.field__cap {
  position: absolute;
  left: 50%;
  bottom: 8%;
  height: 74%;
  width: auto;
  transform: translateX(-50%);
  pointer-events: none;
}
@media (min-width: 900px) { .field__cap { height: 82%; bottom: 6%; } }
.field__cap i {
  position: absolute;
  left: 33%;
  top: 77%;
  width: 34%;
  height: 21%;
  background: var(--tint);
  mix-blend-mode: color;
  opacity: 0.75;
  transition: background-color var(--dur-slow) var(--ease-out);
}

.field__price {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--white);
  padding: 16px 22px 18px;
  min-width: 168px;
}
.field__price strong {
  display: block;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.field__price span { font-size: var(--t-small); color: var(--ink-soft); }

/* shade picker */
.picker { width: 100%; }
.picker__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.dab {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform var(--dur-fast) var(--ease-out);
}
@media (min-width: 900px) { .dab { width: 42px; height: 42px; } }
.dab i {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  background: var(--s104);
  box-shadow: inset 0 0 0 1px rgba(30, 26, 22, 0.1);
}
.dab[data-shade="101"] i { background: var(--s101); }
.dab[data-shade="102"] i { background: var(--s102); }
.dab[data-shade="103"] i { background: var(--s103); }
.dab[data-shade="104"] i { background: var(--s104); }
.dab[data-shade="105"] i { background: var(--s105); }
.dab[data-shade="106"] i { background: var(--s106); }
.dab::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--obsidian);
  opacity: 0;
  transform: scale(0.88);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.dab[aria-pressed="true"]::after { opacity: 1; transform: scale(1); }
.dab:hover { transform: translateY(-3px); }
.dab:active { transform: translateY(0) scale(0.94); }
.dab__label {
  position: absolute;
  bottom: -20px;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}
.dab[aria-pressed="true"] .dab__label { color: var(--ink); font-weight: 600; }

.picker__now {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 34px;
  font-size: 0.9375rem;
}
.picker__now strong { font-weight: 600; font-variant-numeric: tabular-nums; }

/* shade-change flash */
.flash {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--tint);
  opacity: 0;
  pointer-events: none;
}

/* --- stats row ---------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 20px;
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; } }
.stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  font-weight: 400;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 6px; font-size: 0.9375rem; color: var(--ink-soft); }

/* --- ingredient strip (full-bleed photographic field) ------------------- */
.strip {
  display: grid;
  gap: 2px;
  background: var(--obsidian);
}
@media (min-width: 820px) { .strip { grid-template-columns: 1.35fr 1fr 1fr; } }

.strip__cell {
  position: relative;
  min-height: 58vh;
  overflow: hidden;
  background: var(--obsidian);
  text-align: left;
  display: block;
  width: 100%;
}
@media (min-width: 820px) { .strip__cell { min-height: 74vh; } }

.strip__cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.strip__cell:hover img { transform: scale(1.035); }
.strip__cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 26, 22, 0.42);
  transition: background-color var(--dur) var(--ease-out);
}
.strip__cell:hover::after { background: rgba(30, 26, 22, 0.3); }

.strip__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 24px 28px;
  color: var(--ink-on-dark);
  z-index: 2;
}
@media (min-width: 820px) { .strip__body { padding: 34px 32px 38px; } }
.strip__body h3 { color: var(--ink-on-dark); }
.strip__body p { margin-top: 10px; font-size: 0.9375rem; color: #ded5c9; max-width: 40ch; }
.strip__glossary {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--gold);
}

/* --- scroll story ------------------------------------------------------- */
.story { position: relative; }
.chapter { position: relative; height: 190vh; }
.chapter__stage {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--nude-field);
  display: grid;
  align-content: end;
}
@media (min-width: 900px) {
  .chapter { height: 250vh; }
  .chapter__stage { align-content: center; }
}
.no-motion .chapter { height: auto; }
.no-motion .chapter__stage { position: relative; height: auto; min-height: 76vh; align-content: center; }

.chapter__field {
  position: absolute;
  inset: 0;
  background: var(--alabaster);
}
.chapter__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(70vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  opacity: 0.16;
  mix-blend-mode: multiply;
}
.chapter__tube {
  position: absolute;
  left: 50%;
  top: 50%;
  height: min(58vh, 520px);
  width: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 30px 40px rgba(30, 26, 22, 0.22));
  will-change: transform;
}
.chapter__dome {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(84vw, 700px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.4);
  background: var(--tint);
  opacity: 0;
  mix-blend-mode: multiply;
  will-change: transform, opacity;
}
.chapter__copy {
  position: relative;
  z-index: 3;
  padding: 0 var(--gut) 40px;
}
@media (min-width: 900px) {
  .chapter__copy {
    padding: 0 var(--gut);
    max-width: 42ch;
  }
  .chapter__copy--right { margin-left: auto; }
}

.node {
  position: absolute;
  z-index: 4;
  width: 132px;
  opacity: 0;
  transform: translateY(22px) scale(0.94);
  will-change: transform, opacity;
}
@media (min-width: 900px) { .node { width: 176px; } }
.node img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.node figcaption { margin-top: 10px; font-size: 0.8125rem; color: var(--ink); }
.node figcaption b { display: block; font-weight: 600; font-size: 0.9375rem; }

.node--a { left: 4%; top: 12%; }
.node--b { right: 4%; top: 26%; }
.node--c { left: 12%; bottom: 10%; }
@media (max-width: 899px) {
  .node--a { left: 4%; top: 6%; }
  .node--b { right: 4%; top: 18%; }
  .node--c { left: 6%; bottom: 26%; }
}

/* --- shade selector ----------------------------------------------------- */
.shades-head {
  display: grid;
  gap: 24px;
  align-items: end;
}
@media (min-width: 900px) {
  .shades-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; }
}

.shade-list { display: grid; gap: 2px; }
.shade-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  background: var(--white);
  text-align: left;
  width: 100%;
  transition: background-color var(--dur) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
@media (min-width: 720px) {
  .shade-row { grid-template-columns: 74px minmax(0, 1fr) 128px 118px; padding: 20px 24px; }
}
.shade-row:hover { background: #f7f1ea; }
.shade-row:active { transform: scale(0.995); }
.shade-row[aria-pressed="true"] { background: var(--nude-field); }
.shade-row__dab {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--s104);
  box-shadow: inset 0 0 0 1px rgba(30, 26, 22, 0.1);
}
@media (min-width: 720px) { .shade-row__dab { width: 64px; height: 64px; } }
.shade-row[data-shade="101"] .shade-row__dab { background: var(--s101); }
.shade-row[data-shade="102"] .shade-row__dab { background: var(--s102); }
.shade-row[data-shade="103"] .shade-row__dab { background: var(--s103); }
.shade-row[data-shade="104"] .shade-row__dab { background: var(--s104); }
.shade-row[data-shade="105"] .shade-row__dab { background: var(--s105); }
.shade-row[data-shade="106"] .shade-row__dab { background: var(--s106); }
.shade-row__name { font-size: 1.0625rem; font-weight: 500; }
.shade-row__name small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.9375rem; margin-top: 3px; }
.shade-row__meta { font-size: 0.9375rem; color: var(--ink-soft); }
.shade-row__hex { font-size: 0.9375rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.shade-row__go { display: none; }
@media (min-width: 720px) { .shade-row__go { display: block; text-align: right; } }

.chart-photo {
  position: relative;
  background: var(--white);
  padding: 18px;
}
.chart-photo img { width: 100%; }
.chart-photo figcaption {
  margin-top: 12px;
  font-size: var(--t-small);
  color: var(--ink-soft);
}

/* --- quiz --------------------------------------------------------------- */
.quiz {
  background: var(--white);
  padding: 26px 22px 30px;
  border-radius: var(--radius);
}
@media (min-width: 720px) { .quiz { padding: 38px 36px 42px; } }

.quiz__steps { display: grid; gap: 22px; }
.quiz__step[hidden] { display: none; }
.quiz__legend {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  margin-bottom: 4px;
}
.quiz__hint { font-size: 0.9375rem; color: var(--ink-soft); margin-bottom: 16px; }

.options { display: grid; gap: 10px; }
@media (min-width: 720px) { .options--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--alabaster);
  border-radius: var(--radius);
  text-align: left;
  width: 100%;
  min-height: 60px;
  transition: background-color var(--dur) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.option:hover { background: var(--nude-field); }
.option:active { transform: scale(0.99); }
.option[aria-pressed="true"] { background: var(--obsidian); color: var(--ink-on-dark); }
.option__swatch {
  width: 34px; height: 34px;
  border-radius: 50%;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(30, 26, 22, 0.12);
}
.option__text b { display: block; font-weight: 600; font-size: 0.9375rem; }
.option__text small { display: block; font-size: 0.8125rem; opacity: 0.75; }

.quiz__foot {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.quiz__progress { display: flex; gap: 6px; }
.quiz__progress i {
  width: 30px; height: 2px;
  background: rgba(30, 26, 22, 0.16);
  transition: background-color var(--dur) var(--ease-out);
}
.quiz__progress i.is-on { background: var(--obsidian); }

.quiz__result { display: grid; gap: 24px; }
@media (min-width: 820px) {
  .quiz__result { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
}
.result-card {
  background: var(--alabaster);
  padding: 26px 24px 28px;
  display: grid;
  gap: 16px;
}
.result-card__dab {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--tint);
  box-shadow: inset 0 0 0 1px rgba(30, 26, 22, 0.1);
  transition: background-color var(--dur-slow) var(--ease-out);
}

/* --- reel (horizontal gallery) ------------------------------------------ */
.reel-outer { overflow: hidden; }
.reel {
  display: flex;
  gap: 14px;
  padding-inline: var(--gut);
  will-change: transform;
}
@media (min-width: 900px) { .reel { gap: 22px; } }
.reel__item {
  flex: none;
  width: min(76vw, 400px);
  background: var(--white);
}
@media (min-width: 900px) { .reel__item { width: min(30vw, 440px); } }
.reel__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.reel__item figcaption {
  padding: 16px 18px 20px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.reel__item figcaption b { display: block; color: var(--ink); font-weight: 600; }

.reel-ctl { display: flex; gap: 10px; }
.reel-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: background-color var(--dur) var(--ease-out);
}
.reel-btn:hover { background: var(--nude-field); }

/* --- reviews ------------------------------------------------------------ */
.review-grid { display: grid; gap: 2px; }
@media (min-width: 820px) { .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review {
  background: var(--obsidian-soft);
  padding: 30px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review__stars { display: flex; gap: 3px; color: var(--gold); }
.review__quote {
  font-family: var(--display);
  font-size: 1.1875rem;
  line-height: 1.4;
  color: var(--ink-on-dark);
}
.review__by { margin-top: auto; font-size: 0.875rem; color: var(--ink-on-dark-soft); }
.review__by b { display: block; color: var(--ink-on-dark); font-weight: 600; font-size: 0.9375rem; }

.review-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 20px;
  margin-bottom: 26px;
}
.review-summary b {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.6vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* --- faq ---------------------------------------------------------------- */
.faq { display: grid; gap: 0; }
.faq__item { border-top: 0; }
.faq__item + .faq__item { margin-top: 2px; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  text-align: left;
  padding: 22px 24px;
  background: var(--white);
  font-size: 1.0625rem;
  font-weight: 500;
  transition: background-color var(--dur) var(--ease-out);
}
.faq__q:hover { background: #f7f1ea; }
.faq__q svg { flex: none; transition: transform var(--dur) var(--ease-out); }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a {
  background: var(--white);
  padding: 0 24px 24px;
  max-width: 78ch;
}
.faq__a[hidden] { display: none; }

/* --- newsletter + footer ------------------------------------------------ */
.news {
  display: grid;
  gap: 26px;
}
@media (min-width: 900px) {
  .news { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
}

.form { display: grid; gap: 16px; }
.form--row { display: flex; flex-wrap: wrap; gap: 12px; }
.form--row .field { flex: 1 1 260px; }

.field { display: grid; gap: 7px; }
.field label { font-size: 0.875rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  background: var(--white);
  border: 1px solid rgba(30, 26, 22, 0.16);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--obsidian);
  outline: none;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--obsidian);
  outline-offset: 1px;
}
.field__hint { font-size: 0.8125rem; color: var(--ink-soft); }
.field__error { font-size: 0.8125rem; color: #9b2c1f; }
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: #9b2c1f; }
.field[data-invalid="true"] input:focus-visible,
.field[data-invalid="true"] select:focus-visible,
.field[data-invalid="true"] textarea:focus-visible { outline-color: #9b2c1f; }

.on-dark .field input, .on-dark .field select, .on-dark .field textarea,
.site-footer .field input, .site-footer .field select, .site-footer .field textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(244, 239, 232, 0.28);
  color: var(--ink-on-dark);
}
.site-footer .field label { color: var(--ink-on-dark); }
.site-footer .field__hint { color: var(--ink-on-dark-soft); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status {
  font-size: 0.9375rem;
  padding: 14px 16px;
  border-radius: var(--radius);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.form__status[hidden] { display: none; }
.form__status--ok { background: #e8efe4; color: #26401f; }
.form__status--err { background: #f6e3e0; color: #7d2a1e; }
.form__status--wait { background: var(--nude-field); color: var(--ink); }

.site-footer { background: var(--obsidian); color: var(--ink-on-dark); padding-block: clamp(56px, 8vw, 96px) 32px; }
.footer-name {
  font-family: var(--display);
  font-size: clamp(2.6rem, 11vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink-on-dark);
  width: 100%;
  padding-bottom: 34px;
}
.footer-cols {
  display: grid;
  gap: 30px;
  padding-block: 40px;
}
@media (min-width: 720px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; } }
@media (min-width: 1000px) { .footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-cols h3 { font-family: var(--text); font-size: 0.9375rem; font-weight: 600; margin-bottom: 14px; color: var(--ink-on-dark); }
.footer-cols li + li { margin-top: 9px; }
.footer-cols a, .footer-cols p { font-size: 0.9375rem; color: var(--ink-on-dark-soft); }
.footer-cols a:hover { color: var(--ink-on-dark); }
.footer-cols dl { display: grid; gap: 9px; font-size: 0.9375rem; color: var(--ink-on-dark-soft); }
.footer-cols dt { color: var(--ink-on-dark); font-weight: 600; font-size: 0.875rem; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 0.8125rem;
  color: var(--ink-on-dark-soft);
}

/* --- bag drawer --------------------------------------------------------- */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  z-index: 95;
  background: var(--alabaster);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur-slow) var(--ease-out), visibility var(--dur-slow);
  box-shadow: -14px 0 40px rgba(30, 26, 22, 0.16);
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  flex: none;
}
.drawer__body { flex: 1; overflow-y: auto; padding: 0 22px 22px; }
.drawer__foot { flex: none; padding: 18px 22px 24px; background: var(--white); }

.bag-line { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding-block: 18px; }
.bag-line + .bag-line { margin-top: 2px; }
.bag-line__thumb { width: 62px; height: 78px; background: var(--nude-field); display: grid; place-items: center; }
.bag-line__thumb img { height: 64px; width: auto; }
.bag-line__name { font-weight: 500; }
.bag-line__meta { font-size: 0.875rem; color: var(--ink-soft); margin-top: 3px; }
.bag-line__price { font-variant-numeric: tabular-nums; font-weight: 500; }

.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; }
.qty button {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--white);
  border-radius: var(--radius);
  transition: background-color var(--dur) var(--ease-out);
}
.qty button:hover { background: var(--nude-field); }
.qty span { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }

.totals { display: grid; gap: 9px; font-size: 0.9375rem; }
.totals div { display: flex; justify-content: space-between; gap: 16px; }
.totals .grand { font-size: 1.0625rem; font-weight: 600; padding-top: 11px; border-top: 1px solid rgba(30, 26, 22, 0.14); }
.totals .num { font-variant-numeric: tabular-nums; }

.scrim {
  position: fixed;
  inset: 0;
  z-index: 92;
  background: rgba(30, 26, 22, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
}
.scrim.is-open { opacity: 1; visibility: visible; }

/* --- states ------------------------------------------------------------- */
.state {
  padding: 34px 26px;
  background: var(--white);
  display: grid;
  gap: 10px;
  justify-items: start;
}
.state--dark { background: var(--obsidian-soft); color: var(--ink-on-dark); }
.state h3 { font-family: var(--text); font-size: 1.0625rem; font-weight: 600; }
.state p { font-size: 0.9375rem; color: var(--ink-soft); max-width: 52ch; }
.state--dark p { color: var(--ink-on-dark-soft); }

.skeleton { display: grid; gap: 2px; }
.skeleton i {
  display: block;
  height: 128px;
  background: #f1eae2;
  animation: pulse 1.5s var(--ease-in-out) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

/* --- product page ------------------------------------------------------- */
.gallery { display: grid; gap: 2px; }
@media (min-width: 820px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery__main { background: var(--nude-field); display: grid; place-items: center; padding: 34px 22px; min-height: 56vh; }
.gallery__main img { height: min(52vh, 460px); width: auto; }
.gallery__grid { display: grid; gap: 2px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.buy { display: grid; gap: 26px; }
.buy__price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.buy__price b {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.spec { display: grid; gap: 0; }
.spec div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  font-size: 0.9375rem;
}
.spec div + div { border-top: 1px solid rgba(30, 26, 22, 0.1); }
.spec dt { color: var(--ink-soft); }
.spec dd { text-align: right; }

.accordion__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  background: var(--white);
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color var(--dur) var(--ease-out);
}
.accordion__q:hover { background: #f7f1ea; }
.accordion__q svg { flex: none; transition: transform var(--dur) var(--ease-out); }
.accordion__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.accordion__a { background: var(--white); padding: 0 22px 22px; font-size: 0.9375rem; color: var(--ink-soft); max-width: 78ch; }
.accordion__a[hidden] { display: none; }
.accordion__item + .accordion__item { margin-top: 2px; }

/* --- misc --------------------------------------------------------------- */
.progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  z-index: 70;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.page-head { padding-block: clamp(48px, 8vw, 96px) clamp(30px, 4vw, 56px); }
.page-head .lede { margin-top: 20px; }
.page-head .statement { margin-top: 22px; }

.notice {
  background: var(--nude-field);
  padding: 16px 20px;
  font-size: 0.9375rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.notice svg { flex: none; margin-top: 2px; }

.center-narrow { max-width: 68ch; }

.stack { display: grid; gap: 18px; }
.stack--lg { gap: 30px; }

.two-col { display: grid; gap: 30px; }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }

.err-404 { display: grid; gap: 22px; place-items: start; padding-block: clamp(60px, 14vh, 160px); }

/* --- reveal (motion switched on by JS) ---------------------------------- */
[data-reveal] { opacity: 1; }
.js [data-reveal] { opacity: 0; }
.js.is-ready [data-reveal] { opacity: 1; }

/* --- additions ---------------------------------------------------------- */
.wordmark span { display: none; }
@media (min-width: 520px) { .wordmark span { display: inline; } }

/* the shade label on the hero field cross-fades as the shade changes */
.field__tag { transition: background-color var(--dur) var(--ease-out); }

.strip__glossary button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gold);
  padding-block: 6px;
  transition: opacity var(--dur) var(--ease-out);
}
.strip__glossary button:hover { opacity: 0.72; }
.strip__glossary button svg { transition: transform var(--dur) var(--ease-out); }
.strip__glossary button[aria-expanded="true"] svg { transform: rotate(45deg); }
.strip__panel {
  margin-top: 12px;
  font-size: 0.875rem;
  color: #ded5c9;
  max-width: 42ch;
}
.strip__panel[hidden] { display: none; }
.strip__panel b { color: var(--ink-on-dark); }

.reel-outer {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.reel-outer::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .reel-outer { overflow: hidden; scroll-behavior: auto; } }
.reel { scroll-snap-type: x mandatory; }
.reel__item { scroll-snap-align: start; }

.star-input { display: flex; gap: 4px; }
.star-input button {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  transition: background-color var(--dur) var(--ease-out);
}
.star-input button:hover { background: rgba(255, 255, 255, 0.08); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: var(--nude-field);
  color: var(--ink);
  font-size: 0.8125rem;
  border-radius: var(--radius);
}

.tint-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--tint);
  transition: background-color var(--dur-slow) var(--ease-out);
}

.toc { display: grid; gap: 2px; }
.toc a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  background: var(--white);
  font-size: 0.9375rem;
  transition: background-color var(--dur) var(--ease-out);
}
.toc a:hover { background: #f7f1ea; }

.rich { display: grid; gap: 16px; max-width: 66ch; }
.rich h3 { margin-top: 6px; }
.rich ul { display: grid; gap: 9px; }
.rich li { padding-left: 20px; position: relative; }
.rich li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--tint);
}

.media-frame { background: var(--white); }
.media-frame img { width: 100%; object-fit: cover; }
.media-frame figcaption { padding: 14px 16px 18px; font-size: var(--t-small); color: var(--ink-soft); }

.burst-canvas {
  position: fixed;
  inset: 0;
  z-index: 58;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ======================================================================
   Design refinements — rhythm, eyebrows, image craft
   ====================================================================== */

/* an eyebrow label sits above a section heading, tied to a single gold rule */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.field-dark .eyebrow,
.on-dark .eyebrow { color: rgba(244, 239, 232, 0.72); }

/* the hero field: a real macro photograph under a shade wash and a vignette */
.field__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(115% 95% at 52% 38%, rgba(30, 26, 22, 0) 36%, rgba(30, 26, 22, 0.32) 100%),
    linear-gradient(to top, rgba(30, 26, 22, 0.3), rgba(30, 26, 22, 0) 44%);
}
.field__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border-radius: var(--radius);
  background: rgba(250, 246, 240, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.field__tag i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tint);
  transition: background-color var(--dur-slow) var(--ease-out);
}

/* the hero price reads as a caption, not a card */
.field__price {
  background: rgba(250, 246, 240, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* stats read as one measured band */
.stats {
  border-top: 1px solid rgba(30, 26, 22, 0.14);
  border-bottom: 1px solid rgba(30, 26, 22, 0.14);
  padding-block: clamp(26px, 4vw, 42px);
}

/* real swatch tiles, cut from the brand's own printed shade chart */
.swatch-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: rgba(30, 26, 22, 0.1);
}
.swatch-tile {
  position: relative;
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 18px 10px 16px;
  background: var(--alabaster);
  transition: background-color var(--dur) var(--ease-out);
}
.swatch-tile img { width: 100%; height: auto; }
.swatch-tile span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}
.swatch-tile:hover { background: var(--white); }
.swatch-tile[aria-pressed="true"] { background: var(--white); }
.swatch-tile[aria-pressed="true"] span { color: var(--ink); font-weight: 600; }

/* --- reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1 !important; }
  .node { opacity: 1; transform: none; }
  .field__tube { filter: drop-shadow(0 20px 26px rgba(30, 26, 22, 0.24)); }
}
