/* ============================================================
   NKUTO BEAUTY — "Skin remembers."
   butter #F7C948 · cocoa #4A2C1A · blush #F4A69B · botanical #1F5F3F · milk #FFF9EF
   Products are rendered entirely in CSS/SVG gradients. No photography, no raster.
   ============================================================ */

@font-face {
  font-family: 'DM Serif Display';
  src: url('../fonts/dm-serif-display.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Serif Display';
  src: url('../fonts/dm-serif-display-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/hanken-grotesk.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* line colors */
  --butter: #F7C948;
  --butter-d: #B9852E;
  --butter-l: #FDF0C4;
  --cocoa: #4A2C1A;
  --cocoa-d: #2E1A0F;
  --cocoa-l: #8C5A38;
  --blush: #F4A69B;
  --blush-d: #D97C6F;
  --blush-l: #FCE1DB;
  --botanical: #1F5F3F;
  --botanical-d: #123D28;
  --botanical-l: #3D8A62;
  --milk: #FFF9EF;
  --milk-d: #F1E6D0;

  --ink: var(--cocoa);
  --serif: 'DM Serif Display', 'Georgia', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --measure: 38em;
  --ease-melt: cubic-bezier(.25, .75, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--milk);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: default;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; }

p { max-width: var(--measure); }

a { color: inherit; }

::selection { background: var(--botanical); color: var(--milk); }

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

@media (pointer: fine) {
  ::-webkit-scrollbar { width: 11px; }
  ::-webkit-scrollbar-track { background: var(--milk); }
  ::-webkit-scrollbar-thumb { background: var(--blush-d); border: 3px solid var(--milk); border-radius: 6px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--botanical); }
}

.skip-link {
  position: fixed; top: -4rem; left: var(--gutter); z-index: 500;
  background: var(--cocoa); color: var(--milk);
  font-family: var(--sans); font-weight: 600; font-size: .85rem;
  padding: .8em 1.4em; border-radius: 999px; text-decoration: none;
  transition: top .2s var(--ease-soft);
}
.skip-link:focus { top: 1rem; }

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

/* ================= tint system ================= */
/* Each tinted section carries its own solid background/color by default —
   this is the accessible baseline. When JS enables the scroll-linked wash
   (motion allowed), tinted sections go transparent and a fixed layer behind
   the page cross-fades between the same colors in real time. */
.tint--milk      { background: var(--milk);      color: var(--cocoa); }
.tint--butter    { background: var(--butter);     color: var(--cocoa); }
.tint--cocoa     { background: var(--cocoa);      color: var(--milk); }
.tint--blush     { background: var(--blush);      color: var(--cocoa); }
.tint--botanical { background: var(--botanical);  color: var(--milk); }

html.wash-active .tint--milk,
html.wash-active .tint--butter,
html.wash-active .tint--cocoa,
html.wash-active .tint--blush,
html.wash-active .tint--botanical { background: transparent; }

.wash {
  position: fixed; inset: 0; z-index: -2;
  background: var(--milk);
  pointer-events: none;
}

/* ================= header ================= */
.masthead {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: .9rem var(--gutter);
  background: hsla(42, 65%, 97%, .68);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(74, 44, 26, .08);
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--cocoa);
}
.brand svg { width: 30px; height: 30px; flex: none; }
.brand-word {
  font-family: var(--serif); font-style: italic; font-size: 1.35rem; letter-spacing: .01em;
}
.mast-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.mast-nav a {
  text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--cocoa);
  position: relative; padding: .2rem 0;
}
.mast-nav a:not(.mast-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--botanical); transition: right .25s var(--ease-soft);
}
.mast-nav a:not(.mast-cta):hover::after,
.mast-nav a:not(.mast-cta):focus-visible::after { right: 0; }
.mast-cta {
  background: var(--botanical); color: var(--milk) !important;
  padding: .72em 1.6em; border-radius: 999px; font-weight: 700;
  white-space: nowrap; flex-shrink: 0; display: inline-block;
  transition: transform .2s var(--ease-soft), background .2s;
}
.mast-cta:hover { background: var(--botanical-d); transform: translateY(-1px); }
@media (max-width: 760px) {
  .mast-nav a:not(.mast-cta) { display: none; }
}

