/* Thicket v2 design system. Hand-edited; no build step for CSS. */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  /* Palette (CLAUDE.md) */
  --bramble: #2E3A24;
  --brass: #A27A2E;      /* rules, ornaments, large type only: 3.2:1 on cream */
  --brass-ink: #7D5D1F;  /* brass for small text: 5:1 on cream */
  --cream: #F2E7CF;
  --cream-deep: #EADBBB;
  --paper: #FBF6EA;
  --gold-on-dark: #D9C08A;
  --rule: rgba(46, 58, 36, .25);

  /* Type. Swap faces here (and the Google Fonts URL in src/layout.js).
     Rosarivo has one weight (regular + italic), so hierarchy comes from size, caps and italics, not bold. */
  --font-serif: 'Rosarivo', Georgia, 'Times New Roman', serif;
  --font-display: var(--font-serif);
  --font-utility: var(--font-serif);  /* small labels: the serif in letterspaced caps */

  --text: 1.125rem;          /* 18px body */
  --small: .9375rem;
  --utility-size: .875rem;   /* 14px caps labels; serif caps need a touch more size than a sans */
  --h-section: clamp(1.75rem, 4vw, 2.5rem);
  --h-page: clamp(2.25rem, 6vw, 3.75rem);

  --space: clamp(3.5rem, 8vw, 6rem);
  --gutter: 16px;
  --max: 1120px;
}
@media (min-width: 720px) { :root { --gutter: 40px; } }

/* ── Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--bramble);
  font-family: var(--font-serif);
  font-size: var(--text);
  line-height: 1.6;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--brass); }
:focus-visible { outline: 2px solid var(--bramble); outline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: 400; line-height: 1.15; margin: 0; }
strong { font-weight: 400; font-style: italic; }
table { border-collapse: collapse; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 44rem; }
.wrap.narrow { max-width: calc(44rem + 2 * var(--gutter)); }
.band { padding-block: var(--space); border-top: 1px solid var(--rule); position: relative; }

/* Section rhythm: cream by default, .tint (deeper cream) for a quiet change of pace, .dark (bramble)
   for the one moment that should land. A change of background replaces the divider line. */
