/* ============================================================
   SHELAMOR — Luxury Beauty House
   "Healing Wrapped in Luxury"
   Design system: Aesop editorial restraint × Fenty celebration
   Brand palette on warm, light earth-tone backgrounds.
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Brand — non-negotiable */
  --deep:      #1A0A2E;   /* Shelamor Deep — anchor */
  --deep-2:    #241238;   /* lifted deep for panels */
  --gold:      #A0732A;   /* Shelamor Gold — warm antique */
  --gold-lt:   #C8A96E;   /* soft gold for lines/hairlines */
  --gold-glow: #D9BE86;
  --sand:      #F5EDD8;   /* Shelamor Sand — warm off-white */
  --earth:     #5C3A1E;   /* Shelamor Earth — Zambian soil */
  --copper:    #B87333;   /* Shelamor Men */

  /* Collection accents */
  --crimson:   #8B1A3C;   /* Restore + Glow */
  --forest:    #1A5C2A;   /* The Crown */
  --teal:      #4A8B9E;   /* Kids by Koko */
  --night:     #0D0D1A;   /* Vital Ascent */
  --whisper:   #E8F0F5;   /* Eczema Calm */

  /* Light earth-tone backgrounds (as requested) */
  --cream:     #FDFAF5;
  --linen:     #F3EAD9;
  --clay:      #ECE0CC;
  --greige:    #E6DAC4;
  --taupe:     #DDCEB2;

  /* Text */
  --ink:       #2C2119;   /* warm near-black, never pure black */
  --ink-soft:  #5B4A3C;
  --on-dark:   #F5EDD8;
  --on-dark-soft: #CDBBA0;

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', -apple-system, 'Helvetica Neue', Arial, sans-serif;

  /* Rhythm */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --nav-h: 74px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: .01em; color: var(--deep); }
.display { font-size: clamp(3rem, 9vw, 7.5rem); font-weight: 300; letter-spacing: .06em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
p  { max-width: 68ch; }

/* Eyebrow / small-caps label */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--earth { color: var(--earth); }

/* Accent italic serif — for the tagline & brand quotes ONLY */
.script {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: .015em;
}

.lead { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.7; color: var(--ink-soft); font-weight: 300; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 11vw, 9rem); }
.section--tight { padding-block: clamp(3rem, 7vw, 5rem); }

/* Section surfaces (light earth tones alternate with deep) */
.bg-cream  { background: var(--cream); }
.bg-linen  { background: var(--linen); }
.bg-clay   { background: var(--clay); }
.bg-greige { background: var(--greige); }
.bg-sand   { background: var(--sand); }
.bg-deep   { background: var(--deep); color: var(--on-dark); }
.bg-deep h1, .bg-deep h2, .bg-deep h3 { color: var(--sand); }
.bg-deep .lead { color: var(--on-dark-soft); }

/* Subtle grain/warmth on deep panels */
.bg-deep {
  background-image:
    radial-gradient(120% 80% at 50% -10%, rgba(160,115,42,.22), transparent 60%),
    radial-gradient(90% 60% at 100% 110%, rgba(139,26,60,.10), transparent 55%);
}

/* Hairline divider */
.rule { height: 1px; background: var(--gold-lt); opacity: .5; border: 0; }
.rule--center { width: 54px; margin: 1.6rem auto; }
.rule--gold { background: var(--gold); opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--sans); font-weight: 400;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  padding: 1.05em 2.2em;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  border-radius: 2px;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn:hover { background: var(--gold); color: var(--deep); }
.btn--solid { background: var(--gold); color: var(--deep); }
.btn--solid:hover { background: var(--earth); border-color: var(--earth); color: var(--sand); }
.btn--light { border-color: var(--deep); color: var(--deep); }
.btn--light:hover { background: var(--deep); color: var(--sand); }
.btn--sand { border-color: var(--sand); color: var(--sand); }
.btn--sand:hover { background: var(--sand); color: var(--deep); }

.link-underline {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-weight: 400;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--earth);
  padding-bottom: 3px;
  position: relative;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(.4); transform-origin: left; opacity: .5;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); opacity: 1; }
