/* =========================================================================
   Vioré design tokens
   Single source of truth for color, type, space, radius, elevation, motion.
   Components below reference these only. No raw hex or one-off px values.
   ========================================================================= */
:root {
  /* --- Brand color ---------------------------------------------------- */
  --color-primary: #5b1735;
  --color-primary-dark: #35111f;
  --color-accent: #d9577f;
  --color-accent-dark: #bf4067;
  --color-gold: #c78a2d;

  /* --- Surfaces ------------------------------------------------------- */
  /* Pinks warmed to match the studio photography (sampled #e69c99-#f5b0ab).
     Burgundy, gold and cream are straight from the logo and stay as-is. */
  --color-petal: #f7c8c2;
  --color-petal-mid: #f0aca6;
  --color-petal-deep: #e89c99;
  --color-blush: #fbeceb;
  --color-cream-pink: #fff5f2;
  --color-cream-deep: #fff6ef;
  --wash-rose: rgba(240, 172, 166, 0.48);
  --wash-blush-strong: rgba(251, 236, 235, 0.92);
  --wash-petal-strong: rgba(240, 172, 166, 0.9);
  --color-cream: #fff8f2;
  --color-surface: #fffdf9;
  --color-surface-raised: #ffffff;
  --color-surface-sunk: #fffaf7;
  --color-latte: #f4e7de;

  /* --- Text ----------------------------------------------------------- */
  --color-text: #26171c;
  --color-text-muted: #6f5c62;
  --color-text-subtle: #9c858c;
  --color-on-primary: #fff8fa;
  --color-on-dark-muted: rgba(255, 255, 255, 0.72);

  /* --- Status --------------------------------------------------------- */
  --color-danger: #a3202f;
  --color-danger-soft: #fdeef1;
  --color-success: #2f6b4f;

  /* --- Lines, rings, scrims ------------------------------------------- */
  --color-border-soft: rgba(91, 23, 53, 0.08);
  --color-border: rgba(91, 23, 53, 0.14);
  --color-border-strong: rgba(91, 23, 53, 0.22);
  --color-scrim: rgba(38, 23, 28, 0.5);
  --focus-ring: 0 0 0 3px rgba(217, 87, 127, 0.42);

  /* --- Typeface ------------------------------------------------------- */
  --font-serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-sans: "DM Sans", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;

  /* --- Type scale ------------------------------------------------------
     Display / H1 / H2 are fluid. Body is anchored at 16px.               */
  --fs-display: clamp(52px, 6.8vw, 104px);
  --fs-h1: clamp(40px, 5vw, 78px);
  --fs-h2: clamp(28px, 2.9vw, 40px);
  --fs-h3: 30px;
  --fs-h4: 22px;
  --fs-h5: 20px;
  --fs-body-lg: clamp(15px, 1.2vw, 18px);
  --fs-body: 16px;
  --fs-small: 13px;
  --fs-xs: 12px;
  --fs-caption: 11px;
  --fs-micro: 10px;
  --fs-nano: 9px;

  --lh-display: 0.98;
  --lh-heading: 1.05;
  --lh-snug-alt: 1.45;
  --lh-body: 1.6;
  --lh-relaxed: 1.85;

  --tracking-display: -0.04em;
  --tracking-caps: 0.14em;
  --tracking-caps-wide: 0.22em;

  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* --- Space ---------------------------------------------------------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 22px;
  --space-6: 28px;
  --space-7: 36px;
  --space-8: 48px;
  --space-9: 64px;
  --space-10: 88px;
  --space-section: clamp(84px, 11vw, 160px);
  --space-gutter: clamp(24px, 7vw, 110px);

  /* --- Radius --------------------------------------------------------- */
  --radius-xs: 4px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* --- Elevation ------------------------------------------------------ */
  --shadow-xs: 0 2px 10px rgba(53, 17, 31, 0.05);
  --shadow-sm: 0 12px 36px rgba(53, 17, 31, 0.07);
  --shadow-md: 0 22px 50px rgba(53, 17, 31, 0.09);
  --shadow-lg: 0 28px 90px rgba(53, 17, 31, 0.15);
  --shadow-xl: 0 30px 100px rgba(53, 17, 31, 0.24);
  --shadow-bloom: 0 30px 64px rgba(91, 23, 53, 0.18), 0 6px 18px rgba(217, 87, 127, 0.16);
  --shadow-button: 0 10px 24px rgba(91, 23, 53, 0.22);
  --shadow-button-accent: 0 12px 28px rgba(217, 87, 127, 0.34);

  /* --- Motion ---------------------------------------------------------
     Spring-weighted easing throughout. Nothing linear.                   */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bloom: cubic-bezier(0.34, 1.42, 0.5, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 160ms;
  --dur-base: 260ms;
  --dur-slow: 520ms;
  --dur-image: 760ms;
  --dur-reveal: 880ms;
  --reveal-step: 90ms;
  --reveal-shift: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-10);
}

body {
  margin: 0;
  color: var(--color-text);
  background:
    radial-gradient(circle at top right, var(--wash-rose), transparent 28%),
    var(--color-surface);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

body.no-scroll {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: var(--tracking-display);
}

/* --- Focus: one visible, consistent ring on every interactive element --- */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

.button:focus-visible,
.add-button:focus-visible,
.bag-button:focus-visible,
.newsletter-form button:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.announcement a:focus-visible,
footer a:focus-visible,
footer nav a:focus-visible {
  outline-color: var(--color-petal);
}

/* --- Icon sizing -------------------------------------------------------- */
.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-solid {
  fill: currentColor;
  stroke: none;
}

.announcement {
  min-height: 36px;
  padding: var(--space-2) 5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: var(--fs-micro);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.announcement p {
  margin: 0;
}

.announcement-mark {
  width: 11px;
  height: 11px;
  color: var(--color-petal);
  animation: sparkle-pulse 4.2s var(--ease-soft) infinite;
}

@keyframes sparkle-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.9) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.08) rotate(45deg); }
}

.site-header {
  height: 88px;
  padding: 0 clamp(22px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 248, 242, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-soft);
  transition: box-shadow 220ms ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 28px rgba(53, 17, 31, 0.08);
}

/* =========================================================================
   Wordmark
   The supplied logo lockup is a fixed-aspect raster, so it is sized by
   height and left to derive its own width. --logo-height is the only knob.
   ========================================================================= */
.wordmark,
.footer-wordmark {
  width: max-content;
  display: block;
  position: relative;
  line-height: 0;
}

.wordmark img,
.footer-wordmark img {
  width: auto;
  height: var(--logo-height);
  transition: transform var(--dur-base) var(--ease-bloom), opacity var(--dur-fast) var(--ease-spring);
}

.wordmark {
  --logo-height: 46px;
}

.wordmark img:hover {
  transform: translateY(-2px) scale(1.03);
}

.wordmark:active img {
  transform: translateY(0) scale(0.99);
}