.band.tint, .page-header.tint { background: var(--cream-deep); border-top: 0; --brass-ink: #74561C; /* darker gold keeps small text above 4.5:1 on the tint */ }
.band.dark { background: var(--bramble); color: var(--cream); border-top: 0; }
.band.tint + .band, .band.dark + .band, .page-header.tint + .band { border-top: 0; }
.dark .eyebrow, .dark .utility { color: var(--gold-on-dark); }
.dark a { color: var(--cream); }
.dark :focus-visible { outline-color: var(--cream); }

.utility {
  font-family: var(--font-utility);
  font-size: var(--utility-size);
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.4;
}
.eyebrow { color: var(--brass-ink); margin: 0 0 .75rem; }
.section-title { font-family: var(--font-display); font-size: var(--h-section); margin: 0 0 1.5rem; }
.page-title { font-family: var(--font-display); font-size: var(--h-page); margin: 0 0 1rem; }
.lead { font-size: clamp(1.2rem, 2.4vw, 1.4rem); line-height: 1.5; max-width: 40rem; }
.small { font-size: var(--small); }
.nowrap { white-space: nowrap; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: var(--gutter); top: -100px; background: var(--bramble); color: var(--cream); padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { top: .5rem; }

/* Visible development placeholder. Must not survive into purchase flows at launch. */
.placeholder {
  font-family: var(--font-utility); font-size: .8rem; letter-spacing: .04em;
  color: #8A3B12; background: rgba(162, 122, 46, .14); padding: .1em .4em;
}

/* ── Buttons & links ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75rem 1.5rem;
  background: var(--bramble); color: var(--cream);
  border: 1px solid var(--bramble); border-radius: 0;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: #435433; }
.btn.ghost { background: transparent; color: var(--bramble); }
.btn.ghost:hover { background: rgba(46, 58, 36, .07); }
.btn:disabled { opacity: .6; cursor: wait; }
.text-link { display: inline-block; color: var(--bramble); padding-block: .5rem; }
.text-link::after { content: ' →'; }

/* ── Framed box: echoes the label's double rule ─────────── */
.framed {
  position: relative;
  border: 1px solid var(--bramble);
  background: var(--paper);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.framed::before { content: ''; position: absolute; inset: 4px; border: 1px solid var(--bramble); pointer-events: none; }
.framed > * { position: relative; }
.framed > :last-child { margin-bottom: 0; }

/* ── Header ─────────────────────────────────────────────── */
.site-header { border-bottom: 1px solid var(--rule); background: var(--cream); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding-block: .95rem; }
.brand img { height: 48px; width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.site-nav a {
  display: inline-block; padding-block: .6rem;
  font-family: var(--font-utility); font-size: .875rem; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: .5em; }
.nav-toggle { display: none; }

@media (max-width: 899px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem;
    background: transparent; color: var(--bramble); border: 1px solid var(--bramble); cursor: pointer;
  }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--rule); margin-top: .5rem; }
  .js .site-nav li { border-bottom: 1px solid var(--rule); }
  .js .site-nav a { display: block; padding: .9rem 0; }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; text-align: center; }
.hero-inner { position: relative; z-index: 1; }
.hero-title { display: flex; flex-direction: column; align-items: center; gap: .9rem; margin: 0 0 1.5rem; }
.hero-wordmark { width: min(420px, 78vw); }
.hero-descriptor { color: var(--brass-ink); font-size: .9rem; letter-spacing: .3em; }
.hero-line { font-family: var(--font-display); font-size: clamp(1.75rem, 5.2vw, 3.25rem); line-height: 1.15; margin: 0 auto 1.25rem; max-width: 24ch; text-wrap: balance; }
.hero-sub { max-width: 36rem; margin: 0 auto 2rem; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1rem; }
/* ── Label frame: the double rule with scooped corners from the bag labels ──
   Outer rule = the border; inner rule = ::before, 5px inside it; corners = frame-corner.svg, flipped per corner. */
.label-frame { position: relative; border: 1px solid var(--bramble); }
.label-frame::before { content: ''; position: absolute; inset: 5px; border: 1px solid var(--bramble); pointer-events: none; }
.lf-corner {
  position: absolute; width: 24px; height: 24px; z-index: 1; pointer-events: none;
  background: url('/assets/img/frame-corner.svg') no-repeat 0 0 / 24px 24px;
}
.lf-tl { top: -1px; left: -1px; }
.lf-tr { top: -1px; right: -1px; transform: scaleX(-1); }
.lf-bl { bottom: -1px; left: -1px; transform: scaleY(-1); }
.lf-br { bottom: -1px; right: -1px; transform: scale(-1, -1); }

/* Hero: the label frame around the wordmark, tagline and button. Decorative art TBD (see design/hero-template.svg). */
.hero { padding-block: clamp(3rem, 7vw, 5rem); overflow-x: clip; }
.hero-frame {
  max-width: 780px; margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 3.75rem) clamp(1.25rem, 5vw, 3.5rem);
}

/* ── Blend cards ────────────────────────────────────────── */
.blend-grid { display: grid; gap: 2.5rem 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .blend-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .blend-grid { grid-template-columns: repeat(5, 1fr); gap: 2.5rem 1.25rem; } }
@media (min-width: 1000px) { .blend-grid-wide { grid-template-columns: repeat(3, 1fr); gap: 3rem 2rem; } }
.blend-grid > div { display: flex; }
.blend-card { display: flex; flex-direction: column; width: 100%; }
.blend-card-link { display: block; margin-bottom: 1rem; }
.blend-name { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 .25rem; }
.blend-name a { text-decoration: none; }
.blend-name a:hover { text-decoration: underline; text-decoration-color: var(--brass); }
.blend-line { font-style: italic; margin: 0 0 .75rem; }
.blend-sensory { font-size: var(--small); margin: 0 0 1rem; }
.blend-price { margin: auto 0 .25rem; color: var(--bramble); }
.price-row { display: block; white-space: nowrap; }

