/* ==========================================================================
   re:tea 概念茶實驗室 — All-Black Surrealist Sorrel-Product Architecture
   Base: #000000 | Elevated: #0B0B10 | Card: #13131B | Ink: #F5F3EE
   Accents: #D4FF38 (Lime) | #3D4BFF (Cobalt) | #E84A7F (Rose) | #E5B85C (Amber)
   ========================================================================== */

:root {
  --bg-ground: #000000;
  --bg-stone: #09090D;
  --bg-clay: #111118;
  --bg-indigo: #08080C;
  --bg-indigo-soft: #14141D;
  --bg-white: #0D0D14;

  --ink-primary: #F5F3EE;
  --ink-secondary: #C6C2D4;
  --ink-muted: #8C879E;
  --ink-on-dark: #F5F3EE;
  --ink-on-dark-muted: #C6C2D4;

  --lime: #D4FF38;
  --cobalt: #3D4BFF;
  --rose: #E84A7F;
  --amber: #E5B85C;
  --hero-glow: rgba(212, 255, 56, 0.14);

  --font-display: "Noto Serif TC", "Songti TC", serif;
  --font-sans: "Work Sans", "PingFang TC", "Noto Sans TC", sans-serif;
  --font-serif: "Noto Serif TC", "Songti TC", Georgia, serif;

  --gutter: clamp(20px, 3.2vw, 48px);
  --max-width: 1380px;
  --section-gap: clamp(88px, 10vw, 152px);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-ground);
  color: var(--ink-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-ground);
  color: var(--ink-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* --- Cyberpunk Custom Cursor --- */
@media (pointer: fine) {
  body, a, button, summary, input, select { cursor: none !important; }
}

.cyber-cursor,
.cyber-cursor-dot {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-100px, -100px, 0);
}

@media (pointer: fine) {
  .cyber-cursor,
  .cyber-cursor-dot { display: flex; }
}

.cyber-cursor {
  width: 38px;
  height: 38px;
  margin-left: -19px;
  margin-top: -19px;
  border: 1.5px solid rgba(212, 255, 56, 0.78);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: width 0.28s var(--ease-expo), height 0.28s var(--ease-expo), margin 0.28s var(--ease-expo), background-color 0.25s ease, border-color 0.25s ease;
  mix-blend-mode: difference;
}

.cyber-cursor-dot {
  width: 6px;
  height: 6px;
  margin-left: -3px;
  margin-top: -3px;
  background-color: var(--lime);
  border-radius: 50%;
}

.cyber-cursor-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #000000;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.cyber-cursor.is-active {
  width: 78px;
  height: 78px;
  margin-left: -39px;
  margin-top: -39px;
  background-color: var(--lime);
  border-color: var(--lime);
  mix-blend-mode: normal;
}

.cyber-cursor.is-active .cyber-cursor-label { opacity: 1; transform: scale(1); }
.cyber-cursor.is-pressed { transform: scale(0.84); }

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: var(--lime);
  z-index: 999;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section-space { padding-top: var(--section-gap); padding-bottom: var(--section-gap); }
.band-stone { background-color: var(--bg-stone); padding-top: var(--section-gap); padding-bottom: var(--section-gap); }
.band-clay { background-color: var(--bg-clay); padding-top: var(--section-gap); padding-bottom: var(--section-gap); }

/* --- Typography & Buttons --- */
.display-h1 { font-family: var(--font-serif); font-size: clamp(2.2rem, 3.6vw, 3.75rem); font-weight: 600; line-height: 1.14; text-wrap: balance; }
.section-h2 { font-family: var(--font-serif); font-size: clamp(1.75rem, 2.8vw, 3rem); font-weight: 600; line-height: 1.2; text-wrap: balance; }
.sub-h3 { font-family: var(--font-serif); font-size: clamp(1.2rem, 1.6vw, 1.55rem); font-weight: 600; line-height: 1.32; }
.prose-muted { font-size: 16px; line-height: 1.7; color: var(--ink-secondary); }
.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 500; }

.btn-pill-lime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--lime);
  color: #000000;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  transition: transform 0.25s var(--ease-expo), background-color 0.25s ease;
}
.btn-pill-lime:hover { background-color: var(--ink-primary); transform: translateY(-2px); }