/* progress dots — desktop wayfinding through the four lines */
.line-dots {
  position: fixed; right: clamp(.8rem, 2vw, 1.8rem); top: 50%; transform: translateY(-50%);
  z-index: 90; display: flex; flex-direction: column; gap: .9rem;
}
.line-dots a {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(74, 44, 26, .22);
  display: block; transition: background .3s, transform .3s;
  position: relative;
}
.line-dots a::before {
  content: attr(data-label);
  position: absolute; right: 140%; top: 50%; transform: translateY(-50%);
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cocoa); background: var(--milk); padding: .3em .6em; border-radius: 6px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
  box-shadow: 0 4px 12px rgba(74,44,26,.15);
}
.line-dots a:hover::before, .line-dots a:focus-visible::before { opacity: 1; }
.line-dots a.active { background: var(--cocoa); transform: scale(1.3); }
@media (max-width: 900px) { .line-dots { display: none; } }

/* ================= layout basics ================= */
main { display: block; }
section { position: relative; padding: clamp(5rem, 10vw, 8rem) var(--gutter); }

.kicker {
  display: flex; align-items: center; gap: 1rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  opacity: .78; margin-bottom: 1.3rem;
}
.kicker .rule { width: 2.6rem; height: 1px; background: currentColor; flex: none; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); transition-delay: calc(var(--d, 0) * .12s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ================= HERO ================= */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: clamp(1.6rem, 4vw, 2.6rem);
  padding-top: clamp(7rem, 14vw, 9rem);
  overflow: hidden;
}
.blob-field {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.blob-field .blob { transform-box: fill-box; transform-origin: center; }
.blob-field .b1 { animation: driftA 22s ease-in-out infinite; }
.blob-field .b2 { animation: driftB 26s ease-in-out infinite; }
.blob-field .b3 { animation: driftC 19s ease-in-out infinite; }
.blob-field .b4 { animation: driftA 24s ease-in-out infinite reverse; }
.blob-field .b5 { animation: driftB 30s ease-in-out infinite reverse; }
@keyframes driftA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(18px,-24px) scale(1.08); } }
@keyframes driftB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-22px,16px) scale(0.94); } }
@keyframes driftC { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(14px,20px) scale(1.05); } }
@media (prefers-reduced-motion: reduce) {
  .blob-field .blob { animation: none !important; }
}

.hero-kicker { position: relative; z-index: 1; }
.hero-jar {
  position: relative; z-index: 1;
  animation: jarFloat 6s ease-in-out infinite;
}
.hero-jar .product--jar-hero { width: min(40vw, 220px); }
@keyframes jarFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-jar { animation: none; } }
.hero h1 {
  position: relative; z-index: 1;
  font-size: clamp(3.2rem, 4vw + 3rem, 7.6rem);
  max-width: 18ch;
}
.hero h1 em { font-style: italic; color: var(--botanical); }
.hero-deck { position: relative; z-index: 1; max-width: 40em; font-size: clamp(1.02rem, .4vw + 1rem, 1.25rem); opacity: .86; }
.hero-fictional { position: relative; z-index: 1; font-size: .8rem; opacity: .78; max-width: 34em; }

.hero-cue {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--cocoa); font-weight: 700; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .8em 1.6em; border: 1.5px solid rgba(74,44,26,.3); border-radius: 999px;
  transition: background .25s var(--ease-soft), border-color .25s;
}
.hero-cue:hover, .hero-cue:focus-visible { background: rgba(74,44,26,.08); border-color: var(--cocoa); }
.hero-cue svg { width: 14px; height: 14px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .hero-cue svg { animation: none; } }

/* melt cursor ripple */
.melt-ripple {
  position: fixed; z-index: 999; pointer-events: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,201,72,.55) 0%, rgba(247,201,72,.28) 45%, rgba(247,201,72,0) 75%);
  transform: translate(-50%, -50%) scale(.4);
  animation: melt .9s var(--ease-melt) forwards;
  mix-blend-mode: multiply;
}
@keyframes melt {
  0% { transform: translate(-50%,-50%) scale(.3); opacity: .8; }
  100% { transform: translate(-50%, -30%) scale(2.3); opacity: 0; }
}