.product-media {
  position: relative; aspect-ratio: 4 / 5;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-media img { height: 88%; width: auto; max-width: 80%; object-fit: contain; }
@media (max-width: 559px) { .blend-card .product-media { aspect-ratio: 1 / 1; } }
@media (max-width: 859px) { .product-gallery .product-media { aspect-ratio: 16 / 10; } }
.photo-tag {
  position: absolute; left: .5rem; bottom: .5rem; right: .5rem;
  font-family: var(--font-utility); font-size: .7rem; letter-spacing: .06em; text-align: center;
  color: #8A3B12; background: rgba(242, 231, 207, .9); padding: .25rem;
}

.tags { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem .9rem; color: var(--brass-ink); font-size: .75rem; }
.tags li { white-space: nowrap; }
.tags li::before {
  content: ''; display: inline-block; width: 4px; height: 4px; margin-right: .45em;
  background: var(--brass); transform: rotate(45deg); vertical-align: .2em;
}

.sampler-note { margin: 3rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--rule); }

/* ── Philosophy ─────────────────────────────────────────── */
/* Text left, robin right; robin drops below the text on phones */
.philosophy-inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 820px) { .philosophy-inner { grid-template-columns: 1.3fr 1fr; gap: 4rem; } }
.philosophy-art { width: min(420px, 75%); margin-inline: auto; pointer-events: none; }
@media (min-width: 820px) { .philosophy-art { width: 100%; max-width: 440px; } }
.philosophy p { font-size: clamp(1.15rem, 2.2vw, 1.3rem); line-height: 1.65; }