.btn-pill-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--bg-indigo-soft);
  color: var(--ink-primary);
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.btn-pill-dark:hover { background-color: var(--lime); color: #000000; }

.btn-solid { display: inline-block; background-color: var(--cobalt); color: #F5F3EE; padding: 13px 26px; border-radius: 999px; font-size: 14.5px; font-weight: 600; transition: background-color 0.25s ease, color 0.25s ease; }
.btn-solid:hover { background-color: var(--lime); color: #000000; }
.btn-lime { display: inline-block; background-color: var(--lime); color: #000000; padding: 14px 28px; border-radius: 999px; font-size: 14.5px; font-weight: 700; }
.btn-dark { display: inline-block; background-color: var(--bg-indigo-soft); color: var(--ink-primary); padding: 13px 24px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.link-editorial { font-size: 14.5px; font-weight: 600; color: var(--ink-primary); transition: color 0.2s ease; }
.link-editorial:hover { color: var(--lime); }

/* ==========================================================================
   Simple-Food Inspired: Out-of-Focus / Defocus Lens on Non-Subject Images
   ========================================================================== */
.focus-lens { overflow: hidden; background-color: #060609; }
.focus-lens img {
  filter: blur(8px) brightness(0.56) saturate(0.75);
  transform: scale(1.06);
  transition: filter 0.7s var(--ease-expo), transform 0.8s var(--ease-expo);
  will-change: filter, transform;
}

.focus-lens.is-focused img,
.focus-lens:hover img,
.sorrel-ritual-card:hover .focus-lens img,
.sorrel-journal-card:hover .focus-lens img,
.tea-entry:hover .focus-lens img,
.product-card:hover .focus-lens img {
  filter: blur(0px) brightness(1) saturate(1.05);
  transform: scale(1);
}

.sorrel-ritual-track:hover .sorrel-ritual-card:not(:hover) .focus-lens img,
.tea-ledger:hover .tea-entry:not(:hover) .focus-lens img,
.products-grid:hover .product-card:not(:hover) .focus-lens img {
  filter: blur(12px) brightness(0.42) saturate(0.6);
  transform: scale(1.08);
}

/* ==========================================================================
   Sorrel Floating Pill Navbar
   ========================================================================== */
.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  justify-content: center;
  padding: 0 var(--gutter);
  pointer-events: none;
}

.nav-pill-shell {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 32px);
  background-color: #0D0D14;
  border-radius: 999px;
  padding: 8px 10px 8px 24px;
  max-width: 1180px;
  width: 100%;
}

.brand-mark { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.brand-zh { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--ink-primary); }
.brand-en { font-size: 13px; color: var(--lime); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 24px); list-style: none; }
.nav-links a { font-size: 13.5px; color: var(--ink-secondary); white-space: nowrap; transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--lime); font-weight: 600; }

.nav-right-cluster { display: flex; align-items: center; gap: 10px; }
.nav-dot-group { display: flex; align-items: center; gap: 6px; padding: 0 6px; }
.nav-flavor-dot { width: 12px; height: 12px; border-radius: 50%; transition: transform 0.2s ease; }
.nav-flavor-dot:hover { transform: scale(1.25); }
.cart-nav-btn { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background-color: rgba(245, 243, 238, 0.08); color: var(--ink-primary); white-space: nowrap; }
.nav-cta-pill { background-color: var(--lime); color: #000000; padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.nav-toggle { display: none; font-size: 13px; padding: 8px 14px; border-radius: 999px; background-color: var(--bg-indigo-soft); color: var(--ink-primary); }

/* ==========================================================================
   1. Sorrel Hero: Giant Ghost Wordmark + 3-Product Stage (Center Sharp, Sides Defocused)
   ========================================================================== */
.sorrel-hero-stage {
  position: relative;
  min-height: 94dvh;
  background-color: #000000;
  padding-top: 112px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: background 0.6s ease;
}

.sorrel-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  margin: 12px 0 24px;
}

.sorrel-ghost-wordmark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  font-family: var(--font-serif);
  font-size: clamp(5rem, 16vw, 15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(245, 243, 238, 0.09);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  transition: color 0.45s ease, opacity 0.35s ease;
}

.sorrel-pouch-trio {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4.5vw, 68px);
  width: 100%;
  max-width: 1040px;
}

.sorrel-pouch-flank {
  width: clamp(105px, 12vw, 165px);
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  filter: blur(7px) brightness(0.48);
  transform: scale(0.86);
  transition: filter 0.6s var(--ease-expo), transform 0.6s var(--ease-expo);
  cursor: pointer;
}

.sorrel-pouch-flank:hover {
  filter: blur(2px) brightness(0.82);
  transform: scale(0.92);
}

.sorrel-pouch-center {
  width: clamp(290px, 32vw, 440px);
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  transform: translateY(-8px);
  transition: transform 0.6s var(--ease-expo);
  animation: surrealFloat 6s ease-in-out infinite;
}

@keyframes surrealFloat {
  0%, 100% { transform: translateY(-8px); }
  50% { transform: translateY(6px); }
}

.sorrel-pouch-center img,
.sorrel-pouch-flank img { width: 100%; height: 100%; object-fit: cover; }

.sorrel-hero-bottom {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
}

.sorrel-flavor-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.sorrel-flavor-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background-color: rgba(245, 243, 238, 0.08);
  color: var(--ink-secondary);
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.sorrel-flavor-pill.active,
.sorrel-flavor-pill:hover {
  background-color: var(--ink-primary);
  color: #000000;
  border-color: var(--ink-primary);
}

.sorrel-flavor-dot { width: 10px; height: 10px; border-radius: 50%; }

.sorrel-hero-cta-box { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

/* ==========================================================================
   2. Sorrel Dual Marquee Ticker
   ========================================================================== */
.sorrel-marquee-wrap { background-color: #050507; overflow: hidden;  }
.sorrel-marquee-big {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  padding: 28px 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  color: var(--ink-primary);
  animation: marqueeScroll 28s linear infinite;
}
.sorrel-marquee-strip {
  background-color: var(--lime);
  color: #000000;
  padding: 10px 0;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}
.sorrel-marquee-strip-inner { display: inline-flex; gap: 36px; animation: marqueeScroll 22s linear infinite; }

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   3. Sticky Radial Orb 3-Stage Showcase ("What goes into one scoop.")
   ========================================================================== */
.sorrel-orb-section { background-color: #000000; padding: clamp(48px, 6vw, 88px) 0; }
.sorrel-orb-track { min-height: 240dvh; position: relative; }
.sorrel-orb-sticky { position: sticky; top: 88px; }
.sorrel-orb-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; margin-top: 32px; }
.sorrel-orb-steps { display: flex; flex-direction: column; gap: 14px; }
.sorrel-orb-step-btn { text-align: left; padding: 13px 16px; border-radius: 12px; font-size: 14px; color: var(--ink-muted); background-color: transparent; transition: background-color 0.25s ease, color 0.25s ease; }
.sorrel-orb-step-btn.active { background-color: var(--bg-indigo-soft); color: var(--lime); font-weight: 700; }

.sorrel-orb-column { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.sorrel-orb-stage { position: relative; width: min(600px, 88vw); height: min(600px, 88vw); margin: 0 auto; border-radius: 999px; background-color: #0B0B11; display: flex; align-items: center; justify-content: center; }
.sorrel-orb-img { position: relative; z-index: 2; width: clamp(260px, 25vw, 320px); aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; transition: opacity 0.55s var(--ease-expo), transform 0.65s var(--ease-expo), filter 0.55s var(--ease-expo); }
.sorrel-orb-img img { width: 100%; height: 100%; object-fit: cover; }
.sorrel-orb-caption { text-align: center; padding: 0 12px; }

.orb-ingredients-ring { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 3; }
.orb-ing-botanical { position: absolute; width: var(--sz, 54px); height: auto; object-fit: contain; opacity: 0; transform: translate(0, 0) scale(0.25); transition: transform 0.9s var(--ease-expo), opacity 0.6s ease, filter 0.6s ease; will-change: transform, opacity; }
.orb-ing-botanical.depth-near { filter: blur(0px); }
.orb-ing-botanical.depth-mid { filter: blur(1.2px) brightness(0.92); }
.orb-ing-botanical.depth-far { filter: blur(2.8px) brightness(0.78); }

.sorrel-orb-stage[data-stage="1"] .orb-ing-botanical { opacity: 1; transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(1); }
.sorrel-orb-stage[data-stage="1"] .sorrel-orb-img { transform: scale(0.95); }
.sorrel-orb-stage[data-stage="2"] .sorrel-orb-img { opacity: 0; filter: blur(12px); transform: scale(0.84); pointer-events: none; }
.sorrel-orb-stage[data-stage="2"] .orb-ing-botanical { opacity: 0; transform: translate(calc(var(--tx) * 1.25), calc(var(--ty) * 1.25)) scale(0.6); }

.sorrel-brew-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 4; opacity: 0; filter: blur(10px); transform: scale(0.92); pointer-events: none; transition: opacity 0.6s var(--ease-expo), transform 0.7s var(--ease-expo), filter 0.6s var(--ease-expo); }
.sorrel-orb-stage[data-stage="2"] .sorrel-brew-overlay { opacity: 1; filter: blur(0px); transform: scale(1); }
.sorrel-brew-photo { width: 270px; aspect-ratio: 4 / 5; margin: 0 auto 14px; border-radius: 20px; overflow: hidden; }
.sorrel-brew-photo img { width: 100%; height: 100%; object-fit: cover; }
.sorrel-brew-specs { display: flex; flex-direction: column; gap: 8px; width: 260px; }
.sorrel-brew-pill { padding: 8px 14px; border-radius: 999px; background-color: #161814; color: var(--lime); font-size: 13.5px; text-align: center; }

/* ==========================================================================
   4. Editorial Statement & Horizontal Ritual Strip
   ========================================================================== */
.sorrel-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.2vw, 3.25rem);
  line-height: 1.32;
  max-width: 26ch;
}
.sorrel-statement-muted { color: var(--ink-muted); }

.sorrel-ritual-section { background-color: #070A09; padding: var(--section-gap) 0; }
.sorrel-ritual-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; }
.sorrel-ritual-counter { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.5rem); color: var(--lime); line-height: 0.9; }
.sorrel-ritual-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sorrel-ritual-card { background-color: #101412; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.sorrel-ritual-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.sorrel-ritual-meta { padding: 18px; }

/* ==========================================================================
   5. Stacked Review Deck + Dual Receipt Comparison
   ========================================================================== */
.sorrel-deck-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.sorrel-deck-score { font-family: var(--font-display); font-size: clamp(4rem, 7vw, 6.5rem); line-height: 0.9; color: var(--lime); }
.sorrel-deck-stack { position: relative; min-height: 300px; }
.sorrel-deck-card {
  background-color: var(--bg-indigo-soft);
  border-radius: 22px;
  padding: 28px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  transition: transform 0.45s var(--ease-expo), opacity 0.45s ease;
}
.sorrel-deck-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }

.sorrel-receipt-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.sorrel-receipts-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sorrel-receipt-card {
  background-color: #0E0E14;
  border-radius: 16px;
  padding: 26px;
  font-size: 14px;
}
.sorrel-receipt-card.is-retea { background-color: #141612; border-color: var(--lime); }
.receipt-row { display: flex; justify-content: space-between; padding: 8px 0;  color: var(--ink-secondary); }
.receipt-total { display: flex; justify-content: space-between; padding-top: 14px; font-size: 18px; font-weight: 700; color: var(--lime); }

/* ==========================================================================
   6. Interactive Plan / Bundle Configurator ("Build your plan.")
   ========================================================================== */
.sorrel-builder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.sorrel-builder-visual {
  position: relative;
  background-color: #09090D;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}
.sorrel-builder-visual img { width: 72%; max-width: 320px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; }

.sorrel-radio-stack { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.sorrel-radio-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-radius: 14px;
  background-color: var(--bg-indigo-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.sorrel-radio-card.active { border-color: var(--lime); background-color: #1A1D16; }

/* ==========================================================================
   7. FAQ, Asymmetric Journal, Pre-Footer & Giant Footer
   ========================================================================== */
.sorrel-faq-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background-color: var(--bg-stone); border-radius: 12px; }
.faq-question { padding: 20px 22px; font-size: 16.5px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: "+"; font-size: 20px; color: var(--lime); }
.faq-item[open] .faq-question::after { content: "−"; }
.faq-answer { padding: 0 22px 20px; font-size: 15px; color: var(--ink-secondary); }

.sorrel-journal-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; margin-top: 32px; }
.sorrel-journal-card { background-color: var(--bg-indigo-soft); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.sorrel-journal-card.is-horizontal { flex-direction: row; align-items: stretch; }
.sorrel-journal-card.is-horizontal .focus-lens { width: 42%; flex-shrink: 0; }
.sorrel-journal-body { padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }

.sorrel-prefooter {
  background-color: #08080C;
  padding: clamp(64px, 8vw, 112px) 0;
}
.sorrel-prefooter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sorrel-prefooter-trio { display: flex; gap: 14px; align-items: flex-end; justify-content: center; }
.sorrel-prefooter-trio img { width: 31%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }

/* --- Subpages (Collection, Products, Blend, Journal, Contact, Lab) --- */
.hero-section { padding-top: 132px; padding-bottom: 64px; }
.tea-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin: 28px 0 32px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; background-color: var(--bg-indigo-soft); color: var(--ink-secondary); }
.filter-btn.active { background-color: var(--lime); color: #000000; }
.brew-toggle { display: flex; gap: 6px; background-color: var(--bg-indigo-soft); padding: 4px; border-radius: 999px; }
.brew-btn { padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-secondary); }
.brew-btn.active { background-color: var(--cobalt); color: #F5F3EE; }

.tea-ledger, .products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tea-entry, .product-card { background-color: var(--bg-stone); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.tea-entry.is-hidden, .product-card.is-hidden, .product-group-section.is-hidden { display: none; }
.tea-entry-art, .product-card-img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; }
.tea-keywords-pill { margin-top: 10px; padding: 8px 12px; border-radius: 8px; background-color: #181822; font-size: 13px; }
.tea-entry-brew { background-color: #181822; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; color: var(--ink-secondary); }
.product-warning-box { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background-color: rgba(232, 74, 127, 0.18); color: #FF95B8; font-size: 13px; font-weight: 600; }
.product-brand-pill { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background-color: var(--lime); color: #000000; }
.product-purpose-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.purpose-pill-btn { padding: 7px 14px; border-radius: 999px; font-size: 13px; background-color: var(--bg-stone); color: var(--ink-secondary); }
.purpose-pill-btn.active { background-color: var(--cobalt); color: #F5F3EE; }
.provenance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.provenance-item { background-color: var(--bg-indigo-soft); border-radius: 16px; padding: 26px; }
.provenance-year { font-family: var(--font-display); font-size: 28px; color: var(--lime); display: block; margin-bottom: 8px; }
.tea-art-hero { position: relative; width: 100%; aspect-ratio: 21 / 9; overflow: hidden; border-radius: 18px; margin-bottom: 28px; }
.tea-art-hero img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.28s var(--ease-expo); }
.tea-art-hero.is-zooming img { transform: scale(2.1); }
.tea-notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.tea-note-pill { background-color: var(--bg-indigo-soft); border-radius: 12px; padding: 18px; }
.tea-note-pill span { display: block; font-size: 13.5px; color: var(--lime); font-weight: 700; margin-bottom: 6px; }
.split-editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* --- Modal, Cart Drawer, Lang Dropdown & Footer --- */
.reading-modal-backdrop, .cart-drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.82); z-index: 1200; display: none; }
.reading-modal-backdrop.open { display: flex; align-items: center; justify-content: center; padding: var(--gutter); }
.cart-drawer-backdrop.open { display: flex; justify-content: flex-end; }
.reading-modal { background: var(--bg-stone); color: var(--ink-primary); border-radius: 20px; max-width: 720px; width: 100%; padding: 36px; max-height: 88dvh; overflow-y: auto; }
.cart-drawer { width: min(420px, 94vw); height: 100%; background: var(--bg-stone); display: flex; flex-direction: column; }
.cart-drawer-head, .cart-drawer-foot { padding: 20px 24px; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0;  }
.cart-qty-ctrl { display: inline-flex; align-items: center; background-color: var(--bg-indigo-soft); border-radius: 999px; }
.cart-qty-ctrl button { width: 28px; height: 28px; }
.cart-qty-ctrl span { min-width: 24px; text-align: center; font-size: 13.5px; font-weight: 600; }
.cart-sum-line { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14.5px; }
.cart-free-tip { margin-top: 10px; padding: 8px 12px; border-radius: 8px; background: #1A1D16; font-size: 13px; color: var(--lime); }

.lang-dropdown { position: relative; }
.lang-dropdown-trigger { font-size: 13px; padding: 7px 12px; border-radius: 999px; background-color: rgba(245, 243, 238, 0.08); }
.lang-dropdown-menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 112px; background-color: var(--bg-indigo-soft); border-radius: 12px; padding: 6px; flex-direction: column; gap: 4px; }
.lang-dropdown.open .lang-dropdown-menu { display: flex; }
.lang-dropdown-menu .lang-pill { display: block; padding: 7px 10px; border-radius: 8px; font-size: 13px; }
.lang-dropdown-menu .lang-pill.active, .lang-dropdown-menu .lang-pill:hover { background-color: var(--lime); color: #000000; }

.site-footer { background-color: #000000; color: var(--ink-primary); padding: 80px 0 40px;  }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; }
.footer-title { font-size: 13px; color: var(--lime); margin-bottom: 14px; display: block; font-weight: 700; }
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--ink-secondary); }
.footer-list a:hover { color: var(--lime); }
.footer-wordmark { font-family: var(--font-serif); font-size: clamp(4.5rem, 16vw, 14rem); font-weight: 700; line-height: 0.88; color: rgba(245, 243, 238, 0.12); letter-spacing: -0.02em; }
.footer-legal { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; font-size: 13px; color: var(--ink-muted); }

@media (max-width: 1024px) {
  .sorrel-ritual-track, .tea-ledger, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .sorrel-hero-bottom, .sorrel-orb-grid, .sorrel-deck-grid, .sorrel-receipt-grid, .sorrel-builder-grid, .sorrel-faq-grid, .sorrel-journal-grid, .sorrel-prefooter-grid, .footer-grid, .provenance-grid, .split-editorial { grid-template-columns: 1fr; }
  .sorrel-flavor-pills, .sorrel-hero-cta-box { justify-content: flex-start; align-items: flex-start; text-align: left; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 20px; right: 20px; margin-top: 8px; background: #101018; border-radius: 18px; padding: 18px; flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .nav-dot-group { display: none; }
}

@media (max-width: 640px) {
  .sorrel-ritual-track, .sorrel-receipts-pair, .tea-ledger, .products-grid, .tea-notes-grid { grid-template-columns: 1fr; }
  .sorrel-deck-card { grid-template-columns: 1fr; }
}

/* --- Hero Mouse-Move Parallax Floaters & Product Switch Transition --- */
.sorrel-hero-visual { flex-direction: column; }
.sorrel-hero-floaters { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.sorrel-hero-floater {
  position: absolute;
  width: clamp(44px, 4.5vw, 64px);
  height: auto;
  object-fit: contain;
  will-change: transform, opacity, filter;
  transition: opacity 0.4s ease, filter 0.4s ease;
}
.sorrel-hero-floater.depth-near { filter: blur(0px); opacity: 0.96; }
.sorrel-hero-floater.depth-far { filter: blur(2.2px); opacity: 0.74; }
.sorrel-hero-floater.f-tl { top: 7%; left: 23%; }
.sorrel-hero-floater.f-tr { top: 9%; right: 23%; }
.sorrel-hero-floater.f-bl { bottom: 14%; left: 23%; }
.sorrel-hero-floater.f-br { bottom: 12%; right: 23%; }

.sorrel-drag-hint {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

.sorrel-hero-stage.is-transitioning .sorrel-ghost-wordmark {
  opacity: 0;
  filter: blur(14px);
}
.sorrel-hero-stage.is-transitioning .sorrel-pouch-center {
  opacity: 0.25;
  filter: blur(10px);
  transform: scale(0.88);
}
.sorrel-hero-stage.is-transitioning .sorrel-pouch-flank {
  opacity: 0.2;
  transform: scale(0.76);
}
.sorrel-hero-stage.is-transitioning .sorrel-hero-floater {
  opacity: 0;
  filter: blur(8px);
}

.sorrel-pouch-center {
  transition: transform 0.5s var(--ease-expo), opacity 0.4s ease, filter 0.45s ease;
  animation: none;
}

@media (max-width: 900px) {
  .sorrel-hero-floaters { display: none; }
}

/* --- Journal List & Article Page --- */
.news-featured-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 32px;
  background-color: var(--bg-stone);
  border-radius: 22px;
  overflow: hidden;
}
.news-featured-media { display: block; height: 100%; min-height: 320px; }
.news-featured-media img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.news-featured-body { padding: 32px 36px 32px 4px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background-color: var(--bg-stone); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.news-card-img { width: 100%; height: 220px; object-fit: cover; }
.news-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-muted); }
.article-breadcrumb a:hover { color: var(--lime); }
.article-callout { margin: 24px 0; padding: 18px 22px; border-radius: 14px; background-color: var(--bg-indigo-soft); color: var(--ink-primary); font-family: var(--font-serif); font-size: 17px; }
.article-body strong { color: var(--ink-primary); }
.article-body code { background-color: var(--bg-indigo-soft); padding: 2px 6px; border-radius: 6px; font-size: 13.5px; }

@media (max-width: 1024px) {
  .news-featured-card { grid-template-columns: 1fr; }
  .news-featured-body { padding: 24px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}
