/* Moody Teas site identity: three motifs, each used where it matches what that section sells.
   A. Tea counter  (.mt-board)  where drinks and markets appear: a menu board, because that is what a tea
                                bar customer reads at the stand.
   B. Tin label    (.mt-tin)    wherever a loose-leaf blend appears: the facts a pouch label prints.
   C. Steeping ritual (.mt-mood) story openings: one warm photo or mood colour, a big title, few boxes.
   Palette (Brand Guide v6 + the site tokens): paper and cream grounds, ink #2d2d2d for type (never pure
   black, and green is a fill, never type), forest #1f2b22 only as the menu-board fill, Steel Teal #65777e
   for links and buttons, each mood's own colour as its one accent. Type: Archivo Black titles, Fraunces
   names, Questrial everything else. Dial: ENERGY 2 / RHYTHM 3 / MOTION 1 (hover states only). */

:root {
  --mt-paper: #fbf8f2;
  --mt-cream: #f0ede7;
  --mt-ink: #2d2d2d;
  --mt-charcoal: #545454;
  --mt-label: #6f6450;     /* small label text: Warm Tan darkened to 5.6:1 on paper (plain #A39882 fails AA) */
  --mt-rule: #545454;
  --mt-forest: #1f2b22;
  --mt-board-ink: #f0ede7;
  --mt-board-muted: #cfc8b8;
  --mt-teal: #65777e;
  --mt-teal-dark: #4c5a60; /* teal text on paper at 7:1 */
  --mt-green: #579a62;
}

/* ---------------------------------------------------------------- B. tin label (product cards) */
/* Square-cornered, ruled like a printed label, so a grid of blends reads as a shelf of pouches rather than
   app cards. ops.css still sizes the grid; this restyles the card. */
/* Fixed columns per screen size, like most shops: 4 on desktop, 3 on tablets, 2 on phones. Cards are always
   the same size; more blends start a new row from the left, and one or two blends keep a card's width instead
   of stretching across the row (Cozy's single card was 1,085px tall on a 16-inch MacBook). */
.ops-product-grid.mt-tin-grid { gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1099px) { .ops-product-grid.mt-tin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px)  {
  .ops-product-grid.mt-tin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mt-tin-label { padding: 10px 10px 12px; }
  .mt-tin .mt-tin-name { font-size: 16px; }
  .mt-tin-strip { font-size: 11.5px; gap: 2px 10px; }
}
/* One featured blend (Tea for Good): a single card, never wider than a shelf card (the page's own CSS stretched
   it to 804px, a 937px-tall card on a 16-inch MacBook). */
