/* ============================================================
   21 TEAS — A Tea For Every Mood
   Premium heritage system: warm cream paper, deep tea-green ink,
   tea-orange accent. Fraunces (display) + Alegreya Sans (body).
   Soft hairlines & diffused shadows — no hard borders.
   ============================================================ */

:root {
  /* Brand core */
  --cream: #F6EBD9;        /* page — warm rich beige */
  --cream-2: #FCF5E9;      /* elevated cards */
  --cream-3: #EFE2CB;      /* deeper wash */
  --ink: #273A30;          /* deep tea green (text) */
  --ink-soft: #5A6B60;
  --terra: #C96F45;        /* tea orange — primary accent */
  --terra-deep: #A9552F;
  --gold: #8A6420;

  /* Mood palettes (per tea) */
  --sig-tint: #E4E8D3;  --sig-deep: #2C4636;
  --mas-tint: #F1D8CB;  --mas-deep: #59262C;
  --bom-tint: #F5D8BE;  --bom-deep: #A34E2E;
  --ela-tint: #F3E5C2;  --ela-deep: #8A6420;

  --hairline: 1px solid rgba(39, 58, 48, .14);
  --hairline-soft: 1px solid rgba(39, 58, 48, .09);
  --radius: 30px;
  --radius-sm: 16px;
  --shadow-soft: 0 30px 70px -35px rgba(57, 42, 28, .45);
  --shadow-card: 0 16px 40px -24px rgba(57, 42, 28, .35);
  --shadow-hover: 0 26px 60px -28px rgba(57, 42, 28, .45);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Alegreya Sans", "Gill Sans", "Trebuchet MS", sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --paper: #FFFDF6;
  --table: #2E4A3B;
  --table-dark: #243B2F;

  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 48px);

  --t-hero: clamp(2.7rem, 7vw, 5.6rem);
  --t-h1: clamp(2.2rem, 5vw, 3.8rem);
  --t-h2: clamp(1.8rem, 3.6vw, 2.7rem);
  --t-h3: clamp(1.3rem, 2.2vw, 1.7rem);
  --t-body: clamp(1.02rem, 1.2vw, 1.12rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* faint paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 2000;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

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; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 540;
  line-height: 1.06;
  letter-spacing: -.015em;
  font-variation-settings: "SOFT" 70;
}
.italic, em.fancy { font-style: italic; font-weight: 470; color: var(--terra); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-mono);
  font-weight: 700; font-size: .7rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--terra-deep);
}
.eyebrow::before {
  content: ""; width: 1em; height: 1em; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22 C12 15 12 12 12 6' stroke='black' stroke-width='2.4' stroke-linecap='round' fill='none'/%3E%3Cpath d='M12 13 C7.5 12 4.5 8.5 4 4 C8.5 4.5 11.5 8 12 13 Z'/%3E%3Cpath d='M12 13 C16.5 12 19.5 8.5 20 4 C15.5 4.5 12.5 8 12 13 Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22 C12 15 12 12 12 6' stroke='black' stroke-width='2.4' stroke-linecap='round' fill='none'/%3E%3Cpath d='M12 13 C7.5 12 4.5 8.5 4 4 C8.5 4.5 11.5 8 12 13 Z'/%3E%3Cpath d='M12 13 C16.5 12 19.5 8.5 20 4 C15.5 4.5 12.5 8 12 13 Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-soft); }
.lead b { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 1em 2em;
  border-radius: 999px;
  background: var(--terra);
  color: #FFF7EC;
  font-weight: 700; font-size: .84rem;
  letter-spacing: .14em; text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  box-shadow: 0 14px 30px -14px rgba(169, 85, 47, .55);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--terra-deep); box-shadow: 0 20px 40px -16px rgba(169, 85, 47, .6); }
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: transparent; color: var(--ink);
  border: 1px solid rgba(39,58,48,.35); box-shadow: none;
}
.btn.ghost:hover { background: var(--ink); color: var(--cream-2); border-color: var(--ink); }
.btn.dark { background: var(--ink); color: var(--cream-2); box-shadow: 0 14px 30px -14px rgba(39,58,48,.5); }
.btn.dark:hover { background: #1D2C24; }
.btn.sm { padding: .68em 1.4em; font-size: .76rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  /* -1px kills the sub-pixel hairline that iOS shows above a top:0 sticky bar */
  position: sticky; top: -1px; z-index: 960;
  border-bottom: var(--hairline-soft);
}
.site-header::before {
  /* blur lives on a pseudo-layer: backdrop-filter on the header itself would
     hijack the fixed-position mobile menu (containing-block rule).
     top bleeds 90px above the bar so Safari's collapsing-toolbar lag and
     rubber-band overscroll never expose a bare strip above the header */
  content: ""; position: absolute; inset: -90px 0 0 0; z-index: -1;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header .bar {
  max-width: var(--wrap); margin: 0 auto; padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand img.brand-h { height: 74px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.4rem; letter-spacing: -.01em;
  white-space: nowrap;
  transform: translateY(-1px);
}
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 34px); font-weight: 600; font-size: .95rem; }
.nav-links a { position: relative; padding: 6px 0; letter-spacing: .02em; color: var(--ink); opacity: .85; transition: opacity .2s ease, color .2s ease; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--terra-deep); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--terra);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: .55em;
  border: 1px solid rgba(39,58,48,.3);
  border-radius: 999px;
  padding: .55em 1.25em; font-weight: 700; font-size: .88rem; letter-spacing: .04em;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cart-btn:hover { background: var(--ink); color: var(--cream-2); border-color: var(--ink); }
.cart-count {
  min-width: 1.5em; height: 1.5em; padding-inline: .3em;
  display: inline-grid; place-items: center;
  background: var(--terra); color: #FFF7EC;
  border-radius: 999px; font-size: .8em; font-weight: 800;
}
.menu-btn { display: none; }

