/* ==========================================================================
   春錦茶莊 Chun-Jin Tea — Awwwards Delta Cafés Inspired Editorial System
   Deep Roasted Umber: #2A1B14 | Deep Fir: #1A241B | Washi Cream: #F7F2E8 | Ruby: #8B3A2B
   ========================================================================== */

:root {
  --bg-ground: #F7F2E8;
  --bg-stone: #ECE5D8;
  --bg-clay: #EFE2D8;
  --bg-mist: #E2EAE3;
  --bg-umber: #2A1B14;
  --bg-umber-soft: #38241B;
  --bg-deep: #18221A;
  --bg-white: #FCFBF8;

  --ink-primary: #1F1916;
  --ink-secondary: #5C534B;
  --ink-muted: #877D73;
  --ink-on-dark: #F7F2E8;
  --ink-on-dark-muted: #E8E2D9;

  --accent: #8B3A2B;
  --accent-bright: #B8523E;
  --gold: #C89B54;
  --moss: #3B4D3E;

  --font-serif: "Noto Serif TC", "Songti TC", "Source Han Serif TC", Georgia, serif;
  --font-display: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;

  --gutter: clamp(20px, 4vw, 60px);
  --max-width: 1360px;
  --section-gap: clamp(88px, 11vw, 160px);
  --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-serif);
  background-color: var(--bg-ground);
  color: var(--ink-primary);
  line-height: 1.85;
  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;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --- Top Scroll Progress Bar --- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background-color: var(--accent);
  z-index: 999;
  transition: width 0.08s linear;
}

/* --- Container --- */
.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);
}

/* --- Header Navigation --- */
.site-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  background-color: rgba(247, 242, 232, 0.92);
  backdrop-filter: blur(10px);
  transition: background-color 0.35s ease, color 0.35s ease;
}

.site-header.is-dark-nav {
  background-color: rgba(42, 27, 20, 0.94);
  color: var(--ink-on-dark);
}

.site-header.is-dark-nav .brand-zh,
.site-header.is-dark-nav .nav-links a {
  color: var(--ink-on-dark);
}

.site-header.is-dark-nav .brand-en {
  color: var(--ink-on-dark-muted);
  opacity: 0.92;
}

.site-header.is-dark-nav .nav-links a {
  opacity: 0.88;
}

.site-header.is-dark-nav .nav-links a:hover,
.site-header.is-dark-nav .nav-links a.active {
  color: var(--gold);
  opacity: 1;
}

.site-header.is-dark-nav .nav-toggle {
  background-color: rgba(247, 242, 232, 0.14);
  color: var(--ink-on-dark);
}

.site-header.is-dark-nav .lang-pill {
  background-color: rgba(247, 242, 232, 0.14);
  color: var(--ink-on-dark);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}

.brand-mark {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.brand-zh {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-primary);
}

.brand-en {
  font-family: var(--font-display);
  font-size: 13.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14.5px;
  letter-spacing: 0.08em;
  color: var(--ink-secondary);
  transition: color 0.25s ease, opacity 0.25s ease;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink-primary);
  opacity: 1;
}

.nav-links a.active {
  font-weight: 600;
}

.nav-cta {
  background-color: var(--accent) !important;
  color: var(--bg-ground) !important;
  padding: 10px 22px !important;
  font-size: 14px !important;
  letter-spacing: 0.1em;
  transition: background-color 0.25s ease;
}

.nav-cta:hover {
  background-color: var(--ink-primary) !important;
}

.nav-toggle {
  display: none;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--ink-primary);
  padding: 8px 14px;
  background-color: var(--bg-stone);
}

/* --- Typography --- */
.display-h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.8vw, 68px);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: 0.06em;
  text-wrap: balance;
}

.section-h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: 0.06em;
  text-wrap: balance;
}

.sub-h3 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-wrap: balance;
}

.prose {
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.03em;
  max-width: 58ch;
}

.prose-muted {
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-secondary);
}

.en-display {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6B625A;
  opacity: 0.92;
}

.poetic-lines {
  font-size: 16.5px;
  line-height: 2.15;
  letter-spacing: 0.04em;
}

.poetic-lines .stanza {
  margin-bottom: 22px;
}

.poetic-lines .stanza:last-child {
  margin-bottom: 0;
}

/* --- Buttons --- */
.btn-solid {
  display: inline-block;
  background-color: var(--accent);
  color: var(--bg-ground);
  padding: 15px 34px;
  font-size: 15px;
  letter-spacing: 0.12em;
  font-weight: 500;
  transition: background-color 0.25s ease, transform 0.25s var(--ease-expo);
}