.wordmark:focus-visible,
.footer-wordmark:focus-visible {
  outline-offset: 6px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
  font-size: var(--fs-caption);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.desktop-nav a {
  padding-bottom: var(--space-1);
  position: relative;
  transition: color var(--dur-fast) var(--ease-spring);
}

/* Nav underline grows from the left on hover and stays for the active section */
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-base) var(--ease-spring);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.nav-active::after {
  transform: scaleX(1);
}

.instagram-link {
  transition: color var(--dur-fast) var(--ease-spring), transform var(--dur-base) var(--ease-bloom);
}

.instagram-link:hover {
  transform: translateY(-2px) rotate(-6deg);
}

.desktop-nav a:hover,
.desktop-nav a.nav-active,
.instagram-link:hover,
.mobile-nav a:hover,
.mobile-nav a.nav-active {
  color: var(--color-accent);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.instagram-link {
  width: 18px;
  height: 18px;
}

.instagram-link svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.bag-button,
.menu-button {
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.bag-button {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  margin: calc(var(--space-2) * -1);
  border-radius: var(--radius-pill);
  font-size: var(--fs-caption);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--dur-fast) var(--ease-spring);
}

.bag-button:hover {
  color: var(--color-accent);
}

.bag-button:active .bag-count {
  transform: scale(0.9);
}

.bag-count {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-circle);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: var(--fs-micro);
  transition: transform var(--dur-base) var(--ease-bloom), background-color var(--dur-fast) var(--ease-spring);
}

.bag-button:hover .bag-count {
  background: var(--color-accent);
}

/* Pulse fired from script.js each time an item lands in the bag */
.bag-count.bag-count-bump {
  animation: bag-bump var(--dur-slow) var(--ease-bloom);
}

@keyframes bag-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.32); background: var(--color-accent); }
  100% { transform: scale(1); }
}

.menu-button {
  width: 30px;
  padding: 6px 0;
  display: none;
}

.menu-button span {
  width: 100%;
  height: 1px;
  display: block;
  margin: 6px 0;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-button.open span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  min-height: calc(100vh - 124px);
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--wash-blush-strong) 0 52%, var(--wash-petal-strong) 52% 100%);
}

.hero-copy {
  padding: clamp(68px, 10vh, 126px) clamp(24px, 6vw, 86px);
  align-self: center;
  position: relative;
}

.hero-proof {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-primary);
  font-size: var(--fs-caption);
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-xs);
}

.hero-floating-bottle {
  display: none;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--color-accent);
  font-size: var(--fs-micro);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-caps-wide);
  text-transform: uppercase;
}

h1,
.section-heading h2,
.results-copy h2,
.ingredients h2,
.ritual h2,
.newsletter h2,
.faq h2 {
  font-family: var(--font-serif);
  font-weight: var(--weight-regular);
  line-height: var(--lh-display);
}

/* Display tier */
h1 {
  max-width: 720px;
  margin-bottom: var(--space-6);
  color: var(--color-primary-dark);
  font-size: var(--fs-display);
}

h1 em,
h2 em {
  color: var(--color-accent);
  font-style: italic;
  font-weight: var(--weight-regular);
}

.hero-text {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--color-text-muted);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-relaxed);
}

.hero-offer {
  max-width: 620px;
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-offer div {
  padding: 18px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.58);
  transition:
    transform var(--dur-base) var(--ease-spring),
    background-color var(--dur-base) var(--ease-spring),
    border-color var(--dur-base) var(--ease-spring),
    box-shadow var(--dur-base) var(--ease-spring);
}

.hero-offer div:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-sm);
}

.hero-offer strong {
  display: block;
  margin-bottom: var(--space-1);
  color: var(--color-primary);
  font-size: var(--fs-body);
}

.hero-offer span {
  color: var(--color-text-muted);
  font-size: var(--fs-xs);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* =========================================================================
   Buttons
   Every variant carries hover, focus-visible, active, disabled and loading.
   ========================================================================= */
.button {
  min-height: 52px;
  padding: 15px var(--space-6);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: var(--fs-caption);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    transform var(--dur-base) var(--ease-bloom),
    background-color var(--dur-base) var(--ease-spring),
    color var(--dur-base) var(--ease-spring),
    border-color var(--dur-base) var(--ease-spring),
    box-shadow var(--dur-base) var(--ease-spring);
}

/* Sheen that wipes across the face of the button on hover */
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.26) 50%, transparent 62%);
  transform: translateX(-120%);
  pointer-events: none;
  transition: transform var(--dur-slow) var(--ease-spring);
}

.button:hover::before {
  transform: translateX(120%);
}

.button > * {
  position: relative;
}

.button:hover {
  transform: translateY(-3px);
}

.button:active {
  transform: translateY(-1px) scale(0.985);
  transition-duration: var(--dur-fast);
}

.button-primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: var(--shadow-xs);
}

.button-primary:hover {
  background: var(--color-accent);
  box-shadow: var(--shadow-button-accent);
}

.button-primary:active {
  background: var(--color-accent-dark);
  box-shadow: var(--shadow-button);
}

.button-secondary {
  background: var(--color-surface-raised);
  color: var(--color-primary);
  border-color: var(--color-border-strong);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.button-secondary:active,
.button-ghost:active {
  background: var(--color-blush);
}

.button-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border-strong);
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
  filter: grayscale(0.25);
}

.button:disabled::before,
.button[aria-disabled="true"]::before {
  display: none;
}

/* Loading: label fades out, a botanical ring spins in its place */
.button.is-loading {
  cursor: progress;
  color: transparent;
  pointer-events: none;
}

.button.is-loading::after {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -9px 0 0 -9px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: var(--radius-circle);
  color: var(--color-on-primary);
  animation: button-spin 720ms linear infinite;
}

.button-secondary.is-loading::after,
.button-ghost.is-loading::after {
  color: var(--color-primary);
}

@keyframes button-spin {
  to { transform: rotate(360deg); }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding-bottom: var(--space-1);
  border-bottom: 1px solid currentColor;
  color: var(--color-primary);
  font-size: var(--fs-caption);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--dur-base) var(--ease-spring), border-color var(--dur-base) var(--ease-spring);
}

.text-link:hover {
  color: var(--color-accent);
}

.text-link .icon {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-base) var(--ease-bloom);
}

.text-link:hover .icon,
.text-link:focus-visible .icon {
  transform: translateX(5px);
}

.text-link:active .icon {
  transform: translateX(2px);
}

.hero-notes {
  margin-top: clamp(42px, 7vh, 82px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: var(--fs-small);
  font-style: italic;
}

/* Four-point petal marker drawn in CSS, no glyph or emoji */
.hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.hero-notes span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--color-accent);
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
}

.hero-visual {
  min-height: 700px;
  padding: clamp(30px, 4vw, 64px);
  display: grid;
  place-items: center;
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.52) 0 1px, transparent 2px),
    linear-gradient(150deg, var(--color-petal), var(--color-petal-mid) 52%, var(--color-petal-deep));
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border: 1px solid var(--color-border);
  border-radius: 50%;
}