/* mobile nav */
@media (max-width: 880px) {
  .brand img { height: 34px; }
  .brand img.brand-h { height: 64px; }
  .brand-name { font-size: 1.2rem; }
  .nav-links {
    position: fixed; inset: 0; z-index: 950;
    flex-direction: column; justify-content: center; gap: 6vh;
    padding-top: 70px;
    background: var(--cream);
    font-family: var(--font-display); font-size: 2rem; font-weight: 540;
    opacity: 0; pointer-events: none; transition: opacity .25s ease;
  }
  .nav-links a { opacity: 1; }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .menu-btn {
    display: inline-grid; place-items: center;
    width: 42px; height: 42px;
    border: 1px solid rgba(39,58,48,.3);
    border-radius: 999px;
    position: relative; z-index: 960;
    background: transparent;
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after {
    content: ""; display: block; width: 16px; height: 2px;
    background: var(--ink); border-radius: 2px; position: relative;
    transition: transform .2s ease, opacity .2s ease, background .2s ease;
  }
  .menu-btn span::before { position: absolute; top: -5.5px; }
  .menu-btn span::after { position: absolute; top: 5.5px; }
  .menu-btn.open span { background: transparent; }
  .menu-btn.open span::before { transform: translateY(5.5px) rotate(45deg); }
  .menu-btn.open span::after { transform: translateY(-5.5px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(46px, 7vw, 100px) 0 0; }
.hero-grid {
  display: grid; grid-template-columns: 1.12fr .88fr;
  gap: clamp(24px, 4vw, 60px); align-items: center;
}
.hero h1 { font-size: var(--t-hero); }
.hero h1 .swap-word { display: inline-block; font-style: italic; font-weight: 470; color: var(--terra); }
.swap-word { transition: opacity .28s ease, transform .28s ease; }
.swap-word.out { opacity: 0; transform: translateY(.3em); }
.hero .lead { max-width: 32em; margin-top: 1.3em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2em; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2.6em; }
.badge {
  border: var(--hairline);
  border-radius: 999px;
  padding: .55em 1.1em; font-size: .66rem; font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft);
  background: color-mix(in srgb, var(--cream-2) 60%, transparent);
}

/* fanned pack cards */
.hero-fan { position: relative; height: clamp(360px, 42vw, 540px); }
.fan-card {
  position: absolute; top: 50%; left: 50%;
  width: clamp(150px, 16.5vw, 220px);
  aspect-ratio: 3 / 4.4;
  border-radius: 20px;
  overflow: hidden; background: var(--cream-2);
  box-shadow: var(--shadow-card);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; }
.fan-card:nth-child(1) { transform: translate(-136%, -46%) rotate(-9deg); }
.fan-card:nth-child(2) { transform: translate(-88%, -52%) rotate(-3deg); }
.fan-card:nth-child(3) { transform: translate(-40%, -50%) rotate(3deg); }
.fan-card:nth-child(4) { transform: translate(4%, -43%) rotate(10deg); }
.fan-card:hover { z-index: 5; box-shadow: var(--shadow-hover); }
.fan-card:nth-child(1):hover { transform: translate(-136%, -51%) rotate(-7deg) scale(1.03); }
.fan-card:nth-child(2):hover { transform: translate(-88%, -57%) rotate(-1deg) scale(1.03); }
.fan-card:nth-child(3):hover { transform: translate(-40%, -55%) rotate(1deg) scale(1.03); }
.fan-card:nth-child(4):hover { transform: translate(4%, -48%) rotate(8deg) scale(1.03); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-fan { height: clamp(280px, 74vw, 400px); margin-top: 4px; }
  .fan-card { width: clamp(120px, 27vw, 170px); }
  .fan-card:nth-child(1) { transform: translate(-142%, -50%) rotate(-9deg); }
  .fan-card:nth-child(2) { transform: translate(-94%, -55%) rotate(-3deg); }
  .fan-card:nth-child(3) { transform: translate(-46%, -53%) rotate(3deg); }
  .fan-card:nth-child(4) { transform: translate(2%, -46%) rotate(10deg); }
}

/* reconstructed brand waves — filled, original pattern colours */
.wave-divider {
  height: clamp(58px, 8vw, 96px);
  width: min(760px, 88vw);
  margin: clamp(30px, 4.5vw, 56px) auto;
  background: url("../assets/logo/waves-sprig.svg") center / contain no-repeat;
}

/* ---------- Section shells ---------- */
section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 130px); }
.section-head { max-width: 700px; margin-bottom: clamp(34px, 5vw, 64px); }
.section-head h2 { font-size: var(--t-h1); margin-top: .4em; }
.section-head p { margin-top: 1em; }

/* ---------- Tea panels ---------- */
.tea-panel {
  --p-tint: var(--sig-tint); --p-deep: var(--sig-deep);
  background: var(--p-tint);
}
.tea-panel .inner {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(30px, 5.5vw, 80px);
  align-items: center;
  padding-block: clamp(60px, 8vw, 110px);
}
.tea-panel:nth-child(even) .inner { direction: rtl; }
.tea-panel:nth-child(even) .inner > * { direction: ltr; }

.tea-visual { position: relative; padding-top: 26px; }
.tea-visual .img-card {
  border-radius: var(--radius);
  overflow: hidden; background: var(--cream-2);
  box-shadow: var(--shadow-soft);
  transform: rotate(-2deg);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  max-width: 430px;
  margin-inline: auto;
}
.tea-panel:nth-child(even) .tea-visual .img-card { transform: rotate(2deg); }
.tea-visual .img-card:hover { transform: rotate(0deg) scale(1.015); }
.tea-visual .img-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.tea-index {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  letter-spacing: .08em;
  color: var(--p-deep); opacity: .75;
}

.tea-copy .eyebrow { color: var(--p-deep); }
.tea-copy h3 { font-size: var(--t-h2); color: var(--p-deep); margin-top: .35em; }
.tea-copy .tag { font-style: italic; font-family: var(--font-display); font-size: 1.12rem; margin-top: .35em; color: var(--ink-soft); }
.tea-copy p.desc { margin-top: 1.1em; max-width: 31em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.3em; }
.chip {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: color-mix(in srgb, #FFFDF8 52%, transparent);
  color: var(--p-deep, var(--ink));
  padding: .5em 1.05em; border-radius: 999px;
}
.brew-stats { display: flex; gap: clamp(18px, 3vw, 40px); margin-top: 1.6em; flex-wrap: wrap; }
.brew-stats div { font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.brew-stats b { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 560; color: var(--p-deep); }
.tea-buy { display: flex; align-items: center; gap: 20px; margin-top: 2em; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-size: 1.65rem; font-weight: 560; color: var(--p-deep, var(--ink)); }
.price small { font-family: var(--font-body); font-size: .55em; font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; }
.tea-buy .btn { background: var(--p-deep); box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--p-deep) 70%, transparent); }
.tea-buy .btn:hover { background: var(--ink); }
.tea-buy a.more { font-weight: 700; font-size: .95rem; border-bottom: 1.5px solid var(--terra); padding-bottom: 2px; transition: color .2s ease; }
.tea-buy a.more:hover { color: var(--terra-deep); }

