/* Silk Road Spices — site stylesheet.
   Every value comes from the Silk Road Spices design system (tokens.json / srs-design-system.css).
   Mobile first; breakpoints at 768px and 1100px. */

/* ---------- Tokens ---------- */
:root {
  --brand-indigo: #2a2857;
  --brand-on-indigo: #fbf9eb;
  --accent-marigold: #ffb500;
  --accent-marigold-hover: #cc9100;
  --accent-sky: #c0dbff;
  --accent-mist: #c1e4f8;
  --ink: #201c1a;
  --surface-paper: #fffefb;
  --surface-cream: #fbf9eb;
  --surface-linen: #fffaf6;
  --surface-white: #ffffff;
  --spice-ember: #b50034;
  --spice-rust: #9c2202;
  --spice-orange: #e35c21;
  --status-low-stock: #ea6854;
  --pastel-lime: #c1ee91;
  --pastel-sage: #c8e892;
  --pastel-mint: #b0e8c1;
  --pastel-aqua: #aee0f9;
  --pastel-peach: #ffcb96;
  --pastel-blush: #ffd1b8;
  --pastel-salmon: #f5af8a;
  --pastel-apricot: #ffd265;
  --pastel-butter: #ffd884;
  --pastel-lilac: #daaeea;
  --focus-ring: #2a2857;

  --border-ink: 1px solid #201c1a;
  --radius-hairline: 2px;
  --radius-tag: 6px;
  --radius-media: 8px;
  --radius-control: 12px;
  --radius-panel: 30px;
  --radius-pill: 50px;
  --radius-round: 50%;

  --space-tag-y: 6px;
  --space-tag-x: 6px;
  --space-chip-x: 10px;
  --space-chip-y: 12px;
  --space-field-x: 16px;
  --space-gutter: 40px;
  --space-button-x: 60px;
  --size-control: 50px;
  --size-field: 56px;
  --size-header: 70px;

  --font-serif: Reckless, Newsreader, Georgia, serif;
  --font-display: Midnight, Oswald, Impact, sans-serif;
  --font-sans: Figtree, Helvetica, Arial, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, monospace;

  --page-gutter: 16px;
  --measure: 40rem;
  --wide: 1200px;
}
@media (min-width: 768px) {
  :root { --page-gutter: var(--space-gutter); --size-header: 67px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  /* Cream band behind the header at the top of the page only; it scrolls away with the page. */
  background: linear-gradient(var(--surface-cream) 0 140px, var(--surface-paper) 140px) no-repeat, var(--surface-paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 25px;
  letter-spacing: 0.1px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:where(a, button, input, textarea, summary):focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--surface-white); border: var(--border-ink); border-radius: var(--radius-control); padding: 12px 16px; }
.skip-link:focus { top: 16px; }

/* ---------- Type scale (design-system text styles) ---------- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 300; margin: 0; }
.h1, h1 { font-size: 60px; line-height: 65px; letter-spacing: 0; }
.h2, h2 { font-size: 46px; line-height: 48px; letter-spacing: -0.5px; }
.h3, h3 { font-size: 32px; line-height: 37px; }
.h4, h4 { font-size: 28px; line-height: 32px; letter-spacing: -0.5px; }
.product-title { font-family: var(--font-serif); font-size: 24px; line-height: 27.6px; font-weight: 400; }
@media (min-width: 768px) {
  .h1, h1 { font-size: 84px; line-height: 84px; }
  .h2, h2 { font-size: 60px; line-height: 61px; }
  .h3, h3 { font-size: 40px; line-height: 40px; }
  .h4, h4 { font-size: 32px; line-height: 37px; }
}
h1 em, h2 em, h3 em { font-style: italic; }
.lead { font-size: 22px; line-height: 28.6px; }
@media (min-width: 768px) { .lead { font-size: 24px; line-height: 31px; } }
.body-sm { font-size: 16px; line-height: 20.8px; }
.body-xs { font-size: 14px; line-height: 18.2px; letter-spacing: 0.07px; }
.eyebrow { font-family: var(--font-mono); font-size: 14px; line-height: 20.8px; text-transform: uppercase; margin: 0 0 12px; }
@media (min-width: 768px) { .eyebrow { font-size: 16px; } }

/* Sticker: condensed caps on a tilted, bordered tag */
.sticker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 20px;
  letter-spacing: 0.22px;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent-marigold);
  border: var(--border-ink);
  border-radius: var(--radius-tag);
  padding: 7px var(--space-tag-x) 5px;
  transform: rotate(-2deg);
}
.sticker--right { transform: rotate(2deg); }
.sticker--flat { transform: none; }
.sticker--white { background: var(--surface-white); }
.sticker--sky { background: var(--accent-sky); }
.sticker--lilac { background: var(--pastel-lilac); }
.sticker--peach { background: var(--pastel-peach); }
.sticker--lime { background: var(--pastel-lime); }
.sticker--small { font-size: 16px; line-height: 16px; padding: 5px 6px 3px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wide) + 2 * var(--page-gutter)); margin: 0 auto; padding: 0 var(--page-gutter); }
.wrap--narrow { max-width: calc(52rem + 2 * var(--page-gutter)); }
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section--cream { background: var(--surface-cream); }
.section + .section { border-top: var(--border-ink); }
.section-head { margin-bottom: 32px; max-width: 46rem; }
.section-head .sticker { margin-bottom: 18px; }
.section-head p { margin-top: 16px; }
@media (min-width: 768px) { .section-head { margin-bottom: 48px; } }
.prose { max-width: var(--measure); }
.prose p + h3, .prose p + h4 { margin-top: 40px; }
.prose h3, .prose h4 { margin-bottom: 16px; }
.stack > * + * { margin-top: 16px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 10px var(--page-gutter) 0; background: transparent; }
.header-bar {
  position: relative;
  max-width: var(--wide);
  margin: 0 auto;
  min-height: var(--size-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 12px;
  background: var(--surface-linen);
  border: var(--border-ink);
  border-radius: var(--radius-control);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 58px; height: 58px; }
.brand-name { font-family: var(--font-serif); font-size: 22px; line-height: 24px; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px;
  font: 500 12px/1 var(--font-mono); letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--ink); background: var(--surface-white);
  border: var(--border-ink); border-radius: var(--radius-pill); cursor: pointer;
}
.menu-toggle:hover { background: var(--accent-sky); }
.menu-toggle svg { width: 18px; height: 18px; }
.menu-toggle[aria-expanded="true"] .icon-open, .menu-toggle[aria-expanded="false"] .icon-close { display: none; }
.site-nav { display: none; }
.site-nav.is-open {
  display: block;
  position: absolute; left: -1px; right: -1px; top: calc(100% + 8px);
  background: var(--surface-linen);
  border: var(--border-ink); border-radius: var(--radius-control);
  padding: 8px 16px;
}
.site-nav ul { list-style: none; }
.site-nav li + li { border-top: var(--border-ink); }
.nav-link {
  display: block; padding: 16px 0;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
}
.nav-link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--spice-ember); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.no-js .menu-toggle { display: none; }
.no-js .site-nav { display: block; position: static; }