.hero-visual::before {
  width: 470px;
  height: 470px;
  animation: ring-drift 22s var(--ease-soft) infinite;
}

.hero-visual::after {
  width: 570px;
  height: 570px;
  animation: ring-drift 28s var(--ease-soft) infinite reverse;
}

@keyframes ring-drift {
  0%, 100% { transform: scale(1) translateY(0); opacity: 1; }
  50% { transform: scale(1.035) translateY(-8px); opacity: 0.72; }
}

/* --- Hero image: scroll parallax fed by --parallax-y from script.js ----- */
.hero-image-wrap {
  width: min(68%, 510px);
  height: min(76vh, 720px);
  min-height: 540px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(1deg) translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06) translate3d(0, calc(var(--parallax-y, 0px) * -0.45), 0);
  transition: transform var(--dur-image) var(--ease-spring);
}

.hero-visual:hover .hero-image-wrap img {
  transform: scale(1.1) translate3d(0, calc(var(--parallax-y, 0px) * -0.45), 0);
}

.hero-script {
  position: absolute;
  right: -54px;
  top: 42%;
  z-index: 3;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-serif);
  font-size: clamp(90px, 10vw, 150px);
  font-style: italic;
  transform: translate3d(0, var(--parallax-script, 0px), 0) rotate(90deg);
  will-change: transform;
}

.hero-badge {
  width: 132px;
  height: 132px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 6%;
  bottom: 11%;
  z-index: 4;
  border-radius: var(--radius-circle);
  background: var(--color-cream);
  color: var(--color-primary);
  box-shadow: var(--shadow-bloom);
  line-height: 1.1;
  text-align: center;
}

/* Slow bob so the badge reads as suspended, not pinned */
.hero-badge.revealed {
  animation: badge-float 7s var(--ease-soft) 900ms infinite;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(-1.5deg); }
}

.hero-badge strong {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: var(--weight-regular);
}

.hero-badge span {
  font-size: var(--fs-nano);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-badge .hero-badge-small {
  color: var(--color-accent);
  font-size: 8px;
}

.hero-card {
  width: min(320px, calc(100% - 36px));
  padding: 26px;
  position: absolute;
  right: clamp(20px, 4vw, 42px);
  bottom: clamp(20px, 4vw, 42px);
  z-index: 5;
  background: rgba(255, 248, 242, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-slow) var(--ease-spring), box-shadow var(--dur-slow) var(--ease-spring);
}

.hero-card.revealed:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-bloom);
}

.hero-card p,
.hero-card-list,
.hero-card-list li,
.hero-card > p {
  margin-bottom: 8px;
  font-size: var(--fs-micro);
  font-weight: var(--weight-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin-bottom: 14px;
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: var(--weight-regular);
  line-height: 1.05;
}

.hero-card-list {
  margin: 0 0 22px;
  padding-left: 18px;
  font-size: var(--fs-small);
}

.trust-strip {
  padding: 30px clamp(24px, 6vw, 90px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
}

.trust-strip article {
  padding: 0 clamp(18px, 3vw, 36px);
  border-right: 1px solid var(--color-border);
}

.trust-strip article:last-child {
  border-right: 0;
}

.trust-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  font-weight: var(--weight-regular);
}

.trust-strip p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

.section-pad {
  padding: var(--space-section) var(--space-gutter);
}

.section-heading {
  margin-bottom: clamp(48px, 7vw, 92px);
  display: grid;
  grid-template-columns: 1.12fr 0.72fr;
  align-items: end;
  gap: 64px;
}

.section-heading h2,
.results-copy h2,
.ingredients h2,
.ritual h2,
.newsletter h2,
.faq h2 {
  margin-bottom: 0;
  color: var(--color-primary-dark);
  font-size: var(--fs-h1);
}

.section-heading > p,
.results-copy > p:not(.eyebrow),
.ingredients-lede,
.faq .section-heading > p {
  color: var(--color-text-muted);
}

.shop-section {
  background: var(--color-surface);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
}

/* =========================================================================
   Product cards
   Hover: lift, shadow bloom, image push-in, warm wash, CTA micro-interaction.
   ========================================================================= */
.product-card {
  padding: 18px;
  background: var(--color-surface-raised);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur-slow) var(--ease-spring),
    box-shadow var(--dur-slow) var(--ease-spring);
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-10px);
  box-shadow: var(--shadow-bloom);
}

.product-card-featured {
  transform: translateY(36px);
}

.product-card-featured:hover,
.product-card-featured:focus-within {
  transform: translateY(26px);
}

.product-image {
  /* Matches the 4:5 product exports exactly, so object-fit never crops the
     flanking roses out of frame. */
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background: var(--color-blush);
}

.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(53, 17, 31, 0.16), transparent 34%);
  pointer-events: none;
  transition: opacity var(--dur-image) var(--ease-spring);
}

/* Petal-toned wash that blooms in behind the bottle on hover */
.product-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 78%, rgba(232, 156, 153, 0.34), transparent 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-image) var(--ease-spring);
}

.product-card:hover .product-image::before,
.product-card:focus-within .product-image::before {
  opacity: 1;
}

.product-card:hover .product-image::after,
.product-card:focus-within .product-image::after {
  opacity: 0.6;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-image) var(--ease-spring);
}

.product-card:hover .product-image img,
.product-card:focus-within .product-image img {
  transform: scale(1.055);
}