.btn-solid:hover {
  background-color: var(--accent-bright);
  transform: translateY(-2px);
}

.btn-light {
  display: inline-block;
  background-color: var(--bg-ground);
  color: var(--bg-umber);
  padding: 15px 34px;
  font-size: 15px;
  letter-spacing: 0.12em;
  font-weight: 600;
  transition: background-color 0.25s ease, transform 0.25s var(--ease-expo);
}

.btn-light:hover {
  background-color: var(--gold);
  transform: translateY(-2px);
}

.btn-dark {
  display: inline-block;
  background-color: var(--ink-primary);
  color: var(--bg-ground);
  padding: 15px 34px;
  font-size: 15px;
  letter-spacing: 0.12em;
  font-weight: 500;
  transition: background-color 0.25s ease;
}

.btn-dark:hover {
  background-color: var(--accent);
}

.link-editorial {
  display: inline-block;
  font-size: 15px;
  letter-spacing: 0.1em;
  padding-bottom: 4px;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-size: 100% 1px;
  background-repeat: no-repeat;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.link-editorial:hover {
  color: var(--accent);
}

/* ==========================================================================
   1. Delta Cafés Inspired: Full-Viewport Zooming Hero
   ========================================================================== */
.hero-zoom-wrapper {
  background-color: var(--bg-umber);
  color: var(--ink-on-dark);
  padding-top: 110px;
  padding-bottom: clamp(40px, 5vw, 64px);
  overflow: hidden;
  position: relative;
}

.hero-editorial-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.hero-editorial-top .display-h1 {
  color: var(--ink-on-dark);
}

.hero-sub-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-sub-col p {
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--ink-on-dark-muted);
}

.hero-zoom-stage {
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-umber-soft);
  position: relative;
}

.hero-zoom-media {
  width: 100%;
  transform-origin: center center;
  transition: transform 0.12s linear;
  will-change: transform;
}

.hero-zoom-media img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-scroll-cue {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-on-dark-muted);
}