/* ── Moment chooser ─────────────────────────────────────── */
.moment-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.moment-list li { border-bottom: 1px solid var(--rule); }
.moment {
  display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; align-items: center;
  padding: 1.25rem 0; text-decoration: none;
}
.moment-label { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.6rem); grid-column: 1; }
.moment-blend { grid-column: 1; display: flex; flex-wrap: wrap; gap: .15rem .75rem; align-items: baseline; }
.moment-name { font-family: var(--font-utility); font-weight: 400; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.moment-pos { font-style: italic; font-size: var(--small); color: var(--brass-ink); }
.moment-arrow { grid-column: 2; grid-row: 1 / span 2; font-size: 1.5rem; color: var(--brass); transition: transform .2s; }
.moment:hover .moment-arrow { transform: translateX(4px); }
@media (min-width: 720px) {
  .moment { grid-template-columns: 1.1fr 1fr auto; gap: .25rem 2rem; }
  .moment-blend { grid-column: 2; }
  .moment-arrow { grid-column: 3; grid-row: 1; }
}

/* ── Field guide preview ────────────────────────────────── */
.specimen-grid { display: grid; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 760px) { .specimen-grid { grid-template-columns: repeat(3, 1fr); } }
.specimen { display: grid; grid-template-columns: 96px 1fr; gap: 0 1.25rem; align-items: start; }
.specimen-art { grid-row: 1 / span 6; width: 96px; height: auto; }
.specimen-name { font-family: var(--font-display); font-size: 1.5rem; }
.specimen-name a { text-decoration-color: var(--brass); }
.specimen-latin { font-style: italic; color: var(--brass-ink); margin-bottom: .75rem; }
.specimen p { font-size: var(--small); }
.specimen .utility { display: block; color: var(--brass-ink); font-size: .7rem; }
@media (min-width: 760px) {
  .specimen { grid-template-columns: 1fr; }
  .specimen-art { grid-row: auto; width: auto; height: 220px; margin-bottom: 1.25rem; }
}

/* ── Steps ──────────────────────────────────────────────── */
.steps { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.steps li { border-top: 1px solid var(--bramble); padding-top: 1rem; }
.steps h3 { font-family: var(--font-display); font-size: 1.35rem; margin: .5rem 0; }
.steps p { margin: 0; }
.step-n { color: var(--brass-ink); }
@media (min-width: 760px) { .steps-stacked { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ── Makers ─────────────────────────────────────────────── */
.makers-inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 820px) { .makers-inner { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.photo-slot {
  aspect-ratio: 4 / 3; border: 1px dashed var(--brass); background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; margin: 2rem 0;
}
.makers .photo-slot { margin: 0; }
.makers-art { width: 100%; max-width: 520px; margin-inline: auto; }
/* Real photos fill their frame edge to edge */
.photo-slot.has-photo { padding: 0; border: 0; background: none; }
.photo-slot.has-photo img, .product-media.has-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* ── Forms ──────────────────────────────────────────────── */
.newsletter-inner { display: grid; gap: 2rem; }
@media (min-width: 820px) { .newsletter-inner { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 3rem; } }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  font: inherit; font-size: 1rem; color: var(--bramble);
  background: #fff; border: 1px solid var(--bramble); border-radius: 0;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field [aria-invalid="true"] { border-color: #8A3B12; box-shadow: inset 0 0 0 1px #8A3B12; }
.form-actions .btn { width: 100%; }
@media (min-width: 560px) { .form-actions .btn { width: auto; } }
.form-status { margin: .75rem 0 0; min-height: 1.5em; font-size: var(--small); }
.form-status.is-error { color: #8A3B12; }
.form-status.is-success { font-style: italic; }

/* ── Page header & breadcrumb ───────────────────────────── */
.page-header { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(2rem, 5vw, 3.5rem); }
.page-header.tint { margin-bottom: 0; }
.breadcrumb { padding-block: 1.25rem 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: .5rem; color: var(--brass); }
.breadcrumb a { color: var(--brass-ink); display: inline-block; padding-block: .35rem; }

/* ── Product page ───────────────────────────────────────── */
.product { display: grid; gap: 2rem; padding-block: 1.5rem var(--space); }
@media (min-width: 860px) { .product { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.product-line { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; margin: 0 0 .25rem; }
.product-pos { color: var(--brass-ink); margin-bottom: 1rem; }
.buy-slot { border-top: 1px solid var(--rule); padding-top: 1.5rem; margin-top: 1.5rem; display: grid; gap: 1rem; justify-items: start; }
.formats { list-style: none; margin: 0; padding: 0; width: 100%; }
/* name | size (may wrap) | price, which always stays on the right */
.formats li { display: grid; grid-template-columns: 4.5rem 1fr auto; align-items: baseline; gap: .25rem 1rem; padding: .75rem 0; border-bottom: 1px solid var(--rule); }
.format-price { font-size: 1rem; font-weight: 400; }
.buy-note { margin: 0; font-style: italic; }
.notify { width: 100%; }
.notify summary { list-style: none; }
.notify summary::-webkit-details-marker { display: none; }
.notify[open] summary { margin-bottom: 1rem; }
.notify .nl-form { max-width: 26rem; }

.details-grid { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .details-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; } }
.sensory-lead { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.35; margin-bottom: 2rem; }
.tasting-note { font-style: italic; margin: -1.25rem 0 2rem; }
.for-you { margin: 0 0 1rem; }
.for-you .utility, .iced .utility { display: block; color: var(--brass-ink); font-size: .75rem; margin-bottom: .2rem; }
.blend-card .for-you { font-size: var(--small); }
.iced { font-size: var(--small); margin: 0 0 1rem; }
.box-title { color: var(--brass-ink); margin: 0 0 .75rem; }
.ingredients { margin: 0; }
.brew-box ol { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.brew-box li { margin-bottom: .35rem; }
.caffeine { font-style: italic; margin: 0 0 .75rem; }
.caution { font-style: italic; font-size: var(--small); border-top: 1px solid var(--rule); padding-top: .9rem; margin: 0; }

.other-blends { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 2rem; border-top: 1px solid var(--rule); }
@media (min-width: 720px) { .other-blends { grid-template-columns: repeat(2, 1fr); } }
.other-blends a { display: flex; flex-direction: column; padding: 1rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.other-name { font-family: var(--font-display); font-size: 1.35rem; }
@media (min-width: 720px) { .sampler-list { grid-template-columns: 1fr; } }
.other-pos { font-style: italic; color: var(--brass-ink); font-size: var(--small); }

/* ── Tables ─────────────────────────────────────────────── */
.table-scroll { overflow-x: auto; margin-bottom: 1rem; }
.compare { width: 100%; min-width: 560px; font-size: var(--small); }
.compare th, .compare td { text-align: left; padding: .8rem 1rem .8rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font-family: var(--font-utility); font-size: .75rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-ink); border-bottom-color: var(--bramble); }
.compare tbody th { font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; }
.compare tbody th a { display: inline-block; padding-block: .2rem; }

/* ── Field Guide ────────────────────────────────────────── */
.field-guide-table { min-width: 720px; }
.field-guide-table .latin { font-style: italic; color: var(--brass-ink); }
.ingredient { display: grid; gap: 2rem; padding-block: 1.5rem var(--space); }
@media (min-width: 860px) { .ingredient { grid-template-columns: minmax(200px, 1fr) 2fr; gap: 4rem; align-items: start; } }
.ingredient.no-art { grid-template-columns: 1fr; max-width: calc(44rem + 2 * var(--gutter)); }
.ingredient-art { background: var(--cream-deep); display: flex; justify-content: center; padding: 2rem 1rem; }
.ingredient-art img { max-height: 480px; width: auto; }
@media (min-width: 860px) { .ingredient-art { position: sticky; top: 1.5rem; } }
.ingredient-body { max-width: 44rem; }
.ingredient-latin { font-style: italic; font-size: 1.25rem; color: var(--brass-ink); margin-top: -.5rem; }
.ingredient-facts { display: grid; gap: 0; margin: 1.5rem 0 2.5rem; border-top: 1px solid var(--rule); }
.ingredient-facts > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.ingredient-facts dt { color: var(--brass-ink); }
.ingredient-facts dd { margin: 0; }
.ingredient section { margin-top: 2.5rem; }
.sources ol { padding-left: 1.25rem; font-size: var(--small); }
.ingredients a { color: inherit; }

/* ── Ingredients index ──────────────────────────────────── */
.ingredient-index { list-style: none; margin: 0 0 2rem; padding: 0; columns: 1; column-gap: 3rem; }
@media (min-width: 720px) { .ingredient-index { columns: 2; } }
@media (min-width: 1040px) { .ingredient-index { columns: 3; } }
.ingredient-index li { break-inside: avoid; padding: .7rem 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; }
.ing-name { font-family: var(--font-display); font-size: 1.15rem; }
.ing-blends { font-size: var(--small); color: var(--brass-ink); }
.ing-blends a { color: inherit; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { border-bottom: 1px solid var(--rule); }
.faq:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-family: var(--font-display); font-size: 1.25rem; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 1rem; color: var(--brass); font-size: 1.4rem; }
.faq[open] summary::after { content: '−'; }
.faq p { margin: 0 0 1.25rem; }

/* ── Story, tea bar ─────────────────────────────────────── */
.story .section-title { margin-top: 2.5rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.tea-bar-inner { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .tea-bar-inner { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.tea-bar-art { width: min(360px, 80%); margin-top: 2rem; }
.calendar-slot { margin-bottom: 2rem; }
.calendar-note { font-style: italic; }
.calendar-embed iframe { display: block; width: 100%; height: 380px; border: 1px solid var(--rule); background: var(--paper); }
.market-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.market-list li { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.market-when { color: var(--brass-ink); margin: 0 0 .25rem; }
.market-name { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 .15rem; }
.market-where { font-size: var(--small); }

/* ── Legal pages ────────────────────────────────────────── */
.legal-inner { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .legal-inner { grid-template-columns: 15rem 1fr; gap: 4rem; align-items: start; } }
@media (min-width: 960px) { .legal-toc { position: sticky; top: 1.5rem; } }
.legal-toc ol { margin: 0; padding-left: 1.25rem; font-size: var(--small); }
.legal-toc li { padding-block: .2rem; }
.legal-body { max-width: 44rem; }
.legal-body section { padding-top: 1.5rem; }
.legal-body h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.75rem); margin: 0 0 .75rem; }
.legal-body h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 1.5rem 0 .5rem; }
.legal-body ul { padding-left: 1.25rem; margin: 0 0 1em; }
.legal-body li { margin-bottom: .5rem; }
.legal-body li ul { margin-top: .5rem; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--bramble); color: var(--cream); padding-block: 3.5rem 1.5rem; }
.site-footer a { color: var(--cream); }
.footer-inner { display: grid; gap: 2rem; }
@media (min-width: 820px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.footer-line { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--gold-on-dark); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.footer-links a { display: inline-block; padding-block: .3rem; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(242, 231, 207, .2); font-size: .85rem; }
.footer-legal p { margin: 0; }