@media (max-width: 820px) {
  .tea-panel .inner { grid-template-columns: 1fr; }
  .tea-visual .img-card { max-width: 330px; }
}

/* ---------- Mood matcher ---------- */
.moods { background: var(--cream); }
.mood-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mood-card {
  border: var(--hairline-soft);
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 32px);
  text-align: left; background: var(--cream-2);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: 0 8px 24px -18px rgba(57,42,28,.35);
}
.mood-card .emo { font-size: 1.8rem; line-height: 1; }
.mood-card h4 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 560; margin-top: .7em; }
.mood-card p { font-size: .9rem; margin-top: .4em; color: var(--ink-soft); }
.mood-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.mood-card.sel { background: var(--ink); }
.mood-card.sel h4 { color: var(--cream-2); }
.mood-card.sel p { color: color-mix(in srgb, var(--cream-2) 75%, transparent); }

.mood-result {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  display: none;
  grid-template-columns: 280px 1fr;
  background: var(--m-tint, var(--cream-2));
  box-shadow: var(--shadow-card);
  animation: fadeUp .5s ease;
}
.mood-result.show { display: grid; }
.mood-result img { width: 100%; height: 100%; object-fit: cover; }
.mood-result .mr-copy { padding: clamp(24px, 3.4vw, 44px); align-self: center; }
.mood-result .mr-copy h4 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 560; color: var(--m-deep, var(--ink)); }
.mood-result .mr-copy p { margin-top: .6em; max-width: 40em; }
.mood-result .mr-actions { display: flex; gap: 18px; align-items: center; margin-top: 1.4em; flex-wrap: wrap; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 820px) {
  .mood-grid { grid-template-columns: repeat(2, 1fr); }
  .mood-result { grid-template-columns: 1fr; }
  .mood-result img { max-height: 300px; }
}
@media (max-width: 480px) { .mood-grid { grid-template-columns: 1fr; } }

/* ---------- Ritual ---------- */
.ritual { background: var(--cream-3); }
.ritual .eyebrow { color: var(--terra-deep); }
.ritual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step-card {
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 34px);
  position: relative;
  background: var(--cream-2);
  border: var(--hairline-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display); font-style: italic;
  font-size: 2rem; color: var(--terra);
}
.step-card h4 { font-family: var(--font-display); font-weight: 560; font-size: 1.22rem; margin-top: .5em; }
.step-card p { font-size: .93rem; color: var(--ink-soft); margin-top: .45em; }
.ritual-note { margin-top: 34px; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 820px) { .ritual-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ritual-grid { grid-template-columns: 1fr; } }

/* steam */
.steam { display: inline-block; margin-left: .25em; }
.steam path {
  stroke: var(--terra); stroke-width: 3; fill: none; stroke-linecap: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: steam 2.8s ease-in-out infinite;
}
.steam path:nth-child(2) { animation-delay: .5s; }
.steam path:nth-child(3) { animation-delay: 1s; }
@keyframes steam {
  0% { stroke-dashoffset: 40; opacity: 0; }
  35% { opacity: .9; }
  70% { stroke-dashoffset: -20; opacity: 0; }
  100% { stroke-dashoffset: -20; opacity: 0; }
}

/* ---------- Story ---------- */
.story { background: var(--cream); overflow: clip; }
.story .inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px, 5.5vw, 90px); align-items: center; }
.story-visual { position: relative; }
.story-visual::before {
  /* the pattern, glimpsed through a circle — original colours, untouched */
  content: ""; position: absolute; z-index: 0;
  width: clamp(170px, 23vw, 300px); aspect-ratio: 1;
  border-radius: 50%;
  top: clamp(-44px, -3vw, -24px); left: clamp(-46px, -3.4vw, -26px);
  background-color: var(--cream-2);
  background-image: url("../assets/logo/pattern-colored.svg");
  background-size: 640% auto;
  background-position: 40% 72%;
}
.story-art {
  position: relative; z-index: 1;
  border-radius: var(--radius); overflow: hidden;
  background: var(--cream-2);
  box-shadow: var(--shadow-soft);
  transform: rotate(1.5deg);
}
.story-art img { width: 100%; object-fit: cover; }
.story h2 { font-size: var(--t-h1); }
.story .big-21 { font-style: italic; font-weight: 470; color: var(--terra); }
.story p { margin-top: 1.15em; max-width: 34em; color: var(--ink-soft); }
.story p b { color: var(--ink); }
@media (max-width: 820px) { .story .inner { grid-template-columns: 1fr; } }

/* ---------- Promise strip ---------- */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promise {
  border-radius: var(--radius);
  background: var(--cream-2);
  border: var(--hairline-soft);
  padding: clamp(22px, 2.6vw, 34px);
}
.promise .emo { font-size: 1.7rem; }
.promise h4 { font-family: var(--font-display); font-weight: 560; font-size: 1.25rem; margin-top: .6em; }
.promise p { font-size: .93rem; margin-top: .45em; color: var(--ink-soft); }
@media (max-width: 820px) { .promises { grid-template-columns: 1fr; } }