/* Standard Subpage Hero */
.hero-section {
  padding-top: clamp(112px, 12vw, 150px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

/* ==========================================================================
   2. Delta Cafés Inspired: History Introduction Scroll Chapters (1925–2026)
   ========================================================================== */
.band-umber {
  background-color: var(--bg-umber);
  color: var(--ink-on-dark);
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.band-umber .prose-muted {
  color: var(--ink-on-dark-muted);
}

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

.band-deep {
  background-color: var(--bg-deep);
  color: var(--ink-on-dark);
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.band-deep .prose-muted {
  color: var(--ink-on-dark-muted);
}

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

.history-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.history-sticky {
  position: sticky;
  top: 132px;
}

.history-year-display {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 120px);
  line-height: 0.95;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 400;
}

.history-chapters {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.history-card {
  background-color: var(--bg-white);
  padding: clamp(28px, 4vw, 48px);
  transition: transform 0.5s var(--ease-expo), background-color 0.35s ease;
}

.history-card.is-active {
  background-color: var(--bg-clay);
}

.history-card-year {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

/* ==========================================================================
   3. Delta Cafés Inspired: 5-Chapter Tea Cycle (從茶山到茶盞)
   ========================================================================== */
.cycle-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-top: 48px;
}

.cycle-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cycle-step-btn {
  text-align: left;
  padding: 20px 24px;
  background-color: rgba(247, 242, 232, 0.06);
  color: var(--ink-on-dark-muted);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  transition: background-color 0.25s ease, color 0.25s ease, padding-left 0.25s var(--ease-expo);
}

.cycle-step-btn:hover {
  background-color: rgba(247, 242, 232, 0.12);
  color: var(--ink-on-dark);
}

.cycle-step-btn.active {
  background-color: var(--accent);
  color: var(--bg-ground);
  padding-left: 32px;
}

.cycle-step-num {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.14em;
}

.cycle-step-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.06em;
  flex: 1;
}

.cycle-stage-card {
  background-color: var(--bg-umber-soft);
  padding: clamp(28px, 4vw, 48px);
}

.cycle-svg-box {
  width: 100%;
  margin-bottom: 28px;
  background-color: var(--bg-ground);
  padding: 24px;
}

.cycle-svg-box svg path,
.cycle-svg-box svg circle,
.cycle-svg-box svg line {
  transition: stroke-dashoffset 0.9s var(--ease-expo);
}

.cycle-telemetry {
  margin-top: 20px;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14.5px;
  color: var(--gold);
  letter-spacing: 0.06em;
}

/* ==========================================================================
   4. Dual Terroir Mirror & Split Layouts
   ========================================================================== */
.split-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.split-editorial.align-top {
  align-items: start;
}

.vertical-poem {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 18px;
  line-height: 2.3;
  letter-spacing: 0.22em;
  color: var(--ink-secondary);
  padding: 12px 0;
  margin-left: auto;
}

.terroir-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3.5vw, 48px);
}

.terroir-panel {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.terroir-panel.panel-sunmoon {
  background-color: var(--bg-clay);
}

.terroir-panel.panel-shanlinxi {
  background-color: var(--bg-mist);
}

/* ==========================================================================
   5. Delta Cafés Inspired: Interactive Tea Sommelier Quiz
   ========================================================================== */
.quiz-stage {
  background-color: var(--bg-deep);
  color: var(--ink-on-dark);
  padding: clamp(40px, 6vw, 72px);
}

.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.quiz-step-counter {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.quiz-question-title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 28px;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quiz-option-btn {
  text-align: left;
  padding: 24px 26px;
  background-color: rgba(247, 242, 232, 0.07);
  color: var(--ink-on-dark);
  transition: background-color 0.25s ease, transform 0.25s var(--ease-expo);
}

.quiz-option-btn:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

.quiz-option-title {
  font-size: 17px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.quiz-option-desc {
  font-size: 14.5px;
  color: var(--ink-on-dark-muted);
  line-height: 1.75;
}

.quiz-result-box {
  background-color: var(--bg-ground);
  color: var(--ink-primary);
  padding: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

/* ==========================================================================
   6. Product Collection & Filterable Ledger
   ========================================================================== */
.tea-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  margin-bottom: 40px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 10px 20px;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  background-color: var(--bg-white);
  color: var(--ink-secondary);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.filter-btn.active {
  background-color: var(--ink-primary);
  color: var(--bg-ground);
}

.brew-toggle {
  display: flex;
  gap: 6px;
  background-color: var(--bg-white);
  padding: 4px;
}

.brew-btn {
  padding: 8px 18px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink-secondary);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.brew-btn.active {
  background-color: var(--accent);
  color: var(--bg-ground);
}

.tea-ledger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tea-entry {
  background-color: var(--bg-white);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.35s var(--ease-expo), background-color 0.25s ease;
}

.tea-entry:hover {
  transform: translateY(-4px);
  background-color: var(--bg-clay);
}

.tea-liquor-bar {
  height: 4px;
  width: 56px;
  margin-bottom: 14px;
}

.tea-entry-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.tea-entry-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.tea-entry-en {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.tea-entry-meta {
  font-size: 14px;
  color: var(--ink-secondary);
  margin-top: 6px;
}

.tea-entry-poem {
  font-size: 15.5px;
  line-height: 2;
  margin: 12px 0;
}

.tea-entry-brew {
  background-color: var(--bg-ground);
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-secondary);
}

.tea-entry-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.tea-price-note {
  font-size: 14.5px;
  font-weight: 500;
}

/* --- Modal --- */
.reading-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 20, 16, 0.78);
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
}

.reading-modal-backdrop.open {
  display: flex;
}

.reading-modal {
  background-color: var(--bg-ground);
  color: var(--ink-primary);
  width: 100%;
  max-width: 780px;
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(28px, 5vw, 56px);
}

.modal-close {
  float: right;
  background-color: var(--bg-stone);
  color: var(--ink-primary);
  padding: 8px 16px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.modal-close:hover {
  background-color: var(--ink-primary);
  color: var(--bg-ground);
}

/* --- Tables & Provenance --- */
.pricing-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 32px;
  background-color: var(--bg-white);
  padding: 24px;
}

table.chunjin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}

table.chunjin-table th {
  font-weight: 600;
  padding: 14px 16px;
  background-color: var(--bg-stone);
  white-space: nowrap;
}

table.chunjin-table td {
  padding: 14px 16px;
  color: var(--ink-secondary);
}

table.chunjin-table tr:nth-child(even) td {
  background-color: var(--bg-ground);
}

.provenance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.provenance-item {
  background-color: var(--bg-white);
  padding: 32px;
}

.provenance-year {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

/* --- Footer --- */
.site-footer {
  position: relative;
  z-index: 2;
  background-color: var(--bg-umber);
  color: var(--ink-on-dark);
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  margin-bottom: 64px;
}

.footer-title {
  font-size: 13.5px;
  letter-spacing: 0.16em;
  color: var(--ink-on-dark-muted);
  margin-bottom: 18px;
  display: block;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.footer-list a:hover {
  color: var(--gold);
}

.footer-wordmark {
  font-size: clamp(38px, 7.5vw, 108px);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(247, 242, 232, 0.12);
  line-height: 1;
  margin-bottom: 24px;
  user-select: none;
}

.footer-list li {
  text-wrap: pretty;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: #EFEAE2;
  opacity: 0.94;
}

/* --- Motion --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease-expo), transform 0.75s var(--ease-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-zoom-media {
    transform: none !important;
  }
}

/* --- Responsive --- */
@media (max-width: 980px) {
  .hero-editorial-top,
  .history-grid,
  .cycle-wrapper,
  .split-editorial,
  .terroir-pair,
  .tea-ledger,
  .quiz-options-grid,
  .quiz-result-box,
  .provenance-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .history-sticky {
    position: static;
  }

  .vertical-poem {
    writing-mode: horizontal-tb;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-ground);
    color: var(--ink-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px var(--gutter) 32px;
    gap: 18px;
  }

  .site-header.is-dark-nav .nav-links {
    background-color: var(--bg-umber);
  }

  .nav-links.open {
    display: flex;
  }
}

/* --- Language Switcher & Blog Cards --- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-pill {
  font-size: 12px !important;
  letter-spacing: 0.06em !important;
  padding: 4px 8px !important;
  color: var(--ink-primary) !important;
  background-color: rgba(135, 125, 115, 0.22);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-pill.active,
.lang-pill:hover {
  background-color: var(--accent) !important;
  color: var(--bg-ground) !important;
  opacity: 1 !important;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.news-card {
  background-color: var(--bg-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s var(--ease-expo), background-color 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  background-color: var(--bg-clay);
}

.news-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.news-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 980px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Delta Cafés Interactive Upgrades: Header Zoom Track, Scroll Cycle & Quiz Progress --- */
.hero-zoom-track {
  min-height: 108vh;
  position: relative;
}

.hero-zoom-sticky {
  position: sticky;
  top: 86px;
  display: flex;
  justify-content: center;
}

.hero-zoom-stage {
  width: 82%;
  margin: 0 auto;
  border-radius: 10px;
  transition: border-radius 0.2s ease;
}

.cycle-scroll-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: 48px;
}

.cycle-sticky-stage {
  position: sticky;
  top: 100px;
}

.cycle-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.cycle-nav-pills .cycle-step-btn {
  padding: 10px 16px;
  font-size: 14px;
}

.cycle-scroll-chapters {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 48px;
}

.cycle-chapter-trigger {
  min-height: 40vh;
  padding: 32px;
  background-color: rgba(247, 242, 232, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background-color 0.35s ease, transform 0.35s var(--ease-expo);
}

.cycle-chapter-trigger.is-active {
  background-color: rgba(247, 242, 232, 0.11);
  transform: translateX(-6px);
}

.quiz-progress-track {
  width: 100%;
  height: 3px;
  background-color: rgba(247, 242, 232, 0.14);
  margin-bottom: 28px;
}

.quiz-progress-fill {
  height: 100%;
  background-color: var(--gold);
  transition: width 0.45s var(--ease-expo);
}

.quiz-option-btn.is-selected {
  background-color: var(--accent);
  transform: scale(0.99);
}

@media (max-width: 980px) {
  .hero-zoom-track {
    min-height: auto;
  }
  .hero-zoom-sticky {
    position: static;
  }
  .hero-zoom-stage {
    width: 100% !important;
    border-radius: 0 !important;
  }
  .cycle-scroll-layout {
    grid-template-columns: 1fr;
  }
  .cycle-sticky-stage {
    position: static;
  }
  .cycle-chapter-trigger {
    min-height: auto;
  }
}

/* --- Heritage Chronicle Dynamic Scroll Background --- */
.chronicle-section {
  position: relative;
  overflow: clip;
}

.chronicle-bg-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.chronicle-bg-image {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  transition: background-image 0.55s ease, opacity 0.45s ease;
}

.chronicle-bg-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247, 242, 232, 0.72) 0%, rgba(247, 242, 232, 0.56) 50%, rgba(247, 242, 232, 0.78) 100%);
}

.chronicle-content {
  position: relative;
  z-index: 1;
}

/* --- Scroll-Driven Tea Backdrop (Zoom & Fade on Scroll) --- */
.tea-scroll-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  will-change: opacity;
}

