/* Tea Online – blog & article styles. Shares the design tokens and chrome of index.html. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #f5f0e8;
  --deep-green: #1a2e1a;
  --mid-green: #2d4a2d;
  --sage: #7a9e6e;
  --gold: #c8973a;
  --gold-light: #e8b84b;
  --terracotta: #c2523a;
  --hibiscus: #c2245a;
  --warm-white: #faf7f2;
  --ink: #1a1612;
  --muted: #7a7065;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--ink);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ── ANNOUNCEMENT BAR ── */
.announcement {
  background: var(--deep-green);
  color: var(--gold-light);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-transform: uppercase;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,240,232,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,46,26,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
}

.nav-logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.nav-logo .brand-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--deep-green);
  letter-spacing: 0.04em;
}
.nav-logo .brand-sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.btn-cart {
  background: var(--deep-green);
  color: var(--cream);
  padding: 9px 22px;
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}
.btn-cart:hover { background: var(--mid-green); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  padding: 14px 36px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  color: var(--cream);
  padding: 14px 36px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(245,240,232,0.4);
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── SECTION HEADINGS ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--deep-green);
  line-height: 1.15;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-divider { width: 48px; height: 2px; background: var(--gold); margin: 20px auto 0; }

/* ── ARTICLE HERO ── */
.article-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 520px;
  background: var(--deep-green);
}
.article-hero-text {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 8% 72px 10%;
}
.article-hero-text::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(200,151,58,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.article-hero-text > * { position: relative; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: rgba(245,240,232,0.45);
}
.breadcrumb a { color: rgba(245,240,232,0.65); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: rgba(200,151,58,0.6); }

.article-eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}
.article-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.05;
  color: var(--cream);
  font-weight: 300;
  margin-bottom: 24px;
}
.article-title em { font-style: italic; color: var(--gold-light); }
.article-dek {
  color: rgba(245,240,232,0.72);
  font-size: 16px;
  line-height: 1.75;
  max-width: 480px;
  font-weight: 300;
  margin-bottom: 32px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(245,240,232,0.55);
}
.article-meta strong { color: var(--gold-light); font-weight: 500; }

.article-hero-img { position: relative; overflow: hidden; background: #1f3520; min-height: 320px; }
.article-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── ARTICLE LAYOUT ── */
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 720px) 300px;
  justify-content: center;
  gap: 72px;
  padding: 80px 6% 40px;
}

.article-body { font-size: 17px; line-height: 1.85; color: #2e2924; font-weight: 300; }
.article-body > * + * { margin-top: 1.25em; }
.article-body .lede {
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  line-height: 1.55;
  color: var(--deep-green);
  font-weight: 400;
}
.article-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  color: var(--deep-green);
  line-height: 1.2;
  margin-top: 2.2em;
}
.article-body h2::after { content: ''; display: block; width: 40px; height: 2px; background: var(--gold); margin-top: 14px; }
.article-body h3 {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 2em;
}
.article-body strong { font-weight: 500; color: var(--ink); }
.article-body a { color: var(--mid-green); text-decoration-color: rgba(200,151,58,0.7); text-underline-offset: 3px; font-weight: 400; }
.article-body a:hover { color: var(--gold); }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li + li { margin-top: 0.45em; }
.article-body li::marker { color: var(--gold); }

/* Table of contents */
.toc {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 26px 30px;
}
.toc-title {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}
.article-body .toc ol { padding-left: 1.2em; font-size: 15px; line-height: 1.6; }
.article-body .toc a { text-decoration: none; color: var(--deep-green); font-weight: 400; }
.article-body .toc a:hover { color: var(--gold); }

/* Key facts box */
.key-facts {
  background: var(--deep-green);
  color: rgba(245,240,232,0.82);
  padding: 30px 32px;
  font-size: 15px;
  line-height: 1.7;
}
.key-facts .toc-title { color: var(--gold-light); }
.article-body .key-facts strong { color: var(--cream); }
.article-body .key-facts ul { padding-left: 1.1em; }