/* ================= CHAPTERS ================= */
.chapter {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem);
}
.chapter-copy { max-width: 34em; }
.chapter-copy h2 { font-size: clamp(2.4rem, 3vw + 1.4rem, 4.6rem); margin-bottom: 1.1rem; }
.chapter-copy p { margin-bottom: 1.2rem; font-size: clamp(1rem, .3vw + .95rem, 1.12rem); opacity: .92; }
.line-no { font-family: var(--sans); font-weight: 800; font-size: 5.5rem; opacity: .12; line-height: 1; position: absolute; top: 2rem; right: var(--gutter); }
.chapter-facts {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; list-style: none;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em; margin: 1.4rem 0 1.6rem;
  padding-top: 1.2rem; border-top: 1px solid currentColor; opacity: .8;
}
.chapter-use {
  font-size: .95rem; opacity: .85; padding: 1rem 1.2rem; border-radius: 12px;
  background: rgba(0,0,0,.06);
}
.tint--cocoa .chapter-use, .tint--botanical .chapter-use { background: rgba(255,255,255,.09); }
.chapter-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 46vh; }
@media (max-width: 860px) {
  .chapter { grid-template-columns: 1fr; text-align: center; }
  .chapter-copy { max-width: 100%; margin-inline: auto; }
  .chapter-copy p { margin-inline: auto; }
  .chapter-facts { justify-content: center; }
  .line-no { display: none; }
  .chapter-stage { order: -1; min-height: 34vh; }
}

/* ================= PRODUCT RENDERS ================= */
/* Every product below is pure CSS: layered linear/radial gradients simulate
   cylindrical shading + glass/glossy highlight; box-shadow/drop-shadow ground
   the object; no bitmap of any kind is used. */
.product { position: relative; }