.product-tag {
  padding: 9px var(--space-4);
  position: absolute;
  left: var(--space-4);
  top: var(--space-4);
  z-index: 2;
  background: rgba(255, 248, 242, 0.94);
  color: var(--color-primary);
  font-size: var(--fs-nano);
  font-weight: var(--weight-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: transform var(--dur-base) var(--ease-bloom), background-color var(--dur-base) var(--ease-spring);
}

.product-card:hover .product-tag {
  transform: translateY(-2px);
  background: var(--color-cream);
}

.product-info {
  padding: 24px 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.product-size {
  margin-bottom: 4px;
  color: var(--color-accent);
  font-size: var(--fs-nano);
  font-weight: var(--weight-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-info h3 {
  margin-bottom: 6px;
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: var(--weight-regular);
  line-height: var(--lh-heading);
}

.product-info div > p:last-child {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

.product-price-block {
  min-width: 92px;
  text-align: right;
}

.product-price {
  display: block;
  margin-bottom: 4px;
  color: var(--color-primary);
  font-size: var(--fs-h4);
}

.product-price-block span {
  color: var(--color-text-muted);
  font-size: var(--fs-caption);
}

.product-meta {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--color-blush);
  color: var(--color-primary);
  font-size: var(--fs-micro);
  font-weight: var(--weight-bold);
  letter-spacing: 0.05em;
}

/* Size selector. Only Hair Growth Oil carries one today, so the rules stay
   scoped to the card and sit directly above the add button. */
.size-select {
  margin: 0 0 var(--space-3);
  padding: 0;
  display: flex;
  gap: var(--space-2);
  border: 0;
}
.size-option {
  flex: 1;
  position: relative;
}
.size-option input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.size-option span {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  font-size: var(--fs-micro);
  font-weight: var(--weight-bold);
  letter-spacing: 0.05em;
  text-align: center;
  transition: border-color var(--dur-fast) var(--ease-spring),
    background-color var(--dur-fast) var(--ease-spring),
    color var(--dur-fast) var(--ease-spring);
}
.size-option input:hover + span {
  border-color: var(--color-border-strong);
  color: var(--color-primary);
}
.size-option input:focus-visible + span {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.size-option input:checked + span {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-cream);
}

.add-button {
  width: 100%;
  padding: var(--space-4) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
  border: 0;
  border-top: 1px solid var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  font-size: var(--fs-micro);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  transition:
    padding var(--dur-base) var(--ease-spring),
    color var(--dur-base) var(--ease-spring),
    border-color var(--dur-base) var(--ease-spring);
}

/* Berry fill wipes up from the baseline on hover */
.add-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-primary);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform var(--dur-base) var(--ease-spring);
}

.add-button > * {
  position: relative;
  z-index: 1;
}

.add-button:hover:not(:disabled),
.add-button:focus-visible:not(:disabled) {
  padding-inline: var(--space-4);
  color: var(--color-on-primary);
}

.add-button:hover:not(:disabled)::before,
.add-button:focus-visible:not(:disabled)::before {
  transform: scaleY(1);
}

.add-button:active:not(:disabled) {
  padding-inline: var(--space-3);
}

.add-button:active:not(:disabled)::before {
  background: var(--color-accent);
}

.add-button .add-button-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-base) var(--ease-bloom);
}

.add-button:hover:not(:disabled) .add-button-icon {
  transform: rotate(90deg) scale(1.12);
}

.add-button:disabled {
  border-color: var(--color-border-strong);
  color: var(--color-text-muted);
  cursor: not-allowed;
}

.add-button:disabled::before {
  display: none;
}


/* =========================================================================
   Shop note
   Standing in for pricing until the client confirms it.
   ========================================================================= */
.shop-note {
  max-width: 62ch;
  margin: var(--space-8) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  font-style: italic;
  line-height: var(--lh-snug-alt);
  text-align: center;
}

/* =========================================================================
   Full-width lifestyle band
   Copy sits over the clean studio pink on the left of the photograph.
   ========================================================================= */
.lifestyle-band {
  display: grid;
  position: relative;
  isolation: isolate;
  background: var(--color-petal);
}

.lifestyle-band-image {
  width: 100%;
  height: clamp(400px, 44vw, 620px);
  object-fit: cover;
  object-position: center 42%;
}

.lifestyle-band-copy {
  position: absolute;
  left: var(--space-gutter);
  top: 50%;
  z-index: 1;
  max-width: 22ch;
  transform: translateY(-50%);
}

.lifestyle-band-copy .eyebrow {
  color: var(--color-primary);
}

.lifestyle-band-copy h2 {
  margin: 0;
  color: var(--color-primary-dark);
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  font-weight: var(--weight-regular);
  line-height: var(--lh-display);
}

.lifestyle-band-copy h2 em {
  color: var(--color-primary);
}

/* The reveal system moves this element, so its centring offset has to be
   folded into the revealed transform rather than fighting it. */
.lifestyle-band-copy.reveal {
  transform: translate3d(var(--reveal-x, 0), calc(-50% + var(--reveal-y, var(--reveal-shift))), 0);
}

.lifestyle-band-copy.reveal.revealed {
  transform: translateY(-50%);
}

/* =========================================================================
   Founder story
   Mirrors the ingredients layout so the page keeps one editorial rhythm.
   ========================================================================= */
.story {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
  background: var(--color-blush);
}

.story-image {
  position: relative;
}

.story-image::before {
  content: "";
  position: absolute;
  inset: -22px -22px 22px 22px;
  border: 1px solid var(--color-border-strong);
}

.story-image img {
  width: 100%;
  height: min(64vw, 700px);
  min-height: 460px;
  position: relative;
  object-fit: cover;
}

.story-image .image-note {
  right: auto;
  left: -28px;
}

.story-copy h2 {
  margin-bottom: 0;
  color: var(--color-primary-dark);
  font-size: var(--fs-h1);
}

.story-lede {
  max-width: 46ch;
  margin: var(--space-6) 0 var(--space-4);
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  font-style: italic;
  line-height: var(--lh-snug-alt);
}

.story-copy > p:last-of-type {
  max-width: 52ch;
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.story-signature {
  margin-top: var(--space-9);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  color: var(--color-primary);
  font-size: var(--fs-micro);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.results {
  background: linear-gradient(180deg, var(--color-cream), var(--color-cream-pink));
}

.results-copy {
  max-width: 780px;
  margin-bottom: 54px;
}

.results-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 28px 0 0;
}

.results-grid,
.stats-grid {
  display: grid;
  gap: 22px;
}

.results-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
}

.quote-card,
.stats-grid article {
  padding: var(--space-6);
  background: var(--color-surface-raised);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-slow) var(--ease-spring), box-shadow var(--dur-slow) var(--ease-spring);
}

.quote-card:hover,
.stats-grid article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.stars {
  margin-bottom: var(--space-4);
  display: flex;
  gap: 5px;
  color: var(--color-gold);
}

.stars svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.quote-card p {
  margin-bottom: 16px;
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  line-height: 1.3;
}

.quote-card strong {
  color: var(--color-text-muted);
  font-size: var(--fs-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: var(--weight-regular);
}

.stats-grid span {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

.ingredients {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
  background: var(--color-latte);
}

.ingredients-image {
  height: min(68vw, 720px);
  min-height: 560px;
  position: relative;
}

.ingredients-image::before {
  content: "";
  position: absolute;
  inset: -22px 22px 22px -22px;
  border: 1px solid var(--color-border-strong);
}

.ingredients-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}

.image-note {
  padding: 18px 24px;
  position: absolute;
  right: -28px;
  bottom: 36px;
  background: var(--color-cream);
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  font-style: italic;
  line-height: 1.3;
  box-shadow: 0 15px 35px rgba(91, 23, 53, 0.13);
}

.ingredients-lede {
  max-width: 520px;
  margin: 28px 0 38px;
}

.ingredient-list {
  border-top: 1px solid var(--color-border);
}

.ingredient-list div {
  min-height: 66px;
  padding-inline: 0;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: var(--space-4);
  border-bottom: 1px solid var(--color-border);
  transition: padding-inline var(--dur-base) var(--ease-spring), background-color var(--dur-base) var(--ease-spring);
}

.ingredient-list div:hover {
  padding-inline: var(--space-3);
  background: rgba(255, 255, 255, 0.5);
}

.ingredient-list span {
  color: var(--color-accent);
  font-size: var(--fs-nano);
  font-weight: var(--weight-bold);
}

.ingredient-list strong {
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: var(--fs-h5);
  font-weight: var(--weight-regular);
}

.ingredient-list p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--fs-caption);
}