.tea-scroll-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1);
  transform-origin: center 58%;
  will-change: transform;
}

.tea-scroll-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247, 242, 232, 0.24) 0%, rgba(247, 242, 232, 0.45) 100%);
}

.hero-section.has-tea-backdrop {
  position: relative;
  z-index: 1;
  background: transparent;
}

.hero-section.has-tea-backdrop .tea-story-card {
  background: linear-gradient(135deg, rgba(252, 251, 248, 0.88) 0%, rgba(239, 226, 216, 0.84) 100%);
  backdrop-filter: blur(10px);
}

.hero-section.has-tea-backdrop .poetic-lines,
.hero-section.has-tea-backdrop .tea-note-pill {
  background: rgba(252, 251, 248, 0.88) !important;
  backdrop-filter: blur(8px);
}

/* --- Illustrated Tea Detail Showcase (e.g. Chun-Jin Hong) --- */
.tea-art-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 260px;
  max-height: 440px;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 36px;
  background-color: var(--bg-clay);
  box-shadow: 0 18px 42px rgba(42, 27, 20, 0.12);
  cursor: zoom-in;
  transition: opacity 0.18s linear;
}

.tea-art-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
  transition: transform 0.28s var(--ease-expo);
  will-change: transform;
}

.tea-art-hero.is-zooming {
  cursor: zoom-out;
}