.link-underline .arrow { transition: transform .4s var(--ease); }
.link-underline:hover .arrow { transform: translateX(5px); }
.bg-deep .link-underline { color: var(--gold-lt); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), color .4s var(--ease);
}
.nav__inner { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav__brand { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: .34em;
  text-indent: .34em; color: var(--sand); grid-column: 2; transition: color .4s var(--ease); }
.nav__side { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.3rem); }
.nav__side--left { grid-column: 1; justify-self: start; }
.nav__side--right { grid-column: 3; justify-self: end; }
.nav__side a:not(.nav__cart) {
  font-family: var(--sans); font-size: .72rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-soft);
  padding-block: .5rem; position: relative; transition: color .35s var(--ease);
}
.nav__side a:not(.nav__cart)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav__side a:not(.nav__cart):hover, .nav__side a[aria-current="page"] { color: var(--sand); }
.nav__side a:not(.nav__cart):hover::after, .nav__side a[aria-current="page"]::after { transform: scaleX(1); }

.nav__cart { display: flex; align-items: center; gap: .45em;
  font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-soft);
  transition: color .35s var(--ease); }
.nav__cart:hover { color: var(--sand); }
.nav__cart .count { display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; padding-inline: .3em;
  border-radius: 50%; background: var(--gold); color: var(--deep); font-size: .64rem; }

/* Scrolled / light-page state */
.nav.is-solid { background: rgba(253,250,245,.9); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(92,58,30,.12); }
.nav.is-solid .nav__brand { color: var(--deep); }
.nav.is-solid .nav__side a:not(.nav__cart) { color: var(--ink-soft); }
.nav.is-solid .nav__side a:not(.nav__cart):hover, .nav.is-solid .nav__side a[aria-current="page"] { color: var(--deep); }
.nav.is-solid .nav__cart { color: var(--ink-soft); }
.nav.is-solid .nav__cart:hover { color: var(--deep); }

/* Hamburger */
.nav__burger { display: none; grid-column: 1; justify-self: start; width: 26px; height: 16px; position: relative; }
.nav__burger span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; color: var(--sand);
  transition: transform .4s var(--ease), opacity .3s var(--ease); }
.nav.is-solid .nav__burger span { background: var(--deep); }
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 7px; }
.nav__burger span:nth-child(3) { top: 14px; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90; background: var(--deep);
  background-image: radial-gradient(120% 80% at 50% 0%, rgba(160,115,42,.22), transparent 60%);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.4rem;
  opacity: 0; visibility: hidden; transform: translateY(-2%);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
body.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.drawer a { font-family: var(--serif); font-size: 2rem; color: var(--sand); letter-spacing: .04em; }
.drawer a:hover { color: var(--gold-lt); }
.drawer .script { color: var(--gold-lt); font-size: 1.1rem; margin-top: 1rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh; position: relative; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--sand); overflow: hidden;
  background: var(--deep);
  background-image:
    radial-gradient(80% 60% at 50% 32%, rgba(160,115,42,.30), transparent 62%),
    radial-gradient(60% 50% at 80% 100%, rgba(139,26,60,.16), transparent 60%),
    radial-gradient(50% 50% at 12% 8%, rgba(74,139,158,.10), transparent 60%);
}
.hero__botanical { position: absolute; inset: 0; z-index: 0; opacity: .16; pointer-events: none; }
.hero__botanical svg { position: absolute; }
.hero__inner { position: relative; z-index: 2; padding: var(--gutter); }
.hero__mark { font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.4rem, 13vw, 11rem); letter-spacing: .18em; text-indent: .18em;
  color: var(--sand); line-height: 1; }
.hero__sub { display: block; font-family: var(--sans); font-weight: 300;
  font-size: clamp(.7rem, 1.6vw, .95rem); letter-spacing: .58em; text-indent: .58em;
  text-transform: uppercase; color: var(--gold-lt); margin-top: 1.6rem; }