.ritual {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(42px, 8vw, 100px);
  background: var(--color-surface);
}

.ritual-steps {
  border-top: 1px solid var(--color-border);
}

.ritual-steps article {
  min-height: 152px;
  display: grid;
  grid-template-columns: 48px 0.44fr 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--color-border);
}

.ritual-steps span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-petal);
  border-radius: var(--radius-circle);
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-style: italic;
  transition:
    transform var(--dur-base) var(--ease-bloom),
    background-color var(--dur-base) var(--ease-spring),
    color var(--dur-base) var(--ease-spring),
    border-color var(--dur-base) var(--ease-spring);
}

.ritual-steps article:hover span {
  transform: scale(1.12);
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-on-primary);
}

.ritual-steps h3 {
  margin: 0;
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: var(--weight-regular);
}

.ritual-steps p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

.faq {
  background: var(--color-cream-deep);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.faq-list article {
  padding: var(--space-6);
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border-soft);
  transition:
    transform var(--dur-slow) var(--ease-spring),
    border-color var(--dur-base) var(--ease-spring),
    box-shadow var(--dur-slow) var(--ease-spring);
}

.faq-list article:hover {
  transform: translateY(-4px);
  border-color: var(--color-petal);
  box-shadow: var(--shadow-sm);
}

.faq-list h3 {
  margin-bottom: 10px;
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: var(--weight-regular);
  line-height: var(--lh-heading);
}

.faq-list p {
  margin: 0;
  color: var(--color-text-muted);
}

.newsletter {
  padding: clamp(72px, 8vw, 110px) var(--space-gutter);
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: end;
  gap: 64px;
  background: var(--color-cream);
}

/* =========================================================================
   Newsletter form
   States: rest, focus, invalid, loading, success.
   ========================================================================= */
.newsletter-form {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  position: relative;
  border-bottom: 1px solid var(--color-primary);
  transition: border-color var(--dur-base) var(--ease-spring);
}

.newsletter-form::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-slow) var(--ease-spring);
}

.newsletter-form:focus-within::after {
  transform: scaleX(1);
}

.newsletter-form input {
  width: 100%;
  padding: 18px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--color-text);
}

.newsletter-form input::placeholder {
  color: var(--color-text-subtle);
  transition: opacity var(--dur-base) var(--ease-spring);
}

.newsletter-form input:focus::placeholder {
  opacity: 0.5;
}

/* Only flags a genuinely wrong entry, never an untouched empty field */
.newsletter-form input:user-invalid {
  color: var(--color-danger);
}

.newsletter-form.is-invalid {
  border-color: var(--color-danger);
}

.newsletter-form.is-invalid::after {
  background: var(--color-danger);
  transform: scaleX(1);
}

.newsletter-message {
  margin: var(--space-3) 0 0;
  min-height: 18px;
  color: var(--color-text-muted);
  font-size: var(--fs-caption);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--dur-base) var(--ease-spring), transform var(--dur-base) var(--ease-spring);
}

.newsletter-message.visible {
  opacity: 1;
  transform: none;
}

.newsletter-message.is-error {
  color: var(--color-danger);
}

.newsletter-message.is-success {
  color: var(--color-success);
}

.newsletter-form button {
  padding: var(--space-2) 0;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  position: relative;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  font-size: var(--fs-micro);
  font-weight: var(--weight-bold);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--dur-base) var(--ease-spring);
}

.newsletter-form button:hover {
  color: var(--color-accent);
}

.newsletter-form button .icon {
  width: 15px;
  height: 15px;
  transition: transform var(--dur-base) var(--ease-bloom);
}

.newsletter-form button:hover .icon,
.newsletter-form button:focus-visible .icon {
  transform: translateX(5px);
}

.newsletter-form button:active .icon {
  transform: translateX(2px);
}

.newsletter-form button:disabled {
  cursor: progress;
  opacity: 0.6;
}

.newsletter-form.is-loading button {
  color: transparent;
}

.newsletter-form.is-loading button .icon {
  opacity: 0;
}

.newsletter-form.is-loading button::after {
  content: "";
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -8px;
  border: 2px solid var(--color-primary);
  border-top-color: transparent;
  border-radius: var(--radius-circle);
  animation: button-spin 720ms linear infinite;
}

footer {
  padding: 65px var(--space-gutter) 35px;
  display: grid;
  grid-template-columns: 0.85fr 0.85fr 1.3fr;
  align-items: center;
  gap: 30px;
  background: var(--color-primary-dark);
  color: var(--color-on-dark-muted);
}

.footer-wordmark {
  --logo-height: 58px;
}

.footer-wordmark img:hover {
  transform: translateY(-2px) scale(1.02);
}

footer p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
}

footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  color: var(--color-on-primary);
  font-size: var(--fs-nano);
  font-weight: var(--weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

footer nav a {
  transition: color 180ms ease;
}

footer nav a:hover {
  color: var(--color-petal);
}

footer small {
  padding-top: 28px;
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-nano);
  letter-spacing: 0.08em;
  text-align: center;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--color-scrim);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.overlay.visible {
  opacity: 1;
  visibility: visible;
}

.cart-drawer,
.checkout-modal {
  position: fixed;
  z-index: 100;
}

.cart-drawer {
  width: min(92vw, 460px);
  height: 100vh;
  padding: 28px;
  display: flex;
  flex-direction: column;
  right: 0;
  top: 0;
  background: var(--color-cream);
  box-shadow: -20px 0 70px rgba(53, 17, 31, 0.18);
  transform: translateX(102%);
  transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
}

body.cart-open .cart-drawer {
  transform: translateX(0);
}

.cart-header,
.checkout-header {
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--color-border);
}

.cart-header .eyebrow,
.checkout-header .eyebrow {
  margin-bottom: 8px;
}

.cart-header h2,
.checkout-header h2 {
  margin: 0;
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: var(--weight-regular);
}

.cart-header button,
.checkout-header button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius-circle);
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  transition:
    background-color var(--dur-base) var(--ease-spring),
    border-color var(--dur-base) var(--ease-spring),
    color var(--dur-base) var(--ease-spring),
    transform var(--dur-base) var(--ease-bloom);
}

.cart-header button .icon,
.checkout-header button .icon {
  width: 17px;
  height: 17px;
}

.cart-header button:hover,
.checkout-header button:hover {
  background: var(--color-blush);
  border-color: var(--color-border);
  color: var(--color-accent);
  transform: rotate(90deg);
}

.cart-header button:active,
.checkout-header button:active {
  transform: rotate(90deg) scale(0.92);
}