.tea-art-hero.is-zooming img {
  transform: scale(2.25);
}

.tea-art-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 27, 20, 0) 45%, rgba(42, 27, 20, 0.58) 100%);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.tea-art-hero-caption {
  position: absolute;
  left: 28px;
  bottom: 22px;
  color: var(--bg-ground);
  font-size: 13.5px;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.tea-art-zoom-hint {
  position: absolute;
  top: 18px;
  right: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(31, 25, 22, 0.62);
  backdrop-filter: blur(6px);
  color: var(--bg-ground);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.tea-art-hero.is-zooming .tea-art-hero-scrim,
.tea-art-hero.is-zooming .tea-art-hero-caption,
.tea-art-hero.is-zooming .tea-art-zoom-hint {
  opacity: 0;
}

.tea-art-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.tea-story-card {
  margin-top: 28px;
  padding: 28px;
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-clay) 100%);
  border-left: 3px solid var(--accent);
}

.tea-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.tea-note-pill {
  background-color: var(--bg-white);
  padding: 18px;
  border-top: 2px solid var(--gold);
}

.tea-note-pill span {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.tea-note-pill strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink-primary);
}

.tea-entry-art {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center 62%;
  border-radius: 4px;
  margin-bottom: 16px;
  display: block;
}

@media (max-width: 768px) {
  .tea-art-hero {
    aspect-ratio: 16 / 10;
  }
  .tea-notes-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Collaboration Product Lineup Grid (Luxury Editorial Showcase) --- */
.collab-lineup-wrap {
  margin-top: 64px;
  padding-top: 52px;
  border-top: 1px solid rgba(247, 242, 232, 0.14);
}

.collab-lineup-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.collab-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.collab-product-card {
  background: linear-gradient(160deg, rgba(56, 36, 27, 0.92) 0%, rgba(34, 21, 15, 0.96) 100%);
  border: 1px solid rgba(200, 155, 84, 0.18);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: stretch;
  transition: transform 0.35s var(--ease-expo), border-color 0.3s ease, box-shadow 0.35s ease;
}

.collab-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 155, 84, 0.45);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
}

.collab-product-stage {
  background: radial-gradient(circle at 50% 48%, rgba(200, 155, 84, 0.14) 0%, rgba(22, 14, 10, 0.65) 100%);
  padding: 26px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(200, 155, 84, 0.12);
}

.collab-product-img {
  width: 100%;
  max-width: 175px;
  max-height: 215px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.48));
  transition: transform 0.4s var(--ease-expo);
}

.collab-product-card:hover .collab-product-img {
  transform: scale(1.04);
}

.collab-product-body {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.collab-product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(247, 242, 232, 0.08);
}

.collab-sku {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-on-dark-muted);
}

.collab-price {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.collab-spec {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(247, 242, 232, 0.08);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-on-dark-muted);
}

.collab-product-card.is-fullset {
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  background: linear-gradient(125deg, rgba(64, 42, 31, 0.96) 0%, rgba(28, 18, 13, 0.98) 100%);
  border: 1px solid rgba(200, 155, 84, 0.32);
}

.collab-product-card.is-fullset .collab-product-body {
  padding: 32px 36px;
}

@media (max-width: 1080px) {
  .collab-products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .collab-product-card {
    grid-template-columns: 1fr;
  }
  .collab-product-stage {
    border-right: none;
    border-bottom: 1px solid rgba(200, 155, 84, 0.12);
  }
}