.hero__tag { font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.25rem, 3vw, 2rem); color: var(--gold-glow); margin-top: 2.4rem; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3;
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-soft);
  display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.hero__scroll .line { width: 1px; height: 42px; background: linear-gradient(var(--gold-lt), transparent); animation: scrolldrop 2.4s var(--ease) infinite; }
@keyframes scrolldrop { 0% { transform: scaleY(0); transform-origin: top; } 40% { transform: scaleY(1); transform-origin: top; } 60% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal[data-delay="4"] { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll .line { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   GENERIC PAGE HEADER (interior pages)
   ============================================================ */
.pagehead { padding-top: calc(var(--nav-h) + clamp(3rem, 9vw, 7rem)); padding-bottom: clamp(2.5rem, 6vw, 5rem);
  text-align: center; position: relative; overflow: hidden; }
.pagehead .eyebrow { margin-bottom: 1.4rem; display: inline-block; }
.pagehead h1 { max-width: 16ch; margin-inline: auto; }
.pagehead p { margin: 1.6rem auto 0; text-align: center; }

/* ============================================================
   SPLIT / EDITORIAL BLOCKS
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__body h2 { margin-bottom: 1.4rem; }
.split__body .eyebrow { display: inline-block; margin-bottom: 1.3rem; }
.split__body p + p { margin-top: 1.1rem; }
.split__body .btn, .split__body .link-underline { margin-top: 2rem; }

/* Framed media panel with botanical */
.media-frame { position: relative; aspect-ratio: 4/5; border-radius: 3px; overflow: hidden;
  display: grid; place-items: center; }
.media-frame__label { position: absolute; bottom: 1.4rem; left: 1.5rem; font-size: .64rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--on-dark-soft); z-index: 3; }
.media-frame svg { width: 66%; height: auto; }

/* ============================================================
   THREE WORDS
   ============================================================ */
.words { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.word { text-align: center; }
.word .glyph { width: 46px; height: 46px; margin: 0 auto 1.4rem; color: var(--gold); }
.word h3 { color: var(--sand); letter-spacing: .18em; text-transform: uppercase; font-size: 1.05rem;
  font-family: var(--sans); font-weight: 400; margin-bottom: 1rem; }
.word p { color: var(--on-dark-soft); font-size: .98rem; margin-inline: auto; max-width: 34ch; }

/* ============================================================
   COLLECTION TILES
   ============================================================ */
.collections-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.9rem, 1.6vw, 1.4rem); }
.ctile {
  position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 3px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.4rem, 2.4vw, 2.2rem);
  color: var(--sand); isolation: isolate;
  background: var(--deep);
}
.ctile__bg { position: absolute; inset: 0; z-index: -2; transition: transform 1.2s var(--ease); }
.ctile:hover .ctile__bg { transform: scale(1.06); }
.ctile::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(10,4,20,.86) 8%, rgba(10,4,20,.18) 55%, rgba(10,4,20,.34)); }
.ctile__accent { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; margin-bottom: .7rem; }
.ctile h3 { color: var(--sand); font-size: clamp(1.5rem, 2.2vw, 2rem); }
.ctile__tag { font-family: var(--serif); font-style: italic; color: var(--gold-glow); font-size: 1.05rem;
  margin-top: .5rem; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s var(--ease), opacity .6s var(--ease), margin .6s var(--ease); }
.ctile:hover .ctile__tag, .ctile:focus-within .ctile__tag { max-height: 4em; opacity: 1; }
.ctile__cta { margin-top: 1rem; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-lt);
  display: inline-flex; align-items: center; gap: .5em; opacity: 0; transform: translateY(6px);
  transition: opacity .5s var(--ease) .05s, transform .5s var(--ease) .05s; }
.ctile:hover .ctile__cta, .ctile:focus-within .ctile__cta { opacity: 1; transform: none; }
.ctile__botanical { position: absolute; top: -6%; right: -6%; width: 62%; z-index: -1; opacity: .22; color: var(--gold-lt); }

/* ============================================================
   INGREDIENT SPOTLIGHT (rotator)
   ============================================================ */