.cart-progress {
  padding: 18px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: var(--fs-micro);
  font-weight: var(--weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cart-progress span:nth-child(2) {
  flex: 1;
  height: 1px;
  background: rgba(91, 23, 53, 0.16);
}

.cart-items {
  padding: 10px 0 22px;
  flex: 1;
  overflow: auto;
}

.empty-cart {
  color: var(--color-text-muted);
  font-family: var(--font-serif);
  font-style: italic;
}

.cart-item {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 16px;
  border-bottom: 1px solid var(--color-border);
}

.cart-item-thumb {
  width: 68px;
  height: 84px;
  overflow: hidden;
  background: var(--color-blush);
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item strong,
.checkout-item strong {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: var(--weight-regular);
}

.cart-item small,
.checkout-item small {
  color: var(--color-text-muted);
  font-size: var(--fs-caption);
}

.cart-item-copy {
  min-width: 0;
}

.cart-item-controls {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px;
  border: 1px solid var(--color-border);
}

.cart-item-controls button {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-spring), color var(--dur-fast) var(--ease-spring), transform var(--dur-fast) var(--ease-bloom);
}

.cart-item-controls button .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}

.cart-item-controls button:hover {
  background: var(--color-blush);
  color: var(--color-accent);
}

.cart-item-controls button:active {
  transform: scale(0.88);
}

.cart-item-controls span {
  min-width: 16px;
  color: var(--color-primary);
  font-size: var(--fs-xs);
  font-weight: var(--weight-bold);
  text-align: center;
}

.cart-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.cart-item-price {
  color: var(--color-primary);
  font-size: var(--fs-xs);
  font-weight: var(--weight-bold);
}

.cart-remove {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: var(--fs-micro);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-spring), text-decoration-color var(--dur-fast) var(--ease-spring);
}

.cart-remove:hover {
  color: var(--color-danger);
  text-decoration-color: currentColor;
}

/* The list is rebuilt on every quantity change, so the entrance animation is
   scoped to the drawer opening rather than to each row. */
body.cart-open .cart-items {
  animation: cart-items-in var(--dur-slow) var(--ease-spring) both;
}

@keyframes cart-items-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: none; }
}

