/* The member area (Tom, 20 Oct 2026; refined 21 Oct 2026).
 *
 * Its own stylesheet: the sales page's CSS is not loaded here. The one thing
 * borrowed is the landing page's FESTIVE LAYER (series-festive.css, loaded
 * before this file), whose palette and drawings the `.sp-festive` rules at
 * the end of this file place in the member area's own empty corners.
 *
 * FOR AN OLDER AUDIENCE: every control is a labelled button at least 44px
 * tall (most are 52+), a visible focus ring, and every state said in words
 * as well as colour — Tom is colourblind, and so are some of his buyers.
 */

:root {
  --mb-cream: #fffeec;
  --mb-paper: #fffdf7;
  --mb-sand: #fbf3df;
  --mb-maroon: #51000d;
  --mb-maroon-2: #7d1a22;
  --mb-orange: #fd7d23;
  --mb-orange-ink: #8a3d05;
  --mb-gold: #c98a2e;
  --mb-ink: #2a1712;
  --mb-muted: #5f4d44;
  --mb-line: #e6d8bf;
  --mb-site-ink: #1a2428;
  --mb-tray: #f2f1ef;
  --mb-focus: #1f5fbf;
  --mb-display: Montserrat, "Helvetica Neue", Arial, sans-serif;
  --mb-body: Poppins, "Helvetica Neue", Arial, sans-serif;
  --mb-r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.mb-body {
  margin: 0; background: var(--mb-cream); color: var(--mb-ink);
  font-family: var(--mb-body); font-size: 17px; line-height: 1.55;
}
.mb-body a { color: var(--mb-maroon); }
.mb-body h1, .mb-body h2, .mb-body h3 {
  font-family: var(--mb-display); color: var(--mb-maroon);
  line-height: 1.2; margin: 0 0 10px; text-wrap: balance;
}
.mb-body h1 { font-size: 30px; font-weight: 800; }
.mb-body h2 { font-size: 21px; font-weight: 800; }
.mb-body h3 { font-size: 17px; font-weight: 700; }
.mb-body p { margin: 0 0 10px; }
.mb-body :focus-visible { outline: 3px solid var(--mb-focus); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ---- the site's header and menu, drawn to match tomthechef.com ---------- */
.mb-site { background: #fff; border-bottom: 1px solid #eee; position: relative; z-index: 6; }
/* THE WEBSITE'S CENTRE COLUMN, measured off tomthechef.com (21 Oct 2026):
   1670px wide at most, 30px in from each edge — so the header, the member
   area and the footer line up with the site's own pages. */
.mb-site-in, .mb-frame, .mb-foot-in { box-sizing: border-box; max-width: 1730px; margin: 0 auto;
  padding-left: 30px; padding-right: 30px; }
.mb-site-top .mb-site-in { display: flex; align-items: center; gap: 24px; min-height: 104px; }
.mb-logo img { display: block; height: 64px; width: auto; max-width: 52vw; }
.mb-search {
  flex: 0 1 420px; margin: 0 auto; display: flex; align-items: center; gap: 10px;
  padding: 0 16px; min-height: 44px; border: 1px solid #ddd; border-radius: 12px;
  background: #f7f7f6; color: var(--mb-site-ink);
}
.mb-search input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent;
  font: 500 15px var(--mb-display); color: var(--mb-site-ink); min-height: 42px; }
.mb-search input:focus { outline: none; }
.mb-search:focus-within { outline: 3px solid var(--mb-focus); outline-offset: 2px; }
.mb-site-end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mb-acct {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px 0 8px;
  border: 2px solid var(--mb-maroon); border-radius: 999px; background: #fff;
  font: 700 16px var(--mb-display); color: var(--mb-maroon); text-decoration: none; white-space: nowrap;
}
.mb-acct:hover { background: var(--mb-sand); }
.mb-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
/* THE DEFAULT IS ALWAYS THERE: drawn under a photo, which covers it when it
   loads and removes itself when it does not (see `_avatar`). */
.mb-avatar--none, .mb-avatar--pic { position: relative; overflow: hidden;
  background: var(--mb-sand); color: var(--mb-maroon-2); }
.mb-avatar > svg { width: 72%; height: 72%; margin-top: 18%; }
.mb-avatar--pic > img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%; }
.mb-basket {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--mb-maroon);
  color: var(--mb-maroon); background: #fff;
}
.mb-basket svg { width: 22px; height: 22px; }
.mb-basket-n {
  position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--mb-maroon); color: #fff; font: 800 12px var(--mb-display);
  display: flex; align-items: center; justify-content: center;
}
.mb-burger { display: none; }
.mb-nav .mb-site-in { padding-top: 14px; padding-bottom: 14px; }
.mb-tray {
  list-style: none; margin: 0; padding: 14px 18px; display: inline-flex; flex-wrap: wrap;
  align-items: center; gap: 14px; background: var(--mb-tray); border-radius: 16px;
}
.mb-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 130px; min-height: 40px; padding: 0 18px; border-radius: 11px; border: 0;
  background: #fff; color: var(--mb-site-ink); font: 500 14px var(--mb-display);
  text-decoration: none; cursor: pointer;
}
.mb-body .mb-pill { color: var(--mb-site-ink); }
.mb-pill:hover { box-shadow: 0 2px 8px rgba(26,36,40,.12); }
.mb-pill--home { min-width: 44px; background: transparent; padding: 0 6px; color: #777; }
.mb-body .mb-pill--dark, .mb-pill--dark { background: var(--mb-site-ink); color: #fff; box-shadow: 0 3px 10px rgba(26,36,40,.25); }
.mb-more { position: relative; }
.mb-more-list {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; min-width: 240px;
  list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 14px;
  box-shadow: 0 12px 30px rgba(26,36,40,.18);
}
.mb-more-list a { display: flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: 10px; text-decoration: none; color: var(--mb-site-ink); font: 500 15px var(--mb-display); }
.mb-more-list a:hover { background: var(--mb-tray); }

/* ---- the frame ---------------------------------------------------------- */
.mb-shell {
  padding: 22px 0 56px;
  display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 32px; align-items: start;
}
/* THE SIDE BANNER'S SLOT: the site's sidebar width (303px) and gap (30px),
   on a wide screen only — below 1440px the class pages need the room more
   than an empty slot does. */
.mb-rail { display: none; }
@media (min-width: 1440px) {
  .mb-frame { display: grid; grid-template-columns: minmax(0, 1fr) 303px; gap: 30px; align-items: start; }
  .mb-rail { display: block; position: sticky; top: 16px; margin-top: 22px; min-height: 1px; }
}
.mb-main { min-width: 0; position: relative; }
.mb-alone { max-width: 620px; margin: 40px auto 64px; padding: 0 16px; }

/* ---- general buttons ------------------------------------------------------ */
.mb-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 18px;
  border-radius: var(--mb-r); border: 2px solid var(--mb-line); background: var(--mb-paper);
  color: var(--mb-maroon); font: 700 17px/1.25 var(--mb-display); text-decoration: none; cursor: pointer;
}
.mb-btn:hover { border-color: var(--mb-maroon-2); background: #fff; }
.mb-btn--small { min-height: 46px; font-size: 16px; }
.mb-btn--go { justify-content: center; width: 100%; background: var(--mb-orange); border-color: var(--mb-orange); color: #fff; }
.mb-body .mb-btn--go { color: #fff; }
.mb-btn--file { width: 100%; }
.mb-x-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 2px solid var(--mb-line); background: #fff; color: var(--mb-maroon);
  font: 700 15px var(--mb-display); cursor: pointer;
}

/* ---- the side menu: the site's pills, wider, with a line of detail ------- */
.mb-side { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 12px; }
.mb-menu, .mb-subs { list-style: none; margin: 0; padding: 0; }
.mb-menu { display: flex; flex-direction: column; gap: 10px; padding: 12px; background: var(--mb-tray); border-radius: 18px; }
.mb-menu-btn {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 14px;
  border: 0; border-radius: 12px; background: #fff; color: var(--mb-site-ink);
  font: 600 16px/1.25 var(--mb-display); text-align: left; text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 2px rgba(26,36,40,.06);
}
.mb-body .mb-menu-btn { color: var(--mb-site-ink); }
.mb-menu-btn:hover { box-shadow: 0 3px 10px rgba(26,36,40,.14); }
.mb-menu-btn.is-on, .mb-body .mb-menu-btn.is-on { background: var(--mb-site-ink); color: #fff; box-shadow: 0 3px 10px rgba(26,36,40,.25); }
.mb-menu-btn.is-on .mb-info { color: #e6e6e6; }
.mb-ico { font-size: 20px; width: 26px; text-align: center; flex: 0 0 auto; }
.mb-label-wrap { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.mb-label { font-weight: 600; }
.mb-info { font: 500 13px var(--mb-body); color: var(--mb-muted); }
.mb-caret::before { content: "▾"; font-size: 14px; color: var(--mb-muted); }
.mb-group.is-open > .mb-menu-btn .mb-caret::before { content: "▴"; }
.mb-group.is-open > .mb-menu-btn { box-shadow: inset 0 0 0 2px var(--mb-site-ink); }
.mb-subs { margin: 8px 0 2px 12px; padding-left: 10px; border-left: 3px solid #d9d6d0;
  display: flex; flex-direction: column; gap: 8px; }
.mb-group--2 > .mb-menu-btn { min-height: 52px; background: var(--mb-sand); font-size: 15px; }
.mb-sub {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 48px; padding: 6px 12px; border-radius: 10px; background: #fff;
  border: 1px solid #e3e0da; text-decoration: none; color: var(--mb-site-ink);
  font: 600 15px/1.25 var(--mb-display);
}
.mb-body .mb-sub { color: var(--mb-site-ink); }
.mb-sub:hover { border-color: var(--mb-site-ink); }
.mb-sub.is-on { border-color: var(--mb-maroon); box-shadow: inset 5px 0 0 var(--mb-maroon); }
.mb-sub-name { min-width: 0; }
.mb-sub-when { flex: 0 0 auto; font: 600 13px var(--mb-body); color: var(--mb-muted); font-variant-numeric: tabular-nums; }
.mb-sub--series, .mb-sub--season { background: var(--mb-paper); }
.mb-sub.is-soon { border-color: var(--mb-orange); }
.mb-sub.is-soon .mb-sub-when { color: #fff; background: var(--mb-orange-ink); padding: 2px 9px; border-radius: 999px; }
.mb-divider { margin: 4px 0 0; padding-top: 6px; font: 700 12px var(--mb-display); letter-spacing: .08em;
  text-transform: uppercase; color: var(--mb-muted); border-top: 1px dashed #cfcac2; }
.mb-empty { font-size: 15px; color: var(--mb-muted); }
.mb-who { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center;
  padding: 12px 6px 0; font-size: 15px; }
.mb-who .mb-avatar { width: 40px; height: 40px; font-size: 20px; }
.mb-who p { margin: 0; color: var(--mb-muted); overflow-wrap: anywhere; }
.mb-who b { color: var(--mb-ink); }
.mb-out { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; border-radius: 999px; border: 2px solid var(--mb-line); background: #fff;
  font: 700 15px var(--mb-display); text-decoration: none; }
.mb-menu-toggle { display: none; }

/* ---- Join the class: on a class's day only ------------------------------ */
.mb-join {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; min-height: 80px;
  justify-content: center; border-radius: 18px; background: var(--mb-orange); color: #fff;
  text-decoration: none; font-family: var(--mb-display); box-shadow: 0 6px 18px rgba(253,125,35,.35);
  animation: mb-pulse 1.8s ease-in-out infinite;
}
.mb-join-1 { font-size: 23px; font-weight: 800; line-height: 1.1; }
.mb-join-2 { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mb-join.is-live { background: var(--mb-maroon); box-shadow: 0 6px 18px rgba(81,0,13,.35); }
.mb-body .mb-join, .mb-body .mb-join:hover { color: #fff; }
@keyframes mb-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 18px rgba(253,125,35,.30); }
  50% { transform: scale(1.03); box-shadow: 0 8px 28px rgba(253,125,35,.55); }
}
.mb-sub.is-soon { animation: mb-glow 1.8s ease-in-out infinite; }
@keyframes mb-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(253,125,35,0); }
  50% { box-shadow: 0 0 0 5px rgba(253,125,35,.28); }
}

/* ---- cards ---------------------------------------------------------------- */
.mb-card { background: var(--mb-paper); border: 1px solid var(--mb-line); border-radius: 18px;
  padding: 20px 22px; margin: 0 0 22px; }
.mb-status { padding: 12px 16px; border-radius: 12px; background: #fff; border: 2px solid var(--mb-maroon-2); }

/* ---- the welcome: like the landing page's hero --------------------------- */
.mb-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); min-height: 340px;
  margin: 0 0 18px; border-radius: 22px; overflow: hidden; background: var(--mb-paper);
  /* THE LEFT CORNERS BLINKED (Tom's video, 21 Oct 2026): caught frame to
     frame, the top-left corner was square in one and round in the next —
     the text panel painting over the rounded clip whenever the page
     repainted. A clip-path is applied to the box as a whole, every frame,
     and `isolation` keeps the panel inside it. */
  clip-path: inset(0 round 22px); isolation: isolate; }
.mb-hero.no-pic { grid-template-columns: minmax(0, 1fr); }
/* BURGUNDY, WITH CREAM WORDS (Tom, 21 Oct 2026): solid behind the text,
   then a short, gentle fade that melts a hair over the photo's left edge. */
.mb-hero { background: var(--mb-maroon); }
.mb-hero-text { padding: 30px 28px; display: flex; flex-direction: column; justify-content: center;
  background: var(--mb-maroon); color: #fffeec; position: relative; z-index: 1; }
.mb-body .mb-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 12px; letter-spacing: -.01em;
  color: #fffeec; }
.mb-hero p { font-size: 17px; line-height: 1.6; color: #fffeec; }
.mb-sign { font-family: var(--mb-display); font-weight: 800; color: #fffeec; }
.mb-hero .mb-sign { color: #ffd9a8; }
.mb-hero-pic { position: relative; min-height: 100%; }
.mb-hero-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-hero-pic::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 72px; z-index: 1;
  pointer-events: none; background: linear-gradient(to right, var(--mb-maroon), rgba(81,0,13,0)); }

/* ---- the important note --------------------------------------------------- */
.mb-important { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 22px; padding: 14px 14px 14px 20px;
  border: 3px solid #c4121f; border-radius: 14px; background: #fff; }
.mb-important p { margin: 0; flex: 1 1 auto; font-size: 17px; }
.mb-important b { color: #a10e19; }
.mb-x { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--mb-line);
  background: #fff; color: var(--mb-ink); font-size: 18px; cursor: pointer; }

/* ---- How it works | What's coming up -------------------------------------- */
.mb-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.mb-two .mb-card { margin: 0; }
.mb-col { display: flex; flex-direction: column; gap: 18px; }
.mb-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mb-bullets li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.5; }
.mb-bullets li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 11px;
  border-radius: 50%; background: var(--mb-orange); }
.mb-bullets b { color: var(--mb-maroon); }
.mb-tree { display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto; }
.mb-coming-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mb-coming { position: relative; overflow: hidden; min-height: 190px; border-radius: 16px;
  background: #fff; border: 2px solid var(--mb-line); }
.mb-coming.is-next { border-color: var(--mb-maroon); }
/* The photo fills the card's lower part and its right; the words sit on the
   left, on the card colour, clear of the busy part of the picture. */
.mb-coming-pic { position: absolute; right: 0; bottom: 0; width: 62%; height: 78%;
  object-fit: cover; object-position: 60% 55%; }
.mb-coming.has-pic::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, #fff 0%, #fff 22%, rgba(255,255,255,0) 60%),
              linear-gradient(to right, #fff 0%, #fff 44%, rgba(255,255,255,0) 72%); }
.mb-coming-text { position: relative; z-index: 1; max-width: 54%; padding: 14px 16px 16px; }
.mb-coming:not(.has-pic) .mb-coming-text { max-width: none; }
.mb-coming h3 { margin: 4px 0 12px; font-size: 16px; }
.mb-coming h3 a { text-decoration: none; }
.mb-coming-when { margin: 0; font-weight: 600; color: var(--mb-ink); font-size: 14px; }
.mb-go { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--mb-orange); color: #fff; font: 800 15px var(--mb-display); text-decoration: none;
  box-shadow: 0 4px 12px rgba(253,125,35,.35); }
.mb-body .mb-go { color: #fff; }
.mb-go:hover { background: #ec6a10; }
.mb-tag { display: inline-block; padding: 1px 9px; border-radius: 999px; background: var(--mb-orange-ink);
  color: #fff; font-weight: 700; font-size: 13px; }
/* "Next up", with a gold shine passing over it. */
.mb-next { position: relative; display: inline-block; overflow: hidden; margin: 0 0 6px; padding: 3px 12px;
  border-radius: 999px; background: var(--mb-maroon); color: #fff; font: 800 12px var(--mb-display);
  letter-spacing: .06em; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--mb-gold); }
/* THE SHINE MOVES BY TRANSFORM, not by `left`: an animated `left` repaints
   the page every frame, and those repaints were what made the welcome
   banner's corners blink. The same path — from 60% before the badge to
   130% along it — in the shine's own widths. */
.mb-next::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%;
  background: linear-gradient(100deg, rgba(255,215,120,0) 0%, rgba(255,215,120,.85) 50%, rgba(255,215,120,0) 100%);
  transform: translateX(-133%) skewX(-20deg); animation: mb-shine 3.2s ease-in-out infinite; }
@keyframes mb-shine { 0% { transform: translateX(-133%) skewX(-20deg); }
  55%, 100% { transform: translateX(289%) skewX(-20deg); } }

/* ---- a class ------------------------------------------------------------- */
.mb-kicker { margin: 0 0 4px; font: 700 13px var(--mb-display); letter-spacing: .06em;
  text-transform: uppercase; color: var(--mb-orange-ink); }
.mb-class h1 { font-size: 28px; }
/* THE DATE AND "ADD TO CALENDAR" ON ONE LINE, the button at its right
   (Tom, 21 Oct 2026). */
.mb-when-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 16px; margin: 0 0 20px; }
.mb-when-row .mb-cal { margin-left: auto; }
.mb-cal > summary.mb-btn { min-height: 44px; padding: 6px 14px; font-size: 15px; gap: 8px; }
.mb-cal-list { right: 0; }
.mb-when { margin: 0; font-size: 18px; font-weight: 600; }
.mb-cal { position: relative; }
.mb-cal > summary { list-style: none; cursor: pointer; }
.mb-cal > summary::-webkit-details-marker { display: none; }
.mb-cal-list { list-style: none; margin: 8px 0 0; padding: 8px; position: absolute; z-index: 5;
  min-width: 260px; background: #fff; border: 2px solid var(--mb-line); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(42,23,18,.15); }
.mb-cal-item { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 10px;
  text-decoration: none; font-weight: 600; }
.mb-cal-item:hover { background: var(--mb-sand); }
.mb-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.mb-pair { margin: 0 0 22px; }
.mb-pair .mb-card { padding: 18px; margin: 0; }
.mb-class .mb-card h2 { font-size: 19px; }
.mb-class .mb-card p, .mb-class .mb-card li { font-size: 15px; }
.mb-files { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mb-files .mb-btn { min-height: 48px; font-size: 15px; }
.mb-file.is-later { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px;
  padding: 12px 14px; border-radius: 12px; border: 2px dashed var(--mb-line); background: #fff; }
.mb-ready, .mb-ready-note { color: var(--mb-muted); }
.mb-ready-note { padding: 12px 14px; border-radius: 12px; border: 2px dashed var(--mb-line); background: #fff; }
.mb-ready-note b { color: var(--mb-ink); }
/* "Before this class": its own card under the preparation sheet and recipes. */
.mb-before p { margin: 0; }
.mb-text { margin-top: 12px; }
.mb-text h3 { font-size: 15px; }
.mb-intro { margin: 0 0 20px; }
.mb-intro p { font-size: 16px; }
.mb-allergens { color: var(--mb-muted); }
.mb-live { margin: 0 0 22px; }
.mb-video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #1d0a0c; }
.mb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mb-video--wait { display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px; color: #fffeec; background: radial-gradient(circle at 50% 40%, #7d1a22, #2a0508); }
.mb-video-k { margin: 0; font: 700 17px var(--mb-display); letter-spacing: .05em; text-transform: uppercase; }
.mb-video-n { margin: 8px 0 12px; font: 800 clamp(26px, 4.4vw, 44px)/1.1 var(--mb-display); font-variant-numeric: tabular-nums; }
.mb-segs { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.mb-seg { display: inline-flex; flex-direction: column; align-items: center; min-width: 72px;
  padding: 8px 10px; border-radius: 12px; background: rgba(255,254,236,.12); }
.mb-seg b { font-size: clamp(26px, 4vw, 40px); line-height: 1; }
.mb-seg span { margin-top: 4px; font: 600 12px var(--mb-body); letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.mb-video-s { max-width: 560px; margin: 0; font-size: 15px; opacity: .95; }
.mb-note { color: var(--mb-muted); font-size: 15px; }
.mb-zoom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 14px 0 0; }
.mb-zoom .mb-btn--go { width: auto; }
/* THE STANDARD COMMENTS BOX: the website's own grey card around it, value
   for value off tomthechef.com's `.embed` (21 Oct 2026) — #f7f7f7, 40px
   corners, 48px 64px 48px 56px in, 26px 22px on a phone. The box draws its
   own heading inside. Every comments box in the member area is this one. */
.mb-comments { min-height: 160px; margin: 0 0 22px; padding: 48px 64px 48px 56px;
  border-radius: 40px; background: #f7f7f7; }
/* THE DASHBOARD: 30px between the classes and the comments (Tom, 21 Oct). */
.mb-two + .mb-comments { margin-top: 30px; }

/* ---- the other classes: a carousel ---------------------------------------- */
.mb-car-view { position: relative; }
.mb-car-track { list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; }
.mb-car-item { flex: 0 0 58%; scroll-snap-align: center; }
.mb-carousel.is-js .mb-car-view { overflow: hidden; }
.mb-carousel.is-js .mb-car-track { overflow: visible; transition: transform .5s ease; }
.mb-car-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 16px;
  background: #fff; border: 2px solid var(--mb-line); text-decoration: none; color: var(--mb-ink);
  transition: opacity .3s ease, transform .3s ease; }
.mb-carousel.is-js .mb-car-item:not(.is-current) .mb-car-card { opacity: .55; transform: scale(.94); }
.mb-car-card img, .mb-car-noimg { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--mb-sand); }
.mb-car-when { padding: 12px 16px 0; font: 700 13px var(--mb-display); color: var(--mb-orange-ink); text-transform: uppercase; letter-spacing: .04em; }
.mb-car-name { padding: 4px 16px; font: 700 17px/1.3 var(--mb-display); color: var(--mb-maroon); }
.mb-car-go { margin-top: auto; padding: 6px 16px 14px; font: 700 15px var(--mb-display); color: var(--mb-maroon); }
.mb-car-view::before, .mb-car-view::after { content: ""; position: absolute; top: 0; bottom: 0; width: 16%;
  z-index: 2; pointer-events: none; }
.mb-car-view::before { left: 0; background: linear-gradient(to right, var(--mb-cream), rgba(255,254,236,0)); }
.mb-car-view::after { right: 0; background: linear-gradient(to left, var(--mb-cream), rgba(255,254,236,0)); }
/* NO CARD AROUND IT (Tom, 21 Oct 2026): transparent, no border, no green
   line — it sits on the page itself. */
.mb-carousel { margin: 0 0 22px; background: transparent; border: 0; box-shadow: none; }
.mb-car-arrow { position: absolute; z-index: 3; top: 38%; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--mb-line); background: #fff; color: var(--mb-maroon); font: 800 26px/1 var(--mb-display);
  cursor: pointer; box-shadow: 0 4px 12px rgba(42,23,18,.15); }
.mb-car-prev { left: 6px; }
.mb-car-next { right: 6px; }
.mb-carousel > .mb-car-foot { margin: 30px 0 0; text-align: center; }
.mb-car-foot .mb-btn { justify-content: center; min-width: 120px; }

/* ---- prep, ebooks, account ------------------------------------------------ */
.mb-lede { font-size: 17px; color: var(--mb-muted); max-width: 680px; }
.mb-prep-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin: 8px 0 14px; }
.mb-books { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.mb-books .mb-card { margin: 0; }
.mb-me { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.mb-me .mb-avatar { width: 72px; height: 72px; font-size: 34px; }
.mb-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 0; }
.mb-dl dt { font-weight: 700; color: var(--mb-muted); }
.mb-dl dd { margin: 0; overflow-wrap: anywhere; }
.mb-orders { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mb-order { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px;
  padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--mb-line); }
.mb-order span { display: block; color: var(--mb-muted); font-size: 15px; }
.mb-manage { margin: 0 0 6px; }

/* ---- sign in ------------------------------------------------------------- */
/* THE CHECKOUT'S LOOK (Tom, 21 Oct 2026, sign-in fixes): its buttons, its
   "or use your email" line and its field, value for value from
   event-landing.css (.bq-social-btn, .bq-or, .bq-field), so the two read as
   one style. */
.mb-socials { display: grid; gap: 10px; }
/* Under `.mb-socials`, so the page's maroon link colour does not win. */
.mb-socials .mb-social { display: flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 46px; padding: 10px 14px; box-sizing: border-box;
  font-size: 16px; font-weight: 600; color: #222; background: #fff;
  border: 1px solid #c9c4bc; border-radius: 10px; text-decoration: none; }
.mb-socials .mb-social:hover { background: #f6f3ee; }
.mb-social-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.mb-or { display: flex; align-items: center; gap: 10px; margin: 16px 0;
  color: #5d5650; font-size: 15px; }
.mb-or::before, .mb-or::after { content: ""; flex: 1 1 auto; height: 1px;
  background: #E4D9C8; }
.mb-form { display: flex; flex-direction: column; gap: 14px; }
.mb-form .mb-field { display: block; }
.mb-form .mb-field > span { display: block; font-size: 15px; font-weight: 650;
  margin-bottom: 5px; }
.mb-form .mb-field > input { display: block; width: 100%; box-sizing: border-box;
  min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px;
  color: #222; background: #fff; border: 1px solid #CBB99F; border-radius: 10px; }
.mb-error { color: #8a0b16; font-weight: 600; }

/* ---- the landing page, in a popup ----------------------------------------- */
.mb-pop { width: min(1100px, 96vw); height: min(860px, 92vh); padding: 0; border: 0; border-radius: 18px;
  overflow: hidden; background: #fff; }
.mb-pop::backdrop { background: rgba(42,23,18,.6); }
.mb-pop[open] { display: flex; flex-direction: column; }
.mb-pop-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px;
  border-bottom: 1px solid var(--mb-line); }
.mb-pop iframe { flex: 1 1 auto; width: 100%; border: 0; }

/* ---- the footer ----------------------------------------------------------- */
.mb-foot { border-top: 1px solid var(--mb-line); background: #fff; position: relative; }
.mb-foot-in { padding-top: 22px; padding-bottom: 22px; font-size: 15px; color: var(--mb-muted); }
.mb-foot p { margin: 0 0 6px; }

/* ---- still, for anybody who asked for less motion ------------------------- */
@media (prefers-reduced-motion: reduce) {
  .mb-join, .mb-sub.is-soon, .mb-next::after { animation: none; }
  .mb-carousel.is-js .mb-car-track { transition: none; }
}

/* ---- a tablet ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .mb-shell { grid-template-columns: 290px minmax(0, 1fr); gap: 24px; }
  .mb-pill { min-width: 104px; }
}

/* ---- a phone -------------------------------------------------------------- */
@media (max-width: 860px) {
  .mb-site-top .mb-site-in { min-height: 72px; gap: 10px; padding: 0 16px; }
  .mb-logo img { height: 44px; }
  .mb-search { display: none; }
  .mb-acct { padding: 0 8px; min-height: 46px; }
  .mb-acct span[data-mb-acct-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mb-burger { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    border-radius: 50%; border: 0; background: var(--mb-orange); cursor: pointer; }
  .mb-burger span, .mb-burger span::before, .mb-burger span::after { display: block; width: 20px; height: 2px;
    background: #fff; border-radius: 2px; position: relative; content: ""; }
  .mb-burger span::before { position: absolute; top: -6px; }
  .mb-burger span::after { position: absolute; top: 6px; }
  .mb-nav { display: none; }
  .mb-nav.is-open { display: block; }
  .mb-nav .mb-site-in { padding: 0 16px 14px; }
  .mb-tray { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
  .mb-pill { min-height: 48px; font-size: 16px; }
  .mb-more-list { position: static; box-shadow: none; margin-top: 8px; }
  .mb-site-in, .mb-frame, .mb-foot-in { padding-left: 16px; padding-right: 16px; }
  .mb-shell { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 14px 0 48px; }
  .mb-side { position: static; }
  .mb-menu-toggle { display: flex; justify-content: center; }
  .mb-side:not(.is-open) .mb-menu, .mb-side:not(.is-open) .mb-who { display: none; }
  .mb-two, .mb-prep-cols { grid-template-columns: minmax(0, 1fr); }
  .mb-card--coming { order: -1; }
  .mb-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .mb-hero-pic { order: -1; aspect-ratio: 4 / 3; }
  .mb-hero-text { padding: 20px 18px; }
  .mb-body .mb-hero h1 { font-size: 32px; }
  .mb-body h1 { font-size: 26px; }
  .mb-card { padding: 16px; }
  .mb-comments { padding: 26px 22px; }
  .mb-coming-text { max-width: 58%; }
  .mb-car-item { flex-basis: 80%; }
  .mb-car-arrow { top: 28%; }
  .mb-cal-list { position: static; box-shadow: none; }
  .mb-video--wait { aspect-ratio: auto; min-height: 260px; padding: 24px 14px; }
  .mb-seg { min-width: 60px; }
  .mb-dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .mb-dl dd { margin-bottom: 10px; }
}

/* Prep sheet and recipes stay side by side on a tablet; one above the other
   only on a phone. */
@media (max-width: 600px) {
  .mb-pair { grid-template-columns: minmax(0, 1fr); }
}

/* ---- the festive layer, in the member area's own empty places -------------
 * The landing page's palette and drawings (series-festive.css), placed the
 * same way: backgrounds and pointer-events: none pseudo-elements in padding
 * that is already empty. No text colour changes; nothing covers a control. */
.sp-festive .mb-site::after,
.sp-festive .mb-foot::before {
  content: ""; position: absolute; left: 0; right: 0; height: 18px;
  background: var(--sp-garland) repeat-x left center / 120px 18px; pointer-events: none; z-index: 2;
}
.sp-festive .mb-site::after { bottom: -10px; }
.sp-festive .mb-foot::before { top: -9px; }
.sp-festive .mb-card > h2 { position: relative; padding-bottom: 10px; }
.sp-festive .mb-card > h2::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 52px; height: 16px;
  background: var(--sp-holly) no-repeat left center / contain; pointer-events: none;
}
.sp-festive .mb-hero-text { background-image: var(--sp-snow-white); background-repeat: no-repeat;
  background-position: right -20px bottom -30px; background-size: 140px 140px; }
.sp-festive .mb-menu { box-shadow: inset 0 3px 0 var(--sp-green); }
.sp-festive .mb-card { box-shadow: inset 0 3px 0 var(--sp-green); }

/* ---- the account space, /my-account (Tom, 21 Oct 2026) -------------------- */
.mb-account { max-width: 760px; padding: 22px 0 56px; }
.mb-account .mb-me { margin: 0 0 18px; }
.mb-owned-head { margin-top: 8px; }
.mb-owned-list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mb-owned h2 a { text-decoration: none; }
.mb-owned-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 0; }