@media (min-width: 1100px) {
  .header-bar { min-height: 96px; padding: 10px 24px; justify-content: center; }
  .brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .brand img { width: 72px; height: 72px; }
  .brand-name { display: none; }
  .menu-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; width: 100%; border: 0; padding: 0; background: none; }
  .site-nav ul { display: flex; align-items: center; gap: 28px; }
  .site-nav li + li { border-top: 0; }
  .site-nav li:nth-child(4) { margin-left: auto; }
  .nav-link { padding: 8px 0; font-size: 12px; }
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero { padding: 48px 0 56px; background: var(--surface-cream); border-bottom: var(--border-ink); }
.page-hero .sticker { margin-bottom: 20px; }
.page-hero h1 { max-width: 14ch; }
.page-hero .lead { margin-top: 20px; max-width: 36rem; }
.page-hero-grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 768px) { .page-hero { padding: 72px 0 80px; } }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 1.2fr 1fr; gap: 48px; } }

/* Jump links / chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: var(--space-chip-y) var(--space-chip-x);
  font-size: 16px; line-height: 20.8px; font-weight: 500; text-decoration: none;
  background: var(--surface-white); border: var(--border-ink); border-radius: var(--radius-pill);
}
a.chip:hover { background: var(--accent-sky); }
.chip--static { font-weight: 400; min-height: 0; padding: 6px var(--space-chip-x); }

/* ---------- Media ---------- */
.media { border: var(--border-ink); border-radius: var(--radius-media); overflow: hidden; background: var(--surface-white); }
.media img { width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
figcaption { font-size: 14px; line-height: 18.2px; margin-top: 10px; }

/* ---------- Cards, callouts, quotes ---------- */
.card { background: var(--surface-white); border: var(--border-ink); border-radius: var(--radius-control); padding: 24px; }
@media (min-width: 768px) { .card { padding: 32px; } }
.callout { border: var(--border-ink); border-radius: var(--radius-control); padding: 20px 24px; background: var(--pastel-peach); }
.callout--sky { background: var(--accent-sky); }
.callout--apricot { background: var(--pastel-apricot); }
.callout--lime { background: var(--pastel-lime); }
.callout--lilac { background: var(--pastel-lilac); }
.callout--white { background: var(--surface-white); }
.callout-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 20px; letter-spacing: 0.22px; text-transform: uppercase; margin: 0 0 12px; }
h3.callout-title, h4.callout-title { margin-bottom: 18px; }
.callout p { margin-bottom: 0.6em; }

.pullquote {
  margin: 48px 0;
  padding: 28px 0;
  border-top: var(--border-ink);
  border-bottom: var(--border-ink);
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.3px;
}
.pullquote p { margin: 0; }
.pullquote cite { display: block; margin-top: 14px; font: 400 14px/18.2px var(--font-mono); text-transform: uppercase; font-style: normal; }
@media (min-width: 768px) { .pullquote { font-size: 40px; line-height: 44px; } }