/* --- JAR (Shea Rich) --- */
.product--jar {
  width: min(58vw, 300px); aspect-ratio: .82;
  filter: drop-shadow(0 34px 46px rgba(74,44,26,.32));
}
.jar-lid {
  position: absolute; top: 0; left: 7%; right: 7%; height: 21%;
  border-radius: 20px 20px 10px 10px / 40px 40px 8px 8px;
  background: linear-gradient(102deg, var(--butter-d) 0%, #E8C468 20%, #FFEBB0 42%, #FFF6D8 50%, #FFEBB0 58%, #E8C468 80%, var(--butter-d) 100%);
  box-shadow: inset 0 5px 7px rgba(255,255,255,.6), inset 0 -8px 12px rgba(0,0,0,.16);
}
.jar-lid::after {
  content: ""; position: absolute; left: 12%; right: 12%; top: 38%; height: 26%;
  background-image: repeating-linear-gradient(90deg, rgba(74,44,26,.14) 0 2px, transparent 2px 9px);
  border-radius: 3px;
}
.jar-body {
  position: absolute; left: 0; right: 0; top: 17%; bottom: 0;
  border-radius: 18px 18px 40px 40px / 14px 14px 30px 30px;
  background: linear-gradient(100deg, var(--butter-d) 0%, #EFB94A 14%, #FBE28C 30%, #FFF3CE 44%, #FBE28C 58%, #EFB94A 76%, var(--butter-d) 100%);
  overflow: hidden;
  box-shadow: inset 0 3px 4px rgba(255,255,255,.4), inset 0 -30px 40px -20px rgba(74,44,26,.25);
}
.jar-body::before {
  content: ""; position: absolute; top: 4%; left: 12%; width: 34%; height: 42%;
  background: radial-gradient(ellipse at 30% 25%, rgba(255,255,255,.85), rgba(255,255,255,0) 65%);
  border-radius: 50%; transform: rotate(-10deg);
}
.jar-label {
  position: absolute; left: 12%; right: 12%; bottom: 12%;
  text-align: center; color: var(--cocoa);
  padding: 1.1em .6em; border-radius: 10px;
  background: rgba(255, 249, 239, .82);
  box-shadow: 0 2px 10px rgba(74,44,26,.12);
}
.jar-label .mark { display: block; font-size: 1.1rem; color: var(--botanical); margin-bottom: .2rem; }
.jar-label .name { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.15; display: block; }

/* --- TUBE (Cocoa Repair) --- */
.product--tube {
  width: min(30vw, 168px); aspect-ratio: .32;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.4));
}
.tube-crimp {
  position: absolute; top: 0; left: 20%; right: 20%; height: 7%;
  clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%);
  background: linear-gradient(90deg, var(--cocoa-d), var(--cocoa-l) 45%, var(--cocoa-d));
}
.tube-crimp::after {
  content: ""; position: absolute; inset: 20% 10%;
  background-image: repeating-linear-gradient(90deg, rgba(255,249,239,.4) 0 1.5px, transparent 1.5px 5px);
}
.tube-body {
  position: absolute; left: 0; right: 0; top: 6%; height: 72%;
  border-radius: 10px 10px 26px 26px / 8px 8px 20px 20px;
  background: linear-gradient(100deg, #DACBB0 0%, #FBF6E9 20%, #FFFFFF 38%, #FBF6E9 55%, #DACBB0 75%, #C7B594 100%);
  box-shadow: inset 0 2px 3px rgba(255,255,255,.9), inset 0 -20px 24px -14px rgba(74,44,26,.16);
}
.tube-band {
  position: absolute; left: 0; right: 0; top: 40%; height: 30%;
  background: var(--cocoa);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--milk);
}
.tube-band .name { font-family: var(--serif); font-style: italic; font-size: clamp(.85rem, 2vw, 1.15rem); line-height: 1.15; }
.tube-cap {
  position: absolute; left: 8%; right: 8%; bottom: 0; height: 22%;
  border-radius: 8px 8px 16px 16px / 6px 6px 12px 12px;
  background: linear-gradient(100deg, var(--cocoa-d) 0%, var(--cocoa-l) 30%, #A9754E 50%, var(--cocoa-l) 70%, var(--cocoa-d) 100%);
  box-shadow: inset 0 4px 5px rgba(255,255,255,.25), inset 0 -6px 8px rgba(0,0,0,.35);
}

/* --- DROPPER BOTTLE (Baobab Light) --- */
.product--dropper {
  width: min(24vw, 132px); aspect-ratio: .34;
  filter: drop-shadow(0 26px 34px rgba(74,44,26,.3));
}
.dropper-bulb {
  position: absolute; top: 0; left: 22%; right: 22%; height: 16%;
  border-radius: 50% 50% 30% 30% / 60% 60% 20% 20%;
  background: linear-gradient(100deg, var(--cocoa-d), var(--cocoa-l) 40%, #8C5A38 55%, var(--cocoa-l) 70%, var(--cocoa-d));
  box-shadow: inset 0 3px 4px rgba(255,255,255,.3), inset 0 -6px 8px rgba(0,0,0,.3);
}
.dropper-neck {
  position: absolute; top: 14%; left: 42%; right: 42%; height: 10%;
  background: linear-gradient(90deg, var(--cocoa-d), var(--cocoa-l), var(--cocoa-d));
}
.dropper-rod {
  position: absolute; top: 15%; left: 50%; width: 2px; height: 40%;
  background: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.15));
  transform: translateX(-50%);
}
.dropper-glass {
  position: absolute; left: 0; right: 0; top: 22%; bottom: 0;
  border-radius: 14px 14px 30px 30px / 10px 10px 22px 22px;
  background: linear-gradient(100deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.85) 16%, rgba(255,255,255,.35) 32%, rgba(255,255,255,.75) 48%, rgba(255,255,255,.3) 64%, rgba(255,255,255,.6) 82%, rgba(255,255,255,.4) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), inset 0 -10px 20px -6px rgba(74,44,26,.12);
  overflow: hidden;
  backdrop-filter: blur(.5px);
}
.dropper-liquid {
  position: absolute; left: 8%; right: 8%; bottom: 6%; height: 62%;
  border-radius: 6px 6px 20px 20px / 6px 6px 16px 16px;
  background: linear-gradient(100deg, var(--blush-d) 0%, var(--blush) 30%, #FCD3CB 48%, var(--blush) 66%, var(--blush-d) 100%);
}
.dropper-liquid::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 14%;
  background: radial-gradient(ellipse at 40% 0%, rgba(255,255,255,.5), transparent 70%);
}