.cart-footer {
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.cart-summary-line,
.checkout-totals div {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--color-primary);
  font-size: var(--fs-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-summary-total,
.checkout-grand-total {
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}

.shipping-note,
.checkout-help {
  margin: 0 0 16px;
  color: var(--color-text-muted);
  font-size: var(--fs-xs);
}

.cart-payment-row {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-payment-row span,
.payment-tabs span {
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-size: var(--fs-micro);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-footer > small {
  margin-top: 12px;
  display: block;
  color: var(--color-text-muted);
  font-size: var(--fs-nano);
  text-align: center;
}

.checkout-button,
.pay-button {
  width: 100%;
}

.checkout-modal {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

body.checkout-open .checkout-modal {
  opacity: 1;
  pointer-events: auto;
}

.checkout-shell {
  width: min(1100px, 100%);
  max-height: min(90vh, 920px);
  overflow: auto;
  background: var(--color-surface-raised);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  transform: translateY(22px) scale(0.975);
  transition:
    opacity var(--dur-slow) var(--ease-spring),
    transform var(--dur-slow) var(--ease-spring);
}

body.checkout-open .checkout-shell {
  opacity: 1;
  transform: none;
}

.checkout-content {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
}

.checkout-form,
.checkout-summary,
.checkout-confirmation {
  padding: 28px;
}

.checkout-form {
  border-right: 1px solid var(--color-border-soft);
}

.checkout-block + .checkout-block {
  margin-top: 26px;
}

.checkout-block h3,
.checkout-summary h3,
.checkout-confirmation h3 {
  margin-bottom: 16px;
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: var(--weight-regular);
}

.field-grid {
  display: grid;
  gap: 14px;
}

.field-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-span-two {
  grid-column: 1 / -1;
}

label span {
  margin-bottom: 7px;
  display: block;
  color: var(--color-text-muted);
  font-size: var(--fs-caption);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

label input {
  width: 100%;
  padding: 14px var(--space-4);
  border: 1px solid var(--color-border);
  background: var(--color-surface-sunk);
  color: var(--color-primary-dark);
  transition: border-color var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) var(--ease-spring);
}

label input:hover:not([readonly]) {
  border-color: var(--color-border-strong);
}

label input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: var(--focus-ring);
}

/* Prefilled demo values are read-only, and look it */
label input[readonly] {
  background: var(--color-blush);
  color: var(--color-primary);
  cursor: default;
}

label input[readonly]:focus {
  box-shadow: none;
  border-color: var(--color-border-strong);
}

label input:user-invalid {
  border-color: var(--color-danger);
  background: var(--color-danger-soft);
}

.payment-tabs {
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.payment-tabs .active {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-color: var(--color-primary);
}

.checkout-item {
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--color-border-soft);
}

.checkout-item span {
  color: var(--color-primary);
  font-size: var(--fs-xs);
  font-weight: var(--weight-bold);
}

.checkout-totals {
  margin: 18px 0 20px;
}

.checkout-confirmation {
  text-align: center;
}

.checkout-confirmation p:nth-of-type(2) {
  max-width: 500px;
  margin: 0 auto 22px;
  color: var(--color-text-muted);
}

.confirmation-total {
  display: block;
  margin-bottom: 24px;
  color: var(--color-primary-dark);
  font-family: var(--font-serif);
  font-size: 58px;
  font-weight: var(--weight-regular);
}

.confirmation-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.toast {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  position: fixed;
  left: 50%;
  bottom: var(--space-6);
  z-index: 120;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: var(--shadow-button);
  font-size: var(--fs-caption);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px) scale(0.96);
  transition:
    opacity var(--dur-base) var(--ease-spring),
    transform var(--dur-slow) var(--ease-bloom);
}

.toast::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--color-petal);
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.toast.toast-alert {
  background: var(--color-danger);
}

.toast.toast-alert::before {
  background: var(--color-danger-soft);
}

.sr-only {
  width: 1px;
  height: 1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================================
   Scroll reveal
   IntersectionObserver in script.js adds .revealed. Delay tiers d1-d6 build
   the choreography; direction variants keep sections from reading identical.
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translate3d(var(--reveal-x, 0), var(--reveal-y, var(--reveal-shift)), 0) scale(var(--reveal-scale, 1));
  transition:
    opacity var(--dur-reveal) var(--ease-spring),
    transform var(--dur-reveal) var(--ease-spring),
    filter var(--dur-reveal) var(--ease-spring);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
  filter: none;
  will-change: auto;
}

/* Delay tiers, all derived from a single --reveal-step token */
.reveal-d1 { --reveal-delay: calc(var(--reveal-step) * 1); }
.reveal-d2 { --reveal-delay: calc(var(--reveal-step) * 2); }
.reveal-d3 { --reveal-delay: calc(var(--reveal-step) * 3); }
.reveal-d4 { --reveal-delay: calc(var(--reveal-step) * 4); }
.reveal-d5 { --reveal-delay: calc(var(--reveal-step) * 5); }
.reveal-d6 { --reveal-delay: calc(var(--reveal-step) * 6); }

/* Direction and character variants */
.reveal-left  { --reveal-x: calc(var(--reveal-shift) * -1.4); --reveal-y: 0; }
.reveal-right { --reveal-x: calc(var(--reveal-shift) * 1.4); --reveal-y: 0; }
.reveal-rise  { --reveal-y: calc(var(--reveal-shift) * 1.8); }
.reveal-scale { --reveal-scale: 0.94; --reveal-y: calc(var(--reveal-shift) * 0.6); }

/* Hero headline: settles in slightly softened, like focus pulling */
.reveal-soft {
  --reveal-y: calc(var(--reveal-shift) * 0.7);
  filter: blur(6px);
}

/* Any grid marked .reveal-stagger cascades its children automatically,
   so new cards inherit the choreography without extra delay classes. */
.reveal-stagger > .reveal:nth-child(1) { --reveal-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { --reveal-delay: calc(var(--reveal-step) * 1.4); }
.reveal-stagger > .reveal:nth-child(3) { --reveal-delay: calc(var(--reveal-step) * 2.8); }
.reveal-stagger > .reveal:nth-child(4) { --reveal-delay: calc(var(--reveal-step) * 4.2); }
.reveal-stagger > .reveal:nth-child(5) { --reveal-delay: calc(var(--reveal-step) * 5.6); }

/* Fallback: if JS never runs, content must still be readable */
html.no-js .reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (max-width: 1150px) {
  .product-grid,
  .results-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid .product-card:last-child,
  .results-grid .quote-card:last-child,
  .stats-grid article:last-child {
    grid-column: 1 / -1;
  }

}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    padding: 22px 5vw;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 25;
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-border);
    font-size: var(--fs-xs);
    font-weight: var(--weight-bold);
    letter-spacing: 0.12em;
    opacity: 0;
    pointer-events: none;
    text-transform: uppercase;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 680px;
  }

  .hero-card {
    right: 24px;
  }

  .hero-offer,
  .trust-strip,
  .section-heading,
  .ingredients,
  .story,
  .ritual,
  .newsletter,
  .checkout-content,
  .faq-list,
  footer {
    grid-template-columns: 1fr;
  }

  .trust-strip article,
  .checkout-form {
    border-right: 0;
  }

  .trust-strip article {
    padding: 22px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .trust-strip article:last-child {
    border-bottom: 0;
  }

  .product-card-featured,
  .product-card-featured:hover,
  .product-card-featured:focus-within {
    transform: none;
  }

  .product-card:hover,
  .product-card:focus-within {
    transform: translateY(-6px);
  }

  .ingredients,
  .story,
  .ritual,
  .newsletter {
    gap: 54px;
  }

  .lifestyle-band-image {
    height: clamp(360px, 56vw, 520px);
  }

  .lifestyle-band-copy {
    max-width: 30ch;
  }

  .checkout-shell {
    max-height: 94vh;
  }

  footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  .announcement {
    min-height: 32px;
    padding-inline: 12px;
  }

  .announcement p:last-of-type,
  .announcement span {
    display: none;
  }

  .site-header {
    height: 72px;
    padding-inline: 20px;
  }

  .wordmark {
    --logo-height: 34px;
  }

  .instagram-link {
    display: none;
  }

  .header-actions {
    gap: 14px;
  }

  .hero {
    min-height: 0;
    background: none;
  }

  .hero-copy {
    padding: 48px 24px 42px;
    background:
      radial-gradient(circle at top left, rgba(255, 255, 255, 0.65), transparent 42%),
      linear-gradient(180deg, var(--wash-blush-strong), var(--wash-petal-strong));
  }

  .hero-proof {
    gap: 12px;
    max-width: calc(100% - 150px);
  }

  .hero-proof span {
    width: fit-content;
    max-width: 100%;
    padding: 8px 16px;
    font-size: var(--fs-micro);
    line-height: 1.3;
  }

  .hero-floating-bottle {
    width: 138px;
    display: block;
    position: absolute;
    right: 22px;
    top: 96px;
    z-index: 2;
    pointer-events: none;
    transform: rotate(9deg);
  }

  .hero-floating-bottle-shell {
    height: 210px;
    padding: 10px;
    position: relative;
    overflow: hidden;
    border-radius: 44px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 232, 238, 0.8));
    box-shadow:
      0 22px 42px rgba(91, 23, 53, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }

  .hero-floating-bottle-shell::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(217, 87, 127, 0.18);
    border-radius: 34px;
  }

  .hero-floating-bottle img {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    object-fit: cover;
    object-position: center top;
    border-radius: 34px;
    mix-blend-mode: multiply;
  }

  .hero-floating-bottle span {
    margin-top: 10px;
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 248, 242, 0.88);
    color: var(--color-primary);
    font-size: var(--fs-nano);
    font-weight: var(--weight-bold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transform: translateX(-4px);
  }

  .eyebrow {
    margin-bottom: 14px;
    letter-spacing: 0.16em;
    max-width: calc(100% - 156px);
  }

  h1 {
    max-width: 7ch;
    margin-bottom: 22px;
    font-size: clamp(42px, 13.5vw, 62px);
    line-height: 0.92;
  }

  .hero-text {
    max-width: calc(100% - 24px);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-offer {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
    position: relative;
    z-index: 3;
  }

  .hero-offer div {
    padding: 16px;
    background: rgba(255, 255, 255, 0.74);
  }

  .hero-offer strong {
    font-size: 15px;
  }

  .hero-offer span {
    font-size: var(--fs-caption);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    position: relative;
    z-index: 3;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-notes {
    margin-top: 34px;
    gap: 10px 18px;
    font-size: var(--fs-xs);
    position: relative;
    z-index: 3;
  }

  .hero-visual {
    min-height: 520px;
    padding: 28px 24px 138px;
  }

  .hero-visual::before {
    width: 320px;
    height: 320px;
  }

  .hero-visual::after {
    width: 390px;
    height: 390px;
  }

  .hero-image-wrap {
    width: min(84%, 320px);
    height: 380px;
    min-height: 0;
  }

  .hero-script {
    right: -30px;
    top: 14%;
    font-size: 68px;
  }

  .hero-badge {
    width: 96px;
    height: 96px;
    left: 6%;
    bottom: 16%;
  }

  .hero-badge strong {
    font-size: 26px;
  }

  .hero-card {
    width: calc(100% - 48px);
    right: 24px;
    left: 24px;
    bottom: 24px;
    padding: 18px;
  }

  .hero-card h2 {
    font-size: var(--fs-h4);
  }

  .hero-card-list {
    margin-bottom: 18px;
    font-size: var(--fs-xs);
  }

  .section-pad {
    padding: 82px 24px;
  }

  .section-heading {
    margin-bottom: 48px;
    display: block;
  }

  .section-heading > p {
    margin-top: 24px;
  }

  .section-heading h2,
  .results-copy h2,
  .ingredients h2,
  .ritual h2,
  .newsletter h2,
  .faq h2 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .product-grid,
  .results-grid,
  .stats-grid,
  .faq-list {
    display: block;
  }

  .product-card + .product-card,
  .quote-card + .quote-card,
  .stats-grid article + article,
  .faq-list article + article {
    margin-top: var(--space-5);
  }

  .product-info {
    flex-direction: column;
  }

  .product-price-block {
    text-align: left;
  }

  .quote-card p {
    font-size: 19px;
  }

  .ingredients-image {
    height: 122vw;
    min-height: 460px;
  }

  /* Overlaid copy would fight the photograph at this width, so the band
     becomes a stacked image with the copy on a solid panel beneath it. */
  .lifestyle-band-image {
    height: 84vw;
    min-height: 300px;
  }

  .lifestyle-band-copy,
  .lifestyle-band-copy.reveal,
  .lifestyle-band-copy.reveal.revealed {
    max-width: none;
    padding: 34px 24px 38px;
    position: static;
    transform: none;
    background: var(--color-cream);
  }

  .lifestyle-band-copy.reveal {
    transform: translate3d(0, var(--reveal-shift), 0);
  }

  .story-image {
    height: auto;
  }

  .story-image img {
    height: 118vw;
    min-height: 420px;
  }

  .story-image::before {
    inset: -14px -14px 14px 14px;
  }

  .story-image .image-note {
    left: -6px;
  }

  .story-lede {
    margin-top: var(--space-5);
  }

  .image-note {
    right: -6px;
    bottom: 18px;
  }

  .ingredient-list div {
    grid-template-columns: 28px 1fr;
    padding: 12px 0;
  }

  .ingredient-list p {
    grid-column: 2;
  }

  .ritual-steps {
    margin-top: 48px;
  }

  .ritual-steps article {
    padding: 28px 0;
    grid-template-columns: 48px 1fr;
    gap: 10px 14px;
  }

  .ritual-steps p {
    grid-column: 2;
  }

  .newsletter-form {
    margin-top: 36px;
  }

  footer {
    padding: 55px 24px 30px;
    display: block;
    text-align: center;
  }

  .footer-wordmark {
    --logo-height: 46px;
    margin: 0 auto 14px;
    display: block;
  }

  footer nav {
    margin: 36px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 22px;
  }

  .cart-drawer,
  .checkout-form,
  .checkout-summary,
  .checkout-confirmation {
    padding: 24px;
  }

  .cart-item {
    grid-template-columns: 60px 1fr;
  }

  .cart-item-side {
    grid-column: 2;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .field-grid-two {
    grid-template-columns: 1fr;
  }

  .field-span-two {
    grid-column: auto;
  }

  .confirmation-actions {
    flex-direction: column;
  }
}

/* =========================================================================
   Reduced motion
   Nothing moves, drifts, spins or parallaxes. Content is shown, not animated.
   The parallax loop in script.js checks the same query and stays idle.
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.revealed {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  /* The band copy is vertically centred by transform, so it must keep that
     offset rather than being reset to none like the other reveals. */
  .lifestyle-band-copy.reveal,
  .lifestyle-band-copy.reveal.revealed {
    transform: translateY(-50%);
  }

  .hero-image-wrap,
  .hero-image-wrap img,
  .hero-script,
  .hero-visual:hover .hero-image-wrap img {
    transform: none;
  }

  .product-card-featured:hover,
  .product-card-featured:focus-within {
    transform: translateY(36px);
  }

  .hero-badge.revealed,
  .hero-visual::before,
  .hero-visual::after,
  .announcement-mark,
  body.cart-open .cart-items {
    animation: none;
  }

  .button::before,
  .newsletter-form::after {
    display: none;
  }

  .button:hover,
  .button:active,
  .product-card:hover,
  .product-card:focus-within,
  .quote-card:hover,
  .stats-grid article:hover,
  .faq-list article:hover,
  .hero-offer div:hover,
  .hero-card.revealed:hover,
  .instagram-link:hover,
  .wordmark img:hover,
  .wordmark:active img,
  .footer-wordmark img:hover,
  .cart-header button:hover,
  .checkout-header button:hover {
    transform: none;
  }

  .checkout-shell {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* Skip link. Visually hidden until a keyboard user tabs to it. */
.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-xs);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: var(--fs-small);
  font-weight: var(--weight-bold);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--dur-fast) var(--ease-spring);
}
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* =========================================================================
   Legal pages (privacy.html)
   Long-form reading layout. Reuses the site header and footer, so only the
   document body needs rules. Appended last so the media query below wins.
   ====================================================================== */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-10) var(--space-gutter) var(--space-section);
}
.legal-header {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}
.legal-header h1 {
  margin: var(--space-2) 0 var(--space-4);
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
}
.legal-meta {
  color: var(--color-text-subtle);
  font-size: var(--fs-small);
}
.legal-lede {
  color: var(--color-text-muted);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-relaxed);
}
.legal-body h2 {
  margin: var(--space-9) 0 var(--space-4);
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  line-height: var(--lh-heading);
}
.legal-body h3 {
  margin: var(--space-6) 0 var(--space-2);
  color: var(--color-text);
  font-size: var(--fs-body);
  font-weight: var(--weight-bold);
}
.legal-body p,
.legal-body li {
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
}
.legal-body p {
  margin: 0 0 var(--space-4);
}
.legal-body ul {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-5);
}
.legal-body li {
  margin-bottom: var(--space-2);
}
.legal-body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body a:hover,
.legal-body a:focus-visible {
  color: var(--color-accent-dark);
}
.legal-callout {
  margin: 0 0 var(--space-4);
  padding: var(--space-5);
  border-left: 2px solid var(--color-gold);
  border-radius: var(--radius-xs);
  background: var(--color-surface-sunk);
}
.legal-callout p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .legal-page {
    padding-top: var(--space-8);
  }
  .legal-body h2 {
    margin-top: var(--space-8);
  }
}