.spotlight { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.spotlight__art { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(200,169,110,.4); border-radius: 3px;
  background: radial-gradient(circle at 50% 40%, rgba(160,115,42,.16), transparent 70%); position: relative; }
.spotlight__art svg { width: 62%; color: var(--gold-lt); transition: opacity .6s var(--ease); }
.spotlight__index { position: absolute; top: 1.2rem; left: 1.4rem; font-family: var(--serif); font-style: italic;
  color: var(--on-dark-soft); font-size: 1.1rem; }
.spot-name { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--sand); transition: opacity .5s var(--ease); }
.spot-latin { font-family: var(--serif); font-style: italic; color: var(--gold-lt); font-size: 1.2rem; margin-top: .3rem; }
.spot-facts { display: flex; gap: 2.5rem; margin: 2rem 0; flex-wrap: wrap; }
.spot-fact .n { font-family: var(--serif); font-size: 2rem; color: var(--gold-glow); display: block; line-height: 1; }
.spot-fact .l { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-soft); margin-top: .5rem; }
.spot-body { color: var(--on-dark-soft); transition: opacity .5s var(--ease); }
.spot-dots { display: flex; gap: .6rem; margin-top: 2rem; }
.spot-dots button { width: 30px; height: 2px; background: rgba(200,169,110,.3); transition: background .4s; }
.spot-dots button[aria-selected="true"] { background: var(--gold); }
.fade-swap { opacity: 0 !important; }

/* ============================================================
   INGREDIENT LIBRARY (ingredients page)
   ============================================================ */
.ing-list { display: grid; gap: 0; }
.ing-row { display: grid; grid-template-columns: 120px 1.2fr 2fr auto; gap: clamp(1rem,3vw,2.5rem); align-items: center;
  padding-block: clamp(1.8rem, 3vw, 2.6rem); border-top: 1px solid rgba(92,58,30,.16); }
.ing-row:last-child { border-bottom: 1px solid rgba(92,58,30,.16); }
.ing-row__art { width: 84px; height: 84px; color: var(--earth); }
.ing-row h3 { font-size: 1.7rem; }
.ing-row .latin { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.05rem; }
.ing-row .origin { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--earth); margin-top: .5rem; }
.ing-row .desc { color: var(--ink-soft); font-size: .98rem; }
.ing-row .used-in { font-size: .74rem; letter-spacing: .1em; color: var(--earth); text-align: right; }
.ing-row .used-in span { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0; }

/* ============================================================
   PRODUCT GRID (shop / collection)
   ============================================================ */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: clamp(2.5rem,5vw,4rem); }
.chip { font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft);
  padding: .7em 1.4em; border: 1px solid rgba(92,58,30,.24); border-radius: 40px; transition: all .4s var(--ease); }
.chip:hover { border-color: var(--earth); color: var(--earth); }
.chip[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: var(--sand); }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); }
.product { display: flex; flex-direction: column; }
.product__media { position: relative; aspect-ratio: 4/5; border-radius: 3px; overflow: hidden;
  display: grid; place-items: center; margin-bottom: 1.2rem; transition: transform .7s var(--ease); }
.product:hover .product__media { transform: translateY(-6px); }
.product__bottle { width: 42%; filter: drop-shadow(0 20px 30px rgba(26,10,46,.35)); transition: transform .8s var(--ease); }
.product:hover .product__bottle { transform: scale(1.05) rotate(-1.5deg); }
.product__badge { position: absolute; top: 1rem; left: 1rem; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sand); background: rgba(26,10,46,.55); padding: .45em .9em; border-radius: 40px; backdrop-filter: blur(4px); }
.product__coll { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--earth); margin-bottom: .5rem; }
.product__name { font-family: var(--serif); font-size: 1.4rem; color: var(--deep); line-height: 1.15; }
.product__name-link { color: inherit; transition: color .3s var(--ease); }
.product__name-link:hover { color: var(--gold); }
.product__desc { font-size: .92rem; color: var(--ink-soft); margin-top: .5rem; flex: 1; }
.product__row { display: flex; align-items: center; justify-content: space-between; margin-top: 1.1rem; }
.product__price { font-family: var(--serif); font-size: 1.35rem; color: var(--deep); }
.product__add { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--earth);
  border-bottom: 1px solid var(--gold); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.product__add:hover { color: var(--gold); }