@media (min-width: 1100px) { .ops-product-grid.mt-tin-grid.mt-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* The fill tile: the menu-board panel, taking exactly the empty part of the last row at each screen size. */
.mt-tin-fill { display: none; flex-direction: column; justify-content: center; gap: 10px; min-height: 160px;
  background: var(--mt-forest); color: var(--mt-board-ink); border-radius: 4px; padding: 24px 26px; font-family: 'Questrial', sans-serif; }
.mt-tin-fill-main { font: 400 clamp(20px, 2vw, 26px)/1.15 'Archivo Black', sans-serif; color: var(--mt-board-ink) !important;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.mt-tin-fill-main:hover { text-decoration-color: #c9b48f; }
.mt-tin-fill-sub { margin: 0; font-size: 15px; line-height: 1.5; color: var(--mt-board-muted); }
.mt-tin-fill-sub a { color: var(--mt-board-ink) !important; text-decoration: underline; text-underline-offset: 3px; }
.mt-tin-fill a:focus-visible { outline: 2px solid var(--mt-board-ink); outline-offset: 3px; }
@media (min-width: 1100px) {
  .mt-tin-fill.rd-1, .mt-tin-fill.rd-2, .mt-tin-fill.rd-3 { display: flex; }
  .mt-tin-fill.rd-2 { grid-column: span 2; } .mt-tin-fill.rd-3 { grid-column: span 3; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .mt-tin-fill.r3-1, .mt-tin-fill.r3-2 { display: flex; }
  .mt-tin-fill.r3-2 { grid-column: span 2; }
}
@media (max-width: 767px) {
  .mt-tin-fill.r2-1 { display: flex; padding: 16px; min-height: 0; }
  .mt-tin-fill-main { font-size: 18px; }
  .mt-tin-fill-sub { font-size: 13px; }
}
.ops-product-grid.mt-tin-grid.mt-tin-single { grid-template-columns: minmax(0, 1fr); max-width: 300px !important; width: 100%; }
.ops-product-card.mt-tin {
  background: var(--mt-paper); border: 1.5px solid var(--mt-rule); border-radius: 4px;
  box-shadow: none; overflow: hidden; color: var(--mt-ink); text-decoration: none;
  transition: border-color .15s ease;
}
/* Hover / keyboard focus says "this opens the blend": the border takes the action colour (Steel Teal) and the
   Shop link becomes a solid button. No lift or offset shadow (it read as a stray line). */
.ops-product-card.mt-tin:hover, .ops-product-card.mt-tin:focus-visible { border-color: var(--mt-teal); }
.ops-product-card.mt-tin:focus-visible { outline: 3px solid var(--mt-teal); outline-offset: 3px; }
.mt-tin .ops-product-img { border-bottom: 1.5px solid var(--mt-rule); background: var(--mt-cream); }
.mt-tin-label { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.mt-tin-kind {
  margin: 0; font: 11px/1.3 'Questrial', sans-serif; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mt-label);   /* all-caps only on the small label line, as on the pouches */
}
.mt-tin .mt-tin-name { margin: 0; font: 600 18px/1.25 'Fraunces', serif; color: var(--mt-ink); overflow-wrap: anywhere; }
.mt-tin-strip {
  margin: 2px 0 0; padding: 6px 0; border-top: 1px solid var(--mt-rule); border-bottom: 1px solid var(--mt-rule);
  display: flex; flex-wrap: wrap; gap: 3px 14px; font: 12.5px/1.3 'Questrial', sans-serif; color: var(--mt-charcoal);
}
.mt-tin-foot { margin: 4px 0 0; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.mt-tin .mt-tin-price { font: 15px 'Questrial', sans-serif; color: var(--mt-ink); margin: 0; }
.mt-tin .mt-tin-btn {
  background: none; border: 0; padding: 0; margin: 0; color: var(--mt-teal-dark) !important;   /* ops.css forces #fff */
  font: 14px 'Questrial', sans-serif; font-weight: 400;
  text-decoration: underline; text-underline-offset: 3px; text-transform: none; letter-spacing: 0;
}
.mt-tin .mt-tin-btn { border-radius: 3px; transition: background-color .15s ease, color .15s ease, padding .15s ease; }
.ops-product-card.mt-tin:hover .mt-tin-btn, .ops-product-card.mt-tin:focus-visible .mt-tin-btn {
  background: var(--mt-teal); color: #fff !important; text-decoration: none; padding: 5px 12px; }

/* ---------------------------------------------------------------- A. tea counter (menu board) */
/* A dark board with cream lettering and dotted leaders between the name and the date, like the board at
   the stand. Used for "Coming up" markets and a market's own dates. */
.mt-board {
  background: var(--mt-forest); color: var(--mt-board-ink); border-radius: 6px; padding: 26px 28px 22px;
  font-family: 'Questrial', sans-serif;
}
.mt-board-title { font: 400 clamp(22px, 3vw, 28px)/1.15 'Archivo Black', sans-serif; color: var(--mt-board-ink); margin: 0 0 4px; }
.mt-board-sub { margin: 0 0 18px; color: var(--mt-board-muted); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.mt-board-list { list-style: none; margin: 0; padding: 0; }
.mt-board-row { padding: 12px 0; border-top: 1px dashed rgba(240, 237, 231, .25); }
.mt-board-row:first-child { border-top: 0; }
.mt-board-line { display: flex; align-items: baseline; gap: 10px; }
.mt-board-name { font: 600 19px/1.25 'Fraunces', serif; color: var(--mt-board-ink); text-decoration: none; }
a.mt-board-name:hover { text-decoration: underline; text-underline-offset: 3px; }
a.mt-board-name:focus-visible, .mt-board a:focus-visible { outline: 2px solid var(--mt-board-ink); outline-offset: 3px; }
.mt-board-leader { flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted rgba(240, 237, 231, .45); transform: translateY(-5px); }
.mt-board-when { font-size: 15px; color: var(--mt-board-ink); white-space: nowrap; }
.mt-board-meta { margin: 4px 0 0; font-size: 14px; color: var(--mt-board-muted); line-height: 1.5; }
.mt-board-meta a { color: var(--mt-board-ink); text-decoration: underline; text-underline-offset: 3px; }
.mt-board-tag {
  display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 2px 7px;
  border: 1px solid rgba(240, 237, 231, .5); border-radius: 3px; margin-right: 6px; color: var(--mt-board-ink);
}
.mt-board-tag.is-popup { border-color: #c9b48f; color: #e7d8b9; }
@media (max-width: 575px) {
  .mt-board { padding: 20px 18px 16px; }
  .mt-board-line { flex-wrap: wrap; }
  .mt-board-leader { display: none; }
  .mt-board-when { white-space: normal; width: 100%; }
}

/* ---------------------------------------------------------------- C. steeping ritual (mood pages) */
/* One mood, one colour: the mood's own brand colour is the single accent (a solid block behind the photo,
   the rule under the feels-like words). Everything else is paper and ink, so the photo carries the warmth. */
.mt-mood { --mood: #579a62; background: var(--mt-paper); color: var(--mt-ink); font-family: 'Questrial', sans-serif; }
.mt-mood-inner { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.mt-mood-hero { padding: 56px 0 48px; }
.mt-mood-hero .mt-mood-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
/* No page photo: the mood colour panel stands in for it, set like a label (small caps line, words large). */
.mt-mood-swatch { background: var(--mood); border-radius: 4px; padding: 36px 34px 30px; align-self: stretch;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; }
.mt-mood-swatch-k { margin: 0 0 14px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: inherit; }
.mt-mood-swatch .mt-mood-feels { flex-direction: column; gap: 2px; margin: 0; padding: 0; border: 0; }
.mt-mood-swatch .mt-mood-feels li { font: 600 italic clamp(30px, 4vw, 44px)/1.15 'Fraunces', serif; color: inherit; }
.mt-mood-eyebrow { margin: 0 0 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mt-label); }
.mt-mood-hero .mt-mood-inner > div:first-child { container-type: inline-size; min-width: 0; }
/* Sized to its own column (cqi), not the window, so the longest mood names (Invigorate, Refreshed) never run
   into the colour panel: Archivo Black is about 5.6 em wide for a ten-letter word. */
.mt-mood-title { margin: 0 0 18px; font: 400 clamp(36px, 7vw, 84px)/0.95 'Archivo Black', sans-serif; color: var(--mt-ink);
  overflow-wrap: anywhere; }
@supports (font-size: 1cqi) { .mt-mood-title { font-size: clamp(36px, 16.5cqi, 84px); } }
.mt-mood-feels { list-style: none; margin: 0 0 22px; padding: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px 22px;
  border-bottom: 4px solid var(--mood); }
.mt-mood-feels li { font: 600 italic 22px/1.2 'Fraunces', serif; color: var(--mt-ink); }
.mt-mood-lede { margin: 0; font-size: 18px; line-height: 1.7; color: var(--mt-ink); max-width: 560px; }
.mt-mood-photo { margin: 0; position: relative; }
.mt-mood-photo::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; background: var(--mood); border-radius: 4px; }
.mt-mood-photo img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.mt-mood-blends { background: var(--mt-cream); padding: 56px 0 64px; }
.mt-mood-h2 { margin: 0 0 6px; font: 400 clamp(26px, 3.4vw, 36px)/1.1 'Archivo Black', sans-serif; color: var(--mt-ink); }
.mt-mood-whether { margin: 0 0 26px; font: italic 19px/1.5 'Fraunces', serif; color: var(--mt-charcoal); max-width: 720px; }
.mt-mood-steep { margin: 22px 0 0; font-size: 15px; color: var(--mt-charcoal); }
.mt-mood-steep a { color: var(--mt-teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.mt-mood-blog { padding: 56px 0 72px; }
@media (min-width: 992px) { .mt-mood-blog .mt-blog-feed { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .mt-mood-hero { padding: 36px 0 40px; }
  .mt-mood-hero .mt-mood-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .mt-mood-photo { margin-right: 18px; }
  .mt-mood-feels li { font-size: 19px; }
  .mt-mood-swatch { min-height: 0; padding: 26px 24px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ops-product-card.mt-tin, .mt-tin .mt-tin-btn { transition: none; }
}

/* ---------------------------------------------------------------- buttons (Steel Teal = every action, v6) */
.mt-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px;
  background: var(--mt-teal); color: #fff !important; border: 1.5px solid var(--mt-teal); border-radius: 4px;
  font: 15px 'Questrial', sans-serif; text-decoration: none !important;
}
.mt-cta:hover { background: #7D988E; border-color: #7D988E; }      /* hover -> Sage, per the guide */
.mt-cta:focus-visible { outline: 3px solid var(--mt-ink); outline-offset: 3px; }
.mt-cta-ghost { background: transparent; color: var(--mt-teal-dark) !important; }
.mt-cta-ghost:hover { background: var(--mt-paper); color: var(--mt-ink) !important; }

/* ---------------------------------------------------------------- tea guide hub */
/* The opening pairs the plain title with the steeping chart (the thing people come to a tea guide for), and
   the six types are tin labels grouped by plant, so the grouping itself teaches the difference. */
.mt-guide .mt-guide-title { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; }
.mt-guide-board { align-self: start; }
.mt-guide-board .mt-board-name { font-size: 17px; }
.mt-guide-iced { margin-top: 12px; }
.mt-guide-group { margin: 30px 0 14px; font: 600 20px/1.3 'Fraunces', serif; color: var(--mt-ink); }
.mt-guide-group em { font-style: italic; font-weight: 400; }
.mt-guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.mt-type .mt-tin-label { padding: 16px 18px 16px; gap: 8px; }
.mt-type .mt-tin-name { font-size: 22px; }
.mt-type-desc { margin: 0; font: 15px/1.55 'Questrial', sans-serif; color: var(--mt-ink); }
.mt-guide-choose { padding: 56px 0 40px; }
.mt-guide-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.mt-guide-dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 18px;
  font: 16px/1.5 'Questrial', sans-serif; color: var(--mt-ink); }
.mt-guide-dl dt { font-weight: 600; }
.mt-guide-dl dd { margin: 0; }
.mt-guide-dl a { color: var(--mt-teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.mt-guide-end { background: var(--mt-cream); padding: 48px 0 64px; }
.mt-guide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
@media (max-width: 767px) {
  .mt-guide-cols { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .mt-guide-dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .mt-guide-dl dd { margin-bottom: 10px; }
}

/* ---------------------------------------------------------------- gift cards (/gift-cards) */
/* Buy side: each amount is a small tin label (same family as the product cards). Check side: the menu board,
   with a paper-coloured field so the code is easy to read and type. */
.mt-gc-hero { padding-bottom: 36px; }
.mt-gc-cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.mt-gc-amounts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mt-gc-amount { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; background: var(--mt-paper);
  border: 1.5px solid var(--mt-rule); border-radius: 4px; color: var(--mt-ink) !important; text-decoration: none !important;
  transition: border-color .15s ease; }
.mt-gc-amount:hover, .mt-gc-amount:focus-visible { border-color: var(--mt-teal); }
.mt-gc-amount:focus-visible { outline: 3px solid var(--mt-teal); outline-offset: 3px; }
.mt-gc-value { font: 400 30px/1 'Archivo Black', sans-serif; }
.mt-gc-check { padding: 26px 26px 20px; }
.mt-gc-label { display: block; margin: 0 0 6px; font-size: 14px; color: var(--mt-board-muted); }
.mt-gc-row { display: flex; gap: 10px; flex-wrap: wrap; }
.mt-gc-row input { flex: 1 1 200px; min-width: 0; height: 46px; border: 0; border-radius: 4px; background: var(--mt-paper);
  color: var(--mt-ink); padding: 0 14px; font: 17px/1 'Questrial', sans-serif; letter-spacing: .04em; }
.mt-gc-row input:focus-visible { outline: 3px solid #c9b48f; outline-offset: 2px; }
.mt-gc-submit { height: 46px; padding: 0 20px; border: 1.5px solid var(--mt-board-ink); border-radius: 4px; cursor: pointer;
  background: transparent; color: var(--mt-board-ink); font: 15px 'Questrial', sans-serif; }
.mt-gc-submit:hover { background: var(--mt-board-ink); color: var(--mt-forest); }
.mt-gc-submit:focus-visible { outline: 3px solid #c9b48f; outline-offset: 2px; }
.mt-gc-result { margin-top: 16px; min-height: 8px; }
.mt-gc-balance { margin: 0 0 4px; font: 600 26px/1.2 'Fraunces', serif; color: var(--mt-board-ink); }
.mt-gc-msg { margin: 0; font-size: 15px; line-height: 1.5; color: var(--mt-board-ink); }
.mt-gc-help { margin-top: 16px; }
@media (max-width: 767px) {
  .mt-gc-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mt-gc-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- app runways (/tea-quiz, /blenders-studio) */
/* Same opening as a mood page: words left, menu board right listing what the app will ask you. */
.mt-runway .mt-runway-title { font-size: clamp(34px, 5vw, 60px); line-height: 1.02; }
@supports (font-size: 1cqi) { .mt-runway .mt-runway-title { font-size: clamp(34px, 11cqi, 60px); } }
.mt-runway-board { align-self: start; }
.mt-runway-board .mt-board-name { font-size: 17px; }
.mt-runway-steps { counter-reset: step; }
.mt-runway-steps .mt-board-name::before { counter-increment: step; content: counter(step) ". "; }
.mt-runway-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.mt-runway-moods { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mt-runway-moods a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--mt-rule);
  border-radius: 4px; background: var(--mt-paper); color: var(--mt-ink) !important; text-decoration: none !important;
  font: 600 17px 'Fraunces', serif; }
.mt-runway-moods a:hover { border-color: var(--mt-teal); }
.mt-runway-moods a:focus-visible { outline: 3px solid var(--mt-teal); outline-offset: 3px; }
.mt-runway-sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 720px; }
.mt-runway-size:hover { border-color: var(--mt-rule); }
.mt-runway-price { font: 600 20px/1.2 'Fraunces', serif; color: var(--mt-charcoal); }
@media (max-width: 520px) { .mt-runway-sizes { grid-template-columns: minmax(0, 1fr); } }