/* --- CRO & Pre-Launch Conversion Components --- */
.hero-trust-strip {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding-top: 14px;
  border-top: 1px solid rgba(247, 242, 232, 0.14);
}

.terroir-price-pill {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  background-color: rgba(139, 58, 43, 0.12);
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.terroir-flavors {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(31, 25, 22, 0.1);
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-primary);
}

.featured-teas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.featured-tea-card {
  background-color: var(--bg-white);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.35s var(--ease-expo), background-color 0.25s ease;
}

.featured-tea-card:hover {
  transform: translateY(-4px);
  background-color: var(--bg-clay);
}

.featured-tea-award {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}

.featured-tea-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-primary);
  padding-top: 12px;
  border-top: 1px solid rgba(31, 25, 22, 0.08);
}

.featured-tea-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.featured-tea-actions .btn-solid,
.featured-tea-actions .btn-dark {
  text-align: center;
  padding: 12px 18px;
  font-size: 14px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
  max-width: 880px;
}

.faq-item {
  background-color: var(--bg-white);
  border-left: 3px solid var(--accent);
  transition: background-color 0.25s ease;
}

.faq-item[open] {
  background-color: var(--bg-clay);
}

.faq-question {
  padding: 22px 26px;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 26px 24px;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-secondary);
}

@media (max-width: 1100px) {
  .featured-teas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .featured-teas-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Story Page Enhancements --- */
.story-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 26px;
}

.story-milestone-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 18px;
}

.story-award-links {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(247, 242, 232, 0.14);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.story-award-links a {
  color: var(--gold);
  font-size: 14px;
}

.story-timeline-cta {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(56, 36, 27, 0.95) 0%, rgba(28, 18, 13, 0.98) 100%);
  border: 1px solid rgba(200, 155, 84, 0.28);
  color: var(--ink-on-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 980px) {
  .story-timeline-cta {
    grid-column: span 1;
  }
}

/* --- Teas Ledger CRO, iTi Badge & Contrast --- */
.tea-entry.is-hidden {
  display: none;
}

.tea-entry-en,
.tea-entry-meta {
  color: var(--ink-secondary);
}

.tea-iti-badge {
  width: 44px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.tea-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tea-trust-tag {
  font-size: 12px;
  padding: 3px 9px;
  background-color: rgba(139, 58, 43, 0.1);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tea-craft-tag {
  font-size: 12px;
  padding: 3px 9px;
  background-color: #E4DDD0;
  color: #2A1B14;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.tea-keywords-pill {
  margin-top: 14px;
  padding: 8px 12px;
  background-color: var(--bg-ground);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-primary);
  letter-spacing: 0.06em;
}

.tea-entry-brew-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

.tea-brew-note {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(31, 25, 22, 0.08);
  font-size: 12.5px;
  color: var(--accent);
}

.tea-buy-btn {
  padding: 11px 20px;
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .tea-entry-brew-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Products Catalog Page --- */
.product-group-section.is-hidden {
  display: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background-color: var(--bg-white);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.35s var(--ease-expo), background-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  background-color: var(--bg-clay);
}

.product-card-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  object-position: center 62%;
  border-radius: 4px;
  margin-bottom: 14px;
}

.product-price-row {
  padding-top: 12px;
  border-top: 1px solid rgba(31, 25, 22, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-price-row span {
  font-size: 12.5px;
  color: var(--ink-secondary);
}

.product-price-row strong {
  font-size: 15.5px;
  color: var(--ink-primary);
}

@media (max-width: 1120px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr !important;
  }
}

.products-grid.is-3col {
  grid-template-columns: repeat(3, 1fr);
}

.product-card.is-hidden {
  display: none;
}

.product-card .sub-h3,
.tea-keywords-pill,
.product-group-section > div > p {
  text-wrap: balance;
}

.product-promo-banner {
  margin-bottom: 24px;
  padding: 14px 20px;
  background-color: var(--bg-clay);
  border-left: 3px solid var(--accent);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-primary);
  letter-spacing: 0.04em;
}

.product-purpose-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -24px;
  margin-bottom: 28px;
}

.purpose-pill-btn {
  padding: 6px 14px;
  font-size: 13px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(31, 25, 22, 0.18);
  background-color: transparent;
  color: var(--ink-secondary);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.purpose-pill-btn.active,
.purpose-pill-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--bg-ground);
}