/* Stat: a big number with its label */
.stat-num { display: block; font-family: var(--font-serif); font-weight: 300; font-size: 48px; line-height: 48px; letter-spacing: -0.5px; }
.stat-label { display: block; margin-top: 8px; font-size: 16px; line-height: 20.8px; }

/* Icon: thin single-weight line icons in ink */
.icon { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 22px; height: 22px; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--size-control); padding: 0 32px;
  font-family: var(--font-sans); font-size: 18px; line-height: 18px; letter-spacing: -0.3px; text-decoration: none;
  color: var(--surface-white); background: var(--brand-indigo);
  border: var(--border-ink); border-radius: var(--radius-pill); cursor: pointer;
}
.btn:hover { background: var(--ink); }
.btn--outline { color: var(--ink); background: var(--surface-white); }
.btn--outline:hover { background: var(--accent-sky); }
@media (min-width: 768px) { .btn { padding: 0 var(--space-button-x); } }
.text-link { color: var(--spice-ember); text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; color: var(--spice-ember); text-decoration: underline; text-underline-offset: 4px; font-size: 18px; }
.arrow-link:hover { color: var(--ink); }
.arrow-link svg { width: 18px; height: 18px; flex: none; }

/* Accordion */
.accordion { border-top: var(--border-ink); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; font-weight: 500;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border: var(--border-ink); border-radius: var(--radius-round);
  background: var(--surface-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23201c1a' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.accordion[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23201c1a' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.accordion summary:hover::after { background-color: var(--accent-sky); }
.accordion-body { padding: 4px 0 20px; }

/* ---------- Footer ---------- */
.site-footer {
  color: var(--surface-linen);
  background-color: var(--spice-rust);
  background-image: linear-gradient(rgba(156, 34, 2, 0.94), rgba(156, 34, 2, 0.94)), url("../images/bukhara-old-city-1200.webp");
  background-position: center;
  background-size: cover;
  padding: 64px 0 32px;
  border-top: var(--border-ink);
}
.footer-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr 1.6fr; gap: 56px; } }
.footer-logo { width: 140px; height: 140px; }
.footer-heading { margin: 0 0 20px; }
.footer-heading .sticker { transform: none; background: var(--surface-white); }
.footer-links { list-style: none; }
.footer-links a { display: inline-block; padding: 8px 0; text-decoration: none; }
.footer-links a:hover { color: var(--accent-marigold); text-decoration: underline; text-underline-offset: 4px; }
.notice {
  color: var(--ink); background: var(--pastel-peach);
  border: var(--border-ink); border-radius: var(--radius-control);
  padding: 14px 16px; font-size: 14px; line-height: 18.2px; font-weight: 500; margin-bottom: 24px;
}
.field-label { display: block; margin-bottom: 8px; font: 500 12px/1 var(--font-mono); letter-spacing: 0.5px; text-transform: uppercase; }
.field {
  width: 100%; height: var(--size-field); margin-bottom: 20px; padding: 0 var(--space-field-x);
  font: 400 18px/1.3 var(--font-sans); color: var(--ink);
  background: var(--surface-white); border: var(--border-ink); border-radius: var(--radius-control);
}
textarea.field { height: auto; min-height: 120px; padding: 14px var(--space-field-x); resize: vertical; }
.site-footer .btn { width: 100%; }
@media (min-width: 600px) { .site-footer .btn { width: auto; } }
.site-footer :focus-visible { outline-color: var(--surface-linen); }
.form-status { margin-bottom: 20px; padding: 14px 16px; color: var(--ink); border: var(--border-ink); border-radius: var(--radius-control); }
.form-status--ok { background: var(--pastel-lime); }
.form-status--error { background: var(--status-low-stock); }
.hp-field { position: absolute; left: -9999px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--surface-linen); font-size: 14px; }

/* ---------- Use of spices ---------- */
.hero-chips { margin-top: 28px; }
.hero-media { aspect-ratio: 3 / 2; }

/* Round stamp holding a line icon */
.stamp { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border: var(--border-ink); border-radius: var(--radius-round); background: var(--surface-white); flex: none; }
.stamp .icon { width: 32px; height: 32px; }
.stamp--apricot { background: var(--pastel-apricot); }
.stamp--salmon { background: var(--pastel-salmon); }
.stamp--sky { background: var(--accent-sky); }
.stamp--aqua { background: var(--pastel-aqua); }
.stamp--lime { background: var(--pastel-lime); }
.stamp--lilac { background: var(--pastel-lilac); }
.stamp--peach { background: var(--pastel-peach); }

.storage-grid { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .storage-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .storage-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.storage-tile { background: var(--surface-white); border: var(--border-ink); border-radius: var(--radius-control); padding: 24px; }
.storage-tile .product-title { margin: 18px 0 12px; }
.tip-list { list-style: none; }
.tip-list li { position: relative; padding-left: 20px; font-size: 16px; line-height: 22px; }
.tip-list li + li { margin-top: 10px; }
.tip-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border: var(--border-ink); border-radius: var(--radius-round); background: var(--accent-marigold); }
.tip-list strong { font-weight: 600; }