/* Data tables */
.table-wrap { overflow-x: auto; border: 1px solid rgba(26,46,26,0.1); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; background: #fff; }
.data-table th {
  background: var(--deep-green);
  color: var(--gold-light);
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px 16px;
  white-space: nowrap;
}
.data-table td { padding: 13px 16px; border-top: 1px solid rgba(26,46,26,0.08); vertical-align: top; }
.data-table tr:nth-child(even) td { background: var(--warm-white); }
.data-table td:first-child { font-weight: 500; color: var(--deep-green); }

/* Figures */
.article-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.article-figure figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
  line-height: 1.6;
}

/* Pull quote */
.pull-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1.4;
  color: var(--deep-green);
  text-align: center;
  padding: 18px 6%;
  border-top: 1px solid rgba(200,151,58,0.4);
  border-bottom: 1px solid rgba(200,151,58,0.4);
}

/* Callouts */
.callout {
  background: rgba(122,158,110,0.12);
  border: 1px solid rgba(122,158,110,0.35);
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.7;
}
.callout.caution { background: rgba(194,82,58,0.07); border-color: rgba(194,82,58,0.3); }
.callout-title {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mid-green);
  margin-bottom: 6px;
}
.callout.caution .callout-title { color: var(--terracotta); }

/* Brew card */
.brew-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(200,151,58,0.35);
  background: #fff;
}
.brew-card div { padding: 20px 14px; text-align: center; }
.brew-card div + div { border-left: 1px solid rgba(200,151,58,0.25); }
.brew-card strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--deep-green);
  line-height: 1.1;
}
.brew-card span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* FAQ */
.faq details { border-bottom: 1px solid rgba(26,46,26,0.12); padding: 16px 0; }
.faq details:first-of-type { border-top: 1px solid rgba(26,46,26,0.12); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  color: var(--deep-green);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 22px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; font-size: 15.5px; }

/* Sources & author */
.sources { font-size: 14px; line-height: 1.7; color: var(--muted); }
.article-body .sources ol { padding-left: 1.2em; }
.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--cream);
  padding: 26px 28px;
  font-size: 14.5px;
  line-height: 1.7;
}
.author-mark {
  flex: 0 0 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--deep-green);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
}
.author-box .author-name { font-weight: 500; color: var(--deep-green); display: block; }

/* ── SIDEBAR ── */
.article-aside { position: relative; }
.article-aside { display: flex; flex-direction: column; gap: 24px; }
.aside-sticky { position: sticky; top: 104px; }
.aside-card { background: var(--cream); padding: 26px 26px 28px; }
.aside-card h4 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.aside-toc ol { list-style: none; counter-reset: toc; }
.aside-toc li { counter-increment: toc; font-size: 14px; line-height: 1.5; padding: 7px 0; border-top: 1px solid rgba(26,46,26,0.08); }
.aside-toc li:first-child { border-top: none; }
.aside-toc a { text-decoration: none; color: var(--deep-green); display: flex; gap: 10px; transition: color 0.2s; }
.aside-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--gold); font-size: 11px; padding-top: 2px; }
.aside-toc a:hover { color: var(--gold); }

.shop-card { background: var(--deep-green); color: rgba(245,240,232,0.75); overflow: hidden; }
.shop-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shop-card-body { padding: 24px 26px 28px; }
.shop-card .shop-eyebrow { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.shop-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0;
  text-transform: none;
  margin: 8px 0 10px;
  line-height: 1.2;
}
.shop-card p { font-size: 13.5px; line-height: 1.65; font-weight: 300; margin-bottom: 18px; }
.shop-card .btn-primary { padding: 12px 22px; font-size: 12px; }

/* ── SHOP BAND ── */
.shop-band {
  margin: 40px 6% 0;
  background: var(--deep-green);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  overflow: hidden;
}
.shop-band-img { position: relative; min-height: 280px; }
.shop-band-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop-band-text { padding: 56px 8%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.shop-band-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
  margin: 12px 0 16px;
}
.shop-band-text h2 em { color: var(--gold-light); }
.shop-band-text p { color: rgba(245,240,232,0.7); font-size: 15px; line-height: 1.75; font-weight: 300; margin-bottom: 28px; max-width: 460px; }

