/* =========================================================
   RAHA — Flavoured Tea
   Palette pulled from the tuckbox artwork
   ========================================================= */
:root {
  --green: #245a35;
  --green-deep: #193f25;
  --leaf: #2f9a4c;
  --leaf-light: #49c06d;
  --cinnamon: #a9582a;
  --cinnamon-deep: #864320;
  --cloves: #3e231c;
  --cloves-deep: #2a1712;
  --ginger: #dc9e2f;
  --ginger-deep: #b9811c;
  --rust: #8b3a1e;
  --cream: #f7f1e6;
  --cream-2: #efe5d2;
  --ink: #2a1712;

  /* active flavour theme (overridden on body[data-flavour]) */
  --bg: var(--green);
  --bg-deep: var(--green-deep);
  --on-bg: var(--cream);
  --pop: var(--ginger);

  --display: "Fraunces", Georgia, serif;
  --swash: "Berkshire Swash", "Fraunces", cursive;
  --body: "Figtree", system-ui, -apple-system, sans-serif;

  --radius: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

body[data-flavour="blend"]    { --bg: var(--green);    --bg-deep: var(--green-deep);    --on-bg: var(--cream); --pop: var(--ginger); }
body[data-flavour="cinnamon"] { --bg: var(--cinnamon); --bg-deep: var(--cinnamon-deep); --on-bg: var(--cream); --pop: #f4c98a; }
body[data-flavour="cloves"]   { --bg: var(--cloves);   --bg-deep: var(--cloves-deep);   --on-bg: var(--cream); --pop: #e39363; }
body[data-flavour="ginger"]   { --bg: var(--ginger);   --bg-deep: var(--ginger-deep);   --on-bg: var(--cloves); --pop: var(--cream); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-variation-settings: "SOFT" 100; line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); font-weight: 900; }
h3 { font-weight: 800; }
.swash { font-family: var(--swash); font-weight: 400; font-style: normal; letter-spacing: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  margin: 0 0 1.1rem;
}
.eyebrow--dark { color: var(--cinnamon); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pop); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pop) 30%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px transparent; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.6em; border-radius: 999px;
  font-weight: 700; font-size: .98rem; text-decoration: none;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--light { background: var(--cream); color: var(--bg-deep, var(--green)); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.btn--ghost { color: var(--on-bg); border: 2px solid color-mix(in srgb, var(--on-bg) 40%, transparent); }
.btn--ghost:hover { border-color: var(--on-bg); }
.btn--dark { background: var(--cloves); color: var(--cream); }
.btn--dark:hover { background: var(--rust); }
.btn--text { padding-inline: .8em; text-decoration: underline; text-underline-offset: 4px; }
.btn--block { width: 100%; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 14px var(--gutter) auto; z-index: 50;
  display: flex; align-items: center; gap: 1rem;
  padding: 8px 10px 8px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 10px 40px -18px rgba(42, 23, 18, .45);
  transition: transform .4s var(--ease);
}
.nav.is-hidden { transform: translateY(-130%); }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; gap: .3rem; margin-left: auto; }
.nav__links a {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--cloves);
  padding: .5em .95em; border-radius: 999px; transition: background .25s, color .25s;
}
.nav__links a:hover { background: var(--cloves); color: var(--cream); }
.nav__cart {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg); color: var(--on-bg); display: grid; place-items: center;
  transition: background .6s var(--ease), transform .3s var(--ease);
}
.nav__cart:hover { transform: rotate(-8deg) scale(1.06); }
.nav__cart svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav__count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--rust); color: #fff; font-size: .72rem; font-weight: 800;
  display: grid; place-items: center; border: 2px solid var(--cream);
}
.nav__count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--cloves); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--cream); transition: transform .3s var(--ease); }
.nav__burger span:first-child { top: 19px; } .nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem;
  padding: 130px var(--gutter) 80px;
  background: radial-gradient(120% 90% at 85% 40%, color-mix(in srgb, var(--bg) 70%, #fff 8%) 0%, var(--bg) 45%, var(--bg-deep) 100%);
  color: var(--on-bg);
  overflow: hidden;
  transition: color .8s var(--ease);
}
/* colour cross-fade layer */
.hero::before {
  content: ""; position: absolute; inset: 0; background: var(--bg); z-index: 0;
  transition: background .9s var(--ease); opacity: .0;
}
.hero > * { position: relative; z-index: 1; }

/* Somali-inspired geometric pattern (eight-point stars on a lattice) */
.hero__pattern {
  position: absolute !important; inset: 0; z-index: 0 !important; pointer-events: none; opacity: .09;
  background:
    conic-gradient(from 45deg at 50% 50%, currentColor 0 25%, transparent 0 50%, currentColor 0 75%, transparent 0) 0 0 / 22px 22px,
    radial-gradient(circle at 50% 50%, transparent 38%, currentColor 39% 41%, transparent 42%) 0 0 / 88px 88px;
  -webkit-mask: radial-gradient(75% 85% at 0% 50%, #000 0%, transparent 75%);
          mask: radial-gradient(75% 85% at 0% 50%, #000 0%, transparent 75%);
}

.hero__title {
  font-size: clamp(3rem, 8.4vw, 7.4rem); font-weight: 900; line-height: .92;
  letter-spacing: -0.03em;
}
.hero__title em { color: var(--pop); font-size: 1.06em; display: inline-block; transform: rotate(-4deg); transition: color .8s; }
.hero__flavour {
  margin: 1.4rem 0 .6rem; display: flex; align-items: baseline; gap: .5rem;
  font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  min-height: 1.3em;
}
.hero__flavour .x { color: var(--pop); transition: color .8s; }
.hero__flavour-name { display: inline-block; }
.hero__flavour-name.swap { animation: swapIn .7s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(.6em) skewY(4deg); filter: blur(4px); } }
.hero__lede { max-width: 30rem; font-size: 1.12rem; opacity: .88; margin: 0 0 2rem; min-height: 3.4em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  padding: .5em 1.05em; border-radius: 999px; font-size: .88rem; font-weight: 700;
  border: 1.5px solid color-mix(in srgb, var(--on-bg) 35%, transparent);
  color: var(--on-bg); transition: all .3s var(--ease); position: relative; overflow: hidden;
}
.chip:hover { border-color: var(--on-bg); }
.chip.is-active { background: var(--on-bg); color: var(--bg); border-color: var(--on-bg); }
.chip.is-active::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--pop); transform-origin: left; animation: chipTimer var(--cycle, 5s) linear forwards;
}
.chips.paused .chip::after { animation: none; display: none; }
@keyframes chipTimer { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* stage */
.hero__stage { position: relative; aspect-ratio: 1; width: min(100%, 620px); justify-self: center; }
.disc {
  position: absolute; inset: 8%; border-radius: 50%; background: var(--cream);
  box-shadow: 0 0 0 26px color-mix(in srgb, var(--bg-deep) 55%, transparent), 0 40px 80px -30px rgba(0,0,0,.6);
  transition: box-shadow .9s var(--ease);
}
.badge { position: absolute; inset: 0; width: 100%; animation: spin 26s linear infinite; z-index: 3; pointer-events: none; }
.badge text { font-family: var(--body); font-weight: 800; font-size: 7px; letter-spacing: 1px; fill: var(--on-bg); transition: fill .8s; }
@keyframes spin { to { transform: rotate(360deg); } }

.stage__imgs { position: absolute; inset: 8%; border-radius: 50%; }
.s-img {
  position: absolute; left: 50%; top: 50%; width: 72%;
  transform: translate(-50%, -50%) scale(.4) rotate(-30deg);
  opacity: 0; filter: drop-shadow(0 22px 22px rgba(42, 23, 18, .35));
  transition: transform 1s var(--ease), opacity .6s var(--ease);
}
/* single-ingredient states */
body[data-flavour="cinnamon"] .s-cinnamon,
body[data-flavour="cloves"]   .s-cloves,
body[data-flavour="ginger"]   .s-ginger { opacity: 1; transform: translate(-46%, -58%) scale(1) rotate(0deg); }
body[data-flavour="cinnamon"] .s-tea,
body[data-flavour="cloves"]   .s-tea,
body[data-flavour="ginger"]   .s-tea { opacity: 1; width: 52%; transform: translate(-82%, -22%) scale(1); }
/* blend: everything in a composed pile */
body[data-flavour="blend"] .s-tea      { opacity: 1; width: 52%; transform: translate(-30%, -20%) scale(1); }
body[data-flavour="blend"] .s-cinnamon { opacity: 1; width: 58%; transform: translate(-90%, -30%) scale(1) rotate(-14deg); }
body[data-flavour="blend"] .s-ginger   { opacity: 1; width: 52%; transform: translate(-62%, -92%) scale(1) rotate(8deg); }
body[data-flavour="blend"] .s-cloves   { opacity: 1; width: 40%; transform: translate(-10%, -78%) scale(1) rotate(10deg); }

.float { position: absolute; width: 17%; filter: drop-shadow(0 14px 14px rgba(0,0,0,.35)); z-index: 2; pointer-events: none; }
.f1 { right: -2%; top: 6%; animation: bob 6s ease-in-out infinite; }
.f2 { left: -4%; bottom: 10%; width: 22%; animation: bob 7s ease-in-out -2s infinite; }
.f3 { right: 4%; bottom: 0%; width: 15%; animation: bob 5s ease-in-out -1s infinite; }
@keyframes bob { 50% { translate: 0 -16px; rotate: 8deg; } }

.steam { position: absolute; left: 50%; top: 2%; width: 80px; height: 90px; translate: -50% 0; z-index: 2; pointer-events: none; }
.steam i, .glass-steam i {
  position: absolute; bottom: 0; width: 12px; height: 60px; border-radius: 50%;
  background: color-mix(in srgb, var(--on-bg) 55%, transparent); filter: blur(7px); opacity: 0;
  animation: steam 3.4s ease-out infinite;
}
.steam i:nth-child(1), .glass-steam i:nth-child(1) { left: 18%; }
.steam i:nth-child(2), .glass-steam i:nth-child(2) { left: 45%; animation-delay: 1.1s; }
.steam i:nth-child(3), .glass-steam i:nth-child(3) { left: 70%; animation-delay: 2.2s; }
@keyframes steam {
  0% { transform: translateY(20px) scaleX(.6); opacity: 0; }
  30% { opacity: .9; }
  100% { transform: translateY(-60px) scaleX(1.6) translateX(10px); opacity: 0; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--cloves); color: var(--cream); overflow: hidden;
  padding: 1.05rem 0; transform: rotate(-1.4deg) scale(1.02); margin-top: -18px; position: relative; z-index: 2;
  border-block: 6px solid transparent;
  border-image: repeating-linear-gradient(90deg, var(--ginger) 0 24px, var(--leaf) 24px 48px, var(--cinnamon) 48px 72px, var(--cream) 72px 96px) 6;
}
.marquee__track { display: flex; width: max-content; gap: 2rem; align-items: center; animation: marquee 34s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 3vw, 2.3rem); white-space: nowrap; }
.marquee span:nth-of-type(odd) { font-family: var(--swash); font-weight: 400; color: var(--ginger); }
.marquee b { color: var(--leaf-light); font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head { max-width: 46rem; margin: 0 auto 3.5rem; text-align: center; }
.section-head h2 { color: var(--cloves); }
.section-head h2 .swash { color: var(--leaf); }
.section-head__sub { color: color-mix(in srgb, var(--ink) 75%, transparent); font-size: 1.1rem; margin: 1.2rem auto 0; max-width: 36rem; }

/* =========================================================
   FLAVOURS / PRODUCT CARDS
   ========================================================= */
.flavours { padding: 120px var(--gutter) 110px; position: relative; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; max-width: 1360px; margin: 0 auto; }

.card {
  --c: var(--green); --c-deep: var(--green-deep); --c-on: var(--cream);
  position: relative; border-radius: var(--radius); padding: 2rem 1.4rem 1.5rem;
  background: var(--c); color: var(--c-on);
  display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 0 30px 60px -40px var(--c-deep);
}
.card::before { /* arch backdrop */
  content: ""; position: absolute; left: 50%; top: -30%; width: 140%; aspect-ratio: 1; translate: -50% 0;
  border-radius: 50%; background: var(--c-deep); z-index: -1; opacity: .55; transition: transform .7s var(--ease);
}
.card:hover { transform: translateY(-10px); box-shadow: 0 40px 70px -35px var(--c-deep); }
.card:hover::before { transform: scale(1.12); }
.card[data-key="cinnamon"] { --c: var(--cinnamon); --c-deep: var(--cinnamon-deep); }
.card[data-key="cloves"]   { --c: var(--cloves);   --c-deep: var(--cloves-deep); }
.card[data-key="ginger"]   { --c: var(--ginger);   --c-deep: var(--ginger-deep); --c-on: var(--cloves); }

/* --- 3D tuckbox --- */
.box-scene { perspective: 1100px; height: 300px; display: grid; place-items: center; margin-bottom: 1.4rem; }
.box {
  --w: 168px; --h: 236px; --d: 62px;
  width: var(--w); height: var(--h); position: relative; transform-style: preserve-3d;
  transform: rotateX(-10deg) rotateY(-28deg);
  transition: transform 1s var(--ease);
  animation: boxFloat 6s ease-in-out infinite;
}
.card:nth-child(2) .box { animation-delay: -1.5s; }
.card:nth-child(3) .box { animation-delay: -3s; }
.card:nth-child(4) .box { animation-delay: -4.5s; }
.card:hover .box { transform: rotateX(-14deg) rotateY(-58deg) translateY(-8px); }
@keyframes boxFloat { 50% { translate: 0 -10px; } }
.face { position: absolute; backface-visibility: hidden; border-radius: 3px; overflow: hidden; }
.face--front {
  width: var(--w); height: var(--h); transform: translateZ(calc(var(--d) / 2));
  background: var(--c); color: var(--c-on);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  padding: 12px 12px 10px; display: flex; flex-direction: column;
}
.face--side {
  width: var(--d); height: var(--h); left: calc(50% - var(--d) / 2);
  transform: rotateY(90deg) translateZ(calc(var(--w) / 2));
  background: linear-gradient(90deg, var(--c-deep), color-mix(in srgb, var(--c-deep) 80%, #000));
  color: var(--c-on); display: grid; place-items: center;
}
.face--side span { writing-mode: vertical-rl; font-family: var(--display); font-weight: 900; font-size: 15px; letter-spacing: .02em; opacity: .9; }
.face--back { width: var(--w); height: var(--h); transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); background: var(--c-deep); }
.face--left {
  width: var(--d); height: var(--h); left: calc(50% - var(--d) / 2);
  transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); background: var(--c-deep);
}
.face--top {
  width: var(--w); height: var(--d); top: calc(50% - var(--d) / 2);
  transform: rotateX(90deg) translateZ(calc(var(--h) / 2));
  background: color-mix(in srgb, var(--c) 85%, #fff);
}
.box-shadow {
  position: absolute; left: 50%; bottom: -46px; width: 180px; height: 28px; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); filter: blur(4px);
  transform: rotateX(90deg) translateZ(0); pointer-events: none;
}
.mini-logo { align-self: flex-start; background: #fff; border-radius: 999px; padding: 3px 9px; }
.mini-logo img { height: 20px; width: auto; }
.mini-type { font-size: 7px; font-weight: 800; letter-spacing: .2em; margin: 8px 0 1px; }
.mini-name { font-family: var(--display); font-weight: 900; font-size: 19px; line-height: 1; }
.mini-name.is-small { font-size: 12.5px; line-height: 1.05; }
.mini-tag { font-size: 8px; opacity: .9; margin-top: 3px; }
.mini-art {
  margin: auto -12px 6px; height: 96px; position: relative; flex: none;
}
.mini-art::before {
  content: ""; position: absolute; left: -22px; bottom: -14px; width: 118px; height: 118px; border-radius: 50%;
  background: var(--cream-2); box-shadow: 0 0 0 9px var(--c-deep);
}
.mini-art img { position: absolute; filter: drop-shadow(0 4px 4px rgba(0,0,0,.25)); }
.mini-art .a1 { width: 84px; left: 4px; bottom: 0; }
.mini-art .a2 { width: 56px; left: 0; bottom: 30px; }
.mini-art .a3 { width: 44px; left: 50px; bottom: 44px; }
.mini-art .a4 { width: 52px; left: 50px; bottom: 4px; }
.mini-pill {
  align-self: flex-end; font-size: 7px; font-weight: 800; letter-spacing: .12em;
  border: 1px solid currentColor; padding: 2px 7px; border-radius: 999px;
}

.card__body { display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card__tag { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.card__name { font-size: 1.7rem; font-weight: 900; }
.card__desc { font-size: .96rem; opacity: .9; margin: .2rem 0 1rem; }
.card__meta { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.card__meta span { font-size: .78rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; background: color-mix(in srgb, var(--c-on) 14%, transparent); }
.card__actions { margin-top: auto; display: flex; align-items: center; gap: .5rem; }
.qty { display: flex; align-items: center; border-radius: 999px; background: color-mix(in srgb, var(--c-on) 14%, transparent); }
.qty button { width: 36px; height: 40px; font-weight: 800; font-size: 1.1rem; }
.qty output { min-width: 1.4rem; text-align: center; font-weight: 800; }
.add {
  flex: 1; height: 44px; border-radius: 999px; background: var(--c-on); color: var(--c);
  font-weight: 800; font-size: .95rem; transition: transform .3s var(--ease), letter-spacing .3s;
}
.add:hover { transform: translateY(-2px); letter-spacing: .02em; }
.add.added { animation: added .6s var(--ease); }
@keyframes added { 30% { transform: scale(.92); } 60% { transform: scale(1.05); } }

/* =========================================================
   WEAVE BAND (Benadiri textile stripes)
   ========================================================= */
.weave {
  height: 22px;
  background:
    repeating-linear-gradient(90deg,
      var(--ginger) 0 14px, var(--cloves) 14px 18px, var(--leaf) 18px 32px, var(--cream) 32px 36px,
      var(--cinnamon) 36px 54px, var(--cream) 54px 58px, var(--green) 58px 70px, var(--cloves) 70px 74px);
  -webkit-mask: linear-gradient(#000 0 0) top/100% 70% no-repeat,
                conic-gradient(from -45deg at 50% 100%, #000 90deg, transparent 0) bottom/14px 30% repeat-x;
          mask: linear-gradient(#000 0 0) top/100% 70% no-repeat,
                conic-gradient(from -45deg at 50% 100%, #000 90deg, transparent 0) bottom/14px 30% repeat-x;
}
.weave--top { transform: scaleY(-1); }

/* =========================================================
   RITUAL
   ========================================================= */
.ritual { background: var(--cloves); color: var(--cream); position: relative; }
.ritual__inner {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem;
  max-width: 1240px; margin: 0 auto; padding: 120px var(--gutter);
}
.ritual__sticky { position: sticky; top: 110px; align-self: start; }
.ritual .eyebrow { color: var(--ginger); }
.ritual h2 .swash { color: var(--ginger); font-size: .92em; }
.glass-wrap { position: relative; width: 210px; margin-top: 2.5rem; color: var(--cream); }
.glass { width: 100%; overflow: visible; }
#liquid, #foam { transition: y 1.1s var(--ease), fill 1.1s var(--ease), opacity .8s; }
.glass-steam { position: absolute; left: 50%; top: -60px; width: 90px; height: 80px; translate: -50% 0; opacity: 0; transition: opacity .8s; }
.glass-steam.on { opacity: 1; }
.glass-steam i { background: rgba(247, 241, 230, .5); }
.glass-label {
  position: absolute; right: -40px; top: 40%;
  font-family: var(--swash); font-size: 2rem; color: var(--ginger);
  transform: rotate(-8deg); transition: opacity .3s;
}
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
  min-height: 70vh; display: flex; flex-direction: column; justify-content: center;
  padding-left: 1.6rem; border-left: 2px solid rgba(247, 241, 230, .15);
  opacity: .28; transition: opacity .6s var(--ease), border-color .6s;
  position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; left: -19px; top: 50%; translate: 0 -170%;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cloves); border: 2px solid rgba(247, 241, 230, .25);
  font-size: .72rem; font-weight: 800; transition: all .5s var(--ease);
}
.step.is-active { opacity: 1; border-color: var(--ginger); }
.step.is-active::before { background: var(--ginger); border-color: var(--ginger); color: var(--cloves); transform: scale(1.15); }
.step__word { font-family: var(--swash); font-size: clamp(3rem, 7vw, 5.4rem); color: var(--ginger); line-height: 1; }
.step__en { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; opacity: .6; margin: .3rem 0 1.2rem; }
.step h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .8rem; }
.step p { max-width: 32rem; opacity: .85; margin: 0; font-size: 1.08rem; }

/* =========================================================
   BREW TIMER
   ========================================================= */
.brew {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center;
  max-width: 1240px; margin: 0 auto; padding: 130px var(--gutter);
}
.brew h2 { color: var(--cloves); font-size: clamp(2.2rem, 5vw, 4rem); }
.brew h2 .op { color: var(--leaf); }
.brew h2 .swash { color: var(--cinnamon); }
.brew__copy > p { font-size: 1.12rem; max-width: 30rem; color: color-mix(in srgb, var(--ink) 80%, transparent); }
.strength { display: flex; gap: .7rem; margin-top: 2rem; flex-wrap: wrap; }
.strength__opt {
  display: flex; flex-direction: column; align-items: flex-start; padding: .9rem 1.2rem; border-radius: 20px;
  background: var(--cream-2); color: var(--cloves); min-width: 132px; text-align: left;
  border: 2px solid transparent; transition: all .3s var(--ease);
}
.strength__opt b { font-family: var(--display); font-size: 2rem; line-height: 1; }
.strength__opt small { font-size: .78rem; opacity: .75; font-weight: 600; }
.strength__opt:hover { border-color: var(--cinnamon); }
.strength__opt.is-active { background: var(--cloves); color: var(--cream); transform: translateY(-4px); }

.timer { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: center; }
.timer__ring { width: 100%; transform: rotate(-90deg); }
.timer__track { fill: none; stroke: var(--cream-2); stroke-width: 14; }
.timer__bar {
  fill: none; stroke: var(--cinnamon); stroke-width: 14; stroke-linecap: round;
  stroke-dasharray: 603.19; stroke-dashoffset: 603.19; transition: stroke-dashoffset 1s linear, stroke .6s;
}
.timer.done .timer__bar { stroke: var(--leaf); }
.timer__face {
  position: absolute; inset: 15%; border-radius: 50%; background: var(--cloves); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 30px 60px -30px rgba(42, 23, 18, .7);
}
.timer.running .timer__face { animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.025); } }
.timer__time { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 9vw, 4.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.timer__msg { font-size: .9rem; opacity: .75; margin: .4rem 0 1.1rem; padding: 0 1rem; }
.timer__btns { display: flex; align-items: center; gap: .2rem; }
.timer__btns .btn--dark { background: var(--ginger); color: var(--cloves); }
.timer__btns .btn--dark:hover { background: var(--cream); }

/* =========================================================
   RECIPE
   ========================================================= */
.recipe {
  background: var(--ginger); padding: 120px var(--gutter);
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: center;
  position: relative; overflow: hidden;
}
.recipe::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60vw; aspect-ratio: 1; border-radius: 50%;
  background: var(--ginger-deep); opacity: .5;
}
.recipe > * { position: relative; }
.recipe__card { background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(42, 23, 18, .6); }
.recipe__head { background: var(--green); color: var(--cream); padding: 2.2rem 2.4rem; }
.recipe__head .eyebrow { color: var(--ginger); margin-bottom: .6rem; }
.recipe__head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.recipe__meta { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0 0; }
.recipe__meta span { font-size: .82rem; font-weight: 700; padding: .3em .9em; border-radius: 999px; background: rgba(247, 241, 230, .14); }
.recipe__body { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; padding: 2.2rem 2.4rem 2.6rem; }
.recipe__body h3 { font-size: 1.3rem; color: var(--cloves); margin-bottom: 1rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.checklist label { display: flex; align-items: center; gap: .7rem; cursor: pointer; transition: opacity .3s; }
.checklist input { appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--cinnamon); display: grid; place-items: center; flex: none; transition: all .25s var(--ease); margin: 0; cursor: pointer; }
.checklist input:checked { background: var(--leaf); border-color: var(--leaf); }
.checklist input:checked::after { content: "✓"; color: #fff; font-size: 13px; font-weight: 900; }
.checklist label:has(input:checked) { opacity: .5; text-decoration: line-through; }
.method { margin: 0; padding: 0; list-style: none; counter-reset: m; display: grid; gap: .8rem; }
.method li { counter-increment: m; display: grid; grid-template-columns: 30px 1fr; gap: .7rem; align-items: start; }
.method li::before { content: counter(m); width: 28px; height: 28px; border-radius: 50%; background: var(--cinnamon); color: var(--cream); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }

.quote { margin: 0; color: var(--cloves); }
.quote blockquote { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.12; }
.quote figcaption { margin-top: 1.2rem; font-family: var(--swash); font-size: 1.3rem; color: var(--rust); }

/* =========================================================
   PROMISE
   ========================================================= */
.promise { padding: 110px var(--gutter); }
.promise__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; max-width: 1240px; margin: 0 auto; }
.pcard { background: var(--cream-2); border-radius: 24px; padding: 1.8rem 1.6rem; transition: transform .4s var(--ease), background .4s; }
.pcard:hover { transform: translateY(-6px) rotate(-1deg); background: #fff; }
.pcard__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; color: var(--cream); margin-bottom: 1.1rem; }
.pcard:nth-child(1) .pcard__icon { background: var(--green); }
.pcard:nth-child(2) .pcard__icon { background: var(--cinnamon); }
.pcard:nth-child(3) .pcard__icon { background: var(--cloves); }
.pcard:nth-child(4) .pcard__icon { background: var(--ginger); color: var(--cloves); }
.pcard h3 { font-size: 1.3rem; color: var(--cloves); margin-bottom: .5rem; }
.pcard p { margin: 0; font-size: .98rem; color: color-mix(in srgb, var(--ink) 78%, transparent); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--green-deep); color: var(--cream); position: relative; }
.footer__inner {
  display: grid; grid-template-columns: 1fr 1.2fr 1.3fr; gap: 3rem;
  max-width: 1240px; margin: 0 auto; padding: 80px var(--gutter) 40px;
}
.footer__logo { background: var(--cream); border-radius: 999px; padding: 12px 22px; display: inline-block; }
.footer__logo img { height: 52px; width: auto; }
.footer__soo { font-family: var(--swash); font-size: 1.4rem; color: var(--ginger); margin: 1.3rem 0 0; line-height: 1.3; }
.news label { font-family: var(--display); font-weight: 900; font-size: 1.6rem; display: block; }
.news p { opacity: .75; margin: .4rem 0 1rem; font-size: .95rem; }
.news__row { display: flex; gap: .5rem; background: rgba(247, 241, 230, .1); border-radius: 999px; padding: 5px; }
.news input { flex: 1; min-width: 0; background: none; border: 0; color: var(--cream); padding: 0 1rem; font: inherit; outline: none; }
.news input::placeholder { color: rgba(247, 241, 230, .5); }
.news .btn--light { color: var(--green-deep); padding: .75em 1.3em; }
.news__ok { color: var(--ginger) !important; opacity: 1 !important; font-weight: 700; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.footer__cols h4 { margin: 0 0 .8rem; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ginger); }
.footer__cols a, .footer__cols span { display: block; text-decoration: none; opacity: .8; font-size: .94rem; margin-bottom: .45rem; word-break: break-word; }
.footer__cols a:hover { opacity: 1; color: var(--leaf-light); }
.footer__legal { text-align: center; font-size: .82rem; opacity: .55; margin: 0; padding: 1.6rem var(--gutter) 2rem; border-top: 1px solid rgba(247, 241, 230, .1); }

/* =========================================================
   DRAWER / TOAST
   ========================================================= */
.scrim { position: fixed; inset: 0; background: rgba(42, 23, 18, .45); z-index: 80; backdrop-filter: blur(3px); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 90;
  background: var(--cream); display: flex; flex-direction: column;
  transform: translateX(calc(100% + 80px)); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s;
  box-shadow: -30px 0 60px -30px rgba(42, 23, 18, .5);
}
.drawer.open { transform: none; visibility: visible; transition: transform .55s var(--ease); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 1.6rem; border-bottom: 1px solid var(--cream-2); }
.drawer__head h3 { font-size: 1.6rem; color: var(--cloves); }
.drawer__close { font-size: 2rem; width: 44px; height: 44px; border-radius: 50%; line-height: 1; }
.drawer__close:hover { background: var(--cream-2); }
.drawer__list { list-style: none; margin: 0; padding: 1rem 1.6rem; overflow: auto; flex: 1; display: grid; gap: .8rem; align-content: start; }
.drawer__item { display: grid; grid-template-columns: 62px 1fr auto; gap: .9rem; align-items: center; padding: .7rem; border-radius: 18px; background: #fff; animation: swapIn .5s var(--ease); }
.drawer__thumb { width: 62px; height: 62px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.drawer__thumb img { width: 90%; }
.drawer__item h4 { margin: 0; font-family: var(--display); font-size: 1.05rem; color: var(--cloves); }
.drawer__item p { margin: 0; font-size: .8rem; opacity: .65; }
.drawer__item .qty { background: var(--cream-2); }
.drawer__item .qty button { width: 30px; height: 34px; }
.drawer__empty { padding: 3rem 1.6rem; text-align: center; color: var(--cinnamon); font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.drawer__foot { padding: 1.4rem 1.6rem 1.8rem; border-top: 1px solid var(--cream-2); }
.drawer__total { display: flex; justify-content: space-between; margin: 0 0 1rem; font-weight: 700; }
.drawer__note { font-size: .8rem; opacity: .6; text-align: center; margin: .8rem 0 0; }
.btn.is-disabled { opacity: .4; pointer-events: none; }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 100;
  translate: -50% 140%; opacity: 0;
  background: var(--cloves); color: var(--cream); padding: .9rem 1.4rem; border-radius: 999px;
  font-weight: 700; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
  transition: translate .5s var(--ease), opacity .4s; white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.show { translate: -50% 0; opacity: 1; }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.grid .card { opacity: 0; transform: translateY(60px) rotate(2deg); }
.grid .card.in { opacity: 1; transform: none; transition: opacity .9s var(--ease) var(--delay, 0s), transform .9s var(--ease) var(--delay, 0s), box-shadow .5s; }
.grid .card.in:hover { transform: translateY(-10px); transition-delay: 0s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .promise__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav__links {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; gap: .2rem;
    background: var(--cream); border-radius: 24px; padding: .8rem;
    box-shadow: 0 30px 60px -30px rgba(42, 23, 18, .5);
    opacity: 0; pointer-events: none; transform: translateY(-10px); transition: all .35s var(--ease);
  }
  .nav__links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav__links a { padding: .9em 1.1em; font-size: 1.05rem; }
  .nav__cart { margin-left: auto; }
  .nav__burger { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 110px; text-align: left; }
  .hero__stage { width: min(88%, 460px); order: -1; margin-top: .5rem; }
  .ritual__inner, .brew, .recipe { grid-template-columns: 1fr; gap: 2.5rem; }
  .ritual__sticky { position: sticky; top: 0; z-index: 2; background: var(--cloves); padding: 1.2rem 0 1rem; box-shadow: 0 20px 20px -10px var(--cloves); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; }
  .ritual__sticky h2 { font-size: 1.8rem; }
  .ritual__sticky .eyebrow { grid-column: 1 / -1; margin: 0; }
  .glass-wrap { width: 80px; margin: 0; }
  .glass-label { display: none; }
  .glass-steam { top: -40px; transform: scale(.5); }
  .step { min-height: 55vh; }
  .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { inset: 10px 12px auto; }
  .nav__logo img { height: 34px; }
  .grid, .promise__grid { grid-template-columns: 1fr; }
  .recipe__body { grid-template-columns: 1fr; padding: 1.6rem; }
  .recipe__head { padding: 1.8rem 1.6rem; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .strength__opt { min-width: 0; flex: 1; padding: .8rem; }
  .flavours, .promise, .recipe { padding-block: 90px; }
  .ritual__inner { padding-block: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   SHOP: prices, checkout
   ========================================================= */
.card__title { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.card__price { font-family: var(--display); font-weight: 900; font-size: 1.35rem; white-space: nowrap; }
.card__price--ask { font-family: var(--body); font-size: .8rem; font-weight: 700; opacity: .75; }
.card .qty button:disabled, .add:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.mini-art--single .a1 { width: 96px; left: 0; bottom: 0; }

.drawer__view { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.drawer__view[hidden] { display: none; }
.checkout__fields { padding: 1.2rem 1.6rem; overflow: auto; flex: 1; display: grid; gap: .9rem; align-content: start; }
.checkout label { display: grid; gap: .35rem; font-weight: 700; font-size: .88rem; color: var(--cloves); }
.checkout label small { font-weight: 500; opacity: .65; }
.checkout input, .checkout textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  padding: .75rem .9rem; border-radius: 14px; border: 1.5px solid var(--cream-2); background: #fff; outline: none;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.checkout input:focus, .checkout textarea:focus { border-color: var(--cinnamon); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cinnamon) 18%, transparent); }
.checkout__err { margin: 0; padding: .7rem .9rem; border-radius: 12px; background: #fbe4dc; color: #a2321a; font-weight: 600; font-size: .9rem; }
.checkout .btn--text { margin-top: .4rem; color: var(--cloves); }
.btn:disabled { opacity: .6; pointer-events: none; }
.checkout__done { align-items: center; justify-content: center; text-align: center; padding: 2rem 1.8rem; gap: .8rem; }
.done__icon { width: 84px; height: 84px; border-radius: 50%; background: var(--ginger); display: grid; place-items: center; font-size: 2.4rem; animation: bump .8s var(--ease); }
.checkout__done h4 { margin: 0; font-family: var(--swash); font-weight: 400; font-size: 2.2rem; color: var(--cinnamon); }
.checkout__done p { margin: 0 0 .6rem; color: color-mix(in srgb, var(--ink) 80%, transparent); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   REAL TUCKBOX (artwork from the dieline PDFs)
   Proportions match the print: 486.7 × 486.7 × 187.2 pt
   ========================================================= */
.box--art {
  --w: 196px; --d: 196px; --h: 75px;
  --rx: -54deg; --ry: -34deg; --spin: 0deg;
  width: var(--w); height: var(--h);
  transform: rotateX(calc(var(--rx) + var(--tilt-x, 0deg))) rotateY(calc(var(--ry) + var(--spin) + var(--tilt-y, 0deg)));
  transition: transform 1.1s var(--ease);
}
.card:hover .box.box--art { --spin: 180deg; transform: rotateX(calc(var(--rx) + var(--tilt-x, 0deg))) rotateY(calc(var(--ry) + var(--spin) + var(--tilt-y, 0deg))) translateY(-6px); }
.bf {
  position: absolute; left: 50%; top: 50%;
  background: var(--c) center / 100% 100% no-repeat;
  backface-visibility: hidden;
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12);
}
.bf--front, .bf--back { width: var(--w); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2); }
.bf--left, .bf--right { width: var(--d); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--d) / -2); }
.bf--top, .bf--bottom { width: var(--w); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--w) / -2); }
.bf--front  { transform: translateZ(calc(var(--d) / 2)); }
.bf--back   { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.bf--right  { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.bf--left   { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.bf--top    { transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); }
.bf--bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); }
/* soft light falloff so the walls read as 3D */
.bf--front::after, .bf--right::after, .bf--left::after, .bf--back::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.16));
}
.bf--right::after, .bf--left::after { background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.26)); }
.box-shadow--flat {
  width: 260px; height: 260px; bottom: auto; top: 50%; left: 50%; translate: -50% -50%;
  transform: rotateX(90deg) translateZ(calc(var(--h) / -2 - 1px));
  background: radial-gradient(closest-side, rgba(0, 0, 0, .38), transparent 75%); filter: blur(6px);
}
.box-scene:has(.box--art) { height: 330px; }
.drawer__thumb--box img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .box--art { --w: 180px; --d: 180px; --h: 69px; } .box-scene:has(.box--art) { height: 300px; } }