.storage-extras { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 768px) { .storage-extras { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; } }
.extra { display: flex; gap: 16px; align-items: flex-start; }
.extra > .icon { width: 32px; height: 32px; flex: none; margin-top: 2px; }

/* Shelf-life range chart: --min/--max in years on a 0–4 year track */
.shelf-layout { display: grid; gap: 8px; align-items: center; }
@media (min-width: 1000px) { .shelf-layout { grid-template-columns: 1fr 1.15fr; gap: 64px; } .shelf-layout .section-head { margin-bottom: 0; } }
.shelf-layout .pullquote { margin: 28px 0 20px; }
.shelf-rows { list-style: none; }
.shelf-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name years" "bar bar"; gap: 8px 12px; padding: 14px 0; }
.shelf-row + .shelf-row { border-top: var(--border-ink); }
.shelf-name { grid-area: name; font-weight: 500; }
.shelf-years { grid-area: years; font-family: var(--font-mono); font-size: 14px; }
.shelf-bar { grid-area: bar; position: relative; height: 22px; border: var(--border-ink); border-radius: var(--radius-pill); background: var(--surface-cream); overflow: hidden; }
.shelf-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--max) / 4 * 100%);
  background: linear-gradient(90deg, var(--spice-orange) 0 calc(var(--min) / var(--max) * 100%), var(--pastel-apricot) 0);
  border-right: var(--border-ink); }
.shelf-axis { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--font-mono); font-size: 12px; }
.shelf-axis span:last-child { transform: translateX(12px); }
.shelf-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.key { display: inline-block; width: 18px; height: 12px; border: var(--border-ink); border-radius: var(--radius-hairline); }
.key--sure { background: var(--spice-orange); }
.key--maybe { background: var(--pastel-apricot); margin-left: 12px; }

/* Decoctions + recipe card */
.decoction-intro { display: grid; gap: 8px; margin-bottom: 40px; }
@media (min-width: 1000px) { .decoction-intro { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; } .decoction-intro .section-head { margin-bottom: 0; } }
.intro-after { margin-top: 20px; }
.recipe { padding: 0; overflow: hidden; }
.recipe-head { padding: 24px; border-bottom: var(--border-ink); background: var(--surface-cream); }
.recipe-head h3 { margin: 14px 0 12px; }
.recipe-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0 0; }
.recipe-facts div { background: var(--surface-white); border: var(--border-ink); border-radius: var(--radius-control); padding: 10px 12px; }
.recipe-facts dt { font: 500 12px/1 var(--font-mono); letter-spacing: 0.5px; text-transform: uppercase; }
.recipe-facts dd { margin: 8px 0 0; font-family: var(--font-serif); font-size: 18px; line-height: 22px; }
@media (min-width: 600px) { .recipe-facts dd { font-size: 22px; line-height: 24px; } }
.recipe-body { display: grid; }
.recipe-needs, .recipe-steps { padding: 24px; }
.recipe-needs { border-bottom: var(--border-ink); }
.recipe-tips { display: grid; gap: 16px; padding: 0 24px 24px; }
@media (min-width: 900px) {
  .recipe-head { padding: 32px 40px; }
  .recipe-body { grid-template-columns: 1fr 1.5fr; }
  .recipe-needs { border-bottom: 0; border-right: var(--border-ink); padding: 32px 40px; }
  .recipe-steps { padding: 32px 40px; }
  .recipe-tips { grid-template-columns: 1fr 1fr; padding: 0 40px 40px; }
  .recipe-facts { max-width: 34rem; }
}
.tick-list { list-style: none; }
.tick-list li { position: relative; padding-left: 28px; font-size: 16px; line-height: 22px; }
.tick-list li + li { margin-top: 12px; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border: var(--border-ink); border-radius: var(--radius-hairline); background: var(--surface-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23201c1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tick-list strong { font-weight: 600; }
.steps { list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; min-height: 36px; }
.steps li + li { margin-top: 18px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -4px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 20px; border: var(--border-ink); border-radius: var(--radius-round); background: var(--pastel-lilac); }

.blend-links { margin-top: 56px; }
.blend-links h3 { margin-bottom: 20px; }
.blend-grid { list-style: none; display: grid; gap: 12px; }
@media (min-width: 900px) { .blend-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.blend-card { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; text-decoration: none; background: var(--surface-white); border: var(--border-ink); border-radius: var(--radius-control); }
.blend-card:hover { background: var(--accent-sky); }
.blend-card img { width: 88px; height: 88px; border-radius: var(--radius-round); flex: none; }
.blend-card .product-title { display: block; margin-bottom: 4px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---------- History of spices ---------- */
.history-hero { align-items: start; }
.toc { padding: 20px 20px 8px; }
.toc-list { list-style: none; margin-top: 8px; }
.toc-list li + li { border-top: var(--border-ink); }
.toc-list a { display: grid; grid-template-columns: 36px 1fr; gap: 2px 8px; padding: 10px 0; text-decoration: none; }
.toc-list a:hover .toc-name { text-decoration: underline; text-underline-offset: 4px; }
.toc-num { grid-row: span 2; font-family: var(--font-serif); font-size: 22px; line-height: 24px; }
.toc-name { font-weight: 500; font-size: 16px; line-height: 20.8px; }
.toc-era { font-family: var(--font-mono); font-size: 12px; line-height: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
@media (min-width: 640px) { .toc-list { columns: 2; column-gap: 24px; } .toc-list li { break-inside: avoid; } .toc-list li + li { border-top: 0; } .toc-list li { border-bottom: var(--border-ink); } }
@media (min-width: 900px) { .toc-list { columns: 1; } .toc-list li:last-child { border-bottom: 0; } }

.timeline { position: relative; padding-top: 16px; padding-bottom: 80px; }
.chapter { position: relative; padding: 56px 0; }
.chapter + .chapter { border-top: var(--border-ink); }
.chapter-head { margin-bottom: 28px; max-width: 48rem; }
.chapter-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: 16px;
  font-family: var(--font-serif); font-size: 24px;
  background: var(--accent-marigold); border: var(--border-ink); border-radius: var(--radius-round);
}
.chapter-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 12px; font-family: var(--font-mono); font-size: 13px; line-height: 18px; letter-spacing: 0.5px; text-transform: uppercase; }
.chapter-meta .era { background: var(--surface-white); border: var(--border-ink); border-radius: var(--radius-tag); padding: 3px 8px; }
.chapter-meta .region { padding: 4px 0; }
.chapter-body + .chapter-body, .chapter-body + .pullquote + .chapter-body { margin-top: 32px; }
.chapter-body--aside { display: grid; gap: 32px; }
.chapter-figure { max-width: 300px; }
.chapter-aside { align-self: start; }
.chapter-quote { max-width: 52rem; }
.lead-sm { font-size: 22px; line-height: 28.6px; margin-bottom: 28px; }
.chips--inline { margin: 4px 0 20px; }
@media (min-width: 900px) {
  .chapter-body--aside { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
  .chapter-figure, .chapter-aside { position: sticky; top: 130px; }
}
@media (min-width: 1100px) {
  .timeline { padding-left: 120px; }
  .timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--page-gutter) + 27px); border-left: 1px dashed var(--ink); }
  .chapter { padding: 88px 0; }
  .chapter-num { position: absolute; left: -120px; top: 84px; margin: 0; }
}

.mini-timeline { list-style: none; margin: 28px 0 0; position: relative; }
.mini-timeline::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; border-left: var(--border-ink); }
.mini-timeline li { position: relative; padding-left: 32px; }
.mini-timeline li + li { margin-top: 16px; }
.mini-timeline li::before { content: ""; position: absolute; left: 0; top: 5px; width: 13px; height: 13px; border: var(--border-ink); border-radius: var(--radius-round); background: var(--accent-marigold); }
.mini-timeline .era { display: block; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 2px; }