.product-b2b-card {
  background: linear-gradient(135deg, var(--bg-umber) 0%, var(--bg-umber-soft) 100%);
  color: var(--ink-on-dark);
}

.product-b2b-card .prose-muted {
  color: var(--ink-on-dark-muted);
}

.product-brand-pill {
  display: inline-block;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  background-color: var(--bg-stone);
  color: var(--ink-primary);
}

.product-brand-pill.is-retea {
  background-color: var(--bg-deep);
  color: var(--gold);
}

.product-ingredients {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.product-warning-box {
  margin-top: 10px;
  padding: 10px 12px;
  background-color: rgba(139, 58, 43, 0.1);
  border-left: 3px solid var(--accent);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--accent);
  font-weight: 600;
}

.product-orig-price {
  font-size: 12.5px;
  color: var(--ink-muted);
  text-decoration: line-through;
}


/* ==========================================================================
   Cart Drawer & ECPay Checkout Styles
   ========================================================================== */
.cart-nav-btn {
  background: transparent;
  border: 1px solid var(--border-line);
  color: var(--ink-main);
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.site-header.is-dark-nav .cart-nav-btn {
  color: var(--ink-on-dark);
  border-color: rgba(255, 255, 255, 0.32);
}
.cart-nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 16, 12, 0.56);
  z-index: 1200;
  display: none;
  justify-content: flex-end;
}
.cart-drawer-backdrop.open {
  display: flex;
}
.cart-drawer {
  width: min(420px, 94vw);
  height: 100%;
  background: var(--bg-paper);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.22);
}
.cart-drawer-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-drawer-foot {
  padding: 20px 24px;
  border-top: 1px solid var(--border-line);
  background: var(--bg-white);
}
.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(42, 27, 20, 0.08);
}
.cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-line);
}
.cart-qty-ctrl button {
  background: transparent;
  border: 0;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 16px;
}
.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;
  align-items: baseline;
  font-size: 14.5px;
  margin-top: 8px;
}
.cart-sum-line.is-grand {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-line);
  font-size: 17px;
  color: var(--accent);
}
.cart-free-tip {
  margin-top: 10px;
  padding: 8px 12px;
  background: var(--bg-clay);
  font-size: 13px;
  color: var(--ink-main);
}
.checkout-layout {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.checkout-form-card,
.checkout-summary-card {
  background: var(--bg-white);
  padding: clamp(22px, 3vw, 34px);
  border-top: 2px solid var(--border-line);
}
.checkout-summary-card {
  position: sticky;
  top: 96px;
  border-top-color: var(--accent);
}
.checkout-fields-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}
.checkout-field.is-full {
  grid-column: 1 / -1;
}
.checkout-field input,
.checkout-field textarea {
  padding: 11px 14px;
  border: 1px solid var(--border-line);
  background: var(--bg-paper);
  font-family: inherit;
  font-size: 15px;
}
.checkout-radio-group {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.checkout-radio-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border-line);
  cursor: pointer;
}
.checkout-radio-card strong {
  display: block;
  font-size: 15px;
}
.checkout-radio-card span {
  display: block;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 4px;
}
.cvs-selected-box {
  padding: 16px 18px;
  background: var(--bg-clay);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
@media (max-width: 900px) {
  .checkout-layout,
  .checkout-fields-grid,
  .checkout-radio-group {
    grid-template-columns: 1fr;
  }
}

.tea-entry,
.product-card {
  scroll-margin-top: 100px;
}
.tea-brew-anchors {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(42, 27, 20, 0.16);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tea-brew-anchor-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tea-brew-anchor-link:hover {
  text-decoration: underline;
}
.product-secondary-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-main);
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 27, 20, 0.28);
  padding-bottom: 2px;
  background: transparent;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  cursor: pointer;
  font-family: inherit;
}
.product-secondary-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}


/* ==========================================================================
   P0 Header Anti-Wrap, Compact Language Dropdown & 1200px Breakpoint
   ========================================================================== */