/* ── ARTICLE CARDS (related + blog index) ── */
.related { padding: 100px 6%; background: var(--cream); margin-top: 100px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card {
  background: var(--warm-white);
  border: 1px solid rgba(26,46,26,0.08);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.article-card:hover { box-shadow: 0 12px 48px rgba(26,46,26,0.14); transform: translateY(-4px); }
.article-card-img { aspect-ratio: 1 / 0.72; overflow: hidden; background: #1f3520; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.article-card:hover .article-card-img img { transform: scale(1.06); }
.article-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.article-card-tag { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); font-weight: 600; margin-bottom: 8px; }
.article-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px;
  font-weight: 400;
  color: var(--deep-green);
  line-height: 1.2;
  margin-bottom: 10px;
}
.article-card-desc { font-size: 14px; line-height: 1.7; color: var(--muted); font-weight: 300; flex: 1; }
.article-card-more {
  margin-top: 16px;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  border-bottom: 1px solid var(--sage);
  padding-bottom: 2px;
}
.article-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; }
.article-card.featured .article-card-img { aspect-ratio: auto; min-height: 340px; }
.article-card.featured .article-card-body { padding: 40px 36px; justify-content: center; }
.article-card.featured .article-card-title { font-size: 32px; }

/* Blog index hero */
.blog-hero {
  background: var(--deep-green);
  text-align: center;
  padding: 96px 6% 88px;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,151,58,0.18) 0%, transparent 60%);
}
.blog-hero > * { position: relative; }
.blog-hero .article-title { margin-bottom: 18px; }
.blog-hero .article-dek { margin: 0 auto; max-width: 560px; }
.blog-hero .breadcrumb { justify-content: center; }
.blog-list { padding: 90px 6% 100px; background: var(--cream); }


/* ── BLOG INDEX CATEGORIES ── */
.cat-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.cat-chip {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-light);
  text-decoration: none;
  border: 1px solid rgba(200,151,58,0.4);
  background: rgba(200,151,58,0.1);
  padding: 7px 14px;
  transition: background 0.2s, border-color 0.2s;
}
.cat-chip:hover { background: rgba(200,151,58,0.25); border-color: rgba(200,151,58,0.7); }
.blog-cat { scroll-margin-top: 90px; }
.blog-cat + .blog-cat { margin-top: 80px; }
.blog-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(26,46,26,0.12);
  padding-bottom: 14px;
  margin-bottom: 28px;
}
.blog-cat-head .section-title { font-size: clamp(26px, 3vw, 38px); }
.blog-cat-count { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; white-space: nowrap; }
.glossary p { margin-top: 0.9em; }

/* ── FOOTER ── */
footer { background: var(--ink); color: rgba(245,240,232,0.7); padding: 70px 6% 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand .brand-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--cream);
  font-weight: 400;
  display: block;
  margin-bottom: 4px;
}
.footer-brand .brand-sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; font-weight: 300; }
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { text-decoration: none; color: rgba(245,240,232,0.6); font-size: 13px; font-weight: 300; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 12px; color: rgba(245,240,232,0.4); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 12px; color: rgba(245,240,232,0.4); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .article-wrap { grid-template-columns: minmax(0, 720px); }
  .article-aside { display: none; }
}

@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .article-hero { grid-template-columns: 1fr; }
  .article-hero-text { padding: 56px 6%; }
  .article-hero-img { min-height: 62vw; }
  .article-wrap { padding: 56px 6% 24px; }
  .article-body { font-size: 16.5px; }
  .article-body .lede { font-size: 22px; }
  .brew-card { grid-template-columns: repeat(2, 1fr); }
  .brew-card div:nth-child(3) { border-left: none; }
  .brew-card div:nth-child(n+3) { border-top: 1px solid rgba(200,151,58,0.25); }
  .shop-band { grid-template-columns: 1fr; margin: 24px 0 0; }
  .shop-band-text { padding: 44px 6%; }
  .card-grid { grid-template-columns: 1fr; }
  .article-card.featured { grid-column: span 1; grid-template-columns: 1fr; }
  .article-card.featured .article-card-img { min-height: 0; aspect-ratio: 1 / 0.72; }
  .article-card.featured .article-card-body { padding: 24px; }
  .related { padding: 72px 6%; margin-top: 64px; }
  .footer-grid { grid-template-columns: 1fr; }
  .pull-quote { font-size: 23px; }
  .data-table { min-width: 560px; font-size: 14px; }
  .data-table th { white-space: normal; }
  .author-box { flex-direction: column; }
}