.find-card .product-title { margin-bottom: 16px; }
.find-card .stat { margin: 0 0 20px; padding: 16px 0; border-top: var(--border-ink); border-bottom: var(--border-ink); }
.find-card .stat-num { font-size: 40px; line-height: 40px; }
.prose .callout { margin: 24px 0; }

.chapter--band .salt-grid { display: grid; gap: 24px; align-items: center; background: var(--surface-cream); border: var(--border-ink); border-radius: var(--radius-panel); padding: 28px 24px; }
.word-card .sticker { font-size: 34px; line-height: 32px; padding: 9px 12px 6px; text-transform: none; margin-bottom: 16px; }
.word-card p { font-family: var(--font-serif); font-size: 24px; line-height: 30px; }
@media (min-width: 900px) { .chapter--band .salt-grid { grid-template-columns: 1.2fr 1fr; gap: 56px; padding: 48px; } }

.rome-grid { display: grid; gap: 16px; margin: 32px 0 48px; }
@media (min-width: 768px) { .rome-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.rome-card .product-title { margin-bottom: 14px; }
.rome-card p { font-size: 16px; line-height: 23px; }
.rome-wine h3 { margin-top: 0; }

.caravan { display: grid; gap: 24px; margin: 48px 0; padding: 24px; background: var(--surface-cream); border: var(--border-ink); border-radius: var(--radius-panel); }
.caravan .sticker { margin-bottom: 16px; }
.caravan-lead { font-family: var(--font-serif); font-size: 26px; line-height: 32px; font-weight: 300; }
.caravan-diagram { width: 100%; height: auto; margin-top: 16px; }
.caravan-media { aspect-ratio: 3 / 2; }
.caravan figcaption { margin: 0; }
@media (min-width: 900px) {
  .caravan { grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px; align-items: center; }
  .caravan figcaption { grid-column: 1 / -1; }
  .caravan-lead { font-size: 30px; line-height: 36px; }
}

.two-col { display: grid; gap: 32px; }
.two-col h3 { margin-bottom: 14px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } }
.status-callout { margin-top: 32px; font-size: 22px; line-height: 28.6px; max-width: 48rem; }