.product__add.added { color: var(--forest); border-color: var(--forest); }

/* ============================================================
   INSIDE + OUT (recipes)
   ============================================================ */
.recipes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem,3vw,2.4rem); }
.recipe { border-radius: 3px; overflow: hidden; background: var(--cream); box-shadow: 0 1px 0 rgba(92,58,30,.1); }
.recipe__media { aspect-ratio: 5/4; display: grid; place-items: center; position: relative; }
.recipe__media svg { width: 40%; color: rgba(245,237,216,.85); }
.recipe__tag { position: absolute; top: 1rem; left: 1rem; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sand); background: rgba(26,10,46,.5); padding: .4em .9em; border-radius: 40px; }
.recipe__body { padding: 1.6rem 1.5rem 2rem; }
.recipe__body h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.recipe__body p { font-size: .92rem; color: var(--ink-soft); }
.recipe__meta { display: flex; gap: 1.4rem; margin-top: 1.2rem; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--earth); }

/* ============================================================
   FEATURE STRIP / trust marks
   ============================================================ */
.marks { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem,4vw,3rem); text-align: center; }
.mark .glyph { width: 34px; height: 34px; margin: 0 auto 1rem; color: var(--gold); }
.mark h4 { font-family: var(--sans); font-weight: 400; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sand); margin-bottom: .5rem; }
.mark p { font-size: .86rem; color: var(--on-dark-soft); margin-inline: auto; max-width: 26ch; }

/* ============================================================
   PULL QUOTE
   ============================================================ */
.pullquote { text-align: center; }
.pullquote .q { font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.8rem, 4.5vw, 3.4rem); line-height: 1.28; color: var(--deep); max-width: 20ch; margin-inline: auto; }
.bg-deep .pullquote .q { color: var(--gold-glow); }
.pullquote .cite { margin-top: 1.8rem; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--earth); }
.bg-deep .pullquote .cite { color: var(--on-dark-soft); }

/* ============================================================
   STORY (long-scroll)
   ============================================================ */
.story-open { text-align: center; padding-block: clamp(5rem, 14vw, 12rem); }
.story-open .big { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 6vw, 4.6rem);
  line-height: 1.18; letter-spacing: .01em; color: var(--sand); max-width: 18ch; margin-inline: auto; }
.story-chapter { max-width: 720px; margin-inline: auto; text-align: center; }
.story-chapter .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.3rem; margin-bottom: 1.5rem; display: block; }
.story-chapter h2 { margin-bottom: 1.6rem; }
.story-chapter p { font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.85; color: var(--ink-soft); margin-inline: auto; }
.story-chapter p + p { margin-top: 1.4rem; }
.story-breath { height: clamp(4rem, 10vw, 9rem); display: grid; place-items: center; }
.story-breath svg { width: 40px; color: var(--gold-lt); opacity: .6; }
.founder { aspect-ratio: 3/2; display: grid; place-items: center; border-radius: 3px; position: relative; overflow: hidden; }
.founder__cap { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); font-size: .66rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-soft); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.news { text-align: center; }
.news form { display: flex; gap: .6rem; max-width: 480px; margin: 2rem auto 0; }
.news input { flex: 1; background: transparent; border: 1px solid var(--gold-lt); color: var(--sand);
  padding: 1em 1.2em; border-radius: 2px; font-family: var(--sans); font-size: .9rem; letter-spacing: .04em; }