.brand-mark,
.brand-zh,
.brand-en,
.nav-links a,
.nav-cta,
.cart-nav-btn,
.lang-dropdown-trigger {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-inner {
  gap: clamp(12px, 1.5vw, 24px);
}

.nav-links {
  gap: clamp(12px, 1.3vw, 24px);
}

.nav-cta {
  padding: 9px 16px !important;
  border-radius: 4px;
  line-height: 1.2;
}

.lang-dropdown {
  position: relative;
}

.lang-dropdown-trigger {
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 6px 11px;
  background-color: rgba(135, 125, 115, 0.16);
  color: var(--ink-primary);
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header.is-dark-nav .lang-dropdown-trigger {
  background-color: rgba(247, 242, 232, 0.14);
  color: var(--ink-on-dark);
}

.lang-dropdown-trigger:hover {
  background-color: var(--accent);
  color: var(--bg-ground);
}

.lang-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 112px;
  background-color: var(--bg-white);
  border: 1px solid rgba(42, 27, 20, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  padding: 6px;
  flex-direction: column;
  gap: 4px;
  z-index: 300;
}

.lang-dropdown.open .lang-dropdown-menu {
  display: flex;
}

.lang-dropdown-menu .lang-pill {
  display: block;
  width: 100%;
  text-align: left;
  padding: 7px 10px !important;
  background-color: transparent !important;
  color: var(--ink-primary) !important;
  font-size: 13px !important;
}

.lang-dropdown-menu .lang-pill.active,
.lang-dropdown-menu .lang-pill:hover {
  background-color: var(--accent) !important;
  color: var(--bg-ground) !important;
}

@media (max-width: 1200px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-ground);
    color: var(--ink-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px var(--gutter) 32px;
    gap: 18px;
  }

  .site-header.is-dark-nav .nav-links {
    background-color: var(--bg-umber);
  }

  .nav-links.open {
    display: flex;
  }

  .lang-dropdown-menu {
    position: static;
    box-shadow: none;
    margin-top: 6px;
  }
}

/* ==========================================================================
   P1 Article Page Breadcrumb, Caption, Callout, Tea Pairing & Related
   ========================================================================== */
.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin-bottom: 18px;
}

.article-breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.article-title-h1 {
  font-size: clamp(30px, 3.6vw, 48px);
  text-wrap: balance;
}

.article-hero-figure {
  margin: 30px 0 36px;
}

.article-figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.65;
  color: #6B5E53;
}

.article-callout {
  margin: 28px 0;
  padding: 20px 24px;
  background-color: #F7F3EC;
  border-left: 3px solid #7C2D12;
  border-radius: 0 6px 6px 0;
  color: var(--ink-primary);
}

.article-callout p:last-child {
  margin-bottom: 0;
}

.article-callout__title {
  font-weight: 700;
  color: #3E2723;
  margin-bottom: 6px;
}

.article-tea-pairing {
  margin-top: 48px;
  padding: 32px 28px;
  background-color: #FAF7F2;
  border: 1px solid #E6DEC8;
  border-radius: 8px;
}

.article-tea-pairing__grid,
.article-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.pairing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background-color: #FFFFFF;
  border: 1px solid #EAE2D3;
  border-radius: 6px;
}

.pairing-card__tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.pairing-card__name {
  font-size: 17px;
  font-weight: 600;
  margin-top: 6px;
  color: var(--ink-primary);
}

.pairing-card__note {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-secondary);
  margin-top: 8px;
}

.pairing-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #F1ECE2;
}

.pairing-card__price {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-primary);
}

.pairing-card__btn {
  padding: 8px 16px;
  background-color: #7C2D12;
  color: #FFFFFF;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.pairing-card__btn:hover {
  background-color: var(--ink-primary);
}

.article-tea-pairing__more {
  margin-top: 20px;
  text-align: right;
}

.article-related {
  margin-top: 44px;
}

@media (max-width: 768px) {
  .article-tea-pairing__grid,
  .article-related__grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   News Archive Toolbar, Featured Card, Tags & Pagination
   ========================================================================== */
.news-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.news-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-search-form input {
  padding: 9px 14px;
  border: 1px solid rgba(42, 27, 20, 0.22);
  background: var(--bg-white);
  font-family: inherit;
  font-size: 14px;
  min-width: 220px;
}

.news-featured-card {
  margin-top: 32px;
  background: var(--bg-white);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  border-top: 3px solid var(--accent);
  overflow: hidden;
}

.news-featured-media {
  display: block;
  overflow: hidden;
}

.news-featured-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.news-featured-body {
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.news-pagination {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.news-page-btn {
  padding: 9px 15px;
  background: var(--bg-white);
  color: var(--ink-primary);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(42, 27, 20, 0.14);
  transition: all 0.2s ease;
}

.news-page-btn.active,
.news-page-btn:hover {
  background: var(--accent);
  color: var(--bg-ground);
  border-color: var(--accent);
}

@media (max-width: 900px) {
  .news-featured-card {
    grid-template-columns: 1fr;
  }
  .news-search-form {
    width: 100%;
  }
  .news-search-form input {
    flex: 1;
    min-width: 0;
  }
}