.source-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .source-grid { grid-template-columns: 1fr 1fr; } }
.source-card { display: grid; gap: 20px; align-content: start; }
.source-card .media { max-width: 300px; }
.source-card .product-title { margin-bottom: 10px; }
.source-dates { display: flex; gap: 12px; }
.source-dates span { flex: 1; max-width: 144px; background: var(--pastel-butter); border: var(--border-ink); border-radius: var(--radius-media); padding: 14px; font-size: 14px; line-height: 18px; }
.source-dates b { display: block; font-family: var(--font-serif); font-weight: 300; font-size: 32px; line-height: 36px; }

.next-links { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 768px) { .next-links { grid-template-columns: 1fr 1fr; gap: 20px; } }
.next-card { position: relative; display: grid; gap: 4px; padding: 24px 64px 24px 24px; text-decoration: none; background: var(--surface-white); border: var(--border-ink); border-radius: var(--radius-control); }
.next-card:hover { background: var(--accent-sky); }
.next-card .eyebrow { margin: 0; }
.next-card svg { position: absolute; right: 24px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); }

/* ---------- About ---------- */
.about-hero .page-hero-grid { align-items: center; }
.portrait { justify-self: center; position: relative; width: min(280px, 80%); }
.portrait .media { aspect-ratio: 280 / 400; }
.portrait figcaption { position: absolute; left: -16px; bottom: 24px; margin: 0; display: grid; justify-items: start; gap: 6px; }
.portrait-role { font: 500 12px/1 var(--font-mono); letter-spacing: 0.5px; text-transform: uppercase; background: var(--surface-white); border: var(--border-ink); border-radius: var(--radius-tag); padding: 6px 8px; margin-left: 10px; }
@media (min-width: 900px) { .portrait { justify-self: end; margin-right: 40px; } .portrait figcaption { left: -48px; } }

.facts-band { padding: 0; background: var(--brand-indigo); color: var(--brand-on-indigo); }
.facts { list-style: none; display: grid; }
.facts li { padding: 32px 0; }
.facts li + li { border-top: 1px solid var(--brand-on-indigo); }
.facts .stat-label { max-width: 22rem; }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts li { padding: 48px 32px; }
  .facts li:first-child { padding-left: 0; }
  .facts li + li { border-top: 0; border-left: 1px solid var(--brand-on-indigo); }
}

.offer-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .offer-layout { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; } }
.offer-list { list-style: none; }
.offer { display: flex; gap: 20px; padding: 24px 0; }
.offer + .offer { border-top: var(--border-ink); }
.offer .product-title { margin: 4px 0 8px; }
.offer p { margin-bottom: 10px; }
.offer-photo .media { aspect-ratio: 940 / 309; }

.family-line { list-style: none; position: relative; }
.family-line::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; border-left: 1px dashed var(--ink); }
.family-step { position: relative; padding-left: 36px; }
.family-step + .family-step { margin-top: 20px; }
.family-step::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border: var(--border-ink); border-radius: var(--radius-round); background: var(--accent-marigold); }
.family-step--dark::before { background: var(--ink); }
.family-step--now::before { background: var(--spice-ember); }
.family-date { display: block; font-family: var(--font-serif); font-weight: 300; font-size: 32px; line-height: 32px; margin-bottom: 12px; }
.family-card { padding: 20px 24px; }
.family-card .product-title { margin-bottom: 8px; }
.family-card .arrow-link { margin-top: 8px; }
@media (min-width: 900px) {
  .family-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 24px; }
  .family-line::before { display: none; }
  .family-step { padding: 36px 0 0; border-top: 1px dashed var(--ink); }
  .family-step + .family-step { margin-top: 0; }
  .family-step::before { top: -8px; }
}

.visit { display: grid; gap: 32px; align-items: center; }
.visit-media { aspect-ratio: 3 / 2; }
.visit-text .sticker { margin-bottom: 16px; }
.visit-text h2 { margin-bottom: 16px; }
.visit-text .callout { margin: 20px 0; }
.visit-text .btn { margin-top: 8px; }
@media (min-width: 1000px) { .visit { grid-template-columns: 1.3fr 1fr; gap: 64px; } }

/* ---------- Spices & blends ---------- */
.spice-hero { align-items: center; }
.spice-index { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.spice-index a { display: block; text-decoration: none; background: var(--surface-white); border: var(--border-ink); border-radius: var(--radius-control); overflow: hidden; }
.spice-index a:hover { background: var(--accent-sky); }
.spice-index img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: var(--border-ink); }
.spice-index span { display: block; padding: 8px 10px; font-size: 14px; line-height: 18px; font-weight: 500; }
@media (min-width: 640px) { .spice-index { gap: 12px; } .spice-index span { font-size: 16px; } }