.news input::placeholder { color: var(--on-dark-soft); }
.news input:focus { outline: none; border-color: var(--gold); }
.news .note { font-size: .74rem; color: var(--on-dark-soft); margin-top: 1.2rem; letter-spacing: .04em; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--night); color: var(--on-dark-soft); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.footer__brand .mark { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .32em; color: var(--sand); }
.footer__brand .script { display: block; color: var(--gold-lt); margin-top: .8rem; font-size: 1.05rem; }
.footer__brand .made { margin-top: 1.6rem; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.footer h5 { font-family: var(--sans); font-weight: 400; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sand); margin-bottom: 1.2rem; }
.footer a { display: block; padding: .35rem 0; font-size: .9rem; color: var(--on-dark-soft); transition: color .3s; }
.footer a:hover { color: var(--gold-lt); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  margin-top: clamp(2.5rem,5vw,4rem); padding-top: 2rem; border-top: 1px solid rgba(200,169,110,.15);
  font-size: .74rem; letter-spacing: .06em; }

/* ============================================================
   PRODUCT DETAIL PAGE (PDP)
   ============================================================ */
.breadcrumb { padding-top: calc(var(--nav-h) + clamp(1.4rem,3vw,2.4rem)); }
.breadcrumb .wrap { display: flex; gap: .55em; align-items: center; flex-wrap: wrap;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.breadcrumb a { color: var(--earth); transition: color .3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .here { color: var(--deep); }

.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
  padding-top: clamp(1.6rem, 4vw, 3rem); }
.pdp__gallery { position: sticky; top: calc(var(--nav-h) + 1.4rem); }
.pdp__main { aspect-ratio: 4/5; border-radius: 4px; display: grid; place-items: center; position: relative; overflow: hidden; }
.pdp__stage { display: grid; place-items: center; width: 100%; height: 100%; }
.pdp__main svg { width: 100%; height: auto; transition: opacity .5s var(--ease); }
.pdp__shot-label { position: absolute; bottom: 1.2rem; left: 1.5rem; z-index: 3;
  font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--on-dark-soft); }
.pdp__badge { position: absolute; top: 1.1rem; left: 1.2rem; z-index: 3; font-size: .58rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--sand); background: rgba(26,10,46,.55); padding: .5em 1em; border-radius: 40px; backdrop-filter: blur(4px); }
.pdp__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: .8rem; }
.pdp__thumb { aspect-ratio: 1; border-radius: 3px; display: grid; place-items: center; position: relative;
  border: 1px solid rgba(92,58,30,.16); opacity: .62; transition: opacity .35s var(--ease), border-color .35s var(--ease); }
.pdp__thumb svg { width: 100%; }
.pdp__thumb small { position: absolute; bottom: .35rem; font-size: .48rem; letter-spacing: .14em; text-transform: uppercase; color: inherit; }
.pdp__thumb:hover { opacity: .9; }
.pdp__thumb[aria-selected="true"] { opacity: 1; border-color: var(--gold); }

.pdp__info { padding-top: .4rem; }
.pdp__info .eyebrow { display: inline-block; margin-bottom: 1rem; }
.pdp__name { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.05; }
.pdp__tagline { font-size: 1.12rem; line-height: 1.6; color: var(--ink-soft); margin-top: 1rem; max-width: 40ch; }
.pdp__price { font-family: var(--serif); font-size: 2rem; color: var(--deep); margin-top: 1.6rem; }
.pdp__size { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--earth); margin-top: .4rem; }
.pdp__buy { margin-top: 2rem; }
.pdp__buy .btn { width: 100%; justify-content: center; padding-block: 1.2em; }
.pdp__buy .btn.added { background: var(--forest); border-color: var(--forest); color: var(--sand); }
.pdp__meta { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 1.8rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(92,58,30,.16); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--earth); }
.pdp__meta span { display: flex; align-items: center; gap: .5em; }
.pdp__meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* Ingredient cards */
.ing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); margin-top: clamp(2rem,4vw,3rem); }
.ing-card { text-align: center; padding: clamp(1.6rem,3vw,2.4rem) 1.4rem; border: 1px solid rgba(92,58,30,.16); border-radius: 4px;
  background: var(--cream); }
.ing-card__art { width: 60px; height: 60px; margin: 0 auto 1.2rem; color: var(--earth); }
.ing-card h4 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--deep); }
.ing-card .latin { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: .98rem; margin-top: .2rem; }
.ing-card .origin { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--earth); margin-top: .7rem; }
.ing-card p { font-size: .92rem; color: var(--ink-soft); margin: .9rem auto 0; max-width: 30ch; }