/* ---------------------------------------------------------------------------
   Checkout hand-off. The bag now posts to a Netlify function and redirects to
   Stripe, so it needs an inline error slot and a legible policy link.
   --------------------------------------------------------------------------- */
.cart-error {
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid var(--color-danger);
  border-radius: var(--radius-xs);
  background: var(--color-danger-soft);
  color: var(--color-danger);
  font-size: var(--fs-small, 13px);
  line-height: 1.45;
}

.cart-error[hidden] {
  display: none;
}

.cart-footer > small a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-footer > small a:hover,
.cart-footer > small a:focus-visible {
  color: var(--color-primary);
}

.cart-summary-line .cart-tax {
  font-weight: 500;
  color: var(--color-text-muted);
}

/* ---------------------------------------------------------------------------
   Order confirmation page. Reuses the summary styling the checkout panel left
   behind, plus a facts list for the order reference and receipt email.
   --------------------------------------------------------------------------- */
.order-panel {
  margin: 0 0 32px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  background: var(--color-surface-raised);
}

.order-facts {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--color-border-soft);
}

.order-facts div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  justify-content: space-between;
  align-items: baseline;
}

.order-facts dt {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

.order-facts dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.legal-body .order-panel .checkout-items {
  margin-bottom: 16px;
}

.legal-body .cart-error {
  margin-bottom: 20px;
}