/* ---------- Shop grid ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 26px); }
.product-card {
  --p-tint: var(--cream-2); --p-deep: var(--ink);
  border-radius: var(--radius);
  background: var(--p-tint); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 10px 30px -22px rgba(57,42,28,.4);
  transition: transform .3s ease, box-shadow .3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-card .pc-img { position: relative; overflow: hidden; }
.product-card .pc-img img { width: 100%; aspect-ratio: 3/3.6; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .pc-img img { transform: scale(1.045); }
.pc-mood {
  position: absolute; top: 14px; left: 14px;
  background: color-mix(in srgb, var(--cream-2) 88%, transparent);
  color: var(--p-deep);
  font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: .55em 1em; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.product-card .pc-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.product-card h3 { font-size: 1.28rem; font-weight: 560; color: var(--p-deep); }
.product-card .pc-tag { font-size: .88rem; color: var(--ink-soft); }
.product-card .pc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; }
.product-card .price { font-size: 1.2rem; }
.product-card .btn { padding: .62em 1.3em; font-size: .72rem; background: var(--p-deep); box-shadow: none; }
.product-card .btn:hover { background: var(--ink); }
@media (max-width: 1020px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shop-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #22332A; color: var(--cream); }
.site-footer .inner {
  display: grid; grid-template-columns: 1.25fr .75fr .75fr 1.05fr;
  gap: clamp(26px, 4vw, 64px);
  padding-block: clamp(56px, 6.5vw, 90px) 34px;
}
.site-footer img.f-logo { height: 160px; width: auto; }
.site-footer .tagline { font-family: var(--font-display); font-style: italic; margin-top: 16px; color: #D9A47C; font-size: 1.12rem; }
.site-footer h5 { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: #C9B08D; margin-bottom: 16px; font-weight: 700; }
.site-footer li { margin-bottom: 10px; font-size: .97rem; }
.site-footer a { opacity: .88; transition: opacity .2s ease, color .2s ease; }
.site-footer a:hover { opacity: 1; color: #D9A47C; }
.newsletter p { font-size: .93rem; opacity: .8; margin-bottom: 14px; }
.newsletter form {
  display: flex;
  border: 1px solid color-mix(in srgb, var(--cream) 30%, transparent);
  border-radius: 999px; overflow: hidden;
}
.newsletter input {
  flex: 1; min-width: 0; background: transparent; border: none; outline: none;
  color: var(--cream); padding: .85em 1.3em; font: inherit; font-size: .95rem;
}
.newsletter input::placeholder { color: color-mix(in srgb, var(--cream) 45%, transparent); }
.newsletter button { background: var(--terra); color: #FFF7EC; font-weight: 700; padding: 0 1.5em; font-size: .85rem; letter-spacing: .06em; transition: background .2s ease; }
.newsletter button:hover { background: var(--terra-deep); }
.footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--cream) 16%, transparent);
  padding-block: 24px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .84rem; opacity: .72;
}
@media (max-width: 880px) { .site-footer .inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .inner { grid-template-columns: 1fr; } }

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(29, 39, 33, .4);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001;
  width: min(430px, 94vw);
  background: var(--cream-2);
  box-shadow: -30px 0 80px -30px rgba(29,39,33,.4);
  transform: translateX(105%);
  transition: transform .34s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: none; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: var(--hairline-soft);
}
.cart-head h3 { font-size: 1.45rem; font-weight: 560; }
.cart-close {
  width: 38px; height: 38px;
  border: 1px solid rgba(39,58,48,.25);
  border-radius: 999px; display: grid; place-items: center; font-size: 1rem;
  transition: background .2s ease, color .2s ease;
}
.cart-close:hover { background: var(--ink); color: var(--cream-2); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.cart-empty { text-align: center; margin-top: 8vh; color: var(--ink-soft); }
.cart-empty .emo { font-size: 2.8rem; }
.cart-empty b { color: var(--ink); }
.ci {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center;
  border-radius: var(--radius-sm);
  padding: 12px; background: var(--cream);
}
.ci img { width: 72px; height: 86px; object-fit: cover; border-radius: 10px; }
.ci h4 { font-size: 1rem; font-family: var(--font-display); font-weight: 560; }
.ci .ci-price { font-size: .86rem; font-weight: 600; color: var(--ink-soft); margin-top: 2px; }
.qty {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid rgba(39,58,48,.22);
  background: var(--cream-2);
  border-radius: 999px; margin-top: 8px;
}
.qty button { width: 30px; height: 30px; font-weight: 700; font-size: 1rem; border-radius: 999px; transition: background .15s ease; }
.qty button:hover { background: rgba(39,58,48,.08); }
.qty span { min-width: 24px; text-align: center; font-weight: 700; }
.ci-remove { font-size: .76rem; font-weight: 600; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; justify-self: end; align-self: start; }
.ci-remove:hover { color: var(--terra-deep); }
.cart-foot { border-top: var(--hairline-soft); padding: 20px 24px 24px; background: var(--cream); }
.ship-bar { font-size: .85rem; font-weight: 600; margin-bottom: 12px; color: var(--ink-soft); }
.ship-bar b { color: var(--ink); }
.ship-track { height: 6px; border-radius: 999px; overflow: hidden; margin-top: 8px; background: rgba(39,58,48,.12); }
.ship-fill { height: 100%; background: var(--terra); width: 0%; transition: width .4s ease; border-radius: 999px; }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.12rem; margin-bottom: 14px; }
.cart-foot .btn { width: 100%; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 1200;
  transform: translate(-50%, 130%);
  background: var(--ink); color: var(--cream-2);
  border-radius: 999px;
  padding: .85em 1.7em; font-weight: 600; font-size: .95rem;
  box-shadow: var(--shadow-card);
  transition: transform .32s cubic-bezier(.2,.8,.2,1);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Product page ---------- */