/* How to use — ritual card feel */
.ritual { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem,3vw,2.4rem); margin-top: clamp(2rem,4vw,3rem); }
.ritual__step { position: relative; padding-top: 2.6rem; }
.ritual__step .n { position: absolute; top: 0; left: 0; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold-lt); }
.ritual__step p { color: var(--on-dark-soft); font-size: 1rem; }
.bg-deep .ritual__step .n { color: var(--gold-glow); }

/* What to expect timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(2rem,4vw,3rem); }
.tl__step { padding: 0 clamp(1rem,3vw,2.2rem); border-left: 1px solid rgba(92,58,30,.18); }
.tl__step:first-child { border-left: 0; padding-left: 0; }
.tl__step .when { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.tl__step .what { font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; color: var(--deep); margin-top: .9rem; }

/* INCI collapsible */
.inci { margin-top: clamp(2rem,4vw,3rem); border-top: 1px solid rgba(92,58,30,.18); border-bottom: 1px solid rgba(92,58,30,.18); }
.inci summary { cursor: pointer; list-style: none; padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center;
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--deep); }
.inci summary::-webkit-details-marker { display: none; }
.inci summary .plus { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); transition: transform .3s var(--ease); }
.inci[open] summary .plus { transform: rotate(45deg); }
.inci p { font-size: .9rem; line-height: 1.7; color: var(--ink-soft); padding-bottom: 1.6rem; max-width: none; }