/* --- PUMP BOTTLE (Hibiscus Glow) --- */
.product--pump {
  width: min(28vw, 154px); aspect-ratio: .4;
  filter: drop-shadow(0 26px 36px rgba(18,61,40,.34));
}
.pump-head {
  position: absolute; top: 0; left: 26%; right: 26%; height: 13%;
  border-radius: 8px;
  background: linear-gradient(100deg, var(--botanical-d), var(--botanical-l) 40%, #5AA97D 55%, var(--botanical-l) 70%, var(--botanical-d));
  box-shadow: inset 0 3px 4px rgba(255,255,255,.3), inset 0 -6px 8px rgba(0,0,0,.3);
}
.pump-nozzle {
  position: absolute; top: 4%; left: 54%; width: 26%; height: 6.5%;
  border-radius: 3px 7px 7px 3px;
  background: linear-gradient(100deg, var(--botanical-d), var(--botanical-l) 50%, var(--botanical-d));
  transform-origin: left center;
}
.pump-collar {
  position: absolute; top: 12%; left: 34%; right: 34%; height: 5%;
  background: linear-gradient(90deg, var(--botanical-d), var(--botanical-l), var(--botanical-d));
}
.pump-bottle {
  position: absolute; left: 0; right: 0; top: 16%; bottom: 0;
  border-radius: 22px 22px 28px 28px / 16px 16px 20px 20px;
  background: linear-gradient(100deg, #E9C7B9 0%, #FDEDE6 16%, #FFFFFF 32%, #FDEDE6 46%, var(--blush-l) 60%, #FDEDE6 76%, #E9C7B9 100%);
  box-shadow: inset 0 3px 4px rgba(255,255,255,.9), inset 0 -24px 30px -16px rgba(31,95,63,.16);
}
.pump-bottle::before {
  content: ""; position: absolute; top: 6%; left: 16%; width: 26%; height: 40%;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.9), rgba(255,255,255,0) 65%);
  border-radius: 50%;
}
.pump-label {
  position: absolute; left: 14%; right: 14%; bottom: 14%; text-align: center;
  color: var(--botanical-d); font-family: var(--serif); font-style: italic;
  font-size: clamp(.82rem, 1.8vw, 1.05rem); line-height: 1.15;
}

/* ================= INGREDIENTS / PROVENANCE ================= */
.provenance-intro { max-width: 46em; margin-bottom: clamp(3rem, 6vw, 5rem); }
.provenance-intro h2, .provenance-h2, .ritual-head h2 { font-size: clamp(2.2rem, 3vw + 1rem, 3.6rem); margin-bottom: 1.1rem; }
.provenance-h2 { max-width: 30em; }
.provenance-note {
  margin-top: 1.6rem; font-size: .84rem; opacity: .72; max-width: 42em;
  border-left: 2px solid var(--botanical); padding-left: 1rem;
}
.ribbons {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem);
}
.ribbon {
  padding: 1.8rem 1.6rem 2rem; border-radius: 18px; background: rgba(74,44,26,.04);
  border: 1px solid rgba(74,44,26,.08);
}
.ribbon svg { width: 100%; height: 72px; margin-bottom: 1.1rem; }
.ribbon h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.ribbon p { font-size: .92rem; opacity: .85; }

/* ================= RITUAL ================= */
.ritual-head { max-width: 44em; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.ritual-head h2 { font-size: clamp(2.2rem, 3vw + 1rem, 3.6rem); }
.ritual-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: step; }
.ritual-step {
  position: relative; padding: clamp(1.8rem, 3vw, 2.4rem) 1.6rem 2rem;
  border-radius: 20px; background: var(--milk-d);
}
.ritual-step .step-no {
  font-family: var(--serif); font-style: italic; font-size: 3.2rem; color: var(--blush-d);
  line-height: 1; margin-bottom: .8rem; display: block;
}
.ritual-step h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.ritual-step p { font-size: .95rem; opacity: .85; }
.ritual-step .step-swatch { display: inline-flex; gap: .3rem; margin-top: 1rem; }
.step-swatch span { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
@media (max-width: 780px) { .ritual-steps { grid-template-columns: 1fr; } }

/* ================= STOCKISTS + WAITLIST ================= */
.stockists-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem;
  margin: clamp(2rem, 4vw, 3rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.stockist-card {
  padding: 1.4rem 1.5rem; border-radius: 16px; background: rgba(74,44,26,.04);
  border: 1px solid rgba(74,44,26,.08); position: relative;
}
.stockist-card .badge {
  position: absolute; top: 1rem; right: 1rem; font-size: .65rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--botanical);
  background: rgba(31,95,63,.1); padding: .25em .6em; border-radius: 999px;
}
.stockist-card h3 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; margin-bottom: .35rem; }
.stockist-card p { font-size: .88rem; opacity: .8; }

.waitlist { max-width: 40em; padding: clamp(2.2rem, 4vw, 3rem); border-radius: 24px; background: var(--milk-d); }
.waitlist h3 { font-size: clamp(1.6rem, 2vw + 1rem, 2.3rem); margin-bottom: .5rem; }
.waitlist > p { margin-bottom: 1.6rem; opacity: .85; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .82rem; font-weight: 700; letter-spacing: .03em; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .8em 1em; border-radius: 10px;
  border: 1.5px solid rgba(74,44,26,.22); background: var(--milk); color: var(--cocoa);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--botanical); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp-field { position: absolute; left: -9999px; }