.spice-list { padding-top: 24px; padding-bottom: 80px; }
.spice { display: grid; gap: 24px; padding: 48px 0; }
.spice + .spice { border-top: var(--border-ink); }
.spice-media { align-self: start; max-width: 300px; }
.spice-media .media { aspect-ratio: 4 / 3; }
.spice-head { display: grid; justify-items: start; gap: 12px; margin-bottom: 20px; }
.spice-main > p { max-width: 44rem; }
.spice-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.spice-facts li { background: var(--surface-white); border: var(--border-ink); border-radius: var(--radius-control); padding: 10px 14px; font-size: 14px; line-height: 18px; max-width: 15rem; }
.spice-facts b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 26px; line-height: 30px; margin-bottom: 2px; }
.spice-cols { display: grid; gap: 24px; margin-bottom: 24px; }
.spice-cols .callout-title { margin-top: 0; }
.spice-cols p + .callout-title, .spice-cols .callout-title + p + .callout-title { margin-top: 20px; }
.spice-cols p, .spice-cols li { font-size: 16px; line-height: 23px; }
.tip { background: var(--pastel-butter); border: var(--border-ink); border-radius: var(--radius-control); padding: 12px 16px; }
.steps--compact li { padding-left: 40px; min-height: 28px; }
.steps--compact li + li { margin-top: 12px; }
.steps--compact li::before { width: 28px; height: 28px; font-size: 16px; top: -2px; }
.spice .callout.body-sm { margin-top: 16px; }
.buying { margin-bottom: 24px; }
.buying .tip-list li::before { background: var(--surface-white); }
.spice .accordion-body p { font-size: 16px; line-height: 23px; }
.spice > .spice-main > .arrow-link { margin-top: 4px; }
@media (min-width: 768px) { .spice-cols { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (min-width: 1000px) {
  .spice { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; padding: 64px 0; }
  .spice-media { position: sticky; top: 130px; }
}

.heat { list-style: none; display: grid; gap: 8px; }
.heat li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.heat-dots { display: inline-flex; gap: 4px; width: 60px; }
.heat-dots i { width: 16px; height: 16px; border: var(--border-ink); border-radius: var(--radius-round); background: var(--spice-orange); }

/* ---------- Special teas ---------- */
.tea-hero-media { justify-self: center; width: min(300px, 100%); }
.tea-hero-media .media { aspect-ratio: 300 / 216; transform: rotate(2deg); }
@media (min-width: 900px) { .tea-hero-media { justify-self: end; margin-right: 40px; } }
.tea-grid { display: grid; gap: 20px; }
@media (min-width: 1000px) { .tea-grid { grid-template-columns: repeat(3, 1fr); } }
.tea { display: flex; flex-direction: column; scroll-margin-top: 110px; }
.tea-head { display: grid; justify-items: start; gap: 14px; margin-bottom: 16px; }
.tea-photo { width: 120px; height: 120px; }
.tea > p { font-size: 16px; line-height: 23px; }
.tea .chips--inline { margin: 8px 0 16px; }
.good-for { background: var(--pastel-lime); border: var(--border-ink); border-radius: var(--radius-control); padding: 12px 16px; margin-bottom: 24px; }
.good-for .callout-title { display: block; margin-bottom: 4px; }
.tea h3.callout-title { margin-bottom: 18px; }
.tea .steps li { font-size: 16px; line-height: 22px; }
.brew-tips { margin-top: 56px; }
.brew-tips h2 { margin-bottom: 20px; }
.brew-tip-grid { list-style: none; display: grid; gap: 12px; }
.brew-tip-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; }
.brew-tip-grid .icon { flex: none; margin-top: 1px; }
.brew-tip-grid p { font-size: 16px; line-height: 22px; }
@media (min-width: 700px) { .brew-tip-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .brew-tip-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.buy { display: grid; gap: 28px; align-items: center; }
.buy h2 { margin-bottom: 14px; }
.buy-links { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .buy { grid-template-columns: 1.4fr 1fr; gap: 56px; } .buy-links { justify-content: flex-end; } }

/* ---------- Tea house ---------- */
.gallery-section { padding: 32px 0; border-bottom: var(--border-ink); }
.gallery { list-style: none; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--page-gutter) 12px; scroll-padding: 0 var(--page-gutter); }
.gallery li { flex: 0 0 min(940px, 88vw); aspect-ratio: 940 / 309; scroll-snap-align: start; }
@media (min-width: 1100px) { .gallery { padding-left: max(var(--page-gutter), calc((100vw - var(--wide)) / 2)); scroll-padding-left: max(var(--page-gutter), calc((100vw - var(--wide)) / 2)); } }
.story { display: grid; gap: 32px; }
.story .section-head { margin-bottom: 0; }
.house-dates { list-style: none; display: grid; gap: 12px; }
.house-dates li { background: var(--surface-white); border: var(--border-ink); border-radius: var(--radius-control); padding: 20px; }
@media (min-width: 768px) { .house-dates { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.story-quote { margin: 0; }
.invite { font-family: var(--font-serif); font-size: 26px; line-height: 32px; max-width: 40rem; }
@media (min-width: 1000px) {
  .story { grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .story .section-head, .house-dates { grid-column: 1 / -1; }
  .story-quote { grid-column: 2; grid-row: 3 / span 2; align-self: start; }
}
.visit-grid { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .visit-grid { grid-template-columns: 1fr 1.6fr; }
  .info-card--map { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; }
}
.map-embed { margin: 20px 0 16px; aspect-ratio: 4 / 3; border: var(--border-ink); border-radius: var(--radius-media); overflow: hidden; background: var(--surface-cream); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) { .map-embed { flex: 1; min-height: 300px; aspect-ratio: auto; } }
.info-card .product-title { margin: 18px 0 10px; }
.hours { margin: 16px 0 0; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: var(--border-ink); }
.hours dt { font-weight: 500; }
.hours dt span { display: block; font-weight: 400; font-size: 14px; }
.hours dd { margin: 0; font-family: var(--font-mono); font-size: 14px; white-space: nowrap; align-self: center; }
address { font-style: normal; margin-bottom: 12px; }
.phones { list-style: none; }
.phones li + li { margin-top: 6px; }
.phones a { font-size: 18px; }
.menu-block { display: grid; gap: 32px; align-items: center; }
.menu-cover { display: block; width: min(340px, 85%); justify-self: center; border: var(--border-ink); border-radius: var(--radius-media); overflow: hidden; background: var(--surface-white); transform: rotate(-2deg); }
.menu-cover:hover { transform: rotate(0); }
.menu-intro .sticker { margin-bottom: 16px; }
.menu-intro .lead { margin: 16px 0 20px; }
.menu-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.menu-price .stat-num { font-size: 64px; line-height: 64px; }
.menu-price .stat-label { margin: 0; font: 500 13px/1 var(--font-mono); letter-spacing: 0.5px; text-transform: uppercase; }
.menu-actions { display: grid; justify-items: start; gap: 10px; margin-top: 24px; }
.menu-cols { display: grid; gap: 20px; margin-top: 56px; }
.menu-card .product-title { margin-bottom: 6px; }
.menu-list { margin: 16px 0 0; }
.menu-list div { padding: 12px 0; border-top: var(--border-ink); }
.menu-list dt { font-weight: 600; }
.menu-list dd { margin: 4px 0 0; font-size: 16px; line-height: 22px; }
.menu-card .tip { margin-top: 8px; }
@media (min-width: 768px) { .menu-block { grid-template-columns: 340px 1fr; gap: 64px; } .menu-cover { width: 100%; } }
@media (min-width: 1000px) { .menu-cols { grid-template-columns: repeat(3, 1fr); } }

.glance dl { margin: 12px 0 0; }
.glance dl div { display: grid; gap: 2px; padding: 12px 0; border-top: var(--border-ink); }
.glance dt { font: 500 12px/16px var(--font-mono); letter-spacing: 0.5px; text-transform: uppercase; }
.glance dd { margin: 0; }
@media (min-width: 900px) { .glance { justify-self: end; width: 100%; max-width: 400px; } }

/* ---------- Home ---------- */
.home-hero { background: var(--surface-cream); border-bottom: var(--border-ink); padding: 40px 0 64px; overflow: hidden; }
.home-hero-grid { display: grid; gap: 48px; align-items: center; }
.sticker--hero { font-size: 20px; line-height: 20px; padding: 8px 10px 6px; margin-bottom: 24px; }
.home-hero h1 { max-width: 11ch; }
.home-hero .lead { margin-top: 24px; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.home-hero-media { position: relative; padding-bottom: 72px; }
.hero-main { aspect-ratio: 3 / 2; }
.hero-inset { position: absolute; left: -8px; bottom: 0; width: 56%; aspect-ratio: 3 / 2; transform: rotate(-3deg); }
@media (min-width: 768px) { .home-hero { padding: 64px 0 96px; } .sticker--hero { font-size: 26px; line-height: 24px; } }
@media (min-width: 1000px) {
  .home-hero-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .hero-inset { left: -48px; width: 54%; }
}

.explore { list-style: none; display: grid; gap: 16px; }
@media (min-width: 900px) { .explore { grid-template-columns: 1fr 1fr; gap: 20px; } }
.explore-item { display: grid; grid-template-columns: 112px 1fr; gap: 16px; height: 100%; padding: 12px; text-decoration: none; background: var(--surface-white); border: var(--border-ink); border-radius: var(--radius-control); }
.explore-item:hover { background: var(--accent-sky); }
.explore-item .media { display: block; align-self: stretch; min-height: 112px; }
.explore-text { display: flex; flex-direction: column; gap: 6px; padding: 4px 4px 4px 0; }
.explore-text .eyebrow { margin: 0; font-size: 12px; line-height: 16px; }
.explore-blurb { font-size: 16px; line-height: 22px; }
.explore-text .arrow-link { margin-top: auto; padding-top: 6px; font-size: 16px; }
@media (min-width: 600px) { .explore-item { grid-template-columns: 180px 1fr; gap: 20px; padding: 16px; } .explore-item .media { min-height: 135px; } }