/* Reviews */
.reviews { display: grid; gap: 0; margin-top: clamp(2rem,4vw,3rem); }
.review { padding-block: clamp(1.6rem,3vw,2.2rem); border-top: 1px solid rgba(200,169,110,.18); }
.review:first-child { border-top: 0; }
.review__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.review__who { font-family: var(--serif); font-size: 1.2rem; color: var(--sand); }
.review__who .loc { font-family: var(--sans); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-soft); margin-left: .8rem; }
.review__stars { color: var(--gold-glow); letter-spacing: .2em; font-size: .8rem; }
.review p { color: var(--on-dark-soft); max-width: 62ch; }
.reviews__summary { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.reviews__summary .big { font-family: var(--serif); font-size: 3rem; color: var(--gold-glow); line-height: 1; }
.reviews__summary .stars { color: var(--gold-glow); letter-spacing: .2em; }
.reviews__summary .cnt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .nav__side { display: none; }
  .nav__burger { display: block; }
  .nav__inner { grid-template-columns: 1fr auto 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { position: static; }
  .ing-cards, .ritual { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 1.4rem; }
  .tl__step { border-left: 0; padding-left: 0; border-top: 1px solid rgba(92,58,30,.18); padding-top: 1.2rem; }
  .tl__step:first-child { border-top: 0; padding-top: 0; }
  .split, .spotlight, .story-chapter { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .words { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .collections-grid, .products, .recipes { grid-template-columns: repeat(2, 1fr); }
  .marks { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .ing-row { grid-template-columns: 64px 1fr; grid-template-areas: "art head" "art head"; row-gap: .8rem; }
  .ing-row__art { width: 56px; height: 56px; }
  .ing-row .desc, .ing-row .used-in { grid-column: 1 / -1; text-align: left; }
  .ing-row .used-in span { display: inline; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .collections-grid, .products, .recipes, .marks { grid-template-columns: 1fr; }
  .ing-cards, .ritual { grid-template-columns: 1fr; }
  .spot-facts { gap: 1.6rem; }
  .news form { flex-direction: column; }
  .footer__top { grid-template-columns: 1fr; }
}

/* ============================================================
   CART DRAWER + GOOGLE PAY
   ============================================================ */
.nav__cart-m { display: none; align-items: center; gap: .45em; grid-column: 3; justify-self: end;
  font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--on-dark-soft); transition: color .35s var(--ease); }
.nav__cart-m .count { display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; padding-inline: .3em;
  border-radius: 50%; background: var(--gold); color: var(--deep); font-size: .64rem; }
.nav.is-solid .nav__cart-m { color: var(--ink-soft); }
@media (max-width: 940px) { .nav__cart-m { display: flex; } }

.cart-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(10,4,20,.5); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
body.cart-open .cart-overlay { opacity: 1; visibility: visible; }

.cartdrawer { position: fixed; top: 0; right: 0; height: 100%; height: 100dvh; width: min(432px, 94vw); z-index: 201;
  background: var(--cream); transform: translateX(100%); transition: transform .5s var(--ease);
  display: flex; flex-direction: column; box-shadow: -24px 0 70px rgba(26,10,46,.24); }
body.cart-open .cartdrawer { transform: none; }
.cartdrawer__head { display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 1.6rem 1.2rem; border-bottom: 1px solid rgba(92,58,30,.14); }
.cartdrawer__close { font-size: 1rem; color: var(--earth); width: 2rem; height: 2rem; border-radius: 50%; transition: color .3s, background .3s; }
.cartdrawer__close:hover { color: var(--deep); background: rgba(92,58,30,.08); }
.cartdrawer__items { flex: 1; overflow-y: auto; padding: 0 1.6rem; }

.cart-empty { text-align: center; padding: 3.5rem 1rem; color: var(--ink-soft); }
.cart-empty > div { width: 64px; margin: 0 auto 1.4rem; color: var(--gold-lt); }

.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; padding: 1.3rem 0;
  border-bottom: 1px solid rgba(92,58,30,.12); align-items: start; }
.cart-item__media { width: 64px; height: 80px; border-radius: 3px; display: grid; place-items: center; overflow: hidden; }
.cart-item__media span { display: block; width: 52%; }
.cart-item__coll { font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: var(--earth); }
.cart-item__name { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--deep); line-height: 1.15;
  margin: .25rem 0 .5rem; transition: color .3s; }
.cart-item__name:hover { color: var(--gold); }
.cart-item__price { font-family: var(--serif); font-size: 1.05rem; color: var(--deep); }
.cart-qty { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem;
  border: 1px solid rgba(92,58,30,.22); border-radius: 40px; padding: .15rem .3rem; }
.cart-qty button { width: 1.7rem; height: 1.7rem; border-radius: 50%; color: var(--earth); font-size: 1rem; line-height: 1;
  display: grid; place-items: center; transition: color .3s, background .3s; }
.cart-qty button:hover { color: var(--gold); background: rgba(160,115,42,.1); }
.cart-qty span { min-width: 1.5rem; text-align: center; font-size: .88rem; font-variant-numeric: tabular-nums; }
.cart-item__remove { font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding-top: .3rem; }
.cart-item__remove:hover { color: var(--crimson); }

.cartdrawer__foot { padding: 1.4rem 1.6rem 1.7rem; border-top: 1px solid rgba(92,58,30,.14); background: var(--linen); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.1rem; }
.cart-subtotal .l { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--earth); }
.cart-subtotal .v { font-family: var(--serif); font-size: 1.7rem; color: var(--deep); }
.cart-gpay { min-height: 44px; }
.cart-gpay .gpay-card-parent, .cart-gpay button { width: 100% !important; }
.cart-note { font-size: .66rem; letter-spacing: .02em; color: var(--ink-soft); margin-top: .85rem; line-height: 1.55; text-align: center; }
.cart-note strong { color: var(--earth); }
.cart-secure { display: flex; align-items: center; justify-content: center; gap: .4em; margin-top: .8rem;
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--earth); }
.gpay-fallback { border: 1px solid rgba(92,58,30,.28); border-radius: 3px; padding: 1em; text-align: center;
  color: var(--ink-soft); font-size: .8rem; line-height: 1.5; }

.cart-success { text-align: center; padding: 3rem 1rem; }
.cart-success .tick { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--forest); color: var(--forest);
  display: grid; place-items: center; margin: 0 auto 1.4rem; font-size: 1.4rem; }
.cart-success h3 { margin-bottom: .7rem; }
.cart-success p { margin-inline: auto; }