.submit-btn {
  font: inherit; font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  background: var(--botanical); color: var(--milk); border: none; border-radius: 999px;
  padding: .95em 2.1em; cursor: pointer; margin-top: .6rem;
  transition: background .2s, transform .2s var(--ease-soft);
}
.submit-btn:hover { background: var(--botanical-d); transform: translateY(-1px); }
.form-success { display: flex; flex-direction: column; gap: .6rem; }
.form-success[hidden] { display: none; }
.form-success .mark { font-size: 2.4rem; }

/* ================= FOOTER ================= */
.site-foot {
  background: var(--cocoa); color: var(--milk);
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) clamp(1.6rem, 3vw, 2.2rem);
}
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; margin-bottom: 2.4rem; }
.foot-brand .brand-word { color: var(--milk); }
.foot-brand p { max-width: 26em; opacity: .78; margin-top: .8rem; font-size: .92rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 1.6rem; list-style: none; }
.foot-nav a { text-decoration: none; font-weight: 600; font-size: .92rem; opacity: .88; }
.foot-nav a:hover { opacity: 1; text-decoration: underline; }
.foot-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem;
  padding-top: 1.6rem; border-top: 1px solid rgba(255,249,239,.16);
  font-size: .82rem; opacity: .72;
}
.foot-row a { text-decoration: underline; }

/* ================= ARTICLE PAGES (guide / process) ================= */
.article-hero { max-width: 50em; padding-top: clamp(8rem, 14vw, 10rem); }
.article-hero .kicker { color: var(--botanical); }
.article-hero h1 { font-size: clamp(2.6rem, 4vw + 1rem, 4.6rem); margin-bottom: 1.2rem; }
.article-hero .deck { font-size: clamp(1.05rem, .4vw + 1rem, 1.3rem); opacity: .85; max-width: 42em; }
.article { max-width: 62em; margin: 0 auto; padding: 0 var(--gutter) clamp(4rem, 8vw, 6rem); }
.art-sec { display: grid; grid-template-columns: 9rem 1fr; gap: 2.5rem; padding: clamp(2.4rem, 4vw, 3.4rem) 0; border-top: 1px solid rgba(74,44,26,.14); }
.art-sec:first-child { border-top: none; }
.sec-head { display: flex; align-items: flex-start; gap: .8rem; }
.sec-no { font-family: var(--serif); font-style: italic; font-size: 2rem; opacity: .4; }
.sec-head h2 { font-size: 1.5rem; }
.sec-body p { margin-bottom: 1.1rem; font-size: 1.02rem; opacity: .92; max-width: 44em; }
.sec-body h3 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; margin: 1.2rem 0 .4rem; }
.sec-body ul, .sec-body ol { margin: 0 0 1.1rem 1.2rem; }
.sec-body li { margin-bottom: .6rem; font-size: 1rem; max-width: 44em; }
.sec-body code { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: .88em; background: rgba(74,44,26,.08); padding: .1em .35em; border-radius: 4px; }
.sec-body pre { background: var(--cocoa); color: var(--milk); border-radius: 12px; padding: 1.2rem 1.4rem; overflow-x: auto; margin: 1rem 0 1.3rem; }
.sec-body pre code { background: none; padding: 0; font-size: .86rem; line-height: 1.6; }
.concept-note { background: rgba(31,95,63,.08); border-left: 3px solid var(--botanical); padding: 1.1rem 1.3rem; border-radius: 0 12px 12px 0; margin-bottom: 1.4rem; max-width: 44em; }
.concept-note p { margin: 0; }
.passlog { display: grid; gap: 1.6rem; }
.pass { background: rgba(74,44,26,.04); border-radius: 14px; padding: 1.4rem 1.6rem; }
.pass h4 { font-size: 1.05rem; margin-bottom: .6rem; }
.pass ul { margin-left: 1.1rem; }
.pass li { font-size: .95rem; margin-bottom: .5rem; opacity: .92; }
@media (max-width: 720px) {
  .art-sec { grid-template-columns: 1fr; gap: .8rem; }
}

/* ================= misc ================= */
.chapter-anchor-target { scroll-margin-top: 90px; }
section[id] { scroll-margin-top: 84px; }