.pdp { padding-top: clamp(34px, 5vw, 64px); }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 76px); align-items: start; }
.pdp-gallery { position: sticky; top: 100px; }
.pdp-main-img {
  border-radius: var(--radius); overflow: hidden;
  background: var(--p-tint, var(--cream-2));
  box-shadow: var(--shadow-soft);
}
.pdp-main-img img { width: 100%; aspect-ratio: 4/4.5; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 12px; margin-top: 16px; }
.pdp-thumbs button {
  width: 82px; border-radius: var(--radius-sm); overflow: hidden;
  opacity: .55; transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 8px 20px -14px rgba(57,42,28,.4);
}
.pdp-thumbs button.sel, .pdp-thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.pdp-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp-info .eyebrow { color: var(--p-deep, var(--terra-deep)); }
.pdp-info h1 { font-size: var(--t-h1); color: var(--p-deep, var(--ink)); margin-top: .25em; }
.pdp-info .tag { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; margin-top: .35em; color: var(--ink-soft); }
.pdp-info .price { font-size: 1.9rem; margin-top: .65em; }
.pdp-info .desc { margin-top: 1.2em; max-width: 34em; color: var(--ink-soft); }
.pdp-buy { display: flex; gap: 14px; align-items: center; margin-top: 1.7em; flex-wrap: wrap; }
.pdp-buy .qty { margin: 0; background: var(--cream-2); padding: 3px; }
.pdp-buy .qty button { width: 34px; height: 34px; }
.pdp-buy .btn { background: var(--p-deep, var(--ink)); }
.pdp-buy .btn:hover { background: var(--ink); }
.accordion { margin-top: 2.4em; border-top: var(--hairline); }
.acc-item { border-bottom: var(--hairline); }
.acc-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.15em 2px; font-weight: 700; letter-spacing: .04em; font-size: .98rem;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: "+"; font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; color: var(--terra); transition: transform .22s ease; }
.acc-item[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 2px 1.4em; max-width: 40em; color: var(--ink-soft); }
.acc-body table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.acc-body td { padding: .55em 0; border-bottom: 1px dashed rgba(39,58,48,.2); }
.acc-body td:last-child { text-align: right; font-weight: 700; color: var(--ink); }
.related { margin-top: clamp(64px, 8vw, 110px); }
@media (max-width: 880px) {
  .pdp-grid { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
}

/* ---------- Checkout ---------- */
.co-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.co-form .field { margin-bottom: 18px; }
.co-form label { display: block; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 7px; color: var(--ink-soft); }
.co-form input, .co-form textarea, .co-form select {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--cream-2);
  border: var(--hairline);
  border-radius: var(--radius-sm);
  padding: .85em 1.1em; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.co-form input:focus, .co-form textarea:focus { border-color: var(--terra); box-shadow: 0 0 0 3px color-mix(in srgb, var(--terra) 18%, transparent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pay-options { display: grid; gap: 12px; margin-top: 12px; }
.pay-opt {
  display: flex; gap: 14px; align-items: flex-start;
  border: var(--hairline);
  border-radius: var(--radius-sm);
  padding: 16px 18px; background: var(--cream-2); cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pay-opt:hover { border-color: var(--terra); }
.pay-opt:has(input:checked) { border-color: var(--terra); box-shadow: 0 0 0 3px color-mix(in srgb, var(--terra) 15%, transparent); }
.pay-opt input { width: auto; margin-top: 5px; accent-color: var(--terra); }
.pay-opt b { display: block; font-size: .98rem; }
.pay-opt small { color: var(--ink-soft); }
.co-summary {
  border-radius: var(--radius);
  background: var(--cream-2);
  border: var(--hairline-soft);
  padding: clamp(24px, 3.2vw, 36px);
  position: sticky; top: 100px;
  box-shadow: 0 14px 40px -30px rgba(57,42,28,.4);
}
.co-summary h3 { font-weight: 560; font-size: 1.45rem; margin-bottom: 18px; }
.co-line { display: flex; justify-content: space-between; gap: 12px; padding: .6em 0; border-bottom: 1px dashed rgba(39,58,48,.18); font-size: .97rem; }
.co-line.total { border-bottom: none; font-weight: 700; font-size: 1.18rem; padding-top: 1em; }
.co-note { font-size: .85rem; color: var(--ink-soft); margin-top: 14px; }
@media (max-width: 880px) { .co-grid { grid-template-columns: 1fr; } .co-summary { position: static; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(44px, 6vw, 84px) 0 clamp(30px, 4vw, 52px); }
.page-hero h1 { font-size: var(--t-h1); }
.page-hero p { margin-top: .9em; max-width: 38em; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .07s; } .reveal-d2 { transition-delay: .14s; } .reveal-d3 { transition-delay: .21s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}

::selection { background: var(--terra); color: #FFF7EC; }

/* ---------- Pack media (photo or branded placeholder) ---------- */
.fan-img { width: 100%; height: 100%; object-fit: cover; }
.fan-card .pack-placeholder { width: 100%; height: 100%; }
.panel-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.pc-photo { width: 100%; aspect-ratio: 3/3.6; object-fit: cover; transition: transform .5s ease; }
.mr-img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.pdp-ph { width: 100%; aspect-ratio: 4/4.5; }

.pack-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; text-align: center; padding: 16px;
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, #FFFDF6 55%, var(--pp-tint)) 0%, var(--pp-tint) 70%);
}
.pack-placeholder .pp-mark { width: 60px; opacity: .92; margin-bottom: 8px; }
.fan-card .pp-mark { width: 42px; }
.pdp-ph .pp-mark { width: 88px; }
.pc-img .pp-name, .pc-img .pp-tag { display: none; } /* card body already shows them */
.pc-img .pack-placeholder { gap: 0; }
.pack-placeholder .pp-name {
  font-family: var(--font-display); font-weight: 590; line-height: 1.12;
  font-size: clamp(1rem, 1.7vw, 1.45rem);
  color: var(--pp-deep);
}
.pack-placeholder .pp-tag {
  font-size: .64rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--pp-deep); opacity: .72; max-width: 20ch;
}
.pack-placeholder .pp-note {
  font-family: var(--font-display); font-style: italic;
  font-size: .72rem; opacity: .45; margin-top: 10px;
}
.fan-card .pp-note, .fan-card .pp-tag, .ci .pp-note { display: none; }
.fan-card .pp-name { font-size: clamp(.85rem, 1.3vw, 1.05rem); }
.ci-ph {
  width: 72px; height: 86px; border-radius: 10px;
  background: var(--pp-tint, var(--cream-3));
  display: grid; place-items: center;
}
.ci-ph img { width: 34px; opacity: .9; }

/* ---------- misc ---------- */
.all-teas-cta { text-align: center; padding: clamp(10px, 2vw, 20px) 0 clamp(64px, 8vw, 100px); }
.mono-note { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em; }

/* ============================================================
   THE 21 TEA HOUSE
   ============================================================ */

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 3000;
  background: #22332A;
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.off { opacity: 0; visibility: hidden; }
.loader.instant { transition: none; }
.loader-inner { text-align: center; }
.loader-steam { width: 30px; margin: 0 auto 16px; }
.loader-steam path {
  stroke: #D9A47C; stroke-width: 3; fill: none; stroke-linecap: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: steam 2.4s ease-in-out infinite;
}
.loader-steam path:nth-child(2) { animation-delay: .45s; }
.loader-steam path:nth-child(3) { animation-delay: .9s; }
.loader-text {
  font-family: var(--font-mono); font-size: .95rem; letter-spacing: .05em;
  color: #EFE2CB;
  overflow: hidden; white-space: nowrap;
  width: 16ch; margin: 0 auto;
  animation: type 1s steps(16) .15s backwards;
}
@keyframes type { from { width: 0; } }

/* ---------- the tea house landing environment ---------- */
.world-shell { padding: clamp(10px, 1.6vw, 22px); }
.world {
  position: relative;
  background: var(--table);
  border-radius: clamp(24px, 3vw, 40px);
  overflow: hidden;
}

/* the journey: stacked scenes inside one continuous environment */
.scene {
  position: relative;
  min-height: 94vh;
  display: grid;
  place-items: center;
  padding: clamp(80px, 11vh, 140px) clamp(18px, 4vw, 60px);
}
.scene-arrival { min-height: calc(100vh - 100px); background: #2E4A3B; }
.scene-cups { background: #46282C; }
.scene-pour { background: #3F3222; }
.scene-end { background: #232C40; min-height: 100vh; padding-bottom: clamp(250px, 27vw, 350px); }

/* ---- ambient animation ---- */
.cloud { transform-box: fill-box; transform-origin: center; animation: drift 18s ease-in-out infinite alternate; }
.cloud.cl-b { animation-duration: 26s; animation-delay: -9s; }
@keyframes drift { from { transform: translateX(-44px); } to { transform: translateX(44px); } }
.sun-rays { transform-box: fill-box; transform-origin: center; animation: rays 80s linear infinite; }
@keyframes rays { to { transform: rotate(360deg); } }
.tw { animation: twinkle 3.4s ease-in-out infinite; }
.tw-2 { animation-delay: 1.1s; }
.tw-3 { animation-delay: 2.2s; }
@keyframes twinkle { 0%, 100% { opacity: .18; } 50% { opacity: .95; } }
.hov { transform-box: fill-box; transform-origin: center; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.hov:hover { transform: translateY(-7px); }
.pour-rock { transform-box: fill-box; transform-origin: 55% 70%; animation: rock 2.8s ease-in-out infinite alternate; }
@keyframes rock { from { transform: rotate(-2.4deg); } to { transform: rotate(2.4deg); } }

/* ---- draw-on-scroll (set up by JS, triggered per scene) ---- */
.scene .draw path, .scene .draw circle, .scene .draw ellipse {
  transition: stroke-dashoffset .95s cubic-bezier(.35,.6,.3,1);
}

/* ---- floating leaves ---- */
.bob-a { transform-box: fill-box; transform-origin: center; animation: leafbob 6s ease-in-out infinite alternate; }
.bob-b { transform-box: fill-box; transform-origin: center; animation: leafbob 7.5s ease-in-out infinite alternate; animation-delay: -2s; }
.bob-c { transform-box: fill-box; transform-origin: center; animation: leafbob 8.5s ease-in-out infinite alternate; animation-delay: -4s; }
@keyframes leafbob { from { transform: translateY(-7px) rotate(-4deg); } to { transform: translateY(8px) rotate(5deg); } }

/* ---- positioned world objects (safe at every width) ---- */
.wobj { position: absolute; overflow: visible; }
.wo-sun    { left: clamp(14px, 6.5vw, 96px);  top: 11%;    width: clamp(64px, 7.6vw, 118px); }
.wo-kettle { right: clamp(6px, 4.4vw, 84px);  top: 37%;    width: clamp(150px, 17.5vw, 265px); }
.wo-cup    { left: clamp(8px, 4.6vw, 86px);   top: 45%;    width: clamp(125px, 14.5vw, 220px); }
.wo-cookie { right: clamp(110px, 20vw, 330px); bottom: 8%; width: clamp(52px, 6vw, 88px); }
.wo-clock  { left: clamp(22px, 8vw, 118px);   bottom: 7%;  width: clamp(62px, 7.4vw, 104px); }
@media (max-width: 940px) {
  .wo-sun    { left: 12px; top: 10px; width: 54px; }
  .wo-kettle { right: 4px; top: auto; bottom: 26px; width: 126px; }
  .wo-cup    { left: 4px; top: auto; bottom: 30px; width: 106px; }
  .wo-cookie { right: 150px; top: auto; bottom: 40px; width: 48px; }
  .wo-clock  { display: none; }
}

/* ---- scene decorations ---- */
.sc-side { position: absolute; pointer-events: none; }
.sc-flower { left: clamp(12px, 7vw, 130px); bottom: 16%; width: clamp(70px, 8vw, 116px); }
.sc-leaves { right: clamp(16px, 8vw, 150px); top: 22%; width: clamp(60px, 7vw, 100px); }
.card-emblem { height: clamp(46px, 5vw, 64px); margin: 0 auto 10px; }
.sc-sky {
  position: absolute; top: 0; left: 0; right: 0;
  width: 100%; height: clamp(160px, 24vw, 320px);
  pointer-events: none;
}
.sc-cafe {
  position: absolute; bottom: -1px; left: 0; right: 0;
  width: 100%; height: clamp(190px, 21vw, 300px);
  pointer-events: none;
  opacity: .95;
}
/* ---- the layered street (full width, never crops, never letterboxes) ---- */
.street {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: clamp(220px, 24vw, 310px);
  pointer-events: none;
}
.st-sky {
  position: absolute; top: 0; left: 0; right: 0;
  width: 100%; height: clamp(74px, 9vw, 130px);
}
.st-cafe {
  position: absolute; bottom: 22px;
  left: clamp(4px, 3vw, 70px);
  height: clamp(168px, 19vw, 260px);
}
.st-right {
  position: absolute; bottom: 22px;
  right: clamp(4px, 3vw, 70px);
  height: clamp(150px, 17.5vw, 240px);
}
.st-ground {
  position: absolute; left: 0; right: 0; bottom: 0; height: 22px;
  border-top: 2px solid rgba(243, 231, 210, .3);
  background-image: repeating-linear-gradient(90deg, rgba(243,231,210,.22) 0 48px, transparent 48px 104px);
  background-size: 104px 3px;
  background-repeat: repeat-x;
  background-position: 14px 9px;
}
@media (max-width: 940px) {
  .street { height: 230px; }
  .st-sky { height: 64px; }
  .st-cafe { height: 158px; left: 2px; }
  .st-right { display: none; }
  .sc-flower { bottom: 14px; }
}
.scene-wave {
  position: absolute; bottom: calc(100% - 2px); left: 0; right: 0;
  width: 100%; height: clamp(60px, 9vw, 120px);
  pointer-events: none;
}
.sc-inner { position: relative; z-index: 2; text-align: center; max-width: 860px; }
.sc-inner .eyebrow { color: #D9A47C; justify-content: center; }
.sc-inner h2 {
  color: var(--cream-2);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-top: .45em;
}
.sc-inner .lead { color: color-mix(in srgb, var(--cream) 72%, transparent); margin: 1em auto 0; max-width: 34em; }
.sc-inner .hero-ctas { justify-content: center; margin-top: 2.2em; }
em.fancy-l { font-style: italic; font-weight: 470; color: #D9A47C; }
.btn.ghost-l {
  background: transparent; color: var(--cream-2);
  border: 1px solid color-mix(in srgb, var(--cream) 45%, transparent);
  box-shadow: none;
}
.btn.ghost-l:hover { background: var(--cream-2); color: var(--ink); border-color: var(--cream-2); }

/* scene 2 — the cups */
.sc-cups {
  display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(16px, 3.4vw, 46px);
  margin-top: clamp(26px, 4vh, 46px);
  flex-wrap: wrap;
}
.wcup { display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.wcup .cup { width: clamp(64px, 7.6vw, 104px); }
.wcup:hover { transform: translateY(-7px); }
.wcup-name {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em;
  color: color-mix(in srgb, var(--cream) 66%, transparent);
  text-transform: uppercase;
}
.wcup:hover .wcup-name { color: var(--cream-2); }

/* scene 3 — the ritual */
.sc-pour { width: clamp(180px, 22vw, 260px); margin: clamp(20px, 3.5vh, 40px) auto 0; overflow: visible; }
.sc-pour .pour-line {
  stroke: #D9A47C; stroke-width: 2.4; fill: none; stroke-linecap: round;
  stroke-dasharray: 8 10;
  animation: pour 1.4s linear infinite;
}
@keyframes pour { to { stroke-dashoffset: -18; } }
.sc-stats { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: clamp(20px, 3vh, 34px); }
.wstat {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--cream-2);
  border: 1px solid color-mix(in srgb, var(--cream) 35%, transparent);
  border-radius: 999px; padding: .6em 1.2em;
}

/* scene 4 — the bill / goodbye */
.scene-end { min-height: 88vh; }
.w-end { font-family: var(--font-mono); color: var(--cream-2); }
.we-logo { height: clamp(110px, 14vw, 170px); margin: 0 auto clamp(18px, 3vh, 30px); }
.we-mono { width: min(460px, 88vw); margin: 0 auto; font-size: .74rem; color: color-mix(in srgb, var(--cream) 80%, transparent); }
.we-mono .wr-rule { border-top-color: color-mix(in srgb, var(--cream) 30%, transparent); }
.we-row { display: flex; align-items: baseline; gap: 6px; padding: .3em 0; letter-spacing: .04em; }
.we-row .r-dots { border-bottom-color: color-mix(in srgb, var(--cream) 35%, transparent); }
.we-barcode { width: 180px; margin: clamp(16px, 2.5vh, 26px) auto 0; }
.we-thanks { font-family: var(--font-mono); font-size: clamp(1.3rem, 2.6vw, 2rem); letter-spacing: .12em; color: var(--cream-2); margin-top: clamp(16px, 2.5vh, 26px); }
.we-visit { font-size: .72rem; letter-spacing: .14em; color: color-mix(in srgb, var(--cream) 62%, transparent); margin-top: 10px; }
.we-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: clamp(22px, 3.5vh, 34px); font-size: .8rem; }
.we-links a { color: var(--cream-2); border-bottom: 1px solid transparent; }
.we-links a:hover { color: #D9A47C; border-bottom-color: #D9A47C; }
.we-links span { color: color-mix(in srgb, var(--cream) 40%, transparent); }
.we-copy { font-size: .68rem; letter-spacing: .08em; color: color-mix(in srgb, var(--cream) 55%, transparent); margin-top: 14px; }
.w-scene {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.ln {
  fill: none;
  stroke: #F3E7D2;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ln path, .ln circle, .ln ellipse { vector-effect: non-scaling-stroke; }
.ln .accent { stroke: #D9A47C; }
.ln .tea { stroke: #D9A47C; opacity: .9; }
.steam-line path {
  stroke-dasharray: 46; stroke-dashoffset: 46;
  animation: steam 3.4s ease-in-out infinite;
  opacity: .8;
}
.steam-line path:nth-child(2) { animation-delay: .8s; }
.w-card-wrap { position: relative; z-index: 3; width: min(560px, 100%); will-change: transform; }
.w-receipt {
  position: absolute; right: clamp(16px, 4vw, 66px); top: clamp(18px, 4vh, 46px);
  z-index: 4;
  transform: rotate(2.5deg);
  width: clamp(192px, 17vw, 236px);
  background: var(--paper); color: var(--ink);
  font-family: var(--font-mono); font-size: .72rem; line-height: 1.5;
  padding: 16px 16px 12px;
  border-radius: 10px;
  box-shadow: 0 26px 48px -22px rgba(0,0,0,.5);
}
.wr-row { display: flex; align-items: baseline; padding: .14em 0; opacity: .72; }
.wr-strong { font-weight: 700; opacity: 1; }
.wr-rule { border-top: 2px dashed rgba(39,58,48,.3); margin: 8px 0; }
.wr-link { display: flex; align-items: baseline; font-weight: 700; padding: .32em 0; transition: color .15s ease, transform .15s ease; }
.wr-link:hover { color: var(--terra-deep); transform: translateX(3px); }
.w-card {
  position: relative;
  width: 100%;
  background: var(--cream-2);
  border-radius: 26px;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 52px);
  text-align: center;
  transform: rotate(-1.1deg);
  box-shadow: 0 44px 90px -42px rgba(0,0,0,.6);
}
.w-card h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); margin-top: .4em; }
.w-card .swap-word { font-style: italic; font-weight: 470; color: var(--terra); display: inline-block; }
.w-card .lead { margin-top: .9em; font-size: clamp(.98rem, 1.25vw, 1.12rem); }
.w-card .hero-ctas { justify-content: center; margin-top: 1.7em; }
.w-hint {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em;
  color: color-mix(in srgb, var(--cream) 78%, transparent);
  animation: hintPulse 2.8s ease-in-out infinite;
}
@keyframes hintPulse { 50% { opacity: .4; transform: translate(-50%, 4px); } }
@media (max-width: 1100px) {
  .w-receipt {
    position: static; transform: none; order: 2;
    margin: 26px auto 0; width: min(300px, 100%);
  }
}
@media (max-width: 940px) {
  .scene { min-height: auto; padding: 64px 16px 60px; }
  .scene-arrival { min-height: auto; padding-top: 76px; padding-bottom: 260px; }
  .scene-cups { padding-bottom: 150px; }
  .scene-pour { padding-bottom: 110px; }
  .scene-end { padding-bottom: 390px; }
  .w-hint { display: none; }
}

/* ---------- the tea table (legacy) ---------- */
.table-wrap { position: relative; }
.table-scene { width: 100%; height: auto; display: block; filter: drop-shadow(0 34px 50px rgba(36, 59, 47, .3)); }
.table-scene .obj {
  transform-box: fill-box; transform-origin: center;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.table-scene .obj:not(.bob):hover { transform: translateY(-8px) rotate(-1.5deg); }
.table-scene a { cursor: pointer; }
.table-scene a:hover .menucard { transform: translateY(-8px) rotate(-2deg); }
.steam-anim path {
  stroke-dasharray: 44; stroke-dashoffset: 44;
  animation: steam 3.1s ease-in-out infinite;
}
.steam-anim path:nth-child(2) { animation-delay: .7s; }
.bob { animation: bob 5.5s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(7px); } }

/* ---------- the shelf ---------- */
.shelf {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 34px 14px;
  margin-top: clamp(10px, 2vw, 26px);
}
.shelf-cup {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 8px 6px 20px;
  text-align: center;
}
.shelf-cup::after {
  /* the plank */
  content: ""; position: absolute; left: -8px; right: -8px; bottom: 6px;
  height: 6px; background: var(--table-dark); border-radius: 2px;
}
.shelf-cup::before {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 0px;
  height: 5px; background: rgba(36,59,47,.16); border-radius: 3px;
  filter: blur(2px);
}
.shelf-cup .cup { width: clamp(84px, 9.5vw, 122px); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.shelf-cup:hover .cup { transform: translateY(-7px); }
.sc-name { font-family: var(--font-display); font-weight: 580; font-size: 1.02rem; line-height: 1.15; color: var(--ink); }
.sc-price { font-family: var(--font-mono); font-size: .78rem; font-weight: 700; color: var(--terra-deep); }
.sc-add {
  position: absolute; top: 2px; right: 8%;
  width: 27px; height: 27px;
  border: 2px solid var(--ink); border-radius: 8px;
  background: var(--cream-2);
  font-family: var(--font-mono); font-weight: 700; font-size: 1rem; line-height: 1;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease, color .2s ease;
}
.shelf-cup:hover .sc-add, .sc-add:focus-visible { opacity: 1; transform: none; }
.sc-add:hover { background: var(--terra); border-color: var(--terra); color: #FFF7EC; }
@media (max-width: 900px) {
  .shelf { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 30px 10px; }
  .sc-add { opacity: 1; transform: none; }
}

/* ---------- the receipt ---------- */
.menu-section { background: var(--cream-3); }
.receipt {
  width: min(470px, 94vw);
  margin: 0 auto;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .84rem;
  line-height: 1.5;
  padding: 36px 28px 30px;
  position: relative;
  box-shadow: 0 30px 70px -34px rgba(57,42,28,.55);
  transform: rotate(-.6deg);
}
.receipt { border-radius: 10px; }
.r-top { text-align: center; margin-bottom: 14px; }
.r-mark { height: 54px; margin: 0 auto 10px; }
.r-title { font-weight: 700; font-size: .95rem; letter-spacing: .1em; }
.r-sub { font-size: .72rem; opacity: .75; margin-top: 3px; letter-spacing: .04em; }
.r-rule { border-top: 2px dashed rgba(39,58,48,.35); margin: 12px 0; }
.r-line { display: flex; align-items: baseline; padding: .3em 0; }
.r-name { font-weight: 700; letter-spacing: .02em; }
.r-name:hover { color: var(--terra-deep); text-decoration: underline; text-underline-offset: 3px; }
.r-dots { flex: 1; border-bottom: 2px dotted rgba(39,58,48,.35); margin: 0 8px; transform: translateY(-4px); }
.r-price { font-weight: 700; white-space: nowrap; }
.r-add {
  width: 25px; height: 25px; margin-left: 10px; flex-shrink: 0;
  border: 2px solid var(--ink); border-radius: 6px;
  font-family: var(--font-mono); font-weight: 700; font-size: .95rem; line-height: 1;
  display: grid; place-items: center;
  align-self: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.r-add:hover { background: var(--terra); border-color: var(--terra); color: #FFF7EC; transform: translateY(-1px); }
.r-foot-line { display: flex; align-items: baseline; font-size: .72rem; opacity: .8; padding: .2em 0; }
.r-thanks { text-align: center; font-weight: 700; letter-spacing: .08em; margin: 14px 0 10px; }
.r-barcode { width: 170px; margin: 0 auto; display: block; }

/* ---------- mood cards as tea tags ---------- */
.mood-card { position: relative; }
.mood-card::after {
  content: ""; position: absolute; top: 14px; right: 16px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--cream);
  box-shadow: inset 0 0 0 3px rgba(39,58,48,.28);
}
.mood-card.sel::after { background: #16241C; box-shadow: inset 0 0 0 3px rgba(246,235,217,.4); }
.mood-card:hover { transform: translateY(-4px) rotate(-.6deg); }
.mood-card h4 { font-size: 1.22rem; }
.mood-result .mr-cup {
  display: grid; place-items: center;
  background: var(--m-tint, var(--cream-2));
  padding: 26px 10px;
}
.mood-result .mr-cup .cup { width: min(150px, 40vw); }
@media (max-width: 820px) { .mood-result .mr-cup .cup { width: 130px; } }

/* ---------- ritual icons ---------- */
.step-ico { display: block; width: 44px; height: 44px; margin-bottom: 10px; }
.step-ico svg { width: 100%; height: 100%; }
.step-card::before { display: none; }
.step-card h4::before {
  counter-increment: step;
  content: "0" counter(step) " · ";
  font-family: var(--font-mono); font-size: .8em; color: var(--terra);
}

/* ---------- story stamp ---------- */
.story-visual .stamp {
  position: absolute; z-index: 2;
  width: clamp(110px, 14vw, 158px);
  right: -18px; bottom: -22px;
  transform: rotate(-12deg);
  opacity: .92;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ---------- shop cards: cup face, photo on hover ---------- */
.pc-cupface {
  display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, #FFFDF6 55%, var(--pp-tint)) 0%, var(--pp-tint) 70%);
}
.pc-cupface .cup { width: 58%; max-width: 190px; }
.pc-real { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; }
.product-card:hover .pc-real { opacity: 1; }

/* ---------- pdp cup ---------- */
.cup-ph { justify-content: center; }
.cup-ph .cup { width: min(52%, 230px); margin-bottom: 8px; }
.cup-ph .pp-name { font-size: clamp(1.2rem, 2vw, 1.7rem); }
.pdp-thumbs .thumb-cup { display: grid; place-items: center; background: var(--p-tint, var(--cream-3)); width: 100%; aspect-ratio: 1; }
.pdp-thumbs .thumb-cup .cup { width: 60%; }


